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-ail-to-appointment | Version: 1.0.0-ballot | |||
Active as of 2024-04-24 | Computable Name: SegmentAILToAppointment | |||
Copyright/Legal: Copyright (c) 2020, HL7 International, Inc., All Rights Reserved. |
This ConceptMap represents a mapping from the HL7 V2 Segment AIL to the FHIR Appointment Resource.
This ConceptMap represents the mapping from the HL7 V2 AIL 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 | AIL-1 | set ID -AIL | SI | 1 | 1 | ||||||||||||
2 | AIL-2 | Segment Action Code | ID | 0 | 1 | ||||||||||||
3 | AIL-3 | Location Resource ID | PL | 0 | 1 | Appointment.participant.actor | Reference(Appointment.Location) | 0 | 1 | PL[location] | |||||||
4 | AIL-4 | Location Type - AIL | CWE | 0 | 1 | ||||||||||||
5 | AIL-5 | Location Group | CWE | 0 | 1 | ||||||||||||
6 | AIL-6 | Start Date/Time | DTM | 0 | 1 | Appointment.participant.period.start | |||||||||||
7 | AIL-7 | Start Date/Time Offset | NM | 0 | 1 | IF AIL-6 NOT VALUED | Appointment.participant.period.start | /.start + AIL-7 according to AIL-8 units/ | |||||||||
8 | AIL-8 | Start Date/Time Offset Units | CNE | 0 | 1 | ||||||||||||
9 | AIL-9 | Duration | NM | 0 | 1 | IF AIL-6 IS VALUED | Appointment.participant.period.end | Appointment.participant.period.start + AIL-9 | |||||||||
10 | AIL-10 | Duration Units | CNE | 0 | 1 | ||||||||||||
11 | AIL-11 | Allow Substitution Code | CWE | 0 | 1 | ||||||||||||
12 | AIL-12 | Filler Status Code | CWE | 0 | 1 |
Mapping from AIL to Appointment
ACTIVE (not intended for production usage). Published on 2024-04-24 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 AIL to the FHIR Appointment Resource.
Group 1 Mapping from unspecified code system
to unspecified code system
Source Concept Details | Relationship | Target Concept Details | Properties | |||||||
Codes from | datatypemap | value | Codes from | antlr | ||||||
AIL-3 | Location Resource ID | PL[location] | is equivalent to | participant.actor[1] | participant.actor[1] | |||||
AIL-6 | Start Date/Time | is equivalent to | participant.period.start | participant.period.start | ||||||
AIL-7 | Start Date/Time Offset | /.start + AIL-7 according to AIL-8 units/ | is equivalent to | participant.period.start | participant.period.start | IF AIL-6 NOT VALUED | ||||
AIL-9 | Duration | Appointment.participant.period.start + AIL-9 | is equivalent to | participant.period.end | participant.period.end | IF AIL-6 IS VALUED |