HL7 Version 2 to FHIR
1.0.0 - STU 1

HL7 Version 2 to FHIR - Downloaded Version 1.0.0 See the Directory of published versions

## ConceptMap: Segment AIG to Appointment Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/ConceptMap/segment-aig-to-appointment | Version: 1.0.0
Standards status: Informative | Computable Name: SegmentAIGToAppointment
Copyright/Legal: Copyright (c) 2025, 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) |  | Identifier | 0 | 1 | CWE[Identifier] |  |  |
4 | AIG-4 | Resource Type | CWE | 1 | 1 |  |  |  | Appointment.participant.type |  | 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 |  |  |  |  |  |  |  |  |  |  |  |

Mapping from (not specified) to (not specified)

Group 1 Mapping from `unspecified code system` to `unspecified code system`

Source Concept Details | Relationship | Target Concept Details
Codes from | NarrativeCondition | ComputableANTLR |  | Codes from
AIG-3 | Resource ID | If AIG-4 reflects a location |  | is equivalent to | participant.actor(Location.identifier) | participant.actor(Location.identifier)
AIG-4 | Resource Type |  |  | is equivalent to | participant.type | participant.type
AIG-8 | Start Date/Time |  |  | is equivalent to | participant.period.start | participant.period.start
AIG-9 | Start Date/Time Offset |  | IF AIG-8 NOT VALUED | is equivalent to | participant.period.start | participant.period.start
AIG-11 | Duration |  | IF AIG-8 IS VALUED | is equivalent to | participant.period.end | participant.period.end

### Notes: