C-CDA on FHIR
1.2.0 - STU 1 United States of America flag

This page is part of the C-CDA on FHIR Implementation Guide (v1.2.0: STU 1) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: CF-allergy-example - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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 "CF-allergy"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: AllergyIntolerance</b><a name=\"CF-allergy\"> </a><a name=\"hcCF-allergy\"> </a></p><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\">Resource AllergyIntolerance &quot;CF-allergy&quot; </p></div><p><b>identifier</b>: <code>urn:oid:1.3.6.1.4.1.22812.3.2009316.3.4.10.2</code>/545077400001, <code>urn:oid:1.3.6.1.4.1.22812.3.2009316.3.4.10.2</code>/545077400003</p><p><b>clinicalStatus</b>: Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-allergyintolerance-clinical.html\">AllergyIntolerance Clinical Status Codes</a>#active)</span></p><p><b>category</b>: medication</p><p><b>code</b>: aspirin <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-v3-rxNorm.html\">RxNorm</a>#1191 &quot;Aspirin&quot;; <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#293586001 &quot;Allergy to aspirin&quot;)</span></p><p><b>patient</b>: <a href=\"Patient-CF-patient.html\">Patient/CF-patient</a> &quot; JONES&quot;</p><p><b>onset</b>: 2008-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>Wheal <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#247472004)</span></td><td>severe</td></tr></table></div>"
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "urn:oid:1.3.6.1.4.1.22812.3.2009316.3.4.10.2"^^xsd:anyURI ] ;
fhir:value [ fhir:v "545077400001" ]
  ] [
fhir:system [ fhir:v "urn:oid:1.3.6.1.4.1.22812.3.2009316.3.4.10.2"^^xsd:anyURI ] ;
fhir:value [ fhir:v "545077400003" ]
  ] ) ; # 
  fhir:clinicalStatus [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"^^xsd:anyURI ] ;
fhir:code [ fhir:v "active" ]     ] )
  ] ; # 
  fhir:category ( [ fhir:v "medication"] ) ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://www.nlm.nih.gov/research/umls/rxnorm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1191" ] ;
fhir:display [ fhir:v "Aspirin" ]     ] [
a sct:293586001 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "293586001" ] ;
fhir:display [ fhir:v "Allergy to aspirin" ]     ] ) ;
fhir:text [ fhir:v "aspirin" ]
  ] ; # 
  fhir:patient [
fhir:reference [ fhir:v "Patient/CF-patient" ]
  ] ; # 
  fhir:onset [ fhir:v "2008-05-01"^^xsd:date] ; # 
  fhir:reaction ( [
    ( fhir:manifestation [
      ( fhir:coding [
a sct:247472004 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "247472004" ] ;
fhir:display [ fhir:v "Wheal" ]       ] ) ;
fhir:text [ fhir:v "Wheal" ]     ] ) ;
fhir:severity [ fhir:v "severe" ]
  ] ) . #