@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.eu/fhir/eps/AllergyIntolerance/d5cab1c1-382d-418c-a1b6-1c21408fcfe5> a fhir:AllergyIntolerance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "d5cab1c1-382d-418c-a1b6-1c21408fcfe5"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.eu/fhir/base/StructureDefinition/allergyIntolerance-eu-core"^^xsd:anyURI ;
       fhir:l <http://hl7.eu/fhir/base/StructureDefinition/allergyIntolerance-eu-core>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hl7__ips\"><tr><td>Penicillin V</td><td><span class=\"nb\">1978-10-26</span></td><td>active</td><td>medication</td><td/></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:clinicalStatus [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical>
       ] ;
       fhir:code [ fhir:v "active" ]
     ] )
  ] ; # 
  fhir:verificationStatus [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/allergyintolerance-verification>
       ] ;
       fhir:code [ fhir:v "confirmed" ]
     ] )
  ] ; # 
  fhir:type [ fhir:v "allergy"] ; # 
  fhir:category ( [ fhir:v "medication"] ) ; # 
  fhir:code [
     fhir:coding ( [
       a sct:372725003 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "372725003" ] ;
       fhir:display [ fhir:v "Penicillin V" ]
     ] ) ;
     fhir:text [ fhir:v "Penicillin V" ]
  ] ; # 
  fhir:patient [
     fhir:l <http://hl7.eu/fhir/eps/Patient/f0b2dcfe-e837-464b-ae8a-3b9da1807dd3> ;
     fhir:reference [ fhir:v "Patient/f0b2dcfe-e837-464b-ae8a-3b9da1807dd3" ] ;
     fhir:display [ fhir:v "Petra Schwartz" ]
  ] ; # 
  fhir:onset [
     a fhir:DateTime ;
     fhir:v "1978-10-26"^^xsd:date
  ] . # 

# -------------------------------------------------------------------------------------

