EncounterLocation

Tracks a patient's physical location throughout a healthcare encounter including ward assignments, room transfers, and bed movements. Essential for bed management, resource tracking, infection control, and facility capacity planning.

Overview

EncounterLocation provides a history of where a patient has been during an encounter. For inpatients, this tracks admission location, transfers between units (ED to ICU to ward), and specific room/bed assignments. Each location assignment has a status (planned, active, reserved, completed) and time period, enabling real-time bed management and retrospective analysis of patient flow.

Key Concepts

Location Hierarchy

Patient locations are tracked at multiple levels:

LevelExamplePurpose
BuildingBuilding ACampus navigation
WardMedical Ward 2Unit assignment
AreaEast WingSection within unit
RoomW2-215Room assignment
BedBed ASpecific bed

Location Status

The status field tracks assignment state:

StatusDescriptionUse Case
plannedFuture location assignmentScheduled transfer
activePatient currently at locationCurrent occupancy
reservedHeld for incoming patientBed reservation
completedPatient has left locationHistorical record

Physical Type

The physicalType field categorizes the location:

TypeDescriptionTypical Use
buildingFacility buildingMulti-building campuses
wardNursing unit/wardDepartment assignment
areaSection of a unitIsolation wing, pods
roomPatient roomRoom-level tracking
bedSpecific bedBed management

Time Period

The period field captures occupancy duration:

  • start - When patient arrived at location
  • end - When patient departed (null if still there)

Used for length of stay analysis, room turnover metrics, and capacity planning.

Department Reference

The location field links to FacilityDepartment:

  • Provides organizational context
  • Enables department-level reporting
  • Supports staffing analysis

Use Cases

Initial Bed Assignment

When admitting patient:

  1. Create EncounterLocation with status: "active"
  2. Set location to admitting department
  3. Assign room and bed
  4. Set period.start to admission time
  5. Set physicalType: "bed"

Patient Transfer

When moving patient between units:

  1. Update current location to status: "completed"
  2. Set period.end to transfer time
  3. Create new EncounterLocation for destination
  4. Set status: "active" with new period.start
  5. Complete handoff documentation

Bed Reservation

When planning a transfer:

  1. Create EncounterLocation with status: "planned"
  2. Set anticipated period.start
  3. Assign target room and bed
  4. Update to active when patient arrives
  5. Environmental services notified for preparation

Emergency Triage

In emergency department:

  1. Create location for triage area
  2. Update to treatment room when assigned
  3. Track multiple moves within ED
  4. Final location before admission or discharge
  5. Use for ED throughput metrics

Capacity Dashboard

For bed management:

  1. Query all active EncounterLocations
  2. Calculate occupancy by department
  3. Identify available beds
  4. Track pending discharges
  5. Project capacity needs

Related Entities

EntityRelationshipDescription
EncounterBelongs toParent encounter
FacilityDepartmentReferencesDepartment/ward assignment
PeriodContainsOccupancy time period

Calculated Fields

FieldTypeDescription
isActivebooleanTrue when status is active and current time within period
durationMinutesnumberTime spent at this location

Enums

status

ValueDescription
plannedLocation assignment scheduled for future, patient not yet arrived
activePatient is currently occupying this location
reservedLocation held for patient but not yet occupied
completedPatient has departed this location

physicalType

ValueDescription
buildingEntire building within a healthcare campus
wardNursing unit or ward within a facility
areaDesignated area or section within a unit
roomIndividual patient room
bedSpecific bed within a room
9 properties
Schema

Properties

PropertyTypeModeDescriptionRequired
encounterEncounter
stored

Reference to the healthcare encounter this location assignment relates to

Required
locationFacilityDepartment
stored

The department, ward, or organizational unit where the patient is located during this portion of the encounter

Required
statusstring
stored

Current state of the location assignment indicating whether it is planned, actively in use, reserved for future use, or completed

Values: planned, active, reserved, completed

Example: "active"

Required
periodPeriod
stored

Time period during which the patient occupied this location - start marks arrival, end marks departure or transfer to another location

Example: {"@type":"Period","start":"2024-11-30T14:30:00Z","end":"2024-11-30T18:45:00Z"}

Optional
roomstring
stored

Specific room identifier within the department or ward where the patient is located

Example: "ER-102"

Optional
bedstring
stored

Specific bed identifier or designation within the room for precise patient positioning and assignment tracking

Example: "Bed A"

Optional
physicalTypestring
stored

Type of physical location categorizing the spatial unit for facility planning and resource allocation purposes

Values: room, bed, ward, area, building

Example: "bed"

Optional
isActiveboolean
calculated

Whether the patient is currently at this location - true when status is active and period includes current date/time, indicating ongoing occupancy

Optional
durationMinutesnumber
calculated

Total time in minutes the patient spent or is spending at this location, calculated from the period start and end times

Optional

Examples

Example 1

{
  "@type": "EncounterLocation",
  "encounter": {
    "@type": "Encounter",
    "identifier": [
      {
        "@type": "ClinicalIdentifier",
        "value": "ER-2024-567890"
      }
    ],
    "status": "in-progress",
    "class": "emergency"
  },
  "location": {
    "@type": "FacilityDepartment",
    "facility": {
      "@type": "Facility",
      "name": "City General Hospital"
    },
    "type": {
      "@type": "HealthReferenceDepartmentType",
      "code": "ER",
      "label": "Emergency",
      "category": "emergency"
    },
    "name": "Emergency Department",
    "location": "Building B, Ground Floor",
    "status": "active"
  },
  "status": "completed",
  "period": {
    "@type": "Period",
    "start": "2024-11-30T14:30:00Z",
    "end": "2024-11-30T16:15:00Z"
  },
  "room": "ER-102",
  "bed": "Bed 3",
  "physicalType": "bed"
}

Example 2

{
  "@type": "EncounterLocation",
  "encounter": {
    "@type": "Encounter",
    "identifier": [
      {
        "@type": "ClinicalIdentifier",
        "value": "IP-2024-987654"
      }
    ],
    "status": "in-progress",
    "class": "inpatient"
  },
  "location": {
    "@type": "FacilityDepartment",
    "facility": {
      "@type": "Facility",
      "name": "City General Hospital"
    },
    "type": {
      "@type": "HealthReferenceDepartmentType",
      "code": "ICU",
      "label": "Intensive Care Unit",
      "category": "critical-care"
    },
    "name": "Medical ICU",
    "location": "Building A, Floor 4",
    "status": "active"
  },
  "status": "active",
  "period": {
    "@type": "Period",
    "start": "2024-11-30T16:30:00Z"
  },
  "room": "ICU-405",
  "bed": "Bed 2",
  "physicalType": "bed"
}

Example 3

{
  "@type": "EncounterLocation",
  "encounter": {
    "@type": "Encounter",
    "identifier": [
      {
        "@type": "ClinicalIdentifier",
        "value": "IP-2024-987654"
      }
    ],
    "status": "in-progress",
    "class": "inpatient"
  },
  "location": {
    "@type": "FacilityDepartment",
    "facility": {
      "@type": "Facility",
      "name": "City General Hospital"
    },
    "type": {
      "@type": "HealthReferenceDepartmentType",
      "code": "MED",
      "label": "Medical Ward",
      "category": "inpatient"
    },
    "name": "General Medical Ward",
    "location": "Building A, Floor 2",
    "status": "active"
  },
  "status": "planned",
  "period": {
    "@type": "Period",
    "start": "2024-12-02T10:00:00Z"
  },
  "room": "W2-215",
  "bed": "Bed A",
  "physicalType": "bed"
}