PackagesCanonicalsLogsProblems
    Packages
    gpc.stu3.fhir-assets@1.4.1
    https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-ConditionRelationship-1
description: A reference to another related condition (target) whose relationship is defined by the relationship type code.
package_name: gpc.stu3.fhir-assets
derivation: constraint
name: Extension-CareConnect-GPC-ConditionRelationship-1
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        type:
          match: {}
          schema:
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: type}
                index: 3
              value:
                short: Condition relationship type
                choices: [valueCode]
                index: 5
              valueCode: {type: code, short: Condition relationship type, choiceOf: value, index: 6}
        target:
          match: {}
          schema:
            _required: true
            index: 7
            extensions: {}
            elements:
              extension: {index: 8}
              url:
                pattern: {type: Uri, value: target}
                index: 9
              value:
                short: Target condition
                choices: [valueReference]
                index: 11
              valueReference:
                type: Reference
                short: Target condition
                choiceOf: value
                refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Condition-1']
                index: 12
  url:
    pattern: {type: Uri, value: 'https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-ConditionRelationship-1'}
    index: 13
  value:
    choices: []
    index: 15
package_version: 1.4.1
extensions:
  type:
    url: null
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: type}
        index: 3
      value:
        short: Condition relationship type
        choices: [valueCode]
        index: 5
      valueCode: {type: code, short: Condition relationship type, choiceOf: value, index: 6}
  target:
    url: null
    _required: true
    index: 7
    extensions: {}
    elements:
      extension: {index: 8}
      url:
        pattern: {type: Uri, value: target}
        index: 9
      value:
        short: Target condition
        choices: [valueReference]
        index: 11
      valueReference:
        type: Reference
        short: Target condition
        choiceOf: value
        refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Condition-1']
        index: 12
class: extension
kind: complex-type
url: https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-ConditionRelationship-1
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0