Profiles & Operations Index > Profile: Location

Profile: Location

Simplifier project page: Location

Derived from: Location (R4)

Canonical_URLProfile_StatusProfile_VersionFHIR_Version
http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Locationdraft4.0.04.0.1

Formal Views of Profile Content

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

Differential View

idS Σ0..1System.String
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ1..1uri
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
longitude1..1decimal
latitude1..1decimal
altitude0..1decimal
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
partOfI0..1Reference(Location)
daysOfWeek0..*codeBinding
allDay0..1boolean
openingTime0..1time
closingTime0..1time
availabilityExceptions0..1string
endpointI0..*Reference(Endpoint)

Hybrid View

idS Σ0..1System.String
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ1..1uri
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
longitude1..1decimal
latitude1..1decimal
altitude0..1decimal
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
partOfI0..1Reference(Location)
daysOfWeek0..*codeBinding
allDay0..1boolean
openingTime0..1time
closingTime0..1time
availabilityExceptions0..1string
endpointI0..*Reference(Endpoint)

Snapshot View

idS Σ0..1System.String
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ1..1uri
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
longitude1..1decimal
latitude1..1decimal
altitude0..1decimal
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
partOfI0..1Reference(Location)
daysOfWeek0..*codeBinding
allDay0..1boolean
openingTime0..1time
closingTime0..1time
availabilityExceptions0..1string
endpointI0..*Reference(Endpoint)

Table View

Location..
Location.id..
Location.identifier1..1
Location.identifier.system1..
Location.identifier.value1..
Location.name1..
Location.managingOrganizationReference(Organization)..
Location.managingOrganization.reference1..


JSON View

{
    "resourceType": "StructureDefinition",
    "url": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Location",
    "version": "4.0.0",
    "name": "Location",
    "title": "Location",
    "status": "draft",
    "fhirVersion": "4.0.1",
    "mapping":  [
        {
            "identity": "acCDR-HL7v2-mapping",
            "name": "acCDR HL7v2 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.id",
                "path": "Location.id",
                "mustSupport": true
            },
            {
                "id": "Location.identifier",
                "path": "Location.identifier",
                "min": 1,
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "Location.identifier.system",
                "path": "Location.identifier.system",
                "min": 1,
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "acCDR-HL7v2-mapping",
                        "map": "MSH.4.1"
                    }
                ]
            },
            {
                "id": "Location.identifier.value",
                "path": "Location.identifier.value",
                "min": 1,
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "acCDR-HL7v2-mapping",
                        "map": "MSH.4.1"
                    }
                ]
            },
            {
                "id": "Location.name",
                "path": "Location.name",
                "min": 1,
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "acCDR-HL7v2-mapping",
                        "map": "MSH.4.2"
                    }
                ]
            },
            {
                "id": "Location.managingOrganization",
                "path": "Location.managingOrganization",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Organization"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Location.managingOrganization.reference",
                "path": "Location.managingOrganization.reference",
                "min": 1,
                "mustSupport": true
            }
        ]
    }
}

Usage

The Location resource contains hospital (facility) information identified in the DHDR record.

Notes

.identifier

  • identifies the hospital facility which administrated the medication.

.name

  • this field SHALL contain the facility name