@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 -------------------------------------------------------------------

<https://hl7.cz/fhir/hdr/AllergyIntolerance/PenicillinAllergy> a fhir:AllergyIntolerance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "PenicillinAllergy"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://hl7.cz/fhir/hdr/StructureDefinition/cz-allergyIntolerance-hdr"^^xsd:anyURI ;
       fhir:l <https://hl7.cz/fhir/hdr/StructureDefinition/cz-allergyIntolerance-hdr>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "additional" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Alergie na penicilin – kožní vyrážka, otok rtů.</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:oid:1.2.203.24341.1.1.999"^^xsd:anyURI ;
       fhir:l <urn:oid:1.2.203.24341.1.1.999>
     ] ;
     fhir:value [ fhir:v "PenicillinAllergy-001" ]
  ] ) ; # 
  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:criticality [ fhir:v "low"] ; # 
  fhir:code [
     fhir:coding ( [
       a sct:764146007 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "764146007" ] ;
       fhir:display [ fhir:v "Penicillin" ]
     ] )
  ] ; # 
  fhir:patient [
     fhir:l <https://hl7.cz/fhir/hdr/Patient/Mracena> ;
     fhir:reference [ fhir:v "Patient/Mracena" ]
  ] ; # 
  fhir:reaction ( [
     fhir:manifestation ( [
       fhir:coding ( [
         a sct:271807003 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "271807003" ] ;
         fhir:display [ fhir:v "Eruption of skin" ]
       ] )
     ] [
       fhir:coding ( [
         a sct:267038008 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "267038008" ] ;
         fhir:display [ fhir:v "Edema (finding)" ]
       ] )
     ] ) ;
     fhir:description [ fhir:v "Kožní vyrážka, otok rtů." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

