PackagesCanonicalsLogsProblems
    Packages
    nhsdigital.fhir.stu3@1.2.0
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-DCH-MaternalProblemsInPregnancy-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 represent maternal medical conditions or infectious diseases arising in pregnancy which may have an impact on the fetus, e.g. gestational diabetes, rubella etc., to support the Digital Child Health project.
package_name: nhsdigital.fhir.stu3
derivation: constraint
name: CareConnect-DCH-MaternalProblemsInPregnancy-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:
            pattern: {type: Code, value: GESTM}
            index: 23
          display:
            pattern: {type: String, value: gestational mother}
            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
                type: Extension
                index: 48
                elements:
                  url:
                    pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                    index: 49
            elements:
              extension:
                index: 47
                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: 48
                        elements:
                          url:
                            pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                            index: 49
              system: {index: 50}
              version: {index: 51}
              code: {index: 52}
              display: {index: 53}
              userSelected: {index: 54}
            required: [display, system, code]
          text: {index: 55}
        required: [coding]
      outcome:
        index: 56
        elements:
          coding:
            index: 57
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                snomedCT:
                  match: {system: 'http://snomed.info/sct'}
                  schema:
                    index: 58
                    extensions:
                      snomedCTDescriptionID:
                        url: h
                        type: Extension
                        index: 60
                        elements:
                          url:
                            pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                            index: 61
                    elements:
                      extension:
                        index: 59
                        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: 60
                                elements:
                                  url:
                                    pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid'}
                                    index: 61
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 62
                      version: {index: 63}
                      code: {index: 64}
                      display: {index: 65}
                    required: [display, system, code]
      onset:
        choices: []
        index: 67
      note:
        index: 68
        elements:
          author:
            choices: [authorReference, authorString, authorReference, authorReference]
            index: 70
          authorReference:
            type: Reference
            choiceOf: author
            refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
            index: 73
          authorString: {type: string, choiceOf: author, index: 72}
  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-MaternalProblemsInPregnancy-FamilyMemberHistory-1
base: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory
version: 1.1.0
required: [condition, date]