HL7 Version 2 to FHIR, published by HL7 International / Orders and Observations. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/v2-to-fhir/ and changes regularly. See the Directory of published versions
Official URL: http://hl7.org/fhir/uv/v2mappings/datatype-cx-to-identifier | Version: 1.0.0-ballot | |||
Active as of 2024-10-30 | Computable Name: DatatypeCXToIdentifier | |||
Copyright/Legal: Copyright (c) 2020, HL7 International, Inc., All Rights Reserved. |
This ConceptMap represents a mapping from the HL7 V2 Datatype CX to the FHIR Identifier Data Type.
This ConceptMap represents the mapping from the HL7 V2 CX Data Type to the FHIR Identifier Data Type. See also the FHIR Shorthand or the CSV Source.
HL7 v2 | Condition (IF True, args) | HL7 FHIR | Comments | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sort Order | Identifier | Name | Data Type | Cardinality - Min | Cardinality - Max | Computable ANTLR | Computable FHIRPath | Narrative | FHIR Attribute | Proposed Extension | Data Type | Cardinality - Min | Cardinality - Max | Data Type Mapping | Vocabulary Mapping (IS, ID, CE, CEN, CWE) | Assignment | |
1 | CX.1 | ID Number | ST | 1 | 1 | Identifier.value | Identifier.string | 0 | 1 | ||||||||
2 | CX.2 | Identifier Check Digit | ST | 0 | 1 | Identifier.extension.url | Identifier.uri | 0 | 1 | "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit" | |||||||
2 | CX.2 | Identifier Check Digit | ST | 0 | 1 | Identifier.extension.valueString | Identifier.string | 1 | 1 | ||||||||
3 | CX.3 | Check Digit Scheme | ID | 0 | 1 | Identifier.extension.url | Identifier.uri | 0 | 1 | "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit" | |||||||
3 | CX.3 | Check Digit Scheme | ID | 0 | 1 | Identifier.extension.valueString | Identifier.string | 1 | 1 | ||||||||
4 | CX.4 | Assigning Authority | HD | 0 | 1 | If not in http://hl7.org/implement/standards/fhir/identifier-registry.html then determine whether organization or system | Identifier.assigner(Identifier.Organization) | Reference(Identifier.Organization) | 0 | 1 | HD[Organization] | ||||||
4 | CX.4 | Assigning Authority | HD | 0 | 1 | IF CX.4 IN http://hl7.org/implement/standards/fhir/identifier-registry.html | Identifier.system | Identifier.uri | 0 | 1 | HD[uri] | Typically the assigning authority reflects an organization, but if it is an actual system (EHR 1 vs. EHR 2, both supporting the same organization where one cannot get more specific), then CX.4 should be mapped to .system | |||||
5 | CX.5 | Identifier Type Code | ID | 1 | 1 | Identifier.type.coding.code | Identifier.code | 0 | 1 | IdentifierType | |||||||
6 | CX.6 | Assigning Facility | HD | 0 | 1 | extension??-assigningFacility | Reference(Identifier.Organization) | 0 | 1 | HD[Organization] | |||||||
7 | CX.7 | Effective Date | DT | 0 | 1 | Identifier.period.start | Identifier.dateTime | 0 | 1 | ||||||||
8 | CX.8 | Expiration Date | DT | 0 | 1 | Identifier.period.end | Identifier.dateTime | 0 | 1 | ||||||||
9 | CX.9 | Assigning Jurisdiction | CWE | 0 | 1 | ||||||||||||
10 | CX.10 | Assigning Agency or Department | CWE | 0 | 1 | ||||||||||||
11 | CX.11 | Security Check | ST | 0 | 1 | ||||||||||||
12 | CX.12 | Security Check Scheme | ID | 0 | 1 |
Generated Narrative: ConceptMap datatype-cx-to-identifier
Mapping from CX to Identifier
Group 1 Mapping from unspecified code system
to unspecified code system
Source Code | Relationship | Target Code | Comment |
CX.1 (ID Number) | is equivalent to | value | |
CX.2 (Identifier Check Digit) | is equivalent to | extension[1].url | |
CX.2 (Identifier Check Digit) | is equivalent to | extension[1].valueString | |
CX.3 (Check Digit Scheme) | is equivalent to | extension[2].url | |
CX.3 (Check Digit Scheme) | is equivalent to | extension[2].valueString | |
CX.4 (Assigning Authority) | is equivalent to | assigner(Organization) | |
CX.4 (Assigning Authority) | is equivalent to | system | Typically the assigning authority reflects an organization, but if it is an actual system (EHR 1 vs. EHR 2, both supporting the same organization where one cannot get more specific), then CX.4 should be mapped to .system |
CX.5 (Identifier Type Code) | is equivalent to | type.coding.code | |
CX.7 (Effective Date) | is equivalent to | period.start | |
CX.8 (Expiration Date) | is equivalent to | period.end |