@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://hl7.cz/fhir/core/AllergyIntolerance/allergy-1> a fhir:AllergyIntolerance ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "allergy-1"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://hl7.cz/fhir/core/StructureDefinition/cz-allergyIntolerance"^^xsd:anyURI ;
       fhir:l <https://hl7.cz/fhir/core/StructureDefinition/cz-allergyIntolerance>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: AllergyIntolerance allergy-1</b></p><a name=\"allergy-1\"> </a><a name=\"hcallergy-1\"> </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.html\">Allergy Intolerance (CZ core)</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>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/ips/CodeSystem/absent-unknown-uv-ips no-known-allergies}\">No known allergies</span></p><p><b>patient</b>: <a href=\"Patient-Mracena.html\">Mračena</a></p><p><b>onset</b>: Absent because : unknown</p></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:code [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://hl7.org/fhir/uv/ips/CodeSystem/absent-unknown-uv-ips"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/uv/ips/CodeSystem/absent-unknown-uv-ips>
       ] ;
       fhir:code [ fhir:v "no-known-allergies" ]
     ] )
  ] ; # 
  fhir:patient [
     fhir:l <https://hl7.cz/fhir/core/Patient/Mracena> ;
     fhir:reference [ fhir:v "Patient/Mracena" ] ;
     fhir:display [ fhir:v "Mračena" ]
  ] ; # 
  fhir:onset [
     a fhir:DateTime ;
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/StructureDefinition/data-absent-reason>
       ] ;
       fhir:value [
         a fhir:Code ;
         fhir:v "unknown"
       ]
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

