HL7 Version 2 to FHIR
1.0.0-ballot - ballot International flag

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

: Segment AIL to Appointment Map - JSON Representation

Active as of 2024-04-24

Raw json | Download


{
  "resourceType" : "ConceptMap",
  "id" : "segment-ail-to-appointment",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ConceptMap segment-ail-to-appointment</b></p><a name=\"segment-ail-to-appointment\"> </a><a name=\"hcsegment-ail-to-appointment\"> </a><a name=\"segment-ail-to-appointment-en-US\"> </a><p>Mapping from AIL to <a href=\"http://hl7.org/fhir/R4/appointment.html\">Appointment</a></p><p>ACTIVE (not intended for production usage). Published on 2024-04-24 by HL7 International / Orders and Observations  (HL7 Orders and Observations Workgroup: <a href=\"http://www.hl7.org/Special/committees/orders\">http://www.hl7.org/Special/com...</a>, Keith W. Boone: <a href=\"mailto:kboone@ainq.com\">kboone@ainq.com</a>, Rob Hausam: <a href=\"mailto:rrhausam@gmail.com\">rrhausam@gmail.com</a>). Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.</p><div><p>This ConceptMap represents a mapping from the HL7 V2 Segment AIL to the FHIR Appointment Resource.</p>\n</div><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=\"3\"><b>Target Concept Details</b></td><td colspan=\"3\"><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>antlr</b></td></tr><tr><td style=\"border-right-width: 0px\">AIL-3</td><td style=\"border-left-width: 0px\">Location Resource ID</td><td>PL[location]</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[1]</td><td style=\"border-left-width: 0px\">participant.actor[1]</td><td/></tr><tr><td style=\"border-right-width: 0px\">AIL-6</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/></tr><tr><td style=\"border-right-width: 0px\">AIL-7</td><td style=\"border-left-width: 0px\">Start Date/Time Offset</td><td/><td>/.start + AIL-7 according to AIL-8 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>IF AIL-6 NOT VALUED</td></tr><tr><td style=\"border-right-width: 0px\">AIL-9</td><td style=\"border-left-width: 0px\">Duration</td><td/><td>Appointment.participant.period.start + AIL-9</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>IF AIL-6 IS VALUED</td></tr></table></div>"
  },
  "extension" : [
    {
      "extension" : [
        {
          "url" : "type",
          "valueCode" : "derived-from"
        },
        {
          "url" : "label",
          "valueString" : "Segment AIL to Appointment.fsh"
        },
        {
          "url" : "url",
          "valueUri" : "https://docs.google.com/spreadsheets/d/1ZIiSCg23gdsYPJn89PRipOIKfdV6zM28P-YmGYcFyvQ/edit#gid=0"
        }
      ],
      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"
    }
  ],
  "url" : "http://hl7.org/fhir/uv/v2mappings/segment-ail-to-appointment",
  "version" : "1.0.0-ballot",
  "name" : "SegmentAILToAppointment",
  "title" : "Segment AIL to Appointment Map",
  "status" : "active",
  "experimental" : true,
  "date" : "2024-04-24",
  "publisher" : "HL7 International / Orders and Observations",
  "contact" : [
    {
      "name" : "HL7 Orders and Observations Workgroup",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/orders"
        }
      ]
    },
    {
      "name" : "Keith W. Boone",
      "telecom" : [
        {
          "system" : "email",
          "value" : "kboone@ainq.com"
        }
      ]
    },
    {
      "name" : "Rob Hausam",
      "telecom" : [
        {
          "system" : "email",
          "value" : "rrhausam@gmail.com"
        }
      ]
    }
  ],
  "description" : "This ConceptMap represents a mapping from the HL7 V2 Segment AIL 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" : "AIL",
  "targetUri" : "Appointment",
  "group" : [
    {
      "element" : [
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "PL"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "AIL-3",
          "display" : "Location Resource ID",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "Reference(Location)"
                    },
                    {
                      "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[1]",
              "display" : "participant.actor[1]",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "data-type-map",
                  "value" : "PL[location]"
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "DTM"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "AIL-6",
          "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" : "AIL-7",
          "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 + AIL-7 according to AIL-8 units/"
                }
              ],
              "product" : [
                {
                  "property" : "antlr",
                  "value" : "IF AIL-6 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" : "AIL-9",
          "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 + AIL-9"
                }
              ],
              "product" : [
                {
                  "property" : "antlr",
                  "value" : "IF AIL-6 IS VALUED"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}