HL7 Version 2 to FHIR
1.0.0 - STU 1

HL7 Version 2 to FHIR - Downloaded Version 1.0.0 See the Directory of published versions

## : Segment IAM to AllergyIntolerance Map - 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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

     a fhir:ConceptMap ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "segment-iam-to-allergyintolerance"] ; #
      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 segment-iam-to-allergyintolerance</b></p><a name=\"segment-iam-to-allergyintolerance\"> </a><a name=\"hcsegment-iam-to-allergyintolerance\"> </a><p>Mapping from (not specified) to (not specified)</p><br/><p><b>Group 1 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class=\"grid\"><tr><td colspan=\"4\"><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 </td><td><b>NarrativeCondition</b></td><td><b>ComputableANTLR</b></td><td/><td colspan=\"2\"><b>Codes</b> from </td><td/></tr><tr><td style=\"border-right-width: 0px\">IAM-2</td><td style=\"border-left-width: 0px\">Allergen Type Code</td><td/><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">category</td><td style=\"border-left-width: 0px\">category</td><td>The FHIR table has a \"required\" binding. Do we need to expand the values in the FHIR table?\n\nCould other be used for:\nMiscellaneous allergy\nMiscellaneous contraindication\nAnimal Allergy\n\nHL70127 is a user defined table\\</td></tr><tr><td style=\"border-right-width: 0px\">IAM-2</td><td style=\"border-left-width: 0px\">Allergen Type Code</td><td/><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">category.extension[1].url</td><td style=\"border-left-width: 0px\">category.extension[1].url</td><td/></tr><tr><td style=\"border-right-width: 0px\">IAM-2</td><td style=\"border-left-width: 0px\">Allergen Type Code</td><td/><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">category.extension[1].valueCodeableConcept</td><td style=\"border-left-width: 0px\">category.extension[1].valueCodeableConcept</td><td/></tr><tr><td style=\"border-right-width: 0px\">IAM-2</td><td style=\"border-left-width: 0px\">Allergen Type Code</td><td/><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">type</td><td style=\"border-left-width: 0px\">type</td><td/></tr><tr><td style=\"border-right-width: 0px\">IAM-3</td><td style=\"border-left-width: 0px\">Allergen Code/Mnemonic/Description</td><td/><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">code[1]</td><td style=\"border-left-width: 0px\">code[1]</td><td/></tr><tr><td style=\"border-right-width: 0px\">IAM-4</td><td style=\"border-left-width: 0px\">Allergy Severity Code</td><td>If severity was not used equivalent to criticality</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">reaction.severity</td><td style=\"border-left-width: 0px\">reaction.severity</td><td/></tr><tr><td style=\"border-right-width: 0px\">IAM-4</td><td style=\"border-left-width: 0px\">Allergy Severity Code</td><td>If severity was used equivalent to criticality</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">criticality</td><td style=\"border-left-width: 0px\">criticality</td><td>Note that AllergyIntolerance.reaction.severity is available in FHIR but from a base standard perspective that is actually not the most appropriate and would require that AL1-6 is valued as well.  However, a local implementation may have used vocabulary that better fits AllergyIntolerance.reaction.severity and should then consider that instead as a local variation.  Note that the .reaction though is at a particular time, while .criticality is an overall assement that matches HL7 v2 generally better.</td></tr><tr><td style=\"border-right-width: 0px\">IAM-4</td><td style=\"border-left-width: 0px\">Allergy Severity Code</td><td>If severity was used equivalent to criticality</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">criticality.extension[1].url</td><td style=\"border-left-width: 0px\">criticality.extension[1].url</td><td/></tr><tr><td style=\"border-right-width: 0px\">IAM-4</td><td style=\"border-left-width: 0px\">Allergy Severity Code</td><td>If severity was used equivalent to criticality</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">criticality.extension[1].valueCodeableConcept</td><td style=\"border-left-width: 0px\">criticality.extension[1].valueCodeableConcept</td><td/></tr><tr><td style=\"border-right-width: 0px\">IAM-5</td><td style=\"border-left-width: 0px\">Allergy Reaction Code</td><td/><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">reaction.manifestation.text</td><td style=\"border-left-width: 0px\">reaction.manifestation.text</td><td/></tr><tr><td style=\"border-right-width: 0px\">IAM-7</td><td style=\"border-left-width: 0px\">Allergy Unique Identifier</td><td/><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">identifier</td><td style=\"border-left-width: 0px\">identifier</td><td/></tr><tr><td style=\"border-right-width: 0px\">IAM-11</td><td style=\"border-left-width: 0px\">Onset Date</td><td/><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">onsetDateTime</td><td style=\"border-left-width: 0px\">onsetDateTime</td><td/></tr><tr><td style=\"border-right-width: 0px\">IAM-12</td><td style=\"border-left-width: 0px\">Onset Date Text</td><td/><td>IF IAM-11 NOT VALUED</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">onsetString</td><td style=\"border-left-width: 0px\">onsetString</td><td>Cannot map to both onsetDateTime and onsetString, so take onsetDateTime if available.</td></tr><tr><td style=\"border-right-width: 0px\">IAM-13</td><td style=\"border-left-width: 0px\">Reported Date/Time</td><td/><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">recordedDate</td><td style=\"border-left-width: 0px\">recordedDate</td><td/></tr><tr><td style=\"border-right-width: 0px\">IAM-14</td><td style=\"border-left-width: 0px\">Reported By</td><td>If IAM-15 is not valued, not always 100% clear this is a practitioner, so much review locally.</td><td>IF IAM-15 NOT VALUED</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">recorder.reference(Practitioner.name)</td><td style=\"border-left-width: 0px\">recorder.reference(Practitioner.name)</td><td/></tr><tr><td style=\"border-right-width: 0px\">IAM-14</td><td style=\"border-left-width: 0px\">Reported By</td><td/><td>IF IAM-15 EQUALS \"SEL\"</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">recorder.reference(Patient[1].name)</td><td style=\"border-left-width: 0px\">recorder.reference(Patient[1].name)</td><td/></tr><tr><td style=\"border-right-width: 0px\">IAM-14</td><td style=\"border-left-width: 0px\">Reported By</td><td/><td>IF IAM-15 VALUED AND NOT \"SEL\"</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">recorder.reference(RelatedPerson.name)</td><td style=\"border-left-width: 0px\">recorder.reference(RelatedPerson.name)</td><td/></tr><tr><td style=\"border-right-width: 0px\">IAM-15</td><td style=\"border-left-width: 0px\">Relationship to Patient</td><td/><td>IF IAM-15 VALUED AND NOT \"SEL\"</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">recorder.reference(RelatedPerson.relationship)</td><td style=\"border-left-width: 0px\">recorder.reference(RelatedPerson.relationship)</td><td/></tr><tr><td style=\"border-right-width: 0px\">IAM-17</td><td style=\"border-left-width: 0px\">Allergy Clinical Status</td><td/><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">clinicalStatus</td><td style=\"border-left-width: 0px\">clinicalStatus</td><td/></tr><tr><td style=\"border-right-width: 0px\">IAM-27</td><td style=\"border-left-width: 0px\">Clinician Identified Code</td><td/><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">code[1]</td><td style=\"border-left-width: 0px\">code[1]</td><td>The values are added as additional .coding entries in the CodeableConcept for AllergyIntolerance.code</td></tr></table></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:extension ( [
        ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "derived-from"       ]     ] [
    fhir:url [ fhir:v "label"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "Segment IAM to AllergyIntolerance.fsh"       ]     ] [
    fhir:url [ fhir:v "url"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:uri ;
    fhir:v "https://docs.google.com/spreadsheets/d/1oN0BuBRmIfVQHHU6DuwnL1ZL60h6BvnXISJQ7D6akbU/edit#gid=0"^^xsd:anyURI       ]     ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"^^xsd:anyURI ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "oo"     ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "informative" ;
          ( 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/uv/v2mappings/ImplementationGuide/hl7.fhir.uv.v2mappings"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/v2mappings/ImplementationGuide/hl7.fhir.uv.v2mappings>         ]       ] )     ]
      ] ) ; #
      fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/ConceptMap/segment-iam-to-allergyintolerance"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "1.0.0"] ; #
      fhir:name [ fhir:v "SegmentIAMToAllergyIntolerance"] ; #
      fhir:title [ fhir:v "Segment IAM to AllergyIntolerance Map"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:experimental [ fhir:v true] ; #
      fhir:date [ fhir:v "2025-08-25"^^xsd:date] ; #
      fhir:publisher [ fhir:v "HL7 International / Orders and Observations"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "HL7 Orders and Observations Workgroup" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "http://www.hl7.org/Special/committees/orders" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "This ConceptMap represents a mapping from the HL7 V2 Segment IAM to the FHIR AllergyIntolerance Resource."] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "001" ]     ] )
      ] ) ; #
      fhir:copyright [ fhir:v "Copyright (c) 2025, HL7 International, Inc., All Rights Reserved."] ; #
      fhir:group ( [
        ( fhir:element [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CWE"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-2" ] ;
    fhir:display [ fhir:v "Allergen Type Code" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "code"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v -1             ]           ] [
    fhir:url [ fhir:v "mappedVia"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:url ;
    fhir:v "ConceptMap/table-hl70127-to-allergy-intolerance-category"^^xsd:anyURI             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "category" ] ;
    fhir:display [ fhir:v "category" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "The FHIR table has a \"required\" binding. Do we need to expand the values in the FHIR table?\n\nCould other be used for:\nMiscellaneous allergy\nMiscellaneous contraindication\nAnimal Allergy\n\nHL70127 is a user defined table\\" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CWE"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-2" ] ;
    fhir:display [ fhir:v "Allergen Type Code" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "uri"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "assignment"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "\"http://hl7.org/fhir/StructureDefinition/alternate-codes\""             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "category.extension[1].url" ] ;
    fhir:display [ fhir:v "category.extension[1].url" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CWE"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-2" ] ;
    fhir:display [ fhir:v "Allergen Type Code" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CodeableConcept"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "mappedVia"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:url ;
    fhir:v "ConceptMap/table-hl70127-to-v2-0127"^^xsd:anyURI             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "category.extension[1].valueCodeableConcept" ] ;
    fhir:display [ fhir:v "category.extension[1].valueCodeableConcept" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CWE"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-2" ] ;
    fhir:display [ fhir:v "Allergen Type Code" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "code"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "mappedVia"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:url ;
    fhir:v "ConceptMap/table-hl70127-to-allergy-intolerance-type"^^xsd:anyURI             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "type" ] ;
    fhir:display [ fhir:v "type" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CWE"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-3" ] ;
    fhir:display [ fhir:v "Allergen Code/Mnemonic/Description" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CodeableConcept"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "code[1]" ] ;
    fhir:display [ fhir:v "code[1]" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CWE"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-4" ] ;
    fhir:display [ fhir:v "Allergy Severity Code" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "code"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "mappedVia"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:url ;
    fhir:v "ConceptMap/table-hl70128-to-reaction-event-severity"^^xsd:anyURI             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "reaction.severity" ] ;
    fhir:display [ fhir:v "reaction.severity" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
            ( fhir:dependsOn [
    fhir:property [ fhir:v "Narrative-Condition"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "If severity was not used equivalent to criticality" ]         ] )       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CWE"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-4" ] ;
    fhir:display [ fhir:v "Allergy Severity Code" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "code"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "mappedVia"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:url ;
    fhir:v "ConceptMap/table-hl70128-to-allergy-intolerance-criticality"^^xsd:anyURI             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "criticality" ] ;
    fhir:display [ fhir:v "criticality" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "Note that AllergyIntolerance.reaction.severity is available in FHIR but from a base standard perspective that is actually not the most appropriate and would require that AL1-6 is valued as well.  However, a local implementation may have used vocabulary that better fits AllergyIntolerance.reaction.severity and should then consider that instead as a local variation.  Note that the .reaction though is at a particular time, while .criticality is an overall assement that matches HL7 v2 generally better." ] ;
            ( fhir:dependsOn [
    fhir:property [ fhir:v "Narrative-Condition"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "If severity was used equivalent to criticality" ]         ] )       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CWE"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-4" ] ;
    fhir:display [ fhir:v "Allergy Severity Code" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "uri"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "assignment"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "\"http://hl7.org/fhir/StructureDefinition/alternate-codes\""             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "criticality.extension[1].url" ] ;
    fhir:display [ fhir:v "criticality.extension[1].url" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
            ( fhir:dependsOn [
    fhir:property [ fhir:v "Narrative-Condition"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "If severity was used equivalent to criticality" ]         ] )       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CWE"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-4" ] ;
    fhir:display [ fhir:v "Allergy Severity Code" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CodeableConcept"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] [
    fhir:url [ fhir:v "mappedVia"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:url ;
    fhir:v "ConceptMap/table-hl70128-original-to-v2-0128"^^xsd:anyURI             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "criticality.extension[1].valueCodeableConcept" ] ;
    fhir:display [ fhir:v "criticality.extension[1].valueCodeableConcept" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
            ( fhir:dependsOn [
    fhir:property [ fhir:v "Narrative-Condition"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "If severity was used equivalent to criticality" ]         ] )       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "ST"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-5" ] ;
    fhir:display [ fhir:v "Allergy Reaction Code" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CodeableConcept"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "reaction.manifestation.text" ] ;
    fhir:display [ fhir:v "reaction.manifestation.text" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "EI"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-7" ] ;
    fhir:display [ fhir:v "Allergy Unique Identifier" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "identifier"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v -1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "identifier" ] ;
    fhir:display [ fhir:v "identifier" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "DT"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-11" ] ;
    fhir:display [ fhir:v "Onset Date" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "dateTime"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "onsetDateTime" ] ;
    fhir:display [ fhir:v "onsetDateTime" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "ST"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-12" ] ;
    fhir:display [ fhir:v "Onset Date Text" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "string"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "onsetString" ] ;
    fhir:display [ fhir:v "onsetString" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "Cannot map to both onsetDateTime and onsetString, so take onsetDateTime if available." ] ;
            ( fhir:dependsOn [
    fhir:property [ fhir:v "Computable-ANTLR"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "IF IAM-11 NOT VALUED" ]         ] )       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "DTM"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-13" ] ;
    fhir:display [ fhir:v "Reported Date/Time" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "dateTime"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "recordedDate" ] ;
    fhir:display [ fhir:v "recordedDate" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "XPN"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-14" ] ;
    fhir:display [ fhir:v "Reported By" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "HumanName"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "recorder.reference(Practitioner.name)" ] ;
    fhir:display [ fhir:v "recorder.reference(Practitioner.name)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
            ( fhir:dependsOn [
    fhir:property [ fhir:v "Computable-ANTLR"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "IF IAM-15 NOT VALUED" ]         ] [
    fhir:property [ fhir:v "Narrative-Condition"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "If IAM-15 is not valued, not always 100% clear this is a practitioner, so much review locally." ]         ] )       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "XPN"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-14" ] ;
    fhir:display [ fhir:v "Reported By" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "HumanName"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "recorder.reference(Patient[1].name)" ] ;
    fhir:display [ fhir:v "recorder.reference(Patient[1].name)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
            ( fhir:dependsOn [
    fhir:property [ fhir:v "Computable-ANTLR"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "IF IAM-15 EQUALS \"SEL\"" ]         ] )       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "XPN"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-14" ] ;
    fhir:display [ fhir:v "Reported By" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "HumanName"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "recorder.reference(RelatedPerson.name)" ] ;
    fhir:display [ fhir:v "recorder.reference(RelatedPerson.name)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
            ( fhir:dependsOn [
    fhir:property [ fhir:v "Computable-ANTLR"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "IF IAM-15 VALUED AND NOT \"SEL\"" ]         ] )       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CWE"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-15" ] ;
    fhir:display [ fhir:v "Relationship to Patient" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CodeableConcept"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v -1             ]           ] [
    fhir:url [ fhir:v "mappedVia"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:url ;
    fhir:v "ConceptMap/table-hl70063-to-v3-rolecode"^^xsd:anyURI             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "recorder.reference(RelatedPerson.relationship)" ] ;
    fhir:display [ fhir:v "recorder.reference(RelatedPerson.relationship)" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
            ( fhir:dependsOn [
    fhir:property [ fhir:v "Computable-ANTLR"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "IF IAM-15 VALUED AND NOT \"SEL\"" ]         ] )       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CWE"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-17" ] ;
    fhir:display [ fhir:v "Allergy Clinical Status" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CodeableConcept"             ]           ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 0             ]           ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "clinicalStatus" ] ;
    fhir:display [ fhir:v "clinicalStatus" ] ;
    fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CWE"           ]         ] [
    fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] [
    fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1           ]         ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
    fhir:code [ fhir:v "IAM-27" ] ;
    fhir:display [ fhir:v "Clinician Identified Code" ] ;
          ( fhir:target [
            ( fhir:extension [
              ( fhir:extension [
    fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "CodeableConcept"             ]           ] ) ;
    fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "code[1]" ] ;
    fhir:display [ fhir:v "code[1]" ] ;
    fhir:equivalence [ fhir:v "equivalent" ] ;
    fhir:comment [ fhir:v "The values are added as additional .coding entries in the CodeableConcept for AllergyIntolerance.code" ]       ] )     ] )
      ] ) . #