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

## : FHIR to CCDA Allergy Intolerance Category - TTL Representation

Page standards status: Trial-use

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 xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:ConceptMap ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "FC-AllergyIntoleranceCategory"] ; #
      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: ConceptMap FC-AllergyIntoleranceCategory</b></p><a name=\"FC-AllergyIntoleranceCategory\"> </a><a name=\"hcFC-AllergyIntoleranceCategory\"> </a><p>Mapping from <a href=\"http://hl7.org/fhir/R4/valueset-allergy-intolerance-category.html\">AllergyIntoleranceCategory</a> to https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.88.12.3221.6.2</p><br/><p><b>Group 1 </b>Mapping from <a href=\"http://hl7.org/fhir/R4/codesystem-allergy-intolerance-category.html\">AllergyIntoleranceCategory</a> to <a href=\"http://hl7.org/fhir/R4/codesystem-snomedct.html\">SNOMED CT (all versions)</a></p><table class=\"grid\"><tr><td colspan=\"2\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"2\"><b>Target Concept Details</b></td><td><b>Comment</b></td></tr><tr><td colspan=\"2\"><b>Codes</b> from <a href=\"http://hl7.org/fhir/R4/codesystem-allergy-intolerance-category.html\" title=\"http://hl7.org/fhir/allergy-intolerance-category\">AllergyIntoleranceCategory</a></td><td/><td colspan=\"2\"><b>Codes</b> from <a href=\"http://hl7.org/fhir/R4/codesystem-snomedct.html\" title=\"http://snomed.info/sct\">SNOMED CT (all versions)</a></td><td/></tr><tr><td style=\"border-right-width: 0px; border-bottom-style: none\">food</td><td style=\"border-left-width: 0px; border-bottom-style: none\">Food</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#narrower\" title=\"narrower\">narrower</a></td><td style=\"border-right-width: 0px\">235719002</td><td style=\"border-left-width: 0px\">Intolerance to food</td><td>Use this when .type is intolerance</td></tr><tr><td style=\"border-right-width: 0px; border-top-style: none; border-bottom-style: none\"/><td style=\"border-left-width: 0px; border-top-style: none; border-bottom-style: none\"/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#narrower\" title=\"narrower\">narrower</a></td><td style=\"border-right-width: 0px\">414285001</td><td style=\"border-left-width: 0px\">Allergy to food</td><td>Use this when .type is allergy</td></tr><tr><td style=\"border-right-width: 0px; border-top-style: none\"/><td style=\"border-top-style: none; border-left-width: 0px\"/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#narrower\" title=\"narrower\">narrower</a></td><td style=\"border-right-width: 0px\">418471000</td><td style=\"border-left-width: 0px\">Propensity to adverse reactions to food</td><td>Use this when .type is not present</td></tr><tr><td style=\"border-right-width: 0px; border-bottom-style: none\">medication</td><td style=\"border-left-width: 0px; border-bottom-style: none\">Medication</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#narrower\" title=\"narrower\">narrower</a></td><td style=\"border-right-width: 0px\">59037007</td><td style=\"border-left-width: 0px\">Intolerance to drug</td><td>Use this when .type is intolerance</td></tr><tr><td style=\"border-right-width: 0px; border-top-style: none; border-bottom-style: none\"/><td style=\"border-left-width: 0px; border-top-style: none; border-bottom-style: none\"/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#narrower\" title=\"narrower\">narrower</a></td><td style=\"border-right-width: 0px\">416098002</td><td style=\"border-left-width: 0px\">Allergy to drug</td><td>Use this when .type is allergy</td></tr><tr><td style=\"border-right-width: 0px; border-top-style: none\"/><td style=\"border-top-style: none; border-left-width: 0px\"/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#narrower\" title=\"narrower\">narrower</a></td><td style=\"border-right-width: 0px\">419511003</td><td style=\"border-left-width: 0px\">Propensity to adverse reactions to drug</td><td>Use this when .type is not present</td></tr><tr><td style=\"border-right-width: 0px; border-bottom-style: none\">environment</td><td style=\"border-left-width: 0px; border-bottom-style: none\">Environment</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#narrower\" title=\"narrower\">narrower</a></td><td style=\"border-right-width: 0px\">419199007</td><td style=\"border-left-width: 0px\">Allergy to substance</td><td>Use this when .type is allergy</td></tr><tr><td style=\"border-right-width: 0px; border-top-style: none\"/><td style=\"border-top-style: none; border-left-width: 0px\"/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#narrower\" title=\"narrower\">narrower</a></td><td style=\"border-right-width: 0px\">418038007</td><td style=\"border-left-width: 0px\">Propensity to adverse reaction to substance</td><td>Use this when .type is intolerance or not present</td></tr><tr><td style=\"border-right-width: 0px; border-bottom-style: none\">biologic</td><td style=\"border-left-width: 0px; border-bottom-style: none\">Biologic</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#narrower\" title=\"narrower\">narrower</a></td><td style=\"border-right-width: 0px\">419199007</td><td style=\"border-left-width: 0px\">Allergy to substance</td><td>Use this when .type is allergy</td></tr><tr><td style=\"border-right-width: 0px; border-top-style: none\"/><td style=\"border-top-style: none; border-left-width: 0px\"/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#narrower\" title=\"narrower\">narrower</a></td><td style=\"border-right-width: 0px\">418038007</td><td style=\"border-left-width: 0px\">Propensity to adverse reaction to substance</td><td>Use this when .type is intolerance or not present</td></tr></table></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "cgp"     ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "trial-use" ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "http://hl7.org/fhir/us/ccda/ImplementationGuide/hl7.fhir.us.ccda"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/us/ccda/ImplementationGuide/hl7.fhir.us.ccda>         ]       ] )     ]
      ] ) ; #
      fhir:url [ fhir:v "http://hl7.org/fhir/us/ccda/ConceptMap/FC-AllergyIntoleranceCategory"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "2.0.0-ballot"] ; #
      fhir:name [ fhir:v "FHIRtoCCDAAllergyIntoleranceCategory"] ; #
      fhir:title [ fhir:v "FHIR to CCDA Allergy Intolerance Category"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:experimental [ fhir:v false] ; #
      fhir:date [ fhir:v "2025-07-31T21:42:42+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "HL7 International / Cross-Group Projects"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "HL7 International / Cross-Group Projects" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "http://www.hl7.org/Special/committees/cgp" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "FHIR AllergyIntolerance category code to C-CDA Allergy Intolerance Observation value"] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "US" ]     ] )
      ] ) ; #
      fhir:source [
    a fhir:uri ;
    fhir:v "http://hl7.org/fhir/ValueSet/allergy-intolerance-category"^^xsd:anyURI
      ] ; #
      fhir:target [
    a fhir:uri ;
    fhir:v "https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.88.12.3221.6.2"^^xsd:anyURI
      ] ; #
      fhir:group ( [
    fhir:source [ fhir:v "http://hl7.org/fhir/allergy-intolerance-category"^^xsd:anyURI ] ;
    fhir:target [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
        ( fhir:element [
    fhir:code [ fhir:v "food" ] ;
    fhir:display [ fhir:v "Food" ] ;
          ( fhir:target [
    fhir:code [ fhir:v "235719002" ] ;
    fhir:display [ fhir:v "Intolerance to food" ] ;
    fhir:equivalence [ fhir:v "narrower" ] ;
    fhir:comment [ fhir:v "Use this when .type is intolerance" ]       ] [
    fhir:code [ fhir:v "414285001" ] ;
    fhir:display [ fhir:v "Allergy to food" ] ;
    fhir:equivalence [ fhir:v "narrower" ] ;
    fhir:comment [ fhir:v "Use this when .type is allergy" ]       ] [
    fhir:code [ fhir:v "418471000" ] ;
    fhir:display [ fhir:v "Propensity to adverse reactions to food" ] ;
    fhir:equivalence [ fhir:v "narrower" ] ;
    fhir:comment [ fhir:v "Use this when .type is not present" ]       ] )     ] [
    fhir:code [ fhir:v "medication" ] ;
    fhir:display [ fhir:v "Medication" ] ;
          ( fhir:target [
    fhir:code [ fhir:v "59037007" ] ;
    fhir:display [ fhir:v "Intolerance to drug" ] ;
    fhir:equivalence [ fhir:v "narrower" ] ;
    fhir:comment [ fhir:v "Use this when .type is intolerance" ]       ] [
    fhir:code [ fhir:v "416098002" ] ;
    fhir:display [ fhir:v "Allergy to drug" ] ;
    fhir:equivalence [ fhir:v "narrower" ] ;
    fhir:comment [ fhir:v "Use this when .type is allergy" ]       ] [
    fhir:code [ fhir:v "419511003" ] ;
    fhir:display [ fhir:v "Propensity to adverse reactions to drug" ] ;
    fhir:equivalence [ fhir:v "narrower" ] ;
    fhir:comment [ fhir:v "Use this when .type is not present" ]       ] )     ] [
    fhir:code [ fhir:v "environment" ] ;
    fhir:display [ fhir:v "Environment" ] ;
          ( fhir:target [
    fhir:code [ fhir:v "419199007" ] ;
    fhir:display [ fhir:v "Allergy to substance" ] ;
    fhir:equivalence [ fhir:v "narrower" ] ;
    fhir:comment [ fhir:v "Use this when .type is allergy" ]       ] [
    fhir:code [ fhir:v "418038007" ] ;
    fhir:display [ fhir:v "Propensity to adverse reaction to substance" ] ;
    fhir:equivalence [ fhir:v "narrower" ] ;
    fhir:comment [ fhir:v "Use this when .type is intolerance or not present" ]       ] )     ] [
    fhir:code [ fhir:v "biologic" ] ;
    fhir:display [ fhir:v "Biologic" ] ;
          ( fhir:target [
    fhir:code [ fhir:v "419199007" ] ;
    fhir:display [ fhir:v "Allergy to substance" ] ;
    fhir:equivalence [ fhir:v "narrower" ] ;
    fhir:comment [ fhir:v "Use this when .type is allergy" ]       ] [
    fhir:code [ fhir:v "418038007" ] ;
    fhir:display [ fhir:v "Propensity to adverse reaction to substance" ] ;
    fhir:equivalence [ fhir:v "narrower" ] ;
    fhir:comment [ fhir:v "Use this when .type is intolerance or not present" ]       ] )     ] ) ;
    fhir:unmapped [
    fhir:mode [ fhir:v "fixed" ] ;
    fhir:code [ fhir:v "420134006" ] ;
    fhir:display [ fhir:v "Propensity to adverse reaction" ]     ]
      ] ) . #