HL7 Version 2 to FHIR
1.0.0-ballot - ballot International flag

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

ConceptMap: Datatype NMnull to Quantity Map (Experimental)

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 v2Condition (IF True, args)HL7 FHIRComments
Sort OrderIdentifierNameData TypeCardinality - MinCardinality - MaxComputable ANTLRComputable FHIRPathNarrativeFHIR AttributeProposed ExtensionData TypeCardinality - MinCardinality - MaxData Type MappingVocabularyAssignment
1NM.1NumericSTIf positiveQuantity.value
1NM.1NumericSTIf positiveQuantity.unit"days"
1NM.1NumericSTIf positiveQuantity.system"http://unitsofmeasure.org/"
1NM.1NumericSTIf positiveQuantity.code"d"
1NM.1NumericSTIf 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 DetailsRelationshipTarget Concept DetailsProperties
Codes from valueCodes from narrative
NM.1Numericis equivalent tovaluevalueIf positive
NM.1Numeric"days"is equivalent tounitunitIf positive
NM.1Numeric"http://unitsofmeasure.org/"is equivalent tosystemsystemIf positive
NM.1Numeric"d"is equivalent tocodecodeIf positive

Notes: