Location (DRAFT)

Description

The FHIR Location profile defines units or departments within a Facility.

  • Doesn't have a business identifier.
  • This property contains the reference to his parent which is a facility.

See JSON structures below for examples.

References

  • Appears in PractitionerRole.location references.

Snapshot

idΣ0..1string
id0..1string
extensionI0..*Extension
versionIdΣ0..1id
lastUpdatedΣ0..1instant
sourceΣ0..1uri
profileS Σ1..1canonical(StructureDefinition)
securityΣ0..*CodingBinding
tagΣ0..*Coding
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionI0..*Extension
modifierExtension?! I0..*Extension
identifierΣ0..*Identifier
statusS Σ ?!1..1codeBinding
operationalStatusΣ0..1CodingBinding
nameS Σ1..1string
aliasS2..2string
descriptionΣ0..1string
modeΣ0..1codeBinding
typeΣ0..*CodeableConceptBinding
telecomI0..*ContactPoint
address0..1Address
physicalTypeΣ0..1CodeableConcept
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
longitude1..1decimal
latitude1..1decimal
altitude0..1decimal
id0..1string
extensionI0..*Extension
referenceS Σ I1..1string
typeΣ0..1uriBinding
id0..1string
extensionI0..*Extension
useΣ ?!0..1codeBinding
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemS Σ0..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeBindingFixed Value
displayΣ0..1string
userSelectedΣ0..1boolean
textΣ0..1string
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
displayΣ0..1string
partOfI0..1Reference(Location)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
daysOfWeek0..*codeBinding
allDay0..1boolean
openingTime0..1time
closingTime0..1time
availabilityExceptions0..1string
endpointI0..*Reference(Endpoint)

Click here for information about the base FHIR Location specification.

JSON structure

These are templates for the FHIR Location. See table below for values description.

Department structure:

{
    "resourceType": "Location",
    "id": "{id}",
    "meta": {
        "profile":  [
            "http://fhir.akinox.com/r4b/StructureDefinition/Location"
        ]
    },
    "status": "active",
    "name": "{name}",
    "alias":  [
        "{nameFr}",
        "{nameEn}"
    ],
    "managingOrganization": {
        "reference": "{managingOrganizationReference}",
        "identifier": {
            "type": {
                "coding":  [
                    {
                        "system": "http://akinox.com/fhir/ValueSet/akinox-identifier-type",
                        "code": "MSSS"
                    }
                ]
            },
            "system": "urn:oid:2.16.124.10.101.1.60.101",
            "value": "{managingOrganizationMsssCode}"
        }
    }
}

Description of the values

Property Description
id This is the logical identifier. It's a short type.
name Name of the location.
alias[0] French name of the location.
alias[1] English name of the location.
managingOrganization.reference Literal reference containing the locations's parent logical identifier i.e. Organization/0dc32dbb-8ff9-42b8-8484-0cae64f0aef0 .
managingOrganization.value This is the business identifier of the managing organization. It is the facility code for the Ministry of Health and Social Services (Ministère de la Santé et des Services Sociaux). varchar(9) max. Only present in facility structures.

Notes on typical FHIR errors

  • If you remove the meta.profile, there will be an error on the FHIR validation.