Implementation Guide
ePA Medication Service
Version 1.0.5-ballot.1 - draft

Resource Profile: EPAMedicationPZNIngredient - Mappings

Draft as of 2025-02-14

Mappings for the epa-medication-pzn-ingredient resource profile.

Mappings for Mapping to NCPDP SCRIPT 10.6 (http://ncpdp.org/SCRIPT10_6)

EPAMedicationPZNIngredient
MedicationNewRx/MedicationPrescribed -or- RxFill/MedicationDispensed -or- RxHistoryResponse/MedicationDispensed -or- RxHistoryResponse/MedicationPrescribed
   codecoding.code = //element(*,MedicationType)/DrugCoded/ProductCode coding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier coding.display = //element(*,MedicationType)/DrugDescription
   manufacturerno mapping
   formcoding.code = //element(*,DrugCodedType)/FormCode coding.system = //element(*,DrugCodedType)/FormSourceCode
   ingredient
      item[x]coding.code = //element(*,MedicationType)/DrugCoded/ProductCode coding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier coding.display = //element(*,MedicationType)/DrugDescription
      item[x] (itemCodeableConcept)coding.code = //element(*,MedicationType)/DrugCoded/ProductCode coding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier coding.display = //element(*,MedicationType)/DrugDescription
      strength//element(*,DrugCodedType)/Strength
   batchno mapping
      lotNumberno mapping
      expirationDateno mapping

Mappings for RIM Mapping (http://hl7.org/v3)

EPAMedicationPZNIngredient
MedicationEntity. Role, or Act, ManufacturedProduct[classCode=ADMM]
   metan/a, N/A
      idn/a
      extensionn/a, N/A
      versionIdn/a
      lastUpdatedn/a
      sourcen/a
      profilen/a
      securityn/a, CV
      tagn/a, CV
   implicitRulesn/a
   languagen/a
   textn/a, N/A, Act.text?
   extensionn/a, N/A
   extension (rxPrescriptionProcessIdentifier)
   extension (isVaccine)
      idn/a
      urlN/A
      value[x]n/a, N/A
   extension (drugCategory)
      idn/a
      urlN/A
      value[x]n/a, N/A
         idn/a
         extensionn/a, N/A
         systemn/a, ./codeSystem
         versionn/a, ./codeSystemVersion
         coden/a, ./code
         displayn/a, CV.displayName
         userSelectedn/a, CD.codingRationale
   extension (normSizeCode)n/a, N/A
      idn/a
      urlN/A
      value[x]n/a, N/A
   extension (packaging)
      idn/a
      urlN/A
      value[x]n/a, N/A
   extension (manufacturingInstructions)
      idn/a
      urlN/A
      value[x]n/a, N/A
   extension (type)
      idn/a
      urlN/A
      value[x]n/a, N/A
   modifierExtensionn/a, N/A
   identifiern/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT], .id
   identifier (EPAMedicationUniqueIdentifier)n/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT], .id
   identifier (RxOriginatorProcessIdentifier)n/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT], .id
   coden/a, CD, .code
      idn/a
      extensionn/a, N/A
      codingn/a, CV, union(., ./translation)
      coding (pzn)n/a, CV, union(., ./translation)
         idn/a
         extensionn/a, N/A
         systemn/a, ./codeSystem
         versionn/a, ./codeSystemVersion
         coden/a, ./code
         displayn/a, CV.displayName
         userSelectedn/a, CD.codingRationale
      coding (atc-de)n/a, CV, union(., ./translation)
         idn/a
         extensionn/a, N/A
         systemn/a, ./codeSystem
         versionn/a, ./codeSystemVersion
         coden/a, ./code
         displayn/a, CV.displayName
         userSelectedn/a, CD.codingRationale
      coding (ask)n/a, CV, union(., ./translation)
         idn/a
         extensionn/a, N/A
         systemn/a, ./codeSystem
         versionn/a, ./codeSystemVersion
         coden/a, ./code
         displayn/a, CV.displayName
         userSelectedn/a, CD.codingRationale
      coding (snomed)n/a, CV, union(., ./translation)
         idn/a
         extensionn/a, N/A
         systemn/a, ./codeSystem
         versionn/a, ./codeSystemVersion
         coden/a, ./code
         displayn/a, CV.displayName
         userSelectedn/a, CD.codingRationale
      textn/a, ./originalText[mediaType/code="text/plain"]/data
   statusn/a, .statusCode
   manufacturern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .player.scopingRole[typeCode=MANU].scoper
      idn/a
      extensionn/a, N/A
      referencen/a, N/A
      typen/a, N/A
      identifiern/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT], .identifier
      displayn/a, N/A
   formn/a, CD, .formCode
      idn/a
      extensionn/a, N/A
      codingn/a, CV, union(., ./translation)
      coding (edqm)n/a, CV, union(., ./translation)
         idn/a
         extensionn/a, N/A
         systemn/a, ./codeSystem
         versionn/a, ./codeSystemVersion
         coden/a, ./code
         displayn/a, CV.displayName
         userSelectedn/a, CD.codingRationale
      coding (snomed)n/a, CV, union(., ./translation)
         idn/a
         extensionn/a, N/A
         systemn/a, ./codeSystem
         versionn/a, ./codeSystemVersion
         coden/a, ./code
         displayn/a, CV.displayName
         userSelectedn/a, CD.codingRationale
      coding (kbvDarreichungsform)n/a, CV, union(., ./translation)
         idn/a
         extensionn/a, N/A
         systemn/a, ./codeSystem
         versionn/a, ./codeSystemVersion
         coden/a, ./code
         displayn/a, CV.displayName
         userSelectedn/a, CD.codingRationale
      textn/a, ./originalText[mediaType/code="text/plain"]/data
   amountn/a, RTO, .quantity
      idn/a
      extensionn/a, N/A
      numeratorn/a, PQ, IVL<PQ>, MO, CO, depending on the values, .numerator
         idn/a
         extensionn/a, N/A
         extension (packagingSize)
            idn/a
            urlN/A
            value[x]n/a, N/A
         extension (totalQuantity)
            idn/a
            urlN/A
            value[x]n/a, N/A
         valuen/a, PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
         comparatorn/a, IVL properties
         unitn/a, PQ.unit
         systemn/a, CO.codeSystem, PQ.translation.codeSystem
         coden/a, PQ.code, MO.currency, PQ.translation.code
      denominatorn/a, PQ, IVL<PQ>, MO, CO, depending on the values, .denominator
         idn/a
         extensionn/a, N/A
         valuen/a, PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
         comparatorn/a, IVL properties
         unitn/a, PQ.unit
         systemn/a, CO.codeSystem, PQ.translation.codeSystem
         coden/a, PQ.code, MO.currency, PQ.translation.code
   ingredientn/a, .scopesRole[typeCode=INGR]
      idn/a
      extensionn/a, N/A
      modifierExtensionn/a, N/A
      item[x]n/a, .player
      item[x] (itemCodeableConcept)n/a, .player
         idn/a
         extensionn/a, N/A
         codingn/a, CV, union(., ./translation)
         coding (ask)n/a, CV, union(., ./translation)
            idn/a
            extensionn/a, N/A
            systemn/a, ./codeSystem
            versionn/a, ./codeSystemVersion
            coden/a, ./code
            displayn/a, CV.displayName
            userSelectedn/a, CD.codingRationale
         coding (atc-de)n/a, CV, union(., ./translation)
            idn/a
            extensionn/a, N/A
            systemn/a, ./codeSystem
            versionn/a, ./codeSystemVersion
            coden/a, ./code
            displayn/a, CV.displayName
            userSelectedn/a, CD.codingRationale
         coding (snomed)n/a, CV, union(., ./translation)
            idn/a
            extensionn/a, N/A
            systemn/a, ./codeSystem
            versionn/a, ./codeSystemVersion
            coden/a, ./code
            displayn/a, CV.displayName
            userSelectedn/a, CD.codingRationale
         coding (pzn)n/a, CV, union(., ./translation)
            idn/a
            extensionn/a, N/A
            systemn/a, ./codeSystem
            versionn/a, ./codeSystemVersion
            coden/a, ./code
            displayn/a, CV.displayName
            userSelectedn/a, CD.codingRationale
         textn/a, ./originalText[mediaType/code="text/plain"]/data
      isActiven/a, NA
      strengthn/a, RTO, .quantity
         idn/a
         extensionn/a, N/A
         extension (amountText)
            idn/a
            urlN/A
            value[x]n/a, N/A
         numeratorn/a, PQ, IVL<PQ>, MO, CO, depending on the values, .numerator
            idn/a
            extensionn/a, N/A
            valuen/a, PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
            comparatorn/a, IVL properties
            unitn/a, PQ.unit
            systemn/a, CO.codeSystem, PQ.translation.codeSystem
            coden/a, PQ.code, MO.currency, PQ.translation.code
         denominatorn/a, PQ, IVL<PQ>, MO, CO, depending on the values, .denominator
            idn/a
            extensionn/a, N/A
            valuen/a, PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
            comparatorn/a, IVL properties
            unitn/a, PQ.unit
            systemn/a, CO.codeSystem, PQ.translation.codeSystem
            coden/a, PQ.code, MO.currency, PQ.translation.code
   batchn/a, .player[classCode=CONT]
      idn/a
      extensionn/a, N/A
      modifierExtensionn/a, N/A
      lotNumbern/a, .id
      expirationDaten/a, participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime

Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

