C-CDA on FHIR
2.0.0-ballot - STU 2 Ballot

C-CDA on FHIR, published by HL7 International / Cross-Group Projects. This guide is not an authorized publication; it is the continuous build for version 2.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/ccda-on-fhir/ and changes regularly. See the Directory of published versions

## : FC-allergy-example - TTL Representation

Page standards status: Informative

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 "FC-allergy"] ; #
      fhir:meta [
        ( fhir:security [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "N" ]     ] )
      ] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: AllergyIntolerance FC-allergy</b></p><a name=\"FC-allergy\"> </a><a name=\"hcFC-allergy\"> </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\">Security Label: normal (Details: Confidentiality code N = 'normal')</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>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical active}\">Active</span></p><p><b>type</b>: Intolerance</p><p><b>category</b>: Medication</p><p><b>code</b>: <span title=\"Codes:{http://www.nlm.nih.gov/research/umls/rxnorm 1191}, {http://snomed.info/sct 293586001}\">aspirin</span></p><p><b>patient</b>: <a href=\"Patient-CF-patient.html\">Myra Jones  Female, DoB: 1947-05-01 ( urn:oid:1.3.6.1.4.1.22812.3.2009316.3#160920144139807)</a></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><span title=\"Codes:{http://snomed.info/sct 247472004}\">Hives</span></td><td>Severe</td></tr></table></div>"^^rdf:XMLLiteral
      ] ; #
      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:type [ fhir:v "intolerance"] ; #
      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" ]     ] [
    a sct:293586001 ;
    fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "293586001" ]     ] )
      ] ; #
      fhir:patient [
    fhir:reference [ fhir:v "Patient/CF-patient" ]
      ] ; #
      fhir:onset [
    a fhir:dateTime ;
    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:text [ fhir:v "Hives" ]     ] ) ;
    fhir:severity [ fhir:v "severe" ]
      ] ) . #