FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: ConceptMap/datatype-ed-to-attachment

Packagehl7.fhir.uv.v2mappings
TypeConceptMap
Iddatatype-ed-to-attachment
FHIR VersionR4
Sourcehttp://hl7.org/fhir/uv/v2mappings/https://build.fhir.org/ig/HL7/v2-to-fhir/ConceptMap-datatype-ed-to-attachment.html
URLhttp://hl7.org/fhir/uv/v2mappings/ConceptMap/datatype-ed-to-attachment
Version1.0.0
Statusactive
Date2025-07-22
NameDatatypeEDToAttachment
TitleDatatype ED to Attachment Map
Realmuv
Authorityhl7
DescriptionThis ConceptMap represents a mapping from the HL7 V2 Datatype ED to the FHIR Attachment Data Type.
CopyrightCopyright (c) 2025, HL7 International, Inc., All Rights Reserved.

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: ConceptMap datatype-ed-to-attachment

Mapping from (not specified) to (not specified)


Group 1 Mapping from unspecified code system to unspecified code system

Source Concept DetailsRelationshipTarget Concept DetailsComment
Codes from ComputableANTLRCodes from
ED.2Type of DataIF ED.3 NOT VALUEDis equivalent toextension[1].urlextension[1].url
ED.2Type of DataIF ED.3 NOT VALUEDis equivalent toextension[1].valueCodeableConceptextension[1].valueCodeableConcept
ED.3Data Subtypeis equivalent tocontentTypecontentType
ED.5DataIF ED.4 IN ("Base64")is equivalent todatadataImplementations are not always accurate, so to be safe you may want to always assess OBX-5.5 to determine the correct .contentType.
ED.5DataIF ED.4 IN ("A", (HEX")is equivalent todatadataImplementations are not always accurate, so to be safe you may want to always assess OBX-5.5 to determine the correct .contentType.

Source

{
  "resourceType": "ConceptMap",
  "id": "datatype-ed-to-attachment",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "extension": [
        {
          "url": "type",
          "valueCode": "derived-from"
        },
        {
          "url": "label",
          "valueString": "Datatype ED to Attachment.fsh"
        },
        {
          "url": "url",
          "valueUri": "https://docs.google.com/spreadsheets/d/1SGCbdWUV21fClCmnt3zNqOMzeV5Bt2FcBIoO7eP51YM/edit#gid=0"
        }
      ],
      "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "oo"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "informative",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/uv/v2mappings/ImplementationGuide/hl7.fhir.uv.v2mappings"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/uv/v2mappings/ConceptMap/datatype-ed-to-attachment",
  "version": "1.0.0",
  "name": "DatatypeEDToAttachment",
  "title": "Datatype ED to Attachment Map",
  "status": "active",
  "experimental": true,
  "date": "2025-07-22",
  "publisher": "HL7 International / Orders and Observations",
  "contact": [
    {
      "name": "HL7 Orders and Observations Workgroup",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/orders"
        }
      ]
    }
  ],
  "description": "This ConceptMap represents a mapping from the HL7 V2 Datatype ED to the FHIR Attachment Data Type.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "copyright": "Copyright (c) 2025, HL7 International, Inc., All Rights Reserved.",
  "group": [
    {
      "element": [
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "type",
                  "valueCode": "ID"
                },
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ED.2",
          "display": "Type of Data",
          "target": [
            {
              "extension": [
                {
                  "extension": [
                    {
                      "url": "type",
                      "valueCode": "uri"
                    },
                    {
                      "url": "cardinalityMin",
                      "valueInteger": 1
                    },
                    {
                      "url": "cardinalityMax",
                      "valueInteger": 1
                    },
                    {
                      "url": "assignment",
                      "valueString": "\"https://hl7.org/fhir/StructureDefinition/alternate-codes\""
                    }
                  ],
                  "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code": "extension[1].url",
              "display": "extension[1].url",
              "equivalence": "equivalent",
              "dependsOn": [
                {
                  "property": "Computable-ANTLR",
                  "value": "IF ED.3 NOT VALUED"
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "type",
                  "valueCode": "ID"
                },
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ED.2",
          "display": "Type of Data",
          "target": [
            {
              "extension": [
                {
                  "extension": [
                    {
                      "url": "type",
                      "valueCode": "CodeableConcept"
                    },
                    {
                      "url": "cardinalityMin",
                      "valueInteger": 1
                    },
                    {
                      "url": "cardinalityMax",
                      "valueInteger": 1
                    }
                  ],
                  "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code": "extension[1].valueCodeableConcept",
              "display": "extension[1].valueCodeableConcept",
              "equivalence": "equivalent",
              "dependsOn": [
                {
                  "property": "Computable-ANTLR",
                  "value": "IF ED.3 NOT VALUED"
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "type",
                  "valueCode": "ID"
                },
                {
                  "url": "cardinalityMin",
                  "valueInteger": 0
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ED.3",
          "display": "Data Subtype",
          "target": [
            {
              "extension": [
                {
                  "extension": [
                    {
                      "url": "type",
                      "valueCode": "code"
                    },
                    {
                      "url": "cardinalityMin",
                      "valueInteger": 1
                    },
                    {
                      "url": "cardinalityMax",
                      "valueInteger": 1
                    }
                  ],
                  "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code": "contentType",
              "display": "contentType",
              "equivalence": "equivalent"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "type",
                  "valueCode": "TX"
                },
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ED.5",
          "display": "Data",
          "target": [
            {
              "extension": [
                {
                  "extension": [
                    {
                      "url": "type",
                      "valueCode": "base64Binary"
                    },
                    {
                      "url": "cardinalityMin",
                      "valueInteger": 1
                    },
                    {
                      "url": "cardinalityMax",
                      "valueInteger": 1
                    }
                  ],
                  "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code": "data",
              "display": "data",
              "equivalence": "equivalent",
              "comment": "Implementations are not always accurate, so to be safe you may want to always assess OBX-5.5 to determine the correct .contentType.",
              "dependsOn": [
                {
                  "property": "Computable-ANTLR",
                  "value": "IF ED.4 IN (\"Base64\")"
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "type",
                  "valueCode": "TX"
                },
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ED.5",
          "display": "Data",
          "target": [
            {
              "extension": [
                {
                  "extension": [
                    {
                      "url": "type",
                      "valueCode": "base64Binary"
                    },
                    {
                      "url": "cardinalityMin",
                      "valueInteger": 1
                    },
                    {
                      "url": "cardinalityMax",
                      "valueInteger": 1
                    },
                    {
                      "url": "assignment",
                      "valueString": "/convert from A or HEX to binary64/"
                    }
                  ],
                  "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code": "data",
              "display": "data",
              "equivalence": "equivalent",
              "comment": "Implementations are not always accurate, so to be safe you may want to always assess OBX-5.5 to determine the correct .contentType.",
              "dependsOn": [
                {
                  "property": "Computable-ANTLR",
                  "value": "IF ED.4 IN (\"A\", (HEX\")"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}