PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.5.0
    https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-FamilyMemberHistory-1
description: Significant health events and conditions for a person related to the patient relevant in the context of care for the patient.
package_name: NHSD.Assets.STU3
derivation: constraint
name: CareConnect-FamilyMemberHistory-1
type: FamilyMemberHistory
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        recorder:
          match: {url: null}
          schema: {type: Extension, url: h, index: 1}
          max: 1
        encounter:
          match: {url: null}
          schema: {type: Extension, url: h, index: 2}
          max: 1
  identifier:
    elements:
      system: {index: 3}
      value: {index: 4}
      assigner:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 5
    required: [value, system]
  patient:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
    index: 6
  relationship:
    elements:
      coding:
        index: 7
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 8
                extensions:
                  snomedCTDescriptionID: {url: h, type: Extension, index: 10}
                elements:
                  extension:
                    index: 9
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        snomedCTDescriptionID:
                          match: {url: null}
                          schema: {type: Extension, url: h, index: 10}
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 11
                  code: {index: 12}
                  display: {index: 13}
                required: [display, system, code]
  gender: {index: 14}
  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: 15
  note:
    elements:
      author:
        choices: [authorString, authorReference, authorReference, authorReference]
        index: 17
      authorString: {type: string, choiceOf: author, index: 18}
      authorReference:
        type: Reference
        choiceOf: author
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
        index: 19
  condition:
    elements:
      code:
        elements:
          coding:
            index: 22
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 23
                    extensions:
                      snomedCTDescriptionID: {url: h, type: Extension, index: 25}
                    elements:
                      extension:
                        index: 24
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            snomedCTDescriptionID:
                              match: {url: null}
                              schema: {type: Extension, url: h, index: 25}
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 26
                      code: {index: 27}
                      display: {index: 28}
                    required: [display, system, code]
      outcome:
        elements:
          coding:
            index: 29
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 30
                    extensions:
                      snomedCTDescriptionID: {url: h, type: Extension, index: 32}
                    elements:
                      extension:
                        index: 31
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            snomedCTDescriptionID:
                              match: {url: null}
                              schema: {type: Extension, url: h, index: 32}
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 33
                      code: {index: 34}
                      display: {index: 35}
                    required: [display, system, code]
      note:
        elements:
          author:
            choices: [authorString, authorReference, authorReference, authorReference]
            index: 37
          authorString: {type: string, choiceOf: author, index: 38}
          authorReference:
            type: Reference
            choiceOf: author
            refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
            index: 39
package_version: 1.5.0
extensions:
  recorder: {url: h, max: 1, type: Extension, index: 1}
  encounter: {url: h, max: 1, type: Extension, index: 2}
class: profile
kind: resource
url: https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-FamilyMemberHistory-1
base: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory
version: 1.0.0