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-rpt-to-timing | Version: 1.0.0-ballot | |||
Active as of 2024-10-14 | Computable Name: DatatypeRPTToTiming | |||
Copyright/Legal: Copyright (c) 2020, HL7 International, Inc., All Rights Reserved. |
This ConceptMap represents a mapping from the HL7 V2 Datatype RPT to the FHIR Timing Data Type.
This ConceptMap represents the mapping from the HL7 V2 RPT Data Type to the FHIR Timing 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 | RPT.1 | Repeat Pattern Code | CWE | 1 | 1 | Timing.code | Timing.CodeableConcept | 0 | 1 | RepeatPattern | |||||||
2 | RPT.2 | Calendar Alignment | ID | 0 | 1 | ||||||||||||
3 | RPT.3 | Phase Range Begin Value | NM | 0 | 1 | IF RPT.2 = "DW" | Timing.repeat.dayOfWeek | Timing.code | 0 | 1 | /translate number to day/ | ||||||
4 | RPT.4 | Phase Range End Value | NM | 0 | 1 | IF RPT.2 = "DW" | Timing.repeat.dayOfWeek | Timing.code | 0 | 1 | /translate number to day/ | ||||||
5 | RPT.5 | Period Quantity | NM | 0 | 1 | Timing.repeat.period | Timing.decimal | 0 | 1 | ||||||||
6 | RPT.6 | Period Units | CWE | 0 | 1 | Timing.repeat.periodUnit | Timing.code | 0 | 1 | ||||||||
7 | RPT.7 | Institution Specified Time | ID | 0 | 1 | ||||||||||||
8 | RPT.8 | Event | ID | 0 | 1 | Timing.repeat.when | Timing.code | 0 | 1 | EventRelatedPeriod | |||||||
9 | RPT.9 | Event Offset Quantity | NM | 0 | 1 | Timing.repeat.offset | Timing.unsignedInt | 0 | 1 | /convert to minutes based on RPT.10/ | |||||||
10 | RPT.10 | Event Offset Units | CWE | 0 | 1 | ||||||||||||
11 | RPT.11 | General Timing Specification | GTS | 0 | 1 |
Generated Narrative: ConceptMap datatype-rpt-to-timing
Mapping from RPT to Timing
Group 1 Mapping from unspecified code system
to unspecified code system
Source Concept Details | Relationship | Target Concept Details | Properties | |||||||
Codes from | vocabularymap | value | Codes from | antlr | ||||||
RPT.1 | Repeat Pattern Code | RepeatPattern | is equivalent to | code | code | |||||
RPT.3 | Phase Range Begin Value | /translate number to day/ | is equivalent to | repeat.dayOfWeek[1] | repeat.dayOfWeek[1] | IF RPT.2 = "DW" | ||||
RPT.4 | Phase Range End Value | /translate number to day/ | is equivalent to | repeat.dayOfWeek[2] | repeat.dayOfWeek[2] | IF RPT.2 = "DW" | ||||
RPT.5 | Period Quantity | is equivalent to | repeat.period | repeat.period | ||||||
RPT.6 | Period Units | is equivalent to | repeat.periodUnit | repeat.periodUnit | ||||||
RPT.8 | Event | EventRelatedPeriod | is equivalent to | repeat.when | repeat.when | |||||
RPT.9 | Event Offset Quantity | /convert to minutes based on RPT.10/ | is equivalent to | repeat.offset | repeat.offset |