@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/ps/AllergyIntolerance/6145f147-dfc8-44fe-9fdd-22600059f498> a fhir:AllergyIntolerance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "6145f147-dfc8-44fe-9fdd-22600059f498"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://hl7.cz/fhir/ps/StructureDefinition/cz-allergyIntolerance-ps"^^xsd:anyURI ;
       fhir:l <https://hl7.cz/fhir/ps/StructureDefinition/cz-allergyIntolerance-ps>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: AllergyIntolerance 6145f147-dfc8-44fe-9fdd-22600059f498</b></p><a name=\"6145f147-dfc8-44fe-9fdd-22600059f498\"> </a><a name=\"hc6145f147-dfc8-44fe-9fdd-22600059f498\"> </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-cz-allergyIntolerance-ps.html\">AllergyIntolerance (CZ PS)</a></p></div><p><b>identifier</b>: <code>http://example.org/hospital/allergy-intolerances</code>/allergy-intolerance-001</p><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical active}\">Active</span></p><p><b>type</b>: Allergy</p><p><b>category</b>: Food</p><p><b>criticality</b>: Low Risk</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 91938006}\">Allergy to strawberry</span></p><p><b>patient</b>: <a href=\"Bundle-PSExampleBundleNoProblemsMedicationAllergies.html#urn-uuid-3c137453-0de8-4e1a-be72-9dc55f500d57\">Device</a></p><blockquote><p><b>reaction</b></p><p><b>manifestation</b>: <span title=\"Codes:{http://snomed.info/sct 418363000}\">Itching of skin</span>, <span title=\"Codes:{http://snomed.info/sct 81950002}\">Edema of the tongue</span></p><p><b>description</b>: Svědění, otok jazyka.</p></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://example.org/hospital/allergy-intolerances"^^xsd:anyURI ;
       fhir:l <http://example.org/hospital/allergy-intolerances>
     ] ;
     fhir:value [ fhir:v "allergy-intolerance-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:type [ fhir:v "allergy"] ; # 
  fhir:category ( [ fhir:v "food"] ) ; # 
  fhir:criticality [ fhir:v "low"] ; # 
  fhir:code [
     fhir:coding ( [
       a sct:91938006 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "91938006" ] ;
       fhir:display [ fhir:v "Allergy to strawberry" ]
     ] )
  ] ; # 
  fhir:patient [
     fhir:l <urn:uuid:3c137453-0de8-4e1a-be72-9dc55f500d57> ;
     fhir:reference [ fhir:v "urn:uuid:3c137453-0de8-4e1a-be72-9dc55f500d57" ]
  ] ; # 
  fhir:reaction ( [
     fhir:manifestation ( [
       fhir:coding ( [
         a sct:418363000 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "418363000" ] ;
         fhir:display [ fhir:v "Itching of skin" ]
       ] )
     ] [
       fhir:coding ( [
         a sct:81950002 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "81950002" ] ;
         fhir:display [ fhir:v "Edema of the tongue" ]
       ] )
     ] ) ;
     fhir:description [ fhir:v "Svědění, otok jazyka." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