EPAMedicationPZNIngredient
Medication
   identifierFiveWs.identifier
   identifier (EPAMedicationUniqueIdentifier)FiveWs.identifier
   identifier (RxOriginatorProcessIdentifier)FiveWs.identifier
   codeFiveWs.class
   manufacturerFiveWs.actor

Mappings for HL7 v2 Mapping (http://hl7.org/v2)

EPAMedicationPZNIngredient
Medication
   meta
      securityCE/CNE/CWE subset one of the sets of component 1-3 or 4-6
      tagCE/CNE/CWE subset one of the sets of component 1-3 or 4-6
   extension
   extension (rxPrescriptionProcessIdentifier)
   extension (isVaccine)
      value[x]
   extension (drugCategory)
      value[x]
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
   identifierCX / EI (occasionally, more often EI maps to a resource id or a URL)
   identifier (EPAMedicationUniqueIdentifier)CX / EI (occasionally, more often EI maps to a resource id or a URL)
   identifier (RxOriginatorProcessIdentifier)CX / EI (occasionally, more often EI maps to a resource id or a URL)
   codeCE/CNE/CWE, RXO-1.1-Requested Give Code.code / RXE-2.1-Give Code.code / RXD-2.1-Dispense/Give Code.code / RXG-4.1-Give Code.code /RXA-5.1-Administered Code.code / RXC-2.1 Component Code
      codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
      coding (pzn)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      coding (atc-de)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      coding (ask)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      coding (snomed)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      textC*E.9. But note many systems use C*E.2 for this
   manufacturerRXD-20-Substance Manufacturer Name / RXG-21-Substance Manufacturer Name / RXA-17-Substance Manufacturer Name
      identifierCX / EI (occasionally, more often EI maps to a resource id or a URL)
   formCE/CNE/CWE, RXO-5-Requested Dosage Form / RXE-6-Give Dosage Form / RXD-6-Actual Dosage Form / RXG-8-Give Dosage Form / RXA-8-Administered Dosage Form
      codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
      coding (edqm)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      coding (snomed)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      coding (kbvDarreichungsform)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      textC*E.9. But note many systems use C*E.2 for this
   amountN/A
      numeratorSN (see also Range) or CQ
         valueSN.2 / CQ - N/A
         comparatorSN.1 / CQ.1
         unit(see OBX.6 etc.) / CQ.2
         system(see OBX.6 etc.) / CQ.2
         code(see OBX.6 etc.) / CQ.2
      denominatorSN (see also Range) or CQ
         valueSN.2 / CQ - N/A
         comparatorSN.1 / CQ.1
         unit(see OBX.6 etc.) / CQ.2
         system(see OBX.6 etc.) / CQ.2
         code(see OBX.6 etc.) / CQ.2
   ingredient
      item[x]RXC-2-Component Code if medication: RXO-1-Requested Give Code / RXE-2-Give Code / RXD-2-Dispense/Give Code / RXG-4-Give Code / RXA-5-Administered Code
      item[x] (itemCodeableConcept)RXC-2-Component Code if medication: RXO-1-Requested Give Code / RXE-2-Give Code / RXD-2-Dispense/Give Code / RXG-4-Give Code / RXA-5-Administered Code
         codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
         coding (ask)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
            systemC*E.3
            versionC*E.7
            codeC*E.1
            displayC*E.2 - but note this is not well followed
            userSelectedSometimes implied by being first
         coding (atc-de)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
            systemC*E.3
            versionC*E.7
            codeC*E.1
            displayC*E.2 - but note this is not well followed
            userSelectedSometimes implied by being first
         coding (snomed)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
            systemC*E.3
            versionC*E.7
            codeC*E.1
            displayC*E.2 - but note this is not well followed
            userSelectedSometimes implied by being first
         coding (pzn)CE/CNE/CWE subset one of the sets of component 1-3 or 4-6, C*E.1-8, C*E.10-22
            systemC*E.3
            versionC*E.7
            codeC*E.1
            displayC*E.2 - but note this is not well followed
            userSelectedSometimes implied by being first
         textC*E.9. But note many systems use C*E.2 for this
      strengthN/A, RXC-3-Component Amount & RXC-4-Component Units if medication: RXO-2-Requested Give Amount - Minimum & RXO-4-Requested Give Units / RXO-3-Requested Give Amount - Maximum & RXO-4-Requested Give Units / RXO-11-Requested Dispense Amount & RXO-12-Requested Dispense Units / RXE-3-Give Amount - Minimum & RXE-5-Give Units / RXE-4-Give Amount - Maximum & RXE-5-Give Units / RXE-10-Dispense Amount & RXE-10-Dispense Units
         numeratorSN (see also Range) or CQ
            valueSN.2 / CQ - N/A
            comparatorSN.1 / CQ.1
            unit(see OBX.6 etc.) / CQ.2
            system(see OBX.6 etc.) / CQ.2
            code(see OBX.6 etc.) / CQ.2
         denominatorSN (see also Range) or CQ
            valueSN.2 / CQ - N/A
            comparatorSN.1 / CQ.1
            unit(see OBX.6 etc.) / CQ.2
            system(see OBX.6 etc.) / CQ.2
            code(see OBX.6 etc.) / CQ.2
   batch
      lotNumberRXA-15 Substance Lot Number / RXG-19 Substance Lot Number
      expirationDateRXA-16 Substance Expiration Date / RXG-20 Substance Expiration Date