@prefix fhir: <http://hl7.org/fhir/> .
@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 -------------------------------------------------------------------

<http://fhir.ehdsi.eu/eps/AllergyIntolerance/d5cab1c1-382d-418c-a1b6-1c21408fcfe5> a fhir:AllergyIntolerance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "d5cab1c1-382d-418c-a1b6-1c21408fcfe5"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.ehdsi.eu/eps/StructureDefinition/allergyIntolerance-eps-myhealtheu" ;
       fhir:index 0 ;
       fhir:link <http://fhir.ehdsi.eu/eps/StructureDefinition/allergyIntolerance-eps-myhealtheu>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Allergy to Penicillin V, onset 1978-10-26, active</p></div>"
  ] ;
  fhir:AllergyIntolerance.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" ] ;
       fhir:Coding.code [ fhir:value "active" ]
     ]
  ] ;
  fhir:AllergyIntolerance.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" ] ;
       fhir:Coding.code [ fhir:value "confirmed" ]
     ]
  ] ;
  fhir:AllergyIntolerance.type [ fhir:value "allergy"] ;
  fhir:AllergyIntolerance.category [
     fhir:value "medication" ;
     fhir:index 0
  ] ;
  fhir:AllergyIntolerance.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://www.whocc.no/atc" ] ;
       fhir:Coding.code [ fhir:value "J01CE02" ] ;
       fhir:Coding.display [ fhir:value "phenoxymethylpenicillin" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Penicillin V" ]
  ] ;
  fhir:AllergyIntolerance.patient [
     fhir:link <http://fhir.ehdsi.eu/eps/Patient/f0b2dcfe-e837-464b-ae8a-3b9da1807dd3> ;
     fhir:Reference.reference [ fhir:value "Patient/f0b2dcfe-e837-464b-ae8a-3b9da1807dd3" ]
  ] ;
  fhir:AllergyIntolerance.onsetDateTime [ fhir:value "1978-10-26"^^xsd:date] .

# - ontology header ------------------------------------------------------------

<http://fhir.ehdsi.eu/eps/AllergyIntolerance/d5cab1c1-382d-418c-a1b6-1c21408fcfe5.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

