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-03-22 | 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 | Priority | |||||||
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] |
Mapping from TQ1 to ServiceRequest
ACTIVE (not intended for production usage). Published on 2024-03-22 by HL7 International / Orders and Observations (HL7 Orders and Observations Workgroup: http://www.hl7.org/Special/com..., Keith W. Boone: kboone@ainq.com, Rob Hausam: rrhausam@gmail.com). 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.
Group 1 Mapping from unspecified code system
to unspecified code system
Source Concept Details | Relationship | Target Concept Details | Comment | Properties | ||||||||
Codes from | vocabularymap | datatypemap | value | Codes from | antlr | |||||||
TQ1-2 | Quantity | CQ[Quantity] | is equivalent to | quantityQuantity | quantityQuantity | |||||||
TQ1-3 | Repeat Pattern | RPT[Timing] | is equivalent to | occurrenceTiming | occurrenceTiming | |||||||
TQ1-4 | Explicit Time | is equivalent to | occurrenceTiming.repeat.timeOfDay | occurrenceTiming.repeat.timeOfDay | ||||||||
TQ1-5 | Relative Time and Units | CQ[UnsignedInt] | is equivalent to | occurrenceTIming.repeat.offset | occurrenceTIming.repeat.offset | IF TQ1-3.9 IS EMPTY | ||||||
TQ1-6 | Service Duration | CQ[Quantity] | is equivalent to | occurrenceTiming.boundsDuration | occurrenceTiming.boundsDuration | IF TQ1-7 AND TQ1-8 NOT VALUED | ||||||
TQ1-6 | Service Duration | occurrenceTiming.boundPeriod.start + TQ1-6 | is equivalent to | occurrenceTiming.boundsPeriod.end | occurrenceTiming.boundsPeriod.end | IF TQ1-7 VALUED AND TQ1-8 NOT VALUED | ||||||
TQ1-6 | Service Duration | occurrenceTiming.boundPeriod.end - TQ1-6 | is equivalent to | occurrenceTiming.boundsPeriod.start | occurrenceTiming.boundsPeriod.start | IF TQ1-7 NOT VALUED AND TQ1-8 VALUED | ||||||
TQ1-7 | Start date/time | is equivalent to | occurrenceTiming.repeat.boundsPeriod.start | occurrenceTiming.repeat.boundsPeriod.start | ||||||||
TQ1-8 | End date/time | is equivalent to | occurrenceTiming.repeat.boundsPeriod.end | occurrenceTiming.repeat.boundsPeriod.end | IF TQ1-6 NOT VAlUED | |||||||
TQ1-9 | Priority | Priority | is equivalent to | priority | priority | |||||||
TQ1-11 | Text instruction | is equivalent to | note(Annotation.text) | note(Annotation.text) | ||||||||
TQ1-13 | Occurrence duration | CQ[Decimal] | is equivalent to | occurrenceTiming.duration | occurrenceTiming.duration | goes to .duration and .durationUnit | ||||||
TQ1-13 | Occurrence duration | CQ[Code] | is equivalent to | occurrenceTiming.durationUnit | occurrenceTiming.durationUnit | |||||||
TQ1-14 | Total occurrences | NM[PositiveInt] | is equivalent to | occurrenceTiming.repeat.countMax | occurrenceTiming.repeat.countMax |