Nationella informationsmängder
0.1 - draft

Nationella informationsmängder - Local Development build (v0.1). See the Directory of published versions

Resource Profile: NIMMedication - Mappings

Mappings for the NIMMedication resource profile.

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

NIMMedication
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] (itemReference)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)

NIMMedication
MedicationEntity. Role, or Act, ManufacturedProduct[classCode=ADMM]
   textAct.text?
   containedN/A
   modifierExtensionN/A
   identifier.id
   identifier (nplpackid).id
      idn/a
      extensionn/a
      useRole.code or implied by context
      typeRole.code or implied by context
      systemII.root or Role.id.root
      valueII.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
      periodRole.effectiveTime or implied by context
      assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
   identifier (varunr).id
      idn/a
      extensionn/a
      useRole.code or implied by context
      typeRole.code or implied by context
      systemII.root or Role.id.root
      valueII.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
      periodRole.effectiveTime or implied by context
      assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
   code.code
      idn/a
      extensionn/a
      codingunion(., ./translation)
         idn/a
         extensionn/a
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      text./originalText[mediaType/code="text/plain"]/data
   status.statusCode
   manufacturer.player.scopingRole[typeCode=MANU].scoper
   form.formCode
      idn/a
      extensionn/a
      codingunion(., ./translation)
      text./originalText[mediaType/code="text/plain"]/data
   amount.quantity
   ingredient.scopesRole[typeCode=INGR]
      idn/a
      extensionn/a
      modifierExtensionN/A
      item[x].player
      item[x] (itemReference).player
      isActiveNA
      strength.quantity
   batch.player[classCode=CONT]
      idn/a
      extensionn/a
      modifierExtensionN/A
      lotNumber.id
      expirationDateparticipation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime

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

NIMMedication
Medication
   identifierFiveWs.identifier
   identifier (nplpackid)FiveWs.identifier
   identifier (varunr)FiveWs.identifier
   codeFiveWs.class
   manufacturerFiveWs.actor

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

NIMMedication
Medication
   identifier
   identifier (nplpackid)
      useN/A
      typeCX.5
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodCX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   identifier (varunr)
      useN/A
      typeCX.5
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodCX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   codeRXO-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
      codingC*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
   formRXO-5-Requested Dosage Form / RXE-6-Give Dosage Form / RXD-6-Actual Dosage Form / RXG-8-Give Dosage Form / RXA-8-Administered Dosage Form
      codingC*E.1-8, C*E.10-22
      textC*E.9. But note many systems use C*E.2 for this
   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] (itemReference)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
      strengthRXC-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
   batch
      lotNumberRXA-15 Substance Lot Number / RXG-19 Substance Lot Number
      expirationDateRXA-16 Substance Expiration Date / RXG-20 Substance Expiration Date

Mappings for (http://informationsstruktur.socialstyrelsen.se/nim/hos/NIM-Läkemedelsprodukt)

NIMMedication
MedicationLäkemedelsprodukt
   extension (nplid)Läkemedelsprodukt.typ
   extension (tradename)Läkemedelsprodukt.Namn.värde
   codeLäkemedelsprodukt.id
   form
      textLäkemedelsprodukt.Form.värde
   ingredient
      item[x] (itemReference)Läkemedelsprodukt.gruppidentitet
      strengthLäkemedelsprodukt.Styrka.värde