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-aig-to-appointment | Version: 1.0.0-ballot | |||
Active as of 2024-10-30 | Computable Name: SegmentAIGToAppointment | |||
Copyright/Legal: Copyright (c) 2020, HL7 International, Inc., All Rights Reserved. |
This ConceptMap represents a mapping from the HL7 V2 Segment AIG to the FHIR Appointment Resource.
This ConceptMap represents the mapping from the HL7 V2 AIG Segment to the FHIR Appointment 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 | AIG-1 | set ID -AIG | SI | 1 | 1 | ||||||||||||
2 | AIG-2 | Segment Action Code | ID | 0 | 1 | ||||||||||||
3 | AIG-3 | Resource ID | CWE | 0 | 1 | If AIG-4 reflects a location | Appointment.participant.actor(Appointment.Location.identifier) | Appointment.identifier | 0 | 1 | CWE[Identifier] | ||||||
4 | AIG-4 | Resource Type | CWE | 1 | 1 | Appointment.participant.type | Appointment.CodeableConcept | 0 | -1 | CWE[CodeableConcept] | |||||||
5 | AIG-5 | Resource Group | CWE | 0 | 1 | ||||||||||||
6 | AIG-6 | Resource Quantity | NM | 0 | 1 | ||||||||||||
7 | AIG-7 | Resource Quantity Units | CNE | 0 | 1 | ||||||||||||
8 | AIG-8 | Start Date/Time | DTM | 0 | 1 | Appointment.participant.period.start | |||||||||||
9 | AIG-9 | Start Date/Time Offset | NM | 0 | 1 | IF AIG-8 NOT VALUED | Appointment.participant.period.start | /.start + AIG-9 according to AIG-10 units/ | |||||||||
10 | AIG-10 | Start Date/Time Offset Units | CNE | 0 | 1 | ||||||||||||
11 | AIG-11 | Duration | NM | 0 | 1 | IF AIG-8 IS VALUED | Appointment.participant.period.end | Appointment.participant.period.start + AIG-11 | |||||||||
12 | AIG-12 | Duration Units | CNE | 0 | 1 | ||||||||||||
13 | AIG-13 | Allow Substitution Code | CWE | 0 | 1 | ||||||||||||
14 | AIG-14 | Filler Status Code | CWE | 0 | 1 |
Generated Narrative: ConceptMap segment-aig-to-appointment
Mapping from AIG to Appointment
Group 1 Mapping from unspecified code system
to unspecified code system
Source Code | Relationship | Target Code |
AIG-3 (Resource ID) | is equivalent to | participant.actor(Location.identifier) |
AIG-4 (Resource Type) | is equivalent to | participant.type |
AIG-8 (Start Date/Time) | is equivalent to | participant.period.start |
AIG-9 (Start Date/Time Offset) | is equivalent to | participant.period.start |
AIG-11 (Duration) | is equivalent to | participant.period.end |