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-nm-lengthofstay-to-quantity | Version: 1.0.0-ballot | |||
Active as of 2024-07-28 | Computable Name: DatatypeNMLengthOfStayToQuantity | |||
Copyright/Legal: Copyright (c) 2020, HL7 International, Inc., All Rights Reserved. |
This ConceptMap represents a mapping from the HL7 V2 Datatype NM to the FHIR Quantity Data Type.
This ConceptMap represents the mapping from the HL7 V2 NM Data Type to the FHIR Quantity 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 | Assignment | |
1 | NM.1 | Numeric | ST | If positive | Quantity.value | ||||||||||||
1 | NM.1 | Numeric | ST | If positive | Quantity.unit | "days" | |||||||||||
1 | NM.1 | Numeric | ST | If positive | Quantity.system | "http://unitsofmeasure.org/" | |||||||||||
1 | NM.1 | Numeric | ST | If positive | Quantity.code | "d" | |||||||||||
1 | NM.1 | Numeric | ST | If negative raise an error |
Generated Narrative: ConceptMap datatype-nm-lengthofstay-to-quantity
Mapping from NM to Quantity
Group 1 Mapping from unspecified code system
to unspecified code system
Source Concept Details | Relationship | Target Concept Details | Properties | ||||||
Codes from | value | Codes from | narrative | ||||||
NM.1 | Numeric | is equivalent to | value | value | If positive | ||||
NM.1 | Numeric | "days" | is equivalent to | unit | unit | If positive | |||
NM.1 | Numeric | "http://unitsofmeasure.org/" | is equivalent to | system | system | If positive | |||
NM.1 | Numeric | "d" | is equivalent to | code | code | If positive |