@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://hl7-ie.github.io/medication-events/fhir/List/hiqa-allergies-niamh> a fhir:List ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "hiqa-allergies-niamh"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-list-allergies-at-prescribing" ;
       fhir:index 0 ;
       fhir:link <https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-list-allergies-at-prescribing>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: List hiqa-allergies-niamh</b></p><a name=\"hiqa-allergies-niamh\"> </a><a name=\"hchiqa-allergies-niamh\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ie-mpd-list-allergies-at-prescribing.html\">IE MPD Allergy Statement at Prescribing</a></p></div><table class=\"clstu\"><tr><td>Date: 2026-09-01 11:00:00+0100 </td><td>Mode: Snapshot List </td><td>Status: Current </td><td>Code: Allergies and adverse reactions Document </td></tr><tr><td>Subject: <a href=\"Patient-hiqa-patient-niamh-keane.html\">Niamh Keane (official) Female, DoB: 1990-11-08 ( National unique individual identifier: IEMpdNamingSystemIHI#999000000000000003)</a>Source: </td></tr></table><table class=\"grid\"><tr style=\"backgound-color: #eeeeee\"><td><b>Items</b></td></tr><tr><td><a href=\"AllergyIntolerance-hiqa-allergy-niamh-penicillin.html\">AllergyIntolerance Allergy to penicillin</a></td></tr></table></div>"
  ] ;
  fhir:List.status [ fhir:value "current"] ;
  fhir:List.mode [ fhir:value "snapshot"] ;
  fhir:List.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:48765-2 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "48765-2" ] ;
       fhir:Coding.display [ fhir:value "Allergies and adverse reactions Document" ]
     ]
  ] ;
  fhir:List.subject [
     fhir:link <https://hl7-ie.github.io/medication-events/fhir/Patient/hiqa-patient-niamh-keane> ;
     fhir:Reference.reference [ fhir:value "Patient/hiqa-patient-niamh-keane" ]
  ] ;
  fhir:List.date [ fhir:value "2026-09-01T11:00:00+01:00"^^xsd:dateTime] ;
  fhir:List.source [
     fhir:link <https://hl7-ie.github.io/medication-events/fhir/PractitionerRole/hiqa-role-gp-nolan> ;
     fhir:Reference.reference [ fhir:value "PractitionerRole/hiqa-role-gp-nolan" ]
  ] ;
  fhir:List.entry [
     fhir:index 0 ;
     fhir:List.entry.item [
       fhir:link <https://hl7-ie.github.io/medication-events/fhir/AllergyIntolerance/hiqa-allergy-niamh-penicillin> ;
       fhir:Reference.reference [ fhir:value "AllergyIntolerance/hiqa-allergy-niamh-penicillin" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://hl7-ie.github.io/medication-events/fhir/List/hiqa-allergies-niamh.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

