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/segment-tq1-to-servicerequest | Version: 1.0.0-ballot | |||
Active as of 2024-10-30 | Computable Name: SegmentTQ1ToServiceRequest | |||
Copyright/Legal: Copyright (c) 2020, HL7 International, Inc., All Rights Reserved. |
This ConceptMap represents a mapping from the HL7 V2 Segment TQ1 to the FHIR ServiceRequest Resource.
This ConceptMap represents the mapping from the HL7 V2 TQ1 Segment to the FHIR ServiceRequest Resource. 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 | Extension | Data Type | Cardinality - Min | Cardinality - Max | Data Type Mapping | Vocabulary Mapping (IS, ID, CE, CEN, CWE) | Assignment | |
1 | TQ1-1 | Set ID - TQ1 | SI | 0 | 1 | ||||||||||||
2 | TQ1-2 | Quantity | CQ | 0 | 1 | ServiceRequest.quantityQuantity | ServiceRequest.Quantity | 0 | 1 | CQ[Quantity] | |||||||
3 | TQ1-3 | Repeat Pattern | RPT | 0 | -1 | ServiceRequest.occurrenceTiming | ServiceRequest.BackboneElement | 0 | 1 | RPT[Timing] | |||||||
4 | TQ1-4 | Explicit Time | TM | 0 | -1 | ServiceRequest.occurrenceTiming.repeat.timeOfDay | ServiceRequest.time | 0 | -1 | ||||||||
5 | TQ1-5 | Relative Time and Units | CQ | 0 | -1 | IF TQ1-3.9 IS EMPTY | ServiceRequest.occurrenceTIming.repeat.offset | ServiceRequest.unsignedInt | 0 | 1 | CQ[UnsignedInt] | ||||||
6 | TQ1-6 | Service Duration | CQ | 0 | 1 | IF TQ1-7 AND TQ1-8 NOT VALUED | ServiceRequest.occurrenceTiming.boundsDuration | ServiceRequest.SimplyQuantity | 0 | 1 | CQ[Quantity] | ||||||
6 | TQ1-6 | Service Duration | CQ | 0 | 1 | IF TQ1-7 VALUED AND TQ1-8 NOT VALUED | ServiceRequest.occurrenceTiming.boundsPeriod.end | ServiceRequest.dateTime | 0 | 1 | occurrenceTiming.boundPeriod.start + TQ1-6 | ||||||
6 | TQ1-6 | Service Duration | CQ | 0 | 1 | IF TQ1-7 NOT VALUED AND TQ1-8 VALUED | ServiceRequest.occurrenceTiming.boundsPeriod.start | ServiceRequest.dateTime | 0 | 1 | occurrenceTiming.boundPeriod.end - TQ1-6 | ||||||
7 | TQ1-7 | Start date/time | DTM | 0 | 1 | ServiceRequest.occurrenceTiming.repeat.boundsPeriod.start | ServiceRequest.dateTime | 0 | 1 | ||||||||
8 | TQ1-8 | End date/time | DTM | 0 | 1 | IF TQ1-6 NOT VAlUED | ServiceRequest.occurrenceTiming.repeat.boundsPeriod.end | ServiceRequest.dateTime | 0 | 1 | |||||||
9 | TQ1-9 | Priority | CWE | 0 | -1 | ServiceRequest.priority | ServiceRequest.code | 0 | 1 | ExtendedPriorityCodes | |||||||
10 | TQ1-10 | Condition text | TX | 0 | 1 | extension??-performance-condition | ServiceRequest.string | 0 | 1 | ||||||||
11 | TQ1-11 | Text instruction | TX | 0 | 1 | ServiceRequest.note(ServiceRequest.Annotation.text) | Reference(ServiceRequest.Annotation) | 0 | -1 | ||||||||
12 | TQ1-12 | Conjunction | ID | 0 | 1 | ||||||||||||
13 | TQ1-13 | Occurrence duration | CQ | 0 | 1 | ServiceRequest.occurrenceTiming.duration | ServiceRequest.decimal | 0 | 1 | CQ[Decimal] | goes to .duration and .durationUnit | ||||||
13 | TQ1-13 | Occurrence duration | CQ | 0 | 1 | ServiceRequest.occurrenceTiming.durationUnit | ServiceRequest.code | 0 | 1 | CQ[Code] | |||||||
14 | TQ1-14 | Total occurrences | NM | 0 | 1 | ServiceRequest.occurrenceTiming.repeat.countMax | ServiceRequest.positiveInt | 0 | 1 | NM[PositiveInt] |
Generated Narrative: ConceptMap segment-tq1-to-servicerequest
Mapping from TQ1 to ServiceRequest
Group 1 Mapping from unspecified code system
to unspecified code system
Source Code | Relationship | Target Code | Comment |
TQ1-2 (Quantity) | is equivalent to | quantityQuantity | |
TQ1-3 (Repeat Pattern) | is equivalent to | occurrenceTiming | |
TQ1-4 (Explicit Time) | is equivalent to | occurrenceTiming.repeat.timeOfDay | |
TQ1-5 (Relative Time and Units) | is equivalent to | occurrenceTIming.repeat.offset | |
TQ1-6 (Service Duration) | is equivalent to | occurrenceTiming.boundsDuration | |
TQ1-6 (Service Duration) | is equivalent to | occurrenceTiming.boundsPeriod.end | |
TQ1-6 (Service Duration) | is equivalent to | occurrenceTiming.boundsPeriod.start | |
TQ1-7 (Start date/time) | is equivalent to | occurrenceTiming.repeat.boundsPeriod.start | |
TQ1-8 (End date/time) | is equivalent to | occurrenceTiming.repeat.boundsPeriod.end | |
TQ1-9 (Priority) | is equivalent to | priority | |
TQ1-11 (Text instruction) | is equivalent to | note(Annotation.text) | |
TQ1-13 (Occurrence duration) | is equivalent to | occurrenceTiming.duration | goes to .duration and .durationUnit |
TQ1-13 (Occurrence duration) | is equivalent to | occurrenceTiming.durationUnit | |
TQ1-14 (Total occurrences) | is equivalent to | occurrenceTiming.repeat.countMax |