description: General constraints on the Location resource for use in the BC Provider Registry project. package_name: fhir.ca-bc.provider derivation: constraint name: BCLocation type: Location elements: description: {mustSupport: true, index: 10} address: {type: Address, mustSupport: true, index: 12} name: extensions: period: {url: 'http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-period-extension', min: 1, max: 1, type: Extension, mustSupport: true, index: 6} endReason: {url: 'http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-end-reason-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 7} owner: {url: 'http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-owner-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 8} elements: extension: index: 5 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 1 slices: period: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-period-extension', index: 6} min: 1 max: 1 endReason: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-end-reason-extension', index: 7} min: 0 max: 1 owner: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-owner-extension', index: 8} min: 0 max: 1 required: [extension] extension: type: Extension mustSupport: true url: http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-note-extension index: 0 slicing: slices: note: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-note-extension', index: 0} min: 0 facilityDetails: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-facility-details-extension', index: 1} min: 0 max: 1 serviceArea: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-facility-health-service-area-extension', index: 2} min: 0 max: 1 physicalAddress: match: {} schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-facility-physical-address-extension', index: 3} min: 0 max: 1 alias: {mustSupport: true, index: 9} identifier: {type: Identifier, index: 4} position: mustSupport: true index: 15 elements: longitude: {mustSupport: true, index: 16} latitude: {mustSupport: true, index: 17} telecom: {type: ContactPoint, index: 11} physicalType: short: bu is the only allowed code mustSupport: true index: 13 elements: coding: elements: code: pattern: {type: code, value: bu} type: code index: 14 required: [code] package_version: 1.0.1 extensions: note: {url: 'http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-note-extension', min: 0, type: Extension, mustSupport: true, index: 0} facilityDetails: {url: 'http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-facility-details-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 1} serviceArea: {url: 'http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-facility-health-service-area-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 2} physicalAddress: {url: 'http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-facility-physical-address-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 3} class: profile kind: resource url: http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-location base: http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-location version: 1.0.0 required: [physicalType]