description: Resource structure is based on UKCore-Observation-VitalSigns-BodyWeight v1.0.0 which is not yet included in a balloted release. Added manually to prevent structure deviation and to support NHS Wales projects. Once available, the resource will be updated and derived from UK Core. Defines the additional constraints and extensions on the Data Standards Wales Observation Vital Signs profile package_name: fhir.r4.wales.test derivation: constraint name: DataStandardsWalesObservationVitalSignsBodyWeight type: Observation elements: code: elements: coding: index: 0 slicing: slices: loinc: match: {} schema: index: 0 elements: code: pattern: {type: code, value: 29463-7} type: code index: 1 snomedCT: match: {} schema: binding: {strength: preferred, valueSet: 'https://fhir.nhs.wales/ValueSet/DataStandardsWales-BodyWeightMeasurements'} index: 2 subject: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Device', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Location', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient'] index: 3 value: choices: [valueQuantity] index: 5 valueQuantity: {type: Quantity, choiceOf: value, index: 6} value[x]: elements: unit: pattern: {type: string, value: kilogram} type: string index: 7 system: pattern: {type: uri, value: 'http://unitsofmeasure.org'} type: uri index: 8 code: pattern: {type: code, value: kg} type: code index: 9 package_version: 1.0.0 class: profile kind: resource url: https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Observation-VitalSigns-BodyWeight base: https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Observation-VitalSigns version: 1.0.0 required: [value, valueQuantity]