{
"description": "This profile allows you to create a distance based search for a CA:CSD Location.",
"_filename": "Location_Distance.StructureDefinition.json",
"package_name": "ca.infoway.io.ca-csd",
"date": null,
"derivation": "constraint",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "Location with Distance",
"abstract": false,
"copyright": "Copyright © 2024+ Canada Health Infoway. All rights reserved. [Terms of Use and License Agreements](https://ic.infoway-inforoute.ca/en/about/tou). [Privacy Policy](https://www.infoway-inforoute.ca/en/legal/privacy-policy).",
"type": "Location",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "1.1.1-dft-preBallot",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"extension": [ {
"url": "code",
"valueCode": "SHALL:able-to-populate"
}, {
"url": "code",
"valueCode": "SHOULD:populate"
}, {
"url": "elementId",
"valueString": "Location.identifier"
}, {
"url": "elementId",
"valueString": "Location.identifier.system"
}, {
"url": "elementId",
"valueString": "Location.identifier.value"
}, {
"url": "elementId",
"valueString": "Location.status"
}, {
"url": "elementId",
"valueString": "Location.name"
}, {
"url": "elementId",
"valueString": "Location.type"
}, {
"url": "elementId",
"valueString": "Location.telecom"
}, {
"url": "elementId",
"valueString": "Location.telecom.system"
}, {
"url": "elementId",
"valueString": "Location.telecom.value"
}, {
"url": "elementId",
"valueString": "Location.address"
}, {
"url": "elementId",
"valueString": "Location.address.line"
}, {
"url": "elementId",
"valueString": "Location.address.city"
}, {
"url": "elementId",
"valueString": "Location.address.state"
}, {
"url": "elementId",
"valueString": "Location.address.postalCode"
}, {
"url": "elementId",
"valueString": "Location.address.country"
}, {
"url": "elementId",
"valueString": "Location.position"
}, {
"url": "elementId",
"valueString": "Location.managingOrganization"
}, {
"url": "elementId",
"valueString": "Location.partOf"
}, {
"url": "actor",
"valueCanonical": "http://fhir.infoway-inforoute.ca/io/CA-CSD/ActorDefinition/server"
} ]
}, {
"url": "http://hl7.org/fhir/StructureDefinition/obligation",
"extension": [ {
"url": "code",
"valueCode": "SHALL:no-error"
}, {
"url": "elementId",
"valueString": "Location.identifier"
}, {
"url": "elementId",
"valueString": "Location.identifier.system"
}, {
"url": "elementId",
"valueString": "Location.identifier.value"
}, {
"url": "elementId",
"valueString": "Location.status"
}, {
"url": "elementId",
"valueString": "Location.name"
}, {
"url": "elementId",
"valueString": "Location.type"
}, {
"url": "elementId",
"valueString": "Location.telecom"
}, {
"url": "elementId",
"valueString": "Location.telecom.system"
}, {
"url": "elementId",
"valueString": "Location.telecom.value"
}, {
"url": "elementId",
"valueString": "Location.address"
}, {
"url": "elementId",
"valueString": "Location.address.line"
}, {
"url": "elementId",
"valueString": "Location.address.city"
}, {
"url": "elementId",
"valueString": "Location.address.state"
}, {
"url": "elementId",
"valueString": "Location.address.postalCode"
}, {
"url": "elementId",
"valueString": "Location.address.country"
}, {
"url": "elementId",
"valueString": "Location.position"
}, {
"url": "elementId",
"valueString": "Location.managingOrganization"
}, {
"url": "elementId",
"valueString": "Location.partOf"
}, {
"url": "actor",
"valueCanonical": "http://fhir.infoway-inforoute.ca/io/CA-CSD/ActorDefinition/client"
} ]
} ],
"status": "draft",
"id": "020b58c8-45b1-4df8-b88b-40f53486313c",
"kind": "resource",
"url": "http://fhir.infoway-inforoute.ca/io/CA-CSD/StructureDefinition/CA-CSD-Location-Distance",
"version": null,
"differential": {
"element": [ {
"id": "Location.extension:acceptingnewpatients",
"path": "Location.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://fhir.infoway-inforoute.ca/ca-ext/StructureDefinition/location-AcceptingNewPatients" ]
} ],
"sliceName": "acceptingnewpatients"
}, {
"id": "Location.identifier",
"path": "Location.identifier",
"comment": "Identified as a query requirement through mCSD CapabilityStatement, and mustSupport element in the CA Baseline.",
"mustSupport": true
}, {
"id": "Location.identifier.system",
"max": "1",
"min": 1,
"path": "Location.identifier.system",
"comment": "mustSupport element identified within the CA Core profile.",
"mustSupport": true
}, {
"id": "Location.identifier.value",
"max": "1",
"min": 1,
"path": "Location.identifier.value",
"comment": "mustSupport element identified within the CA Core profile.",
"mustSupport": true
}, {
"id": "Location.status",
"path": "Location.status",
"comment": "Identified as a query requirement through mCSD CapabilityStatement. Elements with a modified minimum cardinality of 1 will have a mustSupport element to ensure that it is populated.",
"mustSupport": true
}, {
"id": "Location.name",
"path": "Location.name",
"comment": "Identified as a query requirement through mCSD CapabilityStatement. Elements with a modified minimum cardinality of 1 will have a mustSupport element to ensure that it is populated.",
"mustSupport": true
}, {
"id": "Location.type",
"path": "Location.type",
"comment": "Identified as a query requirement through mCSD CapabilityStatement. Elements with a modified minimum cardinality of 1 will have a mustSupport element to ensure that it is populated.",
"mustSupport": true
}, {
"id": "Location.telecom",
"path": "Location.telecom",
"comment": "Identified as a requirement and mustSupport element from the CA Core.",
"mustSupport": true
}, {
"id": "Location.telecom.system",
"path": "Location.telecom.system",
"comment": "Identified as a requirement and mustSupport element from the CA Core.",
"mustSupport": true
}, {
"id": "Location.telecom.value",
"min": 1,
"path": "Location.telecom.value",
"comment": "Identified as a requirement and mustSupport element from the CA Core",
"mustSupport": true
}, {
"id": "Location.address",
"path": "Location.address",
"comment": "Identified as a query requirement for searching for provider associated by role in the CapabilityStatement. Elements with a modified minimum cardinality of 1 will have a mustSupport element to ensure that it is populated.
Please use this element for role-based searches for provider.",
"mustSupport": true
}, {
"id": "Location.address.line",
"path": "Location.address.line",
"comment": "Identified as a query requirement for searching for provider associated by role in the CapabilityStatement.",
"mustSupport": true
}, {
"id": "Location.address.city",
"min": 1,
"path": "Location.address.city",
"comment": "Identified as a query requirement for searching for provider associated by role in the CapabilityStatement. Elements with a modified minimum cardinality of 1 will have a mustSupport element to ensure that it is populated. This element can be used in a chain search (query) for providers in a specific province or city.",
"mustSupport": true
}, {
"id": "Location.address.state",
"path": "Location.address.state",
"comment": "Identified as a query requirement for searching for provider associated by role in the CapabilityStatement. This element can be used in a chain search (query) for providers in a specific province or city.",
"mustSupport": true
}, {
"id": "Location.address.postalCode",
"path": "Location.address.postalCode",
"comment": "Identified as a query requirement for searching for provider associated by role in the CapabilityStatement.",
"mustSupport": true
}, {
"id": "Location.address.country",
"path": "Location.address.country",
"comment": "Identified as a query requirement for searching for provider associated by role in the CapabilityStatement. MustSupport applied to be in alignment with CA:eReC.",
"mustSupport": true
}, {
"id": "Location.position",
"path": "Location.position",
"comment": "Identified as a query requirement through mCSD CapabilityStatement. Elements with a modified minimum cardinality of 1 will have a mustSupport element to ensure that it is populated.",
"mustSupport": true
}, {
"id": "Location.managingOrganization",
"path": "Location.managingOrganization",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://fhir.infoway-inforoute.ca/io/CA-CSD/StructureDefinition/CA-CSD-Facility-Organization" ]
} ],
"comment": "Identified as a query requirement through mCSD CapabilityStatement. Elements with a modified minimum cardinality of 1 will have a mustSupport element to ensure that it is populated.",
"mustSupport": true
}, {
"id": "Location.partOf",
"path": "Location.partOf",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://fhir.infoway-inforoute.ca/io/CA-CSD/StructureDefinition/CA-CSD-Location" ]
} ],
"comment": "Identified as a query requirement through mCSD CapabilityStatement. Allows the search to return the location without having to go through the practitionerRole resource.",
"mustSupport": true
} ]
},
"baseDefinition": "https://profiles.ihe.net/ITI/mCSD/StructureDefinition/IHE.mCSD.LocationDistance"
}