HL7 Europe Base and Core FHIR IG
2.0.0-ballot - ballot 150

HL7 Europe Base and Core FHIR IG - Downloaded Version 2.0.0-ballot See the Directory of published versions

## : AllergyIntolerance Example - TTL Representation

Raw ttl | Download

    @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 -------------------------------------------------------------------

     a fhir:AllergyIntolerance ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "allergyintolerance-eu-core-example"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "http://hl7.eu/fhir/base/StructureDefinition/allergyIntolerance-eu-core"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/base/StructureDefinition/allergyIntolerance-eu-core>     ] )
      ] ; #
      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 allergyintolerance-eu-core-example</b></p><a name=\"allergyintolerance-eu-core-example\"> </a><a name=\"hcallergyintolerance-eu-core-example\"> </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-allergyIntolerance-eu-core.html\">Allergy Intolerance (EU core)</a></p></div><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 91935009}\">Allergy to peanuts</span></p><p><b>patient</b>: <a href=\"Patient-patient-eu-core-example.html\">John Doe  Male, DoB: 1980-01-01</a></p><p><b>onset</b>: 2012-05-01</p><h3>Reactions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Manifestation</b></td><td><b>Severity</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 271807003}\">Eruption of skin</span></td><td>Mild</td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      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 "allergy"] ; #
      fhir:category ( [ fhir:v "food"] ) ; #
      fhir:criticality [ fhir:v "low"] ; #
      fhir:code [
        ( fhir:coding [
    a sct:91935009 ;
    fhir:system [
    fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
    fhir:l <http://snomed.info/sct>       ] ;
    fhir:code [ fhir:v "91935009" ] ;
    fhir:display [ fhir:v "Allergy to peanuts" ]     ] )
      ] ; #
      fhir:patient [
    fhir:l fhir:Patient/patient-eu-core-example ;
    fhir:reference [ fhir:v "Patient/patient-eu-core-example" ]
      ] ; #
      fhir:onset [
    a fhir:DateTime ;
    fhir:v "2012-05-01"^^xsd:date
      ] ; #
      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:severity [ fhir:v "mild" ]
      ] ) . #