@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/MilkAllergy> a fhir:AllergyIntolerance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "MilkAllergy"] ; # 
  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\">Intolerance na bílkovinu kravského mléka. Počátek období projevu: 15 let</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 "MilkAllergy-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:display [ 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:display [ fhir:v "Confirmed" ]
     ] )
  ] ; # 
  fhir:type [ fhir:v "intolerance"] ; # 
  fhir:criticality [ fhir:v "low"] ; # 
  fhir:code [
     fhir:coding ( [
       a sct:738069006 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "738069006" ]
     ] )
  ] ; # 
  fhir:patient [
     fhir:l <https://hl7.cz/fhir/hdr/Patient/Mracena> ;
     fhir:reference [ fhir:v "Patient/Mracena" ]
  ] ; # 
  fhir:onset [
     a fhir:Age ;
     fhir:value [ fhir:v "15"^^xsd:decimal ] ;
     fhir:system [
       fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
       fhir:l <http://unitsofmeasure.org>
     ] ;
     fhir:code [ fhir:v "a" ]
  ] ; # 
  fhir:lastOccurrence [ fhir:v "2025-01-01"^^xsd:date] ; # 
  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 (finding)" ]
       ] )
     ] ) ;
     fhir:description [ fhir:v "Projevy: vyrážka, svědění kůže po požití mléka." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

