This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

5.6.5 Resource Location - Examples

Example Index:

Wing within a hospitalXMLJSON
Operation room within hospitalXMLJSON

5.6.5.1 Wing

XML

Wing within a hospital (id = "1")

Raw XML

<Location xmlns="http://hl7.org/fhir">
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">Burgers UMC, South Wing, second floor</div>
  </text>
  <identifier>
    <value value="B1-S.F2"/>
  </identifier>
  <name value="South Wing, second floor"/>
  <description value="Second floor of the Old South Wing, formerly in use by Psychiatry"/>
  <telecom>
    <system value="phone"/>
    <value value="2328"/>
    <use value="work"/>
  </telecom>
  <telecom>
    <system value="fax"/>
    <value value="2329"/>
    <use value="work"/>
  </telecom>
  <telecom>
    <system value="email"/>
    <value value="second wing admissions"/>
  </telecom>
  <telecom>
    <system value="url"/>
    <value value="http://sampleorg.com/southwing"/>
    <use value="work"/>
  </telecom>
  <address>
        <use value="work"/>
        <line value="Galapagosweg 91, Building A"/>
        <city value="Den Burg"/>
        <zip value="9105 PZ"/>
        <country value="NLD"/>
  </address>
  <physicalType>
    <coding>
      <system value="http://hl7.org/fhir/location-physical-type"/>
      <code value="wi"/>
      <display value="Wing"/>     
    </coding>
  </physicalType>
  <position>
    <longitude value="4.844614000123024"/>
    <latitude value="52.37799399970903"/>
    <altitude value="0"/>
  </position>
  <managingOrganization>
    <reference value="Organization/f001"/>
  </managingOrganization>
  <status value="active"/>
</Location>

JSON

Wing within a hospital

{
  "resourceType": "Location",
  "text": {
    "status": "generated",
    "div": "<div>Burgers UMC, South Wing, second floor</div>"
  },
  "identifier": {
    "value": "B1-S.F2"
  },
  "name": "South Wing, second floor",
  "description": "Second floor of the Old South Wing, formerly in use by Psychiatry",
  "telecom": [
    {
      "system": "phone",
      "value": "2328",
      "use": "work"
    },
    {
      "system": "fax",
      "value": "2329",
      "use": "work"
    },
    {
      "system": "email",
      "value": "second wing admissions"
    },
    {
      "system": "url",
      "value": "http://sampleorg.com/southwing",
      "use": "work"
    }
  ],
  "address": {
    "use": "work",
    "line": [
      "Galapagosweg 91, Building A"
    ],
    "city": "Den Burg",
    "zip": "9105 PZ",
    "country": "NLD"
  },
  "physicalType": {
    "coding": [
      {
        "system": "http://hl7.org/fhir/location-physical-type",
        "code": "wi",
        "display": "Wing"
      }
    ]
  },
  "position": {
    "longitude": 4.844614000123024,
    "latitude": 52.37799399970903,
    "altitude": 0
  },
  "managingOrganization": {
    "reference": "Organization/f001"
  },
  "status": "active"
}

5.6.5.2 Room

XML

Operation room within hospital (id = "2")

Raw XML

<Location xmlns="http://hl7.org/fhir">
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">Burgers UMC, South Wing, second floor, Neuro Radiology Operation Room 1</div>
  </text>  
  <identifier>
    <value value="B1-S.F2.1.00"/>
  </identifier>
  <name value="South Wing Neuro OR 1"/>
  <description value="Old South Wing, Neuro Radiology Operation Room 1 on second floor"/>
  <type>
    <coding>
      <system value="http://hl7.org/fhir/v3/RoleCode"/>
      <code value="RNEU"/>
      <display value="Neuroradiology unit"/>
    </coding>
  </type>
  <telecom>
    <system value="phone"/>
    <value value="2329"/>
  </telecom>
  <physicalType>
    <coding>
      <system value="http://hl7.org/fhir/location-physical-type"/>
      <code value="ro"/>
      <display value="Room"/>
    </coding>
  </physicalType>  
  <managingOrganization>
    <reference value="Organization/f001"/>
  </managingOrganization>
  <status value="suspended"/>
  <partOf>
    <reference value="Location/1"/>
  </partOf>
</Location>

JSON

Operation room within hospital

{
  "resourceType": "Location",
  "text": {
    "status": "generated",
    "div": "<div>Burgers UMC, South Wing, second floor, Neuro Radiology Operation Room 1</div>"
  },
  "identifier": {
    "value": "B1-S.F2.1.00"
  },
  "name": "South Wing Neuro OR 1",
  "description": "Old South Wing, Neuro Radiology Operation Room 1 on second floor",
  "type": {
    "coding": [
      {
        "system": "http://hl7.org/fhir/v3/RoleCode",
        "code": "RNEU",
        "display": "Neuroradiology unit"
      }
    ]
  },
  "telecom": [
    {
      "system": "phone",
      "value": "2329"
    }
  ],
  "physicalType": {
    "coding": [
      {
        "system": "http://hl7.org/fhir/location-physical-type",
        "code": "ro",
        "display": "Room"
      }
    ]
  },
  "managingOrganization": {
    "reference": "Organization/f001"
  },
  "status": "suspended",
  "partOf": {
    "reference": "Location/1"
  }
}

comments powered by Disqus