Profiles & Operations > Structure Definition: Location Profile

Structure Definition: Location

Canonical URL:http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-location

Simplifier project page:

Command 'link' could not render: Object reference not set to an instance of an object.

Derived from: Location

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work

Differential View

idΣ0..1string
id0..1string
extensionI0..*Extension
versionIdΣ0..1id
lastUpdatedΣ0..1instant
sourceΣ0..1uri
profileS Σ1..1canonical(StructureDefinition)Fixed Value
securityΣ0..*CodingBinding
tagΣ0..*Coding
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionI0..*Extension
modifierExtension?! I0..*Extension
id0..1string
extensionI0..*Extension
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ1..1uriFixed Value
valueS Σ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
statusΣ ?!0..1codeBinding
operationalStatusΣ0..1CodingBinding
nameS Σ1..1string
alias0..*string
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
managingOrganizationS Σ I0..1Reference(MHA Organization Profile)
partOfI0..1Reference(Location)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
daysOfWeek0..*codeBinding
allDay0..1boolean
openingTime0..1time
closingTime0..1time
availabilityExceptions0..1string
endpointI0..*Reference(Endpoint)

Hybrid View

idΣ0..1string
id0..1string
extensionI0..*Extension
versionIdΣ0..1id
lastUpdatedΣ0..1instant
sourceΣ0..1uri
profileS Σ1..1canonical(StructureDefinition)Fixed Value
securityΣ0..*CodingBinding
tagΣ0..*Coding
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionI0..*Extension
modifierExtension?! I0..*Extension
id0..1string
extensionI0..*Extension
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ1..1uriFixed Value
valueS Σ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
statusΣ ?!0..1codeBinding
operationalStatusΣ0..1CodingBinding
nameS Σ1..1string
alias0..*string
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
managingOrganizationS Σ I0..1Reference(MHA Organization Profile)
partOfI0..1Reference(Location)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
daysOfWeek0..*codeBinding
allDay0..1boolean
openingTime0..1time
closingTime0..1time
availabilityExceptions0..1string
endpointI0..*Reference(Endpoint)

Snapshot View

idΣ0..1string
id0..1string
extensionI0..*Extension
versionIdΣ0..1id
lastUpdatedΣ0..1instant
sourceΣ0..1uri
profileS Σ1..1canonical(StructureDefinition)Fixed Value
securityΣ0..*CodingBinding
tagΣ0..*Coding
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionI0..*Extension
modifierExtension?! I0..*Extension
id0..1string
extensionI0..*Extension
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ1..1uriFixed Value
valueS Σ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
statusΣ ?!0..1codeBinding
operationalStatusΣ0..1CodingBinding
nameS Σ1..1string
alias0..*string
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
managingOrganizationS Σ I0..1Reference(MHA Organization Profile)
partOfI0..1Reference(Location)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
daysOfWeek0..*codeBinding
allDay0..1boolean
openingTime0..1time
closingTime0..1time
availabilityExceptions0..1string
endpointI0..*Reference(Endpoint)

Table View

Location..
Location.meta1..
Location.meta.profile1..1
Location.identifier1..1
Location.identifier.system1..
Location.identifier.value1..
Location.name1..
Location.managingOrganizationReference(MHA Organization Profile)..

JSON View

{
    "resourceType": "StructureDefinition",
    "id": "profile-location",
    "text": {
        "status": "extensions",
        --- We have skipped the narrative for better readability of the resource ---
    },
    "url": "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-location",
    "version": "1.0.0",
    "name": "LocationProfile",
    "title": "MHA Location Profile",
    "status": "active",
    "date": "2022-08-22T20:17:06.3613088+00:00",
    "publisher": "HL7 Canada - FHIR Implementation Work Group",
    "contact":  [
        {
            "telecom":  [
                {
                    "system": "url",
                    "value": "https://infocentral.infoway-inforoute.ca/en/collaboration/wg/fhir-implementations"
                }
            ]
        }
    ],
    "description": "Proposed constraints and extensions on the Location resource",
    "jurisdiction":  [
        {
            "coding":  [
                {
                    "system": "urn:iso:std:iso:3166",
                    "code": "CA"
                }
            ]
        }
    ],
    "fhirVersion": "4.0.1",
    "mapping":  [
        {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
        },
        {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
        },
        {
            "identity": "MHA-PDS-Mapping",
            "name": "MHA PDS Mapping"
        }
    ],
    "kind": "resource",
    "abstract": false,
    "type": "Location",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "Location",
                "path": "Location",
                "mustSupport": true
            },
            {
                "id": "Location.meta",
                "path": "Location.meta",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Location.meta.profile",
                "path": "Location.meta.profile",
                "min": 1,
                "max": "1",
                "fixedCanonical": "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-location",
                "mustSupport": true
            },
            {
                "id": "Location.identifier",
                "path": "Location.identifier",
                "definition": "Unique code or number identifying the location to its users",
                "comment": "The MHA service delivery site for the HSP organization.",
                "min": 1,
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "Location.identifier.system",
                "path": "Location.identifier.system",
                "comment": "Identifier.system is always case sensitive.\n\nPlease refere to the Identifiers page for system URI format.",
                "min": 1,
                "fixedUri": "http://ehealthontario.ca/fhir/NamingSystem/id-Location-ConnexSite",
                "mustSupport": true
            },
            {
                "id": "Location.identifier.value",
                "path": "Location.identifier.value",
                "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.\n\nThe MHA service delivery site for the HSP organization. SHALL contain the ConnexOntario Site number.",
                "min": 1,
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "MHA-PDS-Mapping",
                        "map": "HSP Site Number"
                    }
                ]
            },
            {
                "id": "Location.name",
                "path": "Location.name",
                "comment": "If the name of a location changes, consider putting the old name in the alias column so that it can still be located through searches.\n\nThe name of the HSP site providing adult or child and youth mental health, problematic substance use or problem gambling services",
                "min": 1,
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "MHA-PDS-Mapping",
                        "map": "HSP Site Name"
                    }
                ]
            },
            {
                "id": "Location.managingOrganization",
                "path": "Location.managingOrganization",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-organization"
                        ]
                    }
                ],
                "mustSupport": true
            }
        ]
    }
}

Usage

The Location Resource is used to share information pertaining to the location site from where a client is currently enrolled.

Notes

.meta.profile

  • used to declare conformance to this profile
  • populate with a fixed value: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-location
.meta.versionId

  • SHALL be populated by the OH FHIR server
  • source systems do not need to populate this element prior to submission
.identifier

  • SHALL contain the ConnexOntario Site number.
.name

  • SHALL contain the name of the site providing adult or child and youth mental health, problematic substance use or problem gambling services.
.managingOrganization

  • SHOULD contain a reference to the Organization resource to which this Location resource applies.