PackagesCanonicalsLogsProblems
    Packages
    rs/NHSD.Assets.STU3@1.2.0
    https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-RelatedProblemHeader-1
description: A reference to another related problem header condition (target) whose relationship is defined by the relationship type code.
package_name: rs/NHSD.Assets.STU3
derivation: constraint
name: Extension-CareConnect-RelatedProblemHeader-1
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        type:
          match: {url: type}
          schema:
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: uri, value: type}
                type: uri
                index: 2
              valueCode:
                type: code
                short: Condition relationship type
                index: 3
                slicing:
                  slices:
                    valueCode:
                      match: {}
                      schema: {type: code, short: Condition relationship type, index: 3}
        target:
          match: {url: target}
          schema:
            _required: true
            index: 4
            elements:
              url:
                pattern: {type: uri, value: target}
                type: uri
                index: 5
              valueReference:
                type: Reference
                short: Target problem header condition
                refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-ProblemHeader-Condition-1']
                index: 6
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        type: Reference
                        short: Target problem header condition
                        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-ProblemHeader-Condition-1']
                        index: 6
  url:
    pattern: {type: uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-RelatedProblemHeader-1'}
    type: uri
    index: 7
  value:
    choices: []
    index: 9
package_version: 1.2.0
extensions:
  type:
    url: type
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: uri, value: type}
        type: uri
        index: 2
      valueCode:
        type: code
        short: Condition relationship type
        index: 3
        slicing:
          slices:
            valueCode:
              match: {}
              schema: {type: code, short: Condition relationship type, index: 3}
  target:
    url: target
    _required: true
    index: 4
    elements:
      url:
        pattern: {type: uri, value: target}
        type: uri
        index: 5
      valueReference:
        type: Reference
        short: Target problem header condition
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-ProblemHeader-Condition-1']
        index: 6
        slicing:
          slices:
            valueReference:
              match: {}
              schema:
                type: Reference
                short: Target problem header condition
                refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-ProblemHeader-Condition-1']
                index: 6
class: extension
kind: complex-type
url: https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-RelatedProblemHeader-1
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0