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
Active as of 2024-07-28 |
{
"resourceType" : "ConceptMap",
"id" : "segment-aig-to-appointment",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ConceptMap segment-aig-to-appointment</b></p><a name=\"segment-aig-to-appointment\"> </a><a name=\"hcsegment-aig-to-appointment\"> </a><a name=\"segment-aig-to-appointment-en-US\"> </a><p>Mapping from AIG to <a href=\"http://hl7.org/fhir/R4/appointment.html\">Appointment</a></p><br/><p><b>Group 1 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class=\"grid\"><tr><td colspan=\"4\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"4\"><b>Target Concept Details</b></td><td colspan=\"4\"><b>Properties</b></td></tr><tr><td colspan=\"2\"><b>Codes</b> from </td><td><b>datatypemap</b></td><td><b>value</b></td><td/><td colspan=\"2\"><b>Codes</b> from </td><td><b>narrative</b></td><td><b>antlr</b></td></tr><tr><td style=\"border-right-width: 0px\">AIG-3</td><td style=\"border-left-width: 0px\">Resource ID</td><td>CWE[Identifier]</td><td/><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">participant.actor(Location.identifier)</td><td style=\"border-left-width: 0px\">participant.actor(Location.identifier)</td><td>If AIG-4 reflects a location</td><td/></tr><tr><td style=\"border-right-width: 0px\">AIG-4</td><td style=\"border-left-width: 0px\">Resource Type</td><td>CWE[CodeableConcept]</td><td/><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">participant.type</td><td style=\"border-left-width: 0px\">participant.type</td><td/><td/></tr><tr><td style=\"border-right-width: 0px\">AIG-8</td><td style=\"border-left-width: 0px\">Start Date/Time</td><td/><td/><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">participant.period.start</td><td style=\"border-left-width: 0px\">participant.period.start</td><td/><td/></tr><tr><td style=\"border-right-width: 0px\">AIG-9</td><td style=\"border-left-width: 0px\">Start Date/Time Offset</td><td/><td>/.start + AIG-9 according to AIG-10 units/</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">participant.period.start</td><td style=\"border-left-width: 0px\">participant.period.start</td><td/><td>IF AIG-8 NOT VALUED</td></tr><tr><td style=\"border-right-width: 0px\">AIG-11</td><td style=\"border-left-width: 0px\">Duration</td><td/><td>Appointment.participant.period.start + AIG-11</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">participant.period.end</td><td style=\"border-left-width: 0px\">participant.period.end</td><td/><td>IF AIG-8 IS VALUED</td></tr></table></div>"
},
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "derived-from"
},
{
"url" : "label",
"valueString" : "Segment AIG to Appointment.fsh"
},
{
"url" : "url",
"valueUri" : "https://docs.google.com/spreadsheets/d/1uJX48rZptCjY68MjnSD_bTmJfhNoWYGn2rbDJCoutpw/edit#gid=0"
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/segment-aig-to-appointment",
"version" : "1.0.0-ballot",
"name" : "SegmentAIGToAppointment",
"title" : "Segment AIGnull to Appointment Map",
"status" : "active",
"experimental" : true,
"date" : "2024-07-28",
"publisher" : "HL7 International / Orders and Observations",
"contact" : [
{
"name" : "HL7 Orders and Observations Workgroup",
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/orders"
}
]
}
],
"description" : "This ConceptMap represents a mapping from the HL7 V2 Segment AIG to the FHIR Appointment Resource.",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"copyright" : "Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.",
"sourceUri" : "AIG",
"targetUri" : "Appointment",
"group" : [
{
"element" : [
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "CWE"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "AIG-3",
"display" : "Resource ID",
"target" : [
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "identifier"
},
{
"url" : "cardinalityMin",
"valueInteger" : 0
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"modifierExtension" : [
{
"url" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
"valueCode" : "equivalent"
}
],
"code" : "participant.actor(Location.identifier)",
"display" : "participant.actor(Location.identifier)",
"equivalence" : "equivalent",
"dependsOn" : [
{
"property" : "data-type-map",
"value" : "CWE[Identifier]"
}
],
"product" : [
{
"property" : "narrative",
"value" : "If AIG-4 reflects a location"
}
]
}
]
},
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "CWE"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "AIG-4",
"display" : "Resource Type",
"target" : [
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "CodeableConcept"
},
{
"url" : "cardinalityMin",
"valueInteger" : 0
},
{
"url" : "cardinalityMax",
"valueInteger" : -1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"modifierExtension" : [
{
"url" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
"valueCode" : "equivalent"
}
],
"code" : "participant.type",
"display" : "participant.type",
"equivalence" : "equivalent",
"dependsOn" : [
{
"property" : "data-type-map",
"value" : "CWE[CodeableConcept]"
}
]
}
]
},
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "DTM"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "AIG-8",
"display" : "Start Date/Time",
"target" : [
{
"modifierExtension" : [
{
"url" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
"valueCode" : "equivalent"
}
],
"code" : "participant.period.start",
"display" : "participant.period.start",
"equivalence" : "equivalent"
}
]
},
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "NM"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "AIG-9",
"display" : "Start Date/Time Offset",
"target" : [
{
"modifierExtension" : [
{
"url" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
"valueCode" : "equivalent"
}
],
"code" : "participant.period.start",
"display" : "participant.period.start",
"equivalence" : "equivalent",
"dependsOn" : [
{
"property" : "value",
"value" : "/.start + AIG-9 according to AIG-10 units/"
}
],
"product" : [
{
"property" : "antlr",
"value" : "IF AIG-8 NOT VALUED"
}
]
}
]
},
{
"extension" : [
{
"extension" : [
{
"url" : "type",
"valueCode" : "NM"
},
{
"url" : "cardinalityMin",
"valueInteger" : 1
},
{
"url" : "cardinalityMax",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code" : "AIG-11",
"display" : "Duration",
"target" : [
{
"modifierExtension" : [
{
"url" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence",
"valueCode" : "equivalent"
}
],
"code" : "participant.period.end",
"display" : "participant.period.end",
"equivalence" : "equivalent",
"dependsOn" : [
{
"property" : "value",
"value" : "Appointment.participant.period.start + AIG-11"
}
],
"product" : [
{
"property" : "antlr",
"value" : "IF AIG-8 IS VALUED"
}
]
}
]
}
]
}
]
}