Mediloop
PlatformOrganizations / TenantsLocations & facilities

Locations & facilities

Platform

Represent facilities, branches, departments and operational locations within an organization or tenant.

Isolation

Tenant-scoped by design

Hierarchy

Organizations + sub-organizations

Access

Membership + role context

Configuration

Policies, modules & branding

Overview

Locations model physical or operational places. They can map to facilities, branches, rooms or service locations without creating unnecessary tenant boundaries.

Location model

FieldDescription
idLocation identifier
tenant_idOwning tenant
parent_location_idOptional parent location
typefacility, branch, department, room, virtual
statusactive, inactive
addressStructured postal address when applicable

List locations

GET /v1/locationsCopy
GET /v1/locations?tenant_id=tnt_hospital_01&type=department

Create location

POST /v1/locationsCopy
{
  "tenant_id":"tnt_hospital_01",
  "name":"Cardiology — Floor 2",
  "type":"department",
  "parent_location_id":"loc_main_hospital"
}

Hierarchy

Use location hierarchy for operational spaces. Use organization hierarchy for governance/legal ownership, and tenants for security/data-isolation boundaries.