Implementation Guide
ePA Medication Service
Version 1.0.5-1 - release

## Data Type Profile: EPAMedicationUniqueIdentifier - Mappings

Active as of 2025-02-28

Mappings for the epa-medication-unique-identifier data type profile.

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

EPAMedicationUniqueIdentifier
Identifier | CX / EI (occasionally, more often EI maps to a resource id or a URL)
use | N/A
type | CE/CNE/CWE, CX.5
system | CX.4 / EI-2-4
value | CX.1 / EI.1
period | DR, CX.7 + CX.8
assigner | CX.4 / (CX.4,CX.9,CX.10)

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

EPAMedicationUniqueIdentifier
Identifier | 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 | n/a
extension | n/a, N/A
use | n/a, Role.code or implied by context
type | n/a, CD, Role.code or implied by context
system | n/a, II.root or Role.id.root
value | n/a, II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
period | n/a, IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"], Role.effectiveTime or implied by context
assigner | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper

### Mappings for ServD (http://www.omg.org/spec/ServD/1.0/)

EPAMedicationUniqueIdentifier
Identifier | Identifier
system | ./IdentifierType
value | ./Value
period | ./StartDate and ./EndDate
assigner | ./IdentifierIssuingAuthority