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

## : Segment PV2 to Encounter Map - JSON Representation

Page standards status: Informative

Raw json | Download

    {
      "resourceType" : "ConceptMap",
      "id" : "segment-pv2-to-encounter",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ConceptMap segment-pv2-to-encounter</b></p><a name=\"segment-pv2-to-encounter\"> </a><a name=\"hcsegment-pv2-to-encounter\"> </a><p>Mapping from (not specified) to (not specified)</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><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>PV2-1 (Prior Pending Location)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>location[5].location(Location)</td><td/></tr><tr><td>PV2-1 (Prior Pending Location)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>location[5].status</td><td/></tr><tr><td>PV2-3 (Admit Reason)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>reasonCode[1]</td><td>PV2-3 doesn't have an associated table so no vocabulary mapping is provided</td></tr><tr><td>PV2-8 (Expected Admit Date/Time)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>extension[1].url</td><td/></tr><tr><td>PV2-8 (Expected Admit Date/Time)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>extension[1].valueDateTime</td><td/></tr><tr><td>PV2-9 (Expected Discharge Date/Time)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>extension[2].url</td><td/></tr><tr><td>PV2-9 (Expected Discharge Date/Time)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>extension[2].valueDateTime</td><td/></tr><tr><td>PV2-11 (Actual Length of Inpatient Stay)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>length</td><td/></tr><tr><td>PV2-12 (Visit Description)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>text.div</td><td/></tr><tr><td>PV2-13 (Referral Source Code)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>participant.individual(Practitioner)</td><td/></tr><tr><td>PV2-13 (Referral Source Code)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>participant.type.coding.code</td><td/></tr><tr><td>PV2-13 (Referral Source Code)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>participant.type.coding.system</td><td/></tr><tr><td>PV2-13 (Referral Source Code)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>participant.type.text</td><td/></tr><tr><td>PV2-22 (Visit Protection Indicator)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>meta.security</td><td/></tr><tr><td>PV2-25 (Visit Priority Code)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>priority</td><td/></tr><tr><td>PV2-38 (Mode of Arrival Code)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>extension[1].url</td><td/></tr><tr><td>PV2-38 (Mode of Arrival Code)</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>extension[1].valueCoding</td><td/></tr></table></div>"
      },
      "extension" : [
        {
          "extension" : [
            {
              "url" : "type",
              "valueCode" : "derived-from"
            },
            {
              "url" : "label",
              "valueString" : "Segment PV2 to Encounter.fsh"
            },
            {
              "url" : "url",
              "valueUri" : "https://docs.google.com/spreadsheets/d/1ILbJ8GmvNdEW4XmvrmEHtZxsRM1bk5hHl5WD2oDSa4Q/edit#gid=0"
            }
          ],
          "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
          "valueCode" : "oo"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
          "valueCode" : "informative",
          "_valueCode" : {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
                "valueCanonical" : "http://hl7.org/fhir/uv/v2mappings/ImplementationGuide/hl7.fhir.uv.v2mappings"
              }
            ]
          }
        }
      ],
      "url" : "http://hl7.org/fhir/uv/v2mappings/ConceptMap/segment-pv2-to-encounter",
      "version" : "1.0.0",
      "name" : "SegmentPV2ToEncounter",
      "title" : "Segment PV2 to Encounter Map",
      "status" : "active",
      "experimental" : true,
      "date" : "2025-08-25",
      "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 PV2 to the FHIR Encounter Resource.",
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
              "code" : "001"
            }
          ]
        }
      ],
      "copyright" : "Copyright (c) 2025, HL7 International, Inc., All Rights Reserved.",
      "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" : "PV2-1",
              "display" : "Prior Pending 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" : "location[5].location(Location)",
                  "display" : "location[5].location(Location)",
                  "equivalence" : "equivalent"
                }
              ]
            },
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "PL"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "PV2-1",
              "display" : "Prior Pending Location",
              "target" : [
                {
                  "extension" : [
                    {
                      "extension" : [
                        {
                          "url" : "assignment",
                          "valueString" : "\"planned\""
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "location[5].status",
                  "display" : "location[5].status",
                  "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" : "PV2-3",
              "display" : "Admit Reason",
              "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" : "reasonCode[1]",
                  "display" : "reasonCode[1]",
                  "equivalence" : "equivalent",
                  "comment" : "PV2-3 doesn't have an associated table so no vocabulary mapping is provided"
                }
              ]
            },
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "DTM"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "PV2-8",
              "display" : "Expected Admit Date/Time",
              "target" : [
                {
                  "extension" : [
                    {
                      "extension" : [
                        {
                          "url" : "type",
                          "valueCode" : "uri"
                        },
                        {
                          "url" : "cardinalityMin",
                          "valueInteger" : 0
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : 1
                        },
                        {
                          "url" : "assignment",
                          "valueString" : "\"http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate\""
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "extension[1].url",
                  "display" : "extension[1].url",
                  "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" : "PV2-8",
              "display" : "Expected Admit 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" : "extension[1].valueDateTime",
                  "display" : "extension[1].valueDateTime",
                  "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" : "PV2-9",
              "display" : "Expected Discharge Date/Time",
              "target" : [
                {
                  "extension" : [
                    {
                      "extension" : [
                        {
                          "url" : "type",
                          "valueCode" : "uri"
                        },
                        {
                          "url" : "cardinalityMin",
                          "valueInteger" : 0
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : 1
                        },
                        {
                          "url" : "assignment",
                          "valueString" : "\"http://hl7.org/fhir/v5.0/StructureDefinition/extension-Encounter.plannedEndDate\""
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "extension[2].url",
                  "display" : "extension[2].url",
                  "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" : "PV2-9",
              "display" : "Expected Discharge 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" : "extension[2].valueDateTime",
                  "display" : "extension[2].valueDateTime",
                  "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" : "PV2-11",
              "display" : "Actual Length of Inpatient Stay",
              "target" : [
                {
                  "extension" : [
                    {
                      "extension" : [
                        {
                          "url" : "type",
                          "valueCode" : "Duration"
                        },
                        {
                          "url" : "cardinalityMin",
                          "valueInteger" : 0
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : 1
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "length",
                  "display" : "length",
                  "equivalence" : "equivalent"
                }
              ]
            },
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "ST"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "PV2-12",
              "display" : "Visit Description",
              "target" : [
                {
                  "extension" : [
                    {
                      "extension" : [
                        {
                          "url" : "type",
                          "valueCode" : "xhtml"
                        },
                        {
                          "url" : "cardinalityMin",
                          "valueInteger" : 0
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : 1
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "text.div",
                  "display" : "text.div",
                  "equivalence" : "equivalent"
                }
              ]
            },
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "XCN"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : -1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : -1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "PV2-13",
              "display" : "Referral Source Code",
              "target" : [
                {
                  "extension" : [
                    {
                      "extension" : [
                        {
                          "url" : "type",
                          "valueCode" : "Reference(Practitioner)"
                        },
                        {
                          "url" : "cardinalityMin",
                          "valueInteger" : 0
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : 1
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "participant.individual(Practitioner)",
                  "display" : "participant.individual(Practitioner)",
                  "equivalence" : "equivalent"
                }
              ]
            },
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "XCN"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : -1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : -1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "PV2-13",
              "display" : "Referral Source Code",
              "target" : [
                {
                  "extension" : [
                    {
                      "extension" : [
                        {
                          "url" : "type",
                          "valueCode" : "code"
                        },
                        {
                          "url" : "cardinalityMin",
                          "valueInteger" : 0
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : 1
                        },
                        {
                          "url" : "assignment",
                          "valueString" : "\"REF\""
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "participant.type.coding.code",
                  "display" : "participant.type.coding.code",
                  "equivalence" : "equivalent"
                }
              ]
            },
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "XCN"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : -1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : -1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "PV2-13",
              "display" : "Referral Source Code",
              "target" : [
                {
                  "extension" : [
                    {
                      "extension" : [
                        {
                          "url" : "type",
                          "valueCode" : "uri"
                        },
                        {
                          "url" : "cardinalityMin",
                          "valueInteger" : 0
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : 1
                        },
                        {
                          "url" : "assignment",
                          "valueString" : "\"http://terminology.hl7.org/CodeSystem/v3-ParticipationType\""
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "participant.type.coding.system",
                  "display" : "participant.type.coding.system",
                  "equivalence" : "equivalent"
                }
              ]
            },
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "XCN"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : -1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : -1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "PV2-13",
              "display" : "Referral Source Code",
              "target" : [
                {
                  "extension" : [
                    {
                      "extension" : [
                        {
                          "url" : "type",
                          "valueCode" : "string"
                        },
                        {
                          "url" : "cardinalityMin",
                          "valueInteger" : 0
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : 1
                        },
                        {
                          "url" : "assignment",
                          "valueString" : "\"referrer\""
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "participant.type.text",
                  "display" : "participant.type.text",
                  "equivalence" : "equivalent"
                }
              ]
            },
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "ID"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "PV2-22",
              "display" : "Visit Protection Indicator",
              "target" : [
                {
                  "extension" : [
                    {
                      "extension" : [
                        {
                          "url" : "type",
                          "valueCode" : "Coding"
                        },
                        {
                          "url" : "cardinalityMin",
                          "valueInteger" : 0
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : -1
                        },
                        {
                          "url" : "mappedVia",
                          "valueUrl" : "ConceptMap/table-hl70136-to-special-values"
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "meta.security",
                  "display" : "meta.security",
                  "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" : "PV2-25",
              "display" : "Visit Priority Code",
              "target" : [
                {
                  "extension" : [
                    {
                      "extension" : [
                        {
                          "url" : "type",
                          "valueCode" : "CodeableConcept"
                        },
                        {
                          "url" : "cardinalityMin",
                          "valueInteger" : 0
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : 1
                        },
                        {
                          "url" : "mappedVia",
                          "valueUrl" : "ConceptMap/table-hl70217-to-v3-actpriority"
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "priority",
                  "display" : "priority",
                  "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" : "PV2-38",
              "display" : "Mode of Arrival Code",
              "target" : [
                {
                  "extension" : [
                    {
                      "extension" : [
                        {
                          "url" : "assignment",
                          "valueString" : "\"http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival\""
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "extension[1].url",
                  "display" : "extension[1].url",
                  "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" : "PV2-38",
              "display" : "Mode of Arrival Code",
              "target" : [
                {
                  "extension" : [
                    {
                      "extension" : [
                        {
                          "url" : "type",
                          "valueCode" : "Coding"
                        },
                        {
                          "url" : "cardinalityMin",
                          "valueInteger" : 0
                        },
                        {
                          "url" : "cardinalityMax",
                          "valueInteger" : 1
                        },
                        {
                          "url" : "mappedVia",
                          "valueUrl" : "ConceptMap/table-hl70430-to-v2-0430"
                        }
                      ],
                      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                    }
                  ],
                  "code" : "extension[1].valueCoding",
                  "display" : "extension[1].valueCoding",
                  "equivalence" : "equivalent"
                }
              ]
            }
          ]
        }
      ]
    }