HL7 Version 2 to FHIR
0.1.0 - STU1 Ballot

This page is part of the HL7 Version 2 to FHIR (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: Segment ROL to Encounter Map - JSON Representation

Raw json | Download

{
  "resourceType" : "ConceptMap",
  "id" : "segment-rolpractitionerrole-to-encounter",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>SegmentROLPractitionerRoletoEncounter (http://hl7.org/fhir/uv/v2mappings/segment-rolpractitionerrole-to-encounter)</h2><p>Mapping from ROL to <a href=\"http://hl7.org/fhir/R4/encounter.html\">Encounter</a></p><p>ACTIVE (not intended for production usage). Published on 2020-08-12 by HL7 International (HL7 Orders and Observations Workgroup: <a href=\"http://hl7.org/Special/committees/orders/index.cfm\">http://hl7.org/Special/committ...</a>, Keith W. Boone: <a href=\"mailto:kboone@ainq.com\">kboone@ainq.com</a>). Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.</p><div><p>This ConceptMap represents a mapping from the HL7 V2 Segment ROL to the FHIR Encounter Resource.</p>\n</div><br/><table class=\"grid\"><tr><td colspan=\"4\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"2\"><b>Destination Concept Details</b></td></tr><tr><td colspan=\"2\"><b>Code</b> from </td><td><b>Code</b> from </td><td><b>Code</b> from </td><td/><td colspan=\"2\"><b>Code</b> from </td></tr><tr><td style=\"border-right-width: 0px\">ROL-1</td><td style=\"border-left-width: 0px\"></td><td>EI[Identifier]</td><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">participant[1].individual.reference</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">ROL-1</td><td style=\"border-left-width: 0px\"></td><td/><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">participant[1].individual[1](PractitionerRole.identifier)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">ROL-3</td><td style=\"border-left-width: 0px\"></td><td>CWE[CodeableConcept]</td><td>Role</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">participant[1].type</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">ROL-4</td><td style=\"border-left-width: 0px\"></td><td>XCN[Practitioner]</td><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">participant[1].individual(PractitionerRole.practitioner)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">ROL-5</td><td style=\"border-left-width: 0px\"></td><td/><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">participant[1].period.start</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">ROL-6</td><td style=\"border-left-width: 0px\"></td><td/><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">participant[1].period.end</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">ROL-11</td><td style=\"border-left-width: 0px\"></td><td>XAD[Address]</td><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">participant[1].individual(PractitionerRole.practioner(Practitioner.address))</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">ROL-12</td><td style=\"border-left-width: 0px\"></td><td>XTN[ContactPoint]</td><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">participant[1].individual(PractitionerRole.telecom)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">ROL-13</td><td style=\"border-left-width: 0px\"></td><td>PL[Location]</td><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">participant[1].individual(PractitionerRole.location(Location))</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">ROL-14</td><td style=\"border-left-width: 0px\"></td><td>XON[Organization]</td><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">participant[1].individual(PractitionerRole.organziation.(Organization))</td><td style=\"border-left-width: 0px\"></td></tr></table></div>"
  },
  "extension" : [
    {
      "extension" : [
        {
          "url" : "type",
          "valueCode" : "derived-from"
        },
        {
          "url" : "label",
          "valueString" : "Segment ROL[PractitionerRole] to Encounter.fsh"
        },
        {
          "url" : "url",
          "valueUri" : "https://docs.google.com/spreadsheets/d/17J53J2VmqnNff7s3Yi2RQceWvdy6vagJTTsQo7kxuG0/edit#gid=0"
        }
      ],
      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"
    }
  ],
  "url" : "http://hl7.org/fhir/uv/v2mappings/segment-rolpractitionerrole-to-encounter",
  "version" : "0.1.0",
  "name" : "SegmentROLPractitionerRoletoEncounter",
  "status" : "active",
  "experimental" : true,
  "date" : "2020-08-12",
  "publisher" : "HL7 International",
  "contact" : [
    {
      "name" : "HL7 Orders and Observations Workgroup",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://hl7.org/Special/committees/orders/index.cfm"
        }
      ]
    },
    {
      "name" : "Keith W. Boone",
      "telecom" : [
        {
          "system" : "email",
          "value" : "kboone@ainq.com"
        }
      ]
    }
  ],
  "description" : "This ConceptMap represents a mapping from the HL7 V2 Segment ROL to the FHIR Encounter 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" : "ROL",
  "targetUri" : "Encounter",
  "group" : [
    {
      "element" : [
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "EI"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "ROL-1",
          "display" : "Role Instance 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"
                }
              ],
              "code" : "participant[1].individual.reference",
              "display" : "participant[1].individual.reference",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "data-type-map",
                  "value" : "EI[Identifier]"
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "EI"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "ROL-1",
          "display" : "Role Instance ID",
          "target" : [
            {
              "code" : "participant[1].individual[1](PractitionerRole.identifier)",
              "display" : "participant[1].individual[1](PractitionerRole.identifier)",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "CWE"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "ROL-3",
          "display" : "Role-ROL",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "CodeableConcept"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : -1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "participant[1].type",
              "display" : "participant[1].type",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "data-type-map",
                  "value" : "CWE[CodeableConcept]"
                },
                {
                  "property" : "vocabulary-map",
                  "value" : "Role"
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "XCN"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : -1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : -1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "ROL-4",
          "display" : "Role Person",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "Reference(Practitioner)"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "participant[1].individual(PractitionerRole.practitioner)",
              "display" : "participant[1].individual(PractitionerRole.practitioner)",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "data-type-map",
                  "value" : "XCN[Practitioner]"
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "DTM"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "ROL-5",
          "display" : "Role Begin Date/Time",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "dateTime"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "participant[1].period.start",
              "display" : "participant[1].period.start",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "DTM"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "ROL-6",
          "display" : "Role End Date/Time",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "dateTime"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "participant[1].period.end",
              "display" : "participant[1].period.end",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "XAD"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : -1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : -1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "ROL-11",
          "display" : "Office/Home Address/Birthplace",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "Address"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : -1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "participant[1].individual(PractitionerRole.practioner(Practitioner.address))",
              "display" : "participant[1].individual(PractitionerRole.practioner(Practitioner.address))",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "data-type-map",
                  "value" : "XAD[Address]"
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "XTN"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : -1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : -1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "ROL-12",
          "display" : "Phone",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "ContactPoint"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : -1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "participant[1].individual(PractitionerRole.telecom)",
              "display" : "participant[1].individual(PractitionerRole.telecom)",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "data-type-map",
                  "value" : "XTN[ContactPoint]"
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "PL"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "ROL-13",
          "display" : "Person's Location",
          "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"
                }
              ],
              "code" : "participant[1].individual(PractitionerRole.location(Location))",
              "display" : "participant[1].individual(PractitionerRole.location(Location))",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "data-type-map",
                  "value" : "PL[Location]"
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "XON"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "ROL-14",
          "display" : "Organization",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "Reference(Organization)"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 0
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "participant[1].individual(PractitionerRole.organziation.(Organization))",
              "display" : "participant[1].individual(PractitionerRole.organziation.(Organization))",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "data-type-map",
                  "value" : "XON[Organization]"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}