FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.uv.xver-r4.r5
Resource TypeConceptMap
IdConceptMap-R4-Medication-element-map-to-R5.json
FHIR VersionR5
Sourcehttp://hl7.org/fhir/uv/xver-r4.r5/0.1.0/ConceptMap-R4-Medication-element-map-to-R5.html
URLhttp://hl7.org/fhir/uv/xver/ConceptMap/R4-Medication-element-map-to-R5
Version0.1.0
Statusactive
Date2026-03-17T16:04:35.3948699-05:00
NameR4MedicationElementMapToR5
TitleCross-version mapping for FHIR R4 Medication to FHIR R5 Medication
Realmuv
Authorityhl7
DescriptionThis ConceptMap represents cross-version mappings for elements from a FHIR R4 Medication to FHIR R5.

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
hl7.fhir.uv.xver-r4.r5#0.1.0extension-Medication.amountR4: Amount of drug in package (new)
hl7.fhir.uv.xver-r4.r5#0.1.0extension-Medication.ingredient.itemR4: The actual ingredient or content additional types

Narrative

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

Generated Narrative: ConceptMap R4-Medication-element-map-to-R5

Mapping from http://hl7.org/fhir/4.0 to http://hl7.org/fhir/5.0


Group 1 Mapping from http://hl7.org/fhir/StructureDefinition/Medication|4.0.1 to Medicationversion: 5.0.0)

Source CodeRelationshipTarget CodeComment
Medication.meta (meta)is equivalent toMedication.metaElement `Medication.meta` is mapped to FHIR R5 element `Medication.meta` as `Equivalent`.
Medication.implicitRules (implicitRules)is equivalent toMedication.implicitRulesElement `Medication.implicitRules` is mapped to FHIR R5 element `Medication.implicitRules` as `Equivalent`. Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.
Medication.language (language)is equivalent toMedication.languageElement `Medication.language` is mapped to FHIR R5 element `Medication.language` as `Equivalent`. Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
Medication.text (text)is equivalent toMedication.textElement `Medication.text` is mapped to FHIR R5 element `Medication.text` as `Equivalent`. Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.
Medication.contained (contained)is equivalent toMedication.containedElement `Medication.contained` is mapped to FHIR R5 element `Medication.contained` as `Equivalent`. This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.
Medication.identifier (identifier)is equivalent toMedication.identifierElement `Medication.identifier` is mapped to FHIR R5 element `Medication.identifier` as `Equivalent`. The serial number could be included as an identifier.
Medication.code (code)is equivalent toMedication.codeElement `Medication.code` is mapped to FHIR R5 element `Medication.code` as `Equivalent`. Depending on the context of use, the code that was actually selected by the user (prescriber, dispenser, etc.) will have the coding.userSelected set to true. As described in the coding datatype: "A coding may be marked as a "userSelected" if a user selected the particular coded value in a user interface (e.g. the user selects an item in a pick-list). If a user selected coding exists, it is the preferred choice for performing translations etc. Other codes can only be literal translations to alternative code systems, or codes at a lower level of granularity (e.g. a generic code for a vendor-specific primary one).
Medication.status (status)is equivalent toMedication.statusElement `Medication.status` is mapped to FHIR R5 element `Medication.status` as `Equivalent`. An externally-defined extension that has been mapped as the representation of FHIR R4 element `Medication.status`: `http://hl7.org/fhir/StructureDefinition/artifact-status`. This status is intended to identify if the medication in a local system is in active use within a drug database or inventory. For example, a pharmacy system may create a new drug file record for a compounded product "ABC Hospital Special Cream" with an active status. At some point in the future, it may be determined that the drug record was created with an error and the status is changed to "entered in error". This status is not intended to specify if a medication is part of a particular formulary. It is possible that the drug record may be referenced by multiple formularies or catalogues and each of those entries would have a separate status.
Medication.manufacturer (manufacturer)is equivalent toMedication.marketingAuthorizationHolderElement `Medication.manufacturer` is mapped to FHIR R5 element `Medication.marketingAuthorizationHolder` as `Equivalent`.
Medication.form (form)is equivalent toMedication.doseFormElement `Medication.form` is mapped to FHIR R5 element `Medication.doseForm` as `Equivalent`. When Medication is referenced from MedicationRequest, this is the ordered form. When Medication is referenced within MedicationDispense, this is the dispensed form. When Medication is referenced within MedicationAdministration, this is administered form.
Medication.ingredient (ingredient)is broader thanMedication.ingredientElement `Medication.ingredient` is mapped to FHIR R5 element `Medication.ingredient` as `Equivalent`. The ingredients need not be a complete list. If an ingredient is not specified, this does not indicate whether an ingredient is present or absent. If an ingredient is specified it does not mean that all ingredients are specified. It is possible to specify both inactive and active ingredients.
Medication.ingredient.item[x] (item[x])is related toMedication.ingredient.itemElement `Medication.ingredient.item[x]` is mapped to FHIR R5 element `Medication.ingredient.item` as `RelatedTo`. The mappings for `Medication.ingredient.item[x]` do not cover the following types: Reference.
Medication.ingredient.isActive (isActive)is equivalent toMedication.ingredient.isActiveElement `Medication.ingredient.isActive` is mapped to FHIR R5 element `Medication.ingredient.isActive` as `Equivalent`.
Medication.ingredient.strength (strength)is equivalent toMedication.ingredient.strength[x]Element `Medication.ingredient.strength` is mapped to FHIR R5 element `Medication.ingredient.strength[x]` as `Equivalent`. The target context `Medication.ingredient.strength[x]` is a choice-type element and cannot directly hold extensions. The context is moved up to parent element `Medication.ingredient`.
Medication.batch (batch)is broader thanMedication.batchElement `Medication.batch` is mapped to FHIR R5 element `Medication.batch` as `Equivalent`.
Medication.batch.lotNumber (lotNumber)is equivalent toMedication.batch.lotNumberElement `Medication.batch.lotNumber` is mapped to FHIR R5 element `Medication.batch.lotNumber` as `Equivalent`.
Medication.batch.expirationDate (expirationDate)is equivalent toMedication.batch.expirationDateElement `Medication.batch.expirationDate` is mapped to FHIR R5 element `Medication.batch.expirationDate` as `Equivalent`.

