PackagesCanonicalsLogsProblems
    Packages
    nhsdigital.fhir.stu3@1.2.0
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-FamilyMemberHistory-1
description: Significant health events and conditions for a person related to the patient relevant in the context of care for the patient with further constraints applied to support the Digital Child Health project.
package_name: nhsdigital.fhir.stu3
derivation: constraint
name: CareConnect-DCH-FamilyMemberHistory-1
type: FamilyMemberHistory
elements:
  patient:
    type: Reference
    refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-Patient-1']
    index: 15
    elements:
      reference: {index: 16}
    required: [reference]
  notDone: {index: 13}
  definition: {index: 11}
  date: {index: 17}
  age:
    choices: []
    index: 31
  name: {index: 18}
  relationship:
    index: 19
    elements:
      coding:
        index: 20
        elements:
          system:
            pattern: {type: Uri, value: 'http://hl7.org/fhir/v3/RoleCode'}
            index: 21
          version: {index: 22}
          code: {index: 23}
          display: {index: 24}
          userSelected: {index: 25}
        required: [display, system, code]
      text: {index: 26}
    required: [coding]
  reasonCode: {index: 35}
  deceased:
    choices: []
    index: 34
  note:
    index: 37
    elements:
      author:
        choices: [authorReference, authorString, authorReference, authorReference]
        index: 39
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
        index: 42
      authorString: {type: string, choiceOf: author, index: 41}
  notDoneReason: {index: 14}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        recorder:
          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-Recorder-1'}
          schema:
            type: Extension
            url: h
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-Recorder-1'}
                index: 2
        encounter:
          match: {url: null}
          schema: {type: Extension, url: h, index: 3}
          max: 0
  status:
    pattern: {type: Code, value: completed}
    index: 12
  condition:
    index: 44
    elements:
      code:
        index: 45
        elements:
          coding:
            index: 46
            extensions:
              snomedCTDescriptionID: {url: h, min: 0, type: Extension, index: 48}
            elements:
              extension:
                index: 47
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    snomedCTDescriptionID:
                      match: {url: null}
                      schema: {type: Extension, url: h, index: 48}
                      min: 0
              system:
                pattern: {type: Uri, value: 'http://snomed.info/sct'}
                index: 49
              version: {index: 50}
              userSelected: {index: 51}
          text: {index: 52}
        required: [coding]
      outcome:
        index: 53
        elements:
          coding:
            index: 54
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 55
                    extensions:
                      snomedCTDescriptionID:
                        url: h
                        type: Extension
                        index: 57
                        elements:
                          url:
                            pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                            index: 58
                    elements:
                      extension:
                        index: 56
                        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: 57
                                elements:
                                  url:
                                    pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                    index: 58
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 59
                      version: {index: 60}
                      code: {index: 61}
                      display: {index: 62}
                    required: [display, system, code]
      onset:
        choices: []
        index: 64
      note:
        index: 65
        elements:
          author:
            choices: [authorReference, authorString, authorReference, authorReference]
            index: 67
          authorReference:
            type: Reference
            choiceOf: author
            refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
            index: 70
          authorString: {type: string, choiceOf: author, index: 69}
  identifier:
    index: 4
    elements:
      use: {index: 5}
      type: {index: 6}
      system: {index: 7}
      value: {index: 8}
      period: {index: 9}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 10
    required: [value, system]
  born:
    choices: []
    index: 29
  gender: {index: 27}
  reasonReference:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-AllergyIntolerance-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Condition-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Observation-1']
    index: 36
  estimatedAge: {index: 32}
package_version: 1.2.0
extensions:
  recorder:
    url: h
    type: Extension
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-Recorder-1'}
        index: 2
  encounter: {url: h, max: 0, type: Extension, index: 3}
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-FamilyMemberHistory-1
base: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory
version: 1.1.0
required: [condition, date]