{ "description": "This profile defines a set of constraints to the FHIR Location resource for use in Alberta Patient Summaries (PS-AB). It includes constraints that represent the minimum expectations for the Location resource when used in the PS-AB Organization profile or in one of the referred resources.", "_filename": "StructureDefinition-LocationPSAB.json", "package_name": "ca.ab.fhir.psab", "date": null, "derivation": "constraint", "publisher": null, "fhirVersion": "4.0.1", "name": "LocationPSAB", "abstract": false, "type": "Location", "experimental": null, "resourceType": "StructureDefinition", "title": "Location (PS-AB)", "package_version": "0.3.0-pre3", "status": "draft", "id": "927580c4-0e7a-4d53-b98b-49e04fcd454a", "kind": "resource", "url": "https://www.alberta.ca/fhir/psab/StructureDefinition/LocationPSAB", "version": null, "differential": { "element": [ { "id": "Location", "path": "Location", "comment": "Location resources included in Alberta Patient Summary Document Bundles SHALL NOT contain any of the following Location details: telecom.use, position, and endpoint. These rules are mechanically enforced through invariants at the PS-AB Bundle level." }, { "id": "Location.identifier", "max": "1", "min": 1, "path": "Location.identifier" }, { "id": "Location.identifier.type", "min": 1, "path": "Location.identifier.type", "label": "Must be a valid delivery site type ('domain') associated to the submitted identifier value 'AHWFACID' for AH Billing ID type, 'DPHIEXSTKID' for site WDFA key type", "mustSupport": true }, { "id": "Location.identifier.system", "min": 1, "path": "Location.identifier.system", "mustSupport": true }, { "id": "Location.identifier.value", "min": 1, "path": "Location.identifier.value", "label": "Must be a valid provincially-assigned delivery site identifier (Site WDFA key, AH Billing ID, or other approved identifier)", "mustSupport": true }, { "id": "Location.status", "path": "Location.status", "comment": "'Active' recommended (but not required)" }, { "id": "Location.name", "min": 1, "path": "Location.name", "comment": "Max Character length (100)" }, { "id": "Location.telecom", "min": 1, "path": "Location.telecom", "slicing": { "rules": "open", "discriminator": [ { "path": "system", "type": "value" } ] } }, { "id": "Location.telecom:Phone", "max": "*", "min": 1, "path": "Location.telecom", "sliceName": "Phone", "mustSupport": true }, { "id": "Location.telecom:Phone.system", "min": 1, "path": "Location.telecom.system", "mustSupport": true, "patternCode": "phone" }, { "id": "Location.telecom:Phone.value", "min": 1, "path": "Location.telecom.value", "comment": "Formatted as: #-###-###-####", "mustSupport": true }, { "id": "Location.telecom:Fax", "max": "*", "min": 0, "path": "Location.telecom", "sliceName": "Fax" }, { "id": "Location.telecom:Fax.system", "min": 1, "path": "Location.telecom.system", "mustSupport": true, "patternCode": "fax" }, { "id": "Location.telecom:Fax.value", "min": 1, "path": "Location.telecom.value", "comment": "Formatted as: #-###-###-####", "mustSupport": true }, { "id": "Location.address", "min": 1, "path": "Location.address", "mustSupport": true }, { "id": "Location.address.line", "min": 1, "path": "Location.address.line", "mustSupport": true }, { "id": "Location.address.city", "min": 1, "path": "Location.address.city", "comment": "Max Character length (100)", "mustSupport": true }, { "id": "Location.address.state", "min": 1, "path": "Location.address.state", "comment": "Canadian Province/Territory Codes", "mustSupport": true }, { "id": "Location.address.postalCode", "min": 1, "path": "Location.address.postalCode", "comment": "Must be valid Canadian alphanumeric (A/N) postal code formatted as: ANA NAN", "mustSupport": true }, { "id": "Location.partOf", "path": "Location.partOf", "type": [ { "code": "Reference", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", "valueBoolean": true } ], "targetProfile": [ "https://www.alberta.ca/fhir/psab/StructureDefinition/LocationPSAB" ] } ] } ] }, "baseDefinition": "http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-location" }