description: This profile defines a set of constraints to the FHIR Observation (BodyWeight) resource for use in Alberta Patient Summaries (PS-AB). It re-profiles the HL7 FHIR BodyWeight Profile and refines constraints applied to the Observation (BodyWeight) resource when used in the PS-AB Composition profile. package_name: ca.ab.fhir.psab derivation: constraint name: ObservationBodyWeightPSAB type: Observation elements: category: sliceIsConstraining: true index: 1 slicing: slices: VSCat: match: {} schema: sliceIsConstraining: true index: 1 elements: coding: elements: system: {index: 2} code: {index: 3} hasMember: type: Reference refers: ['https://www.alberta.ca/fhir/psab/StructureDefinition/ObservationBMIPSAB', 'https://www.alberta.ca/fhir/psab/StructureDefinition/ObservationBodyHeightPSAB', 'https://www.alberta.ca/fhir/psab/StructureDefinition/ObservationBodyWeightPSAB', 'https://www.alberta.ca/fhir/psab/StructureDefinition/ObservationHeadCircumPSAB'] index: 24 value[x]: elements: value: {index: 21} unit: {index: 22} system: {index: 23} valueQuantity: type: Quantity choiceOf: value index: 20 slicing: slices: valueQuantity: match: {} schema: {type: Quantity, choiceOf: value, _required: true, index: 20} min: 1 value: choices: [] index: 17 slicing: slices: valueQuantity: match: {} schema: choices: [valueQuantity] _required: true index: 19 min: 1 effectiveDateTime: type: dateTime mustSupport: true choiceOf: effective index: 14 slicing: slices: effectiveDateTime: match: {} schema: {type: dateTime, mustSupport: true, choiceOf: effective, index: 14} min: 0 max: 1 status: pattern: {type: Code, value: final} index: 0 effective: choices: [] index: 11 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: effectiveDateTime: match: {} schema: mustSupport: true choices: [effectiveDateTime] index: 13 min: 0 max: 1 code: elements: coding: index: 4 slicing: slices: BodyWeightCode: match: {} schema: mustSupport: true sliceIsConstraining: true index: 5 elements: system: {mustSupport: true, index: 6} code: {mustSupport: true, index: 7} required: [coding] subject: type: Reference refers: ['https://www.alberta.ca/fhir/psab/StructureDefinition/PatientPSAB'] index: 8 elements: reference: {index: 9} required: [reference] performer: type: Reference refers: ['https://www.alberta.ca/fhir/psab/StructureDefinition/PatientPSAB', 'https://www.alberta.ca/fhir/psab/StructureDefinition/PractitionerPSAB', 'https://www.alberta.ca/fhir/psab/StructureDefinition/PractitionerRolePSAB'] index: 15 package_version: 0.3.0-pre4 class: profile kind: resource url: https://www.alberta.ca/fhir/psab/StructureDefinition/ObservationBodyWeightPSAB base: http://hl7.org/fhir/StructureDefinition/bodyweight version: null required: [value, valueQuantity]