@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/6cf80cb1-9766-470f-ac36-b1d3d8950f1b> a fhir:AllergyIntolerance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "6cf80cb1-9766-470f-ac36-b1d3d8950f1b"] ; # 
  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: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 6cf80cb1-9766-470f-ac36-b1d3d8950f1b</b></p><a name=\"6cf80cb1-9766-470f-ac36-b1d3d8950f1b\"> </a><a name=\"hc6cf80cb1-9766-470f-ac36-b1d3d8950f1b\"> </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-hdr.html\">Allergy Intolerance (HDR CZ)</a></p></div><p><b>identifier</b>: <code>http://example.org/hospital/allergy-intolerances</code>/allergy-1</p><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical active}\">Active</span></p><p><b>verificationStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-verification confirmed}\">Confirmed</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 102261002}\">Strawberry</span></p><p><b>patient</b>: <a href=\"Bundle-DischargeBundle-Novak-Petr-L1-plus.html#urn-uuid-3f85726c-ad2f-441b-89ce-100000000000\">Petr Novák  Male, DoB: 1985-06-15 ( https://ncez.mzcr.cz/fhir/sid/rid#1597778923)</a></p><p><b>onset</b>: 2020-01-01</p><p><b>recordedDate</b>: 2023-10-01</p><blockquote><p><b>reaction</b></p><p><b>manifestation</b>: <span title=\"Codes:{http://snomed.info/sct 81950002}\">Edema of the tongue</span>, <span title=\"Codes:{http://snomed.info/sct 4386001}\">Bronchospasm</span></p><p><b>onset</b>: 2020-01-01 12:00:00+0000</p></blockquote><blockquote><p><b>reaction</b></p><p><b>manifestation</b>: <span title=\"Codes:{http://snomed.info/sct 418363000}\">Itching of skin (finding)</span></p><p><b>onset</b>: 2022-10-01 10:00:00+0000</p><p><b>severity</b>: Mild</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-1" ]
  ] ) ; # 
  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 "food"] ) ; # 
  fhir:criticality [ fhir:v "low"] ; # 
  fhir:code [
     fhir:coding ( [
       a sct:102261002 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "102261002" ]
     ] )
  ] ; # 
  fhir:patient [
     fhir:l <urn:uuid:3f85726c-ad2f-441b-89ce-100000000000> ;
     fhir:reference [ fhir:v "urn:uuid:3f85726c-ad2f-441b-89ce-100000000000" ]
  ] ; # 
  fhir:onset [
     a fhir:DateTime ;
     fhir:v "2020-01-01"^^xsd:date
  ] ; # 
  fhir:recordedDate [ fhir:v "2023-10-01"^^xsd:date] ; # 
  fhir:reaction ( [
     fhir:manifestation ( [
       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:coding ( [
         a sct:4386001 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "4386001" ]
       ] )
     ] ) ;
     fhir:onset [ fhir:v "2020-01-01T12:00:00Z"^^xsd:dateTime ]
  ] [
     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:onset [ fhir:v "2022-10-01T10:00:00Z"^^xsd:dateTime ] ;
     fhir:severity [ fhir:v "mild" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

