PackagesCanonicalsLogsProblems
    Packages
    NHSDigital.FHIR.STU3@1.0.0
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-LengthOfGestation-Observation-1
description: The Observation resource is used for tracking the current and historical observations that have been made for a patient with further contraints applied to represent the length of gestation observation, to support the Digital Child Health project.
package_name: NHSDigital.FHIR.STU3
derivation: constraint
name: CareConnect-DCH-LengthOfGestation-Observation-1
type: Observation
elements:
  category:
    index: 8
    elements:
      coding:
        index: 9
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 10
                extensions:
                  snomedCTDescriptionID:
                    url: h
                    type: Extension
                    index: 12
                    elements:
                      url:
                        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                        index: 13
                elements:
                  extension:
                    index: 11
                    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: 12
                            elements:
                              url:
                                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                index: 13
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 14
                  version: {index: 15}
                  code: {index: 16}
                  display: {index: 17}
                required: [display, system, code]
  referenceRange: {index: 63}
  interpretation: {index: 39}
  method:
    index: 51
    elements:
      coding:
        index: 52
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 53
                extensions:
                  snomedCTDescriptionID:
                    url: h
                    type: Extension
                    index: 55
                    elements:
                      url:
                        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                        index: 56
                elements:
                  extension:
                    index: 54
                    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: 55
                            elements:
                              url:
                                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                index: 56
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 57
                  version: {index: 58}
                  code: {index: 59}
                  display: {index: 60}
                required: [display, system, code]
  specimen: {index: 61}
  value:
    choices: []
    index: 37
  related:
    index: 64
    elements:
      target:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/Sequence', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-AssessmentScale-Observation-1']
        index: 65
  component:
    short: Length of gestation in weeks and days
    array: true
    min: 2
    max: 2
    index: 66
    elements:
      code:
        elements:
          coding:
            index: 67
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 68
                    extensions:
                      snomedCTDescriptionID:
                        url: h
                        type: Extension
                        index: 70
                        elements:
                          url:
                            pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                            index: 71
                    elements:
                      extension:
                        index: 69
                        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: 70
                                elements:
                                  url:
                                    pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                    index: 71
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 72
                      version: {index: 73}
                      code: {index: 74}
                      display: {index: 75}
                    required: [display, system, code]
      interpretation: {index: 76}
      referenceRange: {index: 77}
    slicing:
      rules: closed
      ordered: false
      description: Component observations which form the length of gestation observation.
      discriminator:
      - {path: code, type: value}
      min: 2
      max: 2
      slices:
        weeks:
          match: {code: null}
          schema:
            short: Number of weeks applicable to the length of gestation observation, expressed in n2 format
            _required: true
            index: 78
            elements:
              code:
                short: Code representing the component observation of 'weeks'
                index: 79
                extensions:
                  snomedCTDescriptionID:
                    url: h
                    type: Extension
                    short: The SNOMED CT Description ID for the display
                    index: 81
                    elements:
                      url:
                        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                        index: 82
                elements:
                  extension:
                    index: 80
                    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
                            short: The SNOMED CT Description ID for the display
                            url: h
                            index: 81
                            elements:
                              url:
                                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                index: 82
                  coding:
                    index: 83
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 84
                      version: {index: 85}
                      code:
                        pattern: {type: Code, value: '258705008'}
                        index: 86
                      display:
                        pattern: {type: String, value: weeks}
                        index: 87
                      userSelected: {index: 88}
                    required: [display, system, code]
                  text: {index: 89}
                required: [coding]
              valueQuantity:
                type: Quantity
                short: Number of weeks applicable to the length of gestation observation, expressed in n2 format
                index: 90
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        type: Quantity
                        short: Number of weeks applicable to the length of gestation observation, expressed in n2 format
                        _required: true
                        index: 90
                        elements:
                          value: {short: 'Number of weeks applicable to the length of gestation observation, expressed in n2 format', index: 91}
                          comparator: {index: 92}
                          unit: {index: 93}
                          system: {index: 94}
                          code: {index: 95}
                        required: [value]
              dataAbsentReason: {index: 96}
              interpretation: {index: 97}
              referenceRange: {index: 98}
            required: [valueQuantity]
        days:
          match: {code: null}
          schema:
            short: Number of days applicable to the length of gestation observation, expressed in n1 format
            _required: true
            index: 99
            elements:
              code:
                short: Code representing the component observation of 'days'
                index: 100
                elements:
                  coding:
                    index: 101
                    extensions:
                      snomedCTDescriptionID:
                        url: h
                        type: Extension
                        short: The SNOMED CT Description ID for the display
                        index: 103
                        elements:
                          url:
                            pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                            index: 104
                    elements:
                      extension:
                        index: 102
                        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
                                short: The SNOMED CT Description ID for the display
                                url: h
                                index: 103
                                elements:
                                  url:
                                    pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                    index: 104
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 105
                      version: {index: 106}
                      code:
                        pattern: {type: Code, value: '258703001'}
                        index: 107
                      display:
                        pattern: {type: String, value: days}
                        index: 108
                      userSelected: {index: 109}
                    required: [display, system, code]
                  text: {index: 110}
                required: [coding]
              valueQuantity:
                type: Quantity
                short: Number of days applicable to the length of gestation observation, expressed in n1 format
                index: 111
                slicing:
                  slices:
                    valueQuantity:
                      match: {}
                      schema:
                        type: Quantity
                        short: Number of days applicable to the length of gestation observation, expressed in n1 format
                        _required: true
                        index: 111
                        elements:
                          value: {short: 'Number of days applicable to the length of gestation observation, expressed in n1 format', index: 112}
                          comparator: {index: 113}
                          unit: {index: 114}
                          system: {index: 115}
                          code: {index: 116}
                        required: [value]
              dataAbsentReason: {index: 117}
              interpretation: {index: 118}
              referenceRange: {index: 119}
            required: [valueQuantity]
  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
  effectiveDateTime:
    type: dateTime
    index: 32
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema: {type: dateTime, index: 32}
          max: 0
  comment: {index: 40}
  code:
    elements:
      coding:
        index: 18
        extensions:
          snomedCTDescriptionID:
            url: h
            type: Extension
            short: The SNOMED CT Description ID for the display
            index: 20
            elements:
              url:
                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                index: 21
        elements:
          extension:
            index: 19
            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
                    short: The SNOMED CT Description ID for the display
                    url: h
                    index: 20
                    elements:
                      url:
                        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                        index: 21
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            index: 22
          version: {index: 23}
          code:
            pattern: {type: Code, value: '412726003'}
            index: 24
          display:
            pattern: {type: String, value: Length of gestation at birth}
            index: 25
          userSelected: {index: 26}
        required: [display, system, code]
      text: {index: 27}
    required: [coding]
  identifier:
    index: 3
    elements:
      system: {index: 4}
      value: {index: 5}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 6
    required: [value, system]
  bodySite:
    index: 41
    elements:
      coding:
        index: 42
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 43
                extensions:
                  snomedCTDescriptionID:
                    url: h
                    type: Extension
                    index: 45
                    elements:
                      url:
                        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                        index: 46
                elements:
                  extension:
                    index: 44
                    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: 45
                            elements:
                              url:
                                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                index: 46
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 47
                  version: {index: 48}
                  code: {index: 49}
                  display: {index: 50}
                required: [display, system, code]
  context:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-Encounter-1']
    index: 30
    elements:
      reference: {index: 31}
    required: [reference]
  issued: {index: 33}
  device: {index: 62}
  basedOn: {index: 7}
  subject:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-Patient-1']
    index: 28
    elements:
      reference: {index: 29}
    required: [reference]
  performer:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-Practitioner-1']
    index: 34
    elements:
      reference: {index: 35}
    required: [reference]
  dataAbsentReason: {index: 38}
package_version: 1.0.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-DCH-LengthOfGestation-Observation-1
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.3.0
required: [context, subject]