PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.2.0
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-PDS-BirthWeight-Observation-1
description: The Observation resource is used for tracking the current and historical observations that have been made for a patient with further constraints applied to represent birth weight, to support the PDS Birth Notification event message within the Events Management Service.
package_name: NHSD.Assets.STU3
derivation: constraint
name: CareConnect-EMS-PDS-BirthWeight-Observation-1
type: Observation
elements:
  category:
    index: 11
    elements:
      coding:
        index: 12
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            observationCategory:
              match: {system: 'http://hl7.org/fhir/observation-category'}
              schema:
                _required: true
                index: 13
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://hl7.org/fhir/observation-category'}
                    index: 14
                  version: {index: 15}
                  code:
                    pattern: {type: Code, value: vital-signs}
                    index: 16
                  display:
                    pattern: {type: String, value: Vital Signs}
                    index: 17
                  userSelected: {index: 18}
                required: [system, code]
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 19
                extensions:
                  snomedCTDescriptionID:
                    url: h
                    type: Extension
                    index: 21
                    elements:
                      url:
                        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                        index: 22
                elements:
                  extension:
                    index: 20
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        snomedCTDescriptionID:
                          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                          schema:
                            type: Extension
                            url: h
                            index: 21
                            elements:
                              url:
                                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                index: 22
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 23
                  version: {index: 24}
                  code: {index: 25}
                  display: {index: 26}
                required: [display, system, code]
    required: [coding]
  referenceRange: {index: 77}
  interpretation: {index: 53}
  method:
    index: 65
    elements:
      coding:
        index: 66
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 67
                extensions:
                  snomedCTDescriptionID:
                    url: h
                    type: Extension
                    index: 69
                    elements:
                      url:
                        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                        index: 70
                elements:
                  extension:
                    index: 68
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        snomedCTDescriptionID:
                          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                          schema:
                            type: Extension
                            url: h
                            index: 69
                            elements:
                              url:
                                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                index: 70
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 71
                  version: {index: 72}
                  code: {index: 73}
                  display: {index: 74}
                required: [display, system, code]
  specimen: {index: 75}
  valueQuantity:
    type: Quantity
    short: Birth weight
    index: 47
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema:
            type: Quantity
            short: Birth weight
            _required: true
            index: 47
            elements:
              value: {short: Numerical value (to 3 decimal places), index: 48}
              comparator: {index: 49}
              unit: {index: 50}
              system:
                pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
                index: 51
              code: {index: 52}
            required: [value, unit, system, code]
  related:
    index: 78
    elements:
      target:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse', 'http://hl7.org/fhir/StructureDefinition/Sequence', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-PDS-GestationAge-Observation-1']
        index: 79
  component:
    index: 80
    elements:
      code:
        elements:
          coding:
            index: 81
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 82
                    extensions:
                      snomedCTDescriptionID:
                        url: h
                        type: Extension
                        index: 84
                        elements:
                          url:
                            pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                            index: 85
                    elements:
                      extension:
                        index: 83
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            snomedCTDescriptionID:
                              match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                              schema:
                                type: Extension
                                url: h
                                index: 84
                                elements:
                                  url:
                                    pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                    index: 85
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 86
                      version: {index: 87}
                      code: {index: 88}
                      display: {index: 89}
                    required: [display, system, code]
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        reason:
          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ReasonCondition-1'}
          schema:
            type: Extension
            url: h
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ReasonCondition-1'}
                index: 2
  comment: {index: 54}
  code:
    elements:
      coding:
        array: true
        min: 2
        max: 2
        index: 27
        elements:
          display:
            pattern: {type: String, value: Birth weight}
            index: 28
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: code, type: value}
          min: 2
          max: 2
          slices:
            loinc:
              match: {code: 29463-7}
              schema:
                _required: true
                index: 29
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    index: 30
                  version: {index: 31}
                  code:
                    pattern: {type: Code, value: 29463-7}
                    index: 32
                  display: {index: 33}
                  userSelected: {index: 34}
                required: [system, code]
            snomedCT:
              match: {code: '364589006'}
              schema:
                _required: true
                index: 35
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 36
                  version: {index: 37}
                  code:
                    pattern: {type: Code, value: '364589006'}
                    index: 38
                  display: {index: 39}
                  userSelected: {index: 40}
                required: [display, system, code]
      text: {index: 41}
  identifier:
    index: 3
    elements:
      use: {index: 4}
      type: {index: 5}
      system: {index: 6}
      value: {index: 7}
      period: {index: 8}
      assigner:
        type: Reference
        refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-PDS-RegisteringAuthority-Organization-1']
        index: 9
    required: [value, system]
  bodySite:
    index: 55
    elements:
      coding:
        index: 56
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 57
                extensions:
                  snomedCTDescriptionID:
                    url: h
                    type: Extension
                    index: 59
                    elements:
                      url:
                        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                        index: 60
                elements:
                  extension:
                    index: 58
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        snomedCTDescriptionID:
                          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                          schema:
                            type: Extension
                            url: h
                            index: 59
                            elements:
                              url:
                                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                index: 60
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 61
                  version: {index: 62}
                  code: {index: 63}
                  display: {index: 64}
                required: [display, system, code]
  context:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/EpisodeOfCare', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1']
    index: 44
  issued: {index: 45}
  device: {index: 76}
  basedOn: {index: 10}
  subject:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-PDS-Baby-Patient-1']
    index: 42
    elements:
      reference: {index: 43}
    required: [reference]
  performer:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-PDS-RegisteringAuthority-Organization-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-Patient-1']
    index: 46
package_version: 1.2.0
extensions:
  reason:
    url: h
    type: Extension
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ReasonCondition-1'}
        index: 2
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-PDS-BirthWeight-Observation-1
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.1.0
required: [subject, category, valueQuantity]