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. package_name: ca.ab.fhir.psab derivation: constraint name: LocationPSAB type: Location elements: identifier: index: 0 elements: type: {mustSupport: true, index: 1} value: {mustSupport: true, index: 2} required: [value, type] status: {index: 3} name: {index: 4} telecom: index: 5 slicing: rules: open discriminator: - {path: system, type: value} min: 1 slices: Phone: match: {system: phone} schema: mustSupport: true array: true min: 1 _required: true index: 6 elements: system: mustSupport: true pattern: {type: Code, value: phone} index: 7 value: {mustSupport: true, index: 8} required: [value, system] Fax: match: {system: fax} schema: array: true index: 9 elements: system: mustSupport: true pattern: {type: Code, value: fax} index: 10 value: {mustSupport: true, index: 11} required: [value, system] address: mustSupport: true index: 12 elements: line: {mustSupport: true, index: 13} city: {mustSupport: true, index: 14} state: {mustSupport: true, index: 15} postalCode: {mustSupport: true, index: 16} country: {mustSupport: true, index: 17} required: [country, city, postalCode, line, state] package_version: 0.3.0-pre1 class: profile kind: resource url: https://www.alberta.ca/fhir/psab/StructureDefinition/LocationPSAB base: http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-location version: null required: [name, address, identifier, telecom]