PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales.test@1.0.0
    https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Observation-VitalSigns-BMI
description: Resource structure is based on UKCore-Observation-BMI 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: DataStandardsWalesObservationVitalSignsBMI
type: Observation
elements:
  code:
    elements:
      coding:
        index: 0
        slicing:
          slices:
            loinc:
              match: {}
              schema:
                index: 0
                elements:
                  code:
                    pattern: {type: code, value: 39156-5}
                    type: code
                    index: 1
            snomedCT:
              match: {}
              schema:
                binding: {strength: preferred, valueSet: 'https://fhir.nhs.wales/ValueSet/DSW-BMI'}
                _required: true
                index: 2
                elements:
                  system: {index: 3}
                  code: {index: 4}
                required: [code, system]
  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: 5
  value:
    choices: [valueQuantity]
    index: 7
  valueQuantity: {type: Quantity, choiceOf: value, index: 8}
  value[x]:
    elements:
      value: {index: 9}
      system:
        pattern: {type: uri, value: 'http://unitsofmeasure.org'}
        type: uri
        index: 10
      code:
        pattern: {type: code, value: kg/m2}
        type: code
        index: 11
    required: [code, system, value]
  note:
    elements:
      author:
        choices: [authorReference, authorString]
        index: 13
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient', 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner', 'https://fhir.nhs.wales/StructureDefinition/Profile-DataStandardsWales-RelatedPerson']
        index: 14
      authorString: {type: string, choiceOf: author, index: 15}
package_version: 1.0.0
class: profile
kind: resource
url: https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Observation-VitalSigns-BMI
base: https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Observation-VitalSigns
version: 1.0.0
required: [value, valueQuantity]