Documentation / Viewer
A location: Site
The site as nested areas, from buildings and floors down to rooms and beds, with bed status and current patients.

- Site tab – Shown for Location resources.
- Path – The areas around the drawing; click one to go up.
- Closed room – Suspended locations have a dashed border; their beds are grey.
- Selected bed – Red is occupied, green unoccupied, amber housekeeping.
- Details – Status, managing organization, and the encounter in progress with its patient.
Location resources have a Site tab. Locations nest through Location.partOf (site, building, floor, ward, room, bed) and say what they are in physicalType (R4) or form (R5). The tab draws them as areas inside areas, starting at the selected location; for a room or a bed it starts at the ward around it. Three levels are drawn at a time; double-click an area, or use the path above the drawing, to go in or out.
- Beds
- Coloured by
operationalStatus(HL7® v2 table 0116): occupied, occupied in isolation, unoccupied, housekeeping or contaminated, closed. A bed with an encounter in progress (Encounter.location) counts as occupied when no status is recorded. - Areas
- Name, kind and how many of the beds inside are occupied; a summary area shows the occupancy as a bar. A dot marks an area where healthcare services are offered. Suspended or inactive locations have a dashed border.
- Details
- Click an area or bed: kind, status, type, managing organization (opens its Structure tab), address, position (opens OpenStreetMap), contact, the beds inside by status, the current encounters with their patient, the services offered there and the opening hours.
ExampleA ward at a glance
Load the care network sample (python3 tools/sample-data/generate_care.py) and open Location/amc-w3b → Site: ward 3B with eight rooms, one of them closed for renovation, and the occupied beds in red.
NoteNeeds
viewer:browse and access to Location. Encounters, patients, services and organizations are shown only to accounts that may see those types; restricted records are left out. At most 2,000 locations are collected.