R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example Location/wash-dc-metro (XML)

Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

Washington, DC metro area - location with a boundary (id = "wash-dc-metro")

<?xml version="1.0" encoding="UTF-8"?>

<Location xmlns="http://hl7.org/fhir">

  <id value="wash-dc-metro"/> 
  <meta> 
        <profile value="http://hl7.org/fhir/uv/vhdir/StructureDefinition/vhdir-location"/> 
    </meta> 

    <text> <status value="extensions"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative: Location</b> <a name="wash-dc-metro"> </a> </p> <div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border:
       1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource Location &quot;wash-dc-metro&quot; </p> <p style="margin-bottom: 0px">Profile: <code> http://hl7.org/fhir/uv/vhdir/StructureDefinition/vhdir-location</code> </p> </div> <p> <b> Location Boundary (GeoJSON)</b> : </p> <p> <b> status</b> : active</p> <p> <b> name</b> : <span title="  this record is active  ">Washington, DC metro area</span> </p> <p> <b> form</b> : Area <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.4.0/CodeSystem-location-physical-type.html">Location type</a> #area)</span> </p> </div> </text> <extension url="http://hl7.org/fhir/StructureDefinition/location-boundary-geojson">
        <valueAttachment> 
            <contentType value="application/geo+json"/> 
                <!--    https://raw.githubusercontent.com/johan/world.geo.json/master/countries/USA/DC/District%20
      of%20Columbia.geo.json    -->
            <data value="VGhlbWU6IA0KUmF3UGFyc2VkDQp7InR5cGUiOiJGZWF0dXJlQ29sbGVjdGlvbiIsInByb3BlcnRpZXMiOnsia2luZCI6I
      nN0YXRlIiwic3RhdGUiOiJEQyJ9LCJmZWF0dXJlcyI6Ww0KeyJ0eXBlIjoiRmVhdHVyZSIsInByb3BlcnRpZXMiOnsia2l
      uZCI6ImNvdW50eSIsIm5hbWUiOiJEaXN0cmljdCBvZiBDb2x1bWJpYSIsInN0YXRlIjoiREMifSwiZ2VvbWV0cnkiOnsid
      HlwZSI6Ik11bHRpUG9seWdvbiIsImNvb3JkaW5hdGVzIjpbW1tbLTc3LjAzNTMsMzguOTkzOV0sWy03Ny4wMDI0LDM4Ljk
      2NjVdLFstNzYuOTA5MywzOC44OTUzXSxbLTc3LjA0MDcsMzguNzkxMl0sWy03Ny4wNDYyLDM4Ljg0MDVdLFstNzcuMDQwN
      ywzOC44NzM0XSxbLTc3LjExNzQsMzguOTMzNl1dXV19fQ0KXX0="/> 
                <!--    And a higher resolution boundary can be found here    -->
            <url value="https://github.com/OpenDataDE/State-zip-code-GeoJSON/raw/master/dc_district_of_columbia_zip_c
      odes_geo.min.json"/> 
            <size value="389"/> 
        </valueAttachment> 
    </extension> 

    <status value="active"/>      <!--    this record is active    -->

    <name value="Washington, DC metro area"/> 

    <form>      <!--    This location is a collection of buildings or other locations such as a site
     or a campus    -->
        <coding> 
            <system value="http://terminology.hl7.org/CodeSystem/location-physical-type"/> 
            <code value="area"/> 
            <display value="Area"/> 
        </coding> 
    </form> 

</Location> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.