Group 2 Mapping from http://hl7.org/fhir/StructureDefinition/Medication|4.0.1 to R4: Amount of drug in package (new)version: 0.1.0)

Source CodeRelationshipTarget CodeComment
Medication.amount (amount)is equivalent toExtension (R4: Amount of drug in package (new))Element `Medication.amount` has a context of Medication based on following the parent source element upwards and mapping to `Medication`. Element `Medication.amount` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

Group 3 Mapping from http://hl7.org/fhir/StructureDefinition/Medication|4.0.1 to R4: The actual ingredient or content additional typesversion: 0.1.0)

Source CodeRelationshipTarget CodeComment
Medication.ingredient.item[x] (item[x])is broader thanExtension (R4: The actual ingredient or content additional types)Element `Medication.ingredient.item[x]` is mapped to FHIR R5 element `Medication.ingredient.item` as `RelatedTo`. The mappings for `Medication.ingredient.item[x]` do not cover the following types: Reference.

Source1

{
  "resourceType": "ConceptMap",
  "id": "R4-Medication-element-map-to-R5",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 0,
      "_valueInteger": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r5"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r5"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/uv/xver/ConceptMap/R4-Medication-element-map-to-R5",
  "version": "0.1.0",
  "name": "R4MedicationElementMapToR5",
  "title": "Cross-version mapping for FHIR R4 Medication to FHIR R5 Medication",
  "status": "active",
  "experimental": false,
  "date": "2026-03-17T16:04:35.3948699-05:00",
  "contact": [
    {
      "name": "FHIR Infrastructure",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description": "This ConceptMap represents cross-version mappings for elements from a FHIR R4 Medication to FHIR R5.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001",
          "display": "World"
        }
      ]
    }
  ],
  "sourceScopeCanonical": "http://hl7.org/fhir/4.0",
  "targetScopeUri": "http://hl7.org/fhir/5.0",
  "group": [
    {
      "source": "http://hl7.org/fhir/StructureDefinition/Medication|4.0.1",
      "target": "http://hl7.org/fhir/StructureDefinition/Medication|5.0.0",
      "element": [
        {
          "code": "Medication.meta",
          "display": "meta",
          "target": [
            {
              "code": "Medication.meta",
              "display": "Medication.meta",
              "relationship": "equivalent",
              "comment": "Element `Medication.meta` is mapped to FHIR R5 element `Medication.meta` as `Equivalent`."
            }
          ]
        },
        {
          "code": "Medication.implicitRules",
          "display": "implicitRules",
          "target": [
            {
              "code": "Medication.implicitRules",
              "display": "Medication.implicitRules",
              "relationship": "equivalent",
              "comment": "Element `Medication.implicitRules` is mapped to FHIR R5 element `Medication.implicitRules` as `Equivalent`.\nAsserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc."
            }
          ]
        },
        {
          "code": "Medication.language",
          "display": "language",
          "target": [
            {
              "code": "Medication.language",
              "display": "Medication.language",
              "relationship": "equivalent",
              "comment": "Element `Medication.language` is mapped to FHIR R5 element `Medication.language` as `Equivalent`.\nLanguage is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."
            }
          ]
        },
        {
          "code": "Medication.text",
          "display": "text",
          "target": [
            {
              "code": "Medication.text",
              "display": "Medication.text",
              "relationship": "equivalent",
              "comment": "Element `Medication.text` is mapped to FHIR R5 element `Medication.text` as `Equivalent`.\nContained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later."
            }
          ]
        },
        {
          "code": "Medication.contained",
          "display": "contained",
          "target": [
            {
              "code": "Medication.contained",
              "display": "Medication.contained",
              "relationship": "equivalent",
              "comment": "Element `Medication.contained` is mapped to FHIR R5 element `Medication.contained` as `Equivalent`.\nThis should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels."
            }
          ]
        },
        {
          "code": "Medication.identifier",
          "display": "identifier",
          "target": [
            {
              "code": "Medication.identifier",
              "display": "Medication.identifier",
              "relationship": "equivalent",
              "comment": "Element `Medication.identifier` is mapped to FHIR R5 element `Medication.identifier` as `Equivalent`.\nThe serial number could be included as an identifier."
            }
          ]
        },
        {
          "code": "Medication.code",
          "display": "code",
          "target": [
            {
              "code": "Medication.code",
              "display": "Medication.code",
              "relationship": "equivalent",
              "comment": "Element `Medication.code` is mapped to FHIR R5 element `Medication.code` as `Equivalent`.\nDepending on the context of use, the code that was actually selected by the user (prescriber, dispenser, etc.) will have the coding.userSelected set to true.  As described in the coding datatype: \"A coding may be marked as a \"userSelected\" if a user selected the particular coded value in a user interface (e.g. the user selects an item in a pick-list). If a user selected coding exists, it is the preferred choice for performing translations etc. Other codes can only be literal translations to alternative code systems, or codes at a lower level of granularity (e.g. a generic code for a vendor-specific primary one)."
            }
          ]
        },
        {
          "code": "Medication.status",
          "display": "status",
          "target": [
            {
              "code": "Medication.status",
              "display": "Medication.status",
              "relationship": "equivalent",
              "comment": "Element `Medication.status` is mapped to FHIR R5 element `Medication.status` as `Equivalent`.\nAn externally-defined extension that has been mapped as the representation of FHIR R4 element `Medication.status`: `http://hl7.org/fhir/StructureDefinition/artifact-status`.\nThis status is intended to identify if the medication in a local system is in active use within a drug database or inventory.  For example, a pharmacy system may create a new drug file record for a compounded product \"ABC Hospital Special Cream\" with an active status.  At some point in the future, it may be determined that the drug record was created with an error and the status is changed to \"entered in error\".   This status is not intended to specify if a medication is part of a particular formulary.  It is possible that the drug record may be referenced by multiple formularies or catalogues and each of those entries would have a separate status."
            }
          ]
        },
        {
          "code": "Medication.manufacturer",
          "display": "manufacturer",
          "target": [
            {
              "code": "Medication.marketingAuthorizationHolder",
              "display": "Medication.marketingAuthorizationHolder",
              "relationship": "equivalent",
              "comment": "Element `Medication.manufacturer` is mapped to FHIR R5 element `Medication.marketingAuthorizationHolder` as `Equivalent`."
            }
          ]
        },
        {
          "code": "Medication.form",
          "display": "form",
          "target": [
            {
              "code": "Medication.doseForm",
              "display": "Medication.doseForm",
              "relationship": "equivalent",
              "comment": "Element `Medication.form` is mapped to FHIR R5 element `Medication.doseForm` as `Equivalent`.\nWhen Medication is referenced from MedicationRequest, this is the ordered form.  When Medication is referenced within MedicationDispense, this is the dispensed form.  When Medication is referenced within MedicationAdministration, this is administered form."
            }
          ]
        },
        {
          "code": "Medication.ingredient",
          "display": "ingredient",
          "target": [
            {
              "code": "Medication.ingredient",
              "display": "Medication.ingredient",
              "relationship": "source-is-broader-than-target",
              "comment": "Element `Medication.ingredient` is mapped to FHIR R5 element `Medication.ingredient` as `Equivalent`.\nThe ingredients need not be a complete list.  If an ingredient is not specified, this does not indicate whether an ingredient is present or absent.  If an ingredient is specified it does not mean that all ingredients are specified.  It is possible to specify both inactive and active ingredients."
            }
          ]
        },
        {
          "code": "Medication.ingredient.item[x]",
          "display": "item[x]",
          "target": [
            {
              "code": "Medication.ingredient.item",
              "display": "Medication.ingredient.item",
              "relationship": "related-to",
              "comment": "Element `Medication.ingredient.item[x]` is mapped to FHIR R5 element `Medication.ingredient.item` as `RelatedTo`.\nThe mappings for `Medication.ingredient.item[x]` do not cover the following types: Reference."
            }
          ]
        },
        {
          "code": "Medication.ingredient.isActive",
          "display": "isActive",
          "target": [
            {
              "code": "Medication.ingredient.isActive",
              "display": "Medication.ingredient.isActive",
              "relationship": "equivalent",
              "comment": "Element `Medication.ingredient.isActive` is mapped to FHIR R5 element `Medication.ingredient.isActive` as `Equivalent`."
            }
          ]
        },
        {
          "code": "Medication.ingredient.strength",
          "display": "strength",
          "target": [
            {
              "code": "Medication.ingredient.strength[x]",
              "display": "Medication.ingredient.strength[x]",
              "relationship": "equivalent",
              "comment": "Element `Medication.ingredient.strength` is mapped to FHIR R5 element `Medication.ingredient.strength[x]` as `Equivalent`.\nThe target context `Medication.ingredient.strength[x]` is a choice-type element and cannot directly hold extensions. The context is moved up to parent element `Medication.ingredient`."
            }
          ]
        },
        {
          "code": "Medication.batch",
          "display": "batch",
          "target": [
            {
              "code": "Medication.batch",
              "display": "Medication.batch",
              "relationship": "source-is-broader-than-target",
              "comment": "Element `Medication.batch` is mapped to FHIR R5 element `Medication.batch` as `Equivalent`."
            }
          ]
        },
        {
          "code": "Medication.batch.lotNumber",
          "display": "lotNumber",
          "target": [
            {
              "code": "Medication.batch.lotNumber",
              "display": "Medication.batch.lotNumber",
              "relationship": "equivalent",
              "comment": "Element `Medication.batch.lotNumber` is mapped to FHIR R5 element `Medication.batch.lotNumber` as `Equivalent`."
            }
          ]
        },
        {
          "code": "Medication.batch.expirationDate",
          "display": "expirationDate",
          "target": [
            {
              "code": "Medication.batch.expirationDate",
              "display": "Medication.batch.expirationDate",
              "relationship": "equivalent",
              "comment": "Element `Medication.batch.expirationDate` is mapped to FHIR R5 element `Medication.batch.expirationDate` as `Equivalent`."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/Medication|4.0.1",
      "target": "http://hl7.org/fhir/4.0/StructureDefinition/extension-Medication.amount|0.1.0",
      "element": [
        {
          "code": "Medication.amount",
          "display": "amount",
          "target": [
            {
              "code": "Extension",
              "relationship": "equivalent",
              "comment": "Element `Medication.amount` has a context of Medication based on following the parent source element upwards and mapping to `Medication`.\nElement `Medication.amount` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element)."
            }
          ]
        }
      ]
    },
    {
      "source": "http://hl7.org/fhir/StructureDefinition/Medication|4.0.1",
      "target": "http://hl7.org/fhir/4.0/StructureDefinition/extension-Medication.ingredient.item|0.1.0",
      "element": [
        {
          "code": "Medication.ingredient.item[x]",
          "display": "item[x]",
          "target": [
            {
              "code": "Extension",
              "relationship": "source-is-broader-than-target",
              "comment": "Element `Medication.ingredient.item[x]` is mapped to FHIR R5 element `Medication.ingredient.item` as `RelatedTo`.\nThe mappings for `Medication.ingredient.item[x]` do not cover the following types: Reference."
            }
          ]
        }
      ]
    }
  ]
}