PackagesCanonicalsLogsProblems
    Packages
    careconnect.stu3.03.00.00@3.1.0
    https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1
description: The patient resource represents the patient involved in the provision of healthcare related services.
package_name: careconnect.stu3.03.00.00
derivation: constraint
name: CareConnect-Patient-1
type: Patient
elements:
  address:
    elements:
      text: {index: 34}
      line: {index: 35}
      city: {index: 36}
      district: {index: 37}
      postalCode: {index: 38}
      country: {index: 39}
  managingOrganization:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
    index: 58
  name:
    index: 24
    slicing:
      rules: openAtEnd
      ordered: false
      discriminator:
      - {path: use, type: value}
      min: null
      slices:
        official:
          match: {use: official}
          schema:
            _required: true
            index: 25
            elements:
              use:
                pattern: {type: Code, value: official}
                index: 26
              family: {index: 27}
            required: [family, use]
  birthDate:
    extensions:
      patient-birthTime:
        url: h
        type: Extension
        index: 32
        elements:
          valueDateTime:
            index: 33
            slicing:
              slices:
                valueDateTime:
                  match: {}
                  schema: {index: 33}
    elements:
      extension:
        index: 31
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            patient-birthTime:
              match: {url: null}
              schema:
                type: Extension
                url: h
                index: 32
                elements:
                  valueDateTime:
                    index: 33
                    slicing:
                      slices:
                        valueDateTime:
                          match: {}
                          schema: {index: 33}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        nominatedPharmacy:
          match: {url: null}
          schema: {type: Extension, url: h, index: 15}
          min: 0
        religiousAffiliation:
          match: {url: null}
          schema: {type: Extension, url: h, index: 2}
          min: 0
          max: 1
        residentialStatus:
          match: {url: null}
          schema: {type: Extension, url: h, index: 5}
          min: 0
        nhsCommunication:
          match: {url: null}
          schema:
            type: Extension
            url: h
            index: 7
            extensions:
              preferred:
                url: null
                index: 9
                elements:
                  valueBoolean:
                    index: 10
                    slicing:
                      slices:
                        valueBoolean:
                          match: {}
                          schema: {index: 10}
              interpreterRequired:
                url: null
                index: 11
                elements:
                  valueBoolean:
                    index: 12
                    slicing:
                      slices:
                        valueBoolean:
                          match: {}
                          schema: {index: 12}
            elements:
              extension:
                index: 8
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    preferred:
                      match: {url: null}
                      schema:
                        index: 9
                        elements:
                          valueBoolean:
                            index: 10
                            slicing:
                              slices:
                                valueBoolean:
                                  match: {}
                                  schema: {index: 10}
                    interpreterRequired:
                      match: {url: null}
                      schema:
                        index: 11
                        elements:
                          valueBoolean:
                            index: 12
                            slicing:
                              slices:
                                valueBoolean:
                                  match: {}
                                  schema: {index: 12}
            required: [extension]
        treatmentCategory:
          match: {url: null}
          schema: {type: Extension, url: h, index: 6}
          min: 0
        ethnicCategory:
          match: {url: null}
          schema: {type: Extension, url: h, index: 1}
          min: 0
          max: 1
        deathNotificationStatus:
          match: {url: null}
          schema: {type: Extension, url: h, index: 16}
          min: 0
          max: 1
        birthPlace:
          match: {url: null}
          schema:
            type: Extension
            url: h
            index: 13
            elements:
              valueAddress:
                index: 14
                slicing:
                  slices:
                    valueAddress:
                      match: {}
                      schema: {index: 14}
        patient-cadavericDonor:
          match: {url: null}
          schema:
            type: Extension
            url: h
            index: 3
            elements:
              valueBoolean:
                index: 4
                slicing:
                  slices:
                    valueBoolean:
                      match: {}
                      schema: {index: 4}
  link:
    elements:
      other:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
        index: 59
  communication: {index: 56}
  animal: {index: 55}
  identifier:
    index: 17
    slicing:
      rules: openAtEnd
      ordered: false
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        nhsNumber:
          match: {system: 'https://fhir.nhs.uk/Id/nhs-number'}
          schema:
            short: The patient's NHS number
            index: 18
            extensions:
              nhsNumberVerificationStatus: {url: h, min: 1, max: 1, type: Extension, index: 20}
            elements:
              extension:
                index: 19
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    nhsNumberVerificationStatus:
                      match: {url: null}
                      schema: {type: Extension, url: h, index: 20}
                      min: 1
                      max: 1
              system:
                pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/nhs-number'}
                index: 21
              value: {index: 22}
              assigner:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
                index: 23
            required: [extension, value, system]
  telecom:
    elements:
      system: {index: 28}
      value: {index: 29}
    required: [value, system]
  generalPractitioner:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1']
    index: 57
  gender: {index: 30}
  maritalStatus:
    index: 40
    elements:
      coding:
        index: 41
        elements:
          system: {index: 42}
          code: {index: 43}
          display: {index: 44}
        required: [display, system, code]
    required: [coding]
  contact:
    elements:
      name:
        index: 45
        elements:
          use: {index: 46}
        required: [use]
      address:
        elements:
          text: {index: 47}
          line: {index: 48}
          city: {index: 49}
          district: {index: 50}
          postalCode: {index: 51}
          country: {index: 52}
      gender: {index: 53}
      organization:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 54
    required: [name]
package_version: 3.1.0
extensions:
  nominatedPharmacy: {url: h, min: 0, type: Extension, index: 15}
  religiousAffiliation: {url: h, min: 0, max: 1, type: Extension, index: 2}
  residentialStatus: {url: h, min: 0, type: Extension, index: 5}
  nhsCommunication:
    url: h
    type: Extension
    index: 7
    extensions:
      preferred:
        url: null
        index: 9
        elements:
          valueBoolean:
            index: 10
            slicing:
              slices:
                valueBoolean:
                  match: {}
                  schema: {index: 10}
      interpreterRequired:
        url: null
        index: 11
        elements:
          valueBoolean:
            index: 12
            slicing:
              slices:
                valueBoolean:
                  match: {}
                  schema: {index: 12}
    elements:
      extension:
        index: 8
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            preferred:
              match: {url: null}
              schema:
                index: 9
                elements:
                  valueBoolean:
                    index: 10
                    slicing:
                      slices:
                        valueBoolean:
                          match: {}
                          schema: {index: 10}
            interpreterRequired:
              match: {url: null}
              schema:
                index: 11
                elements:
                  valueBoolean:
                    index: 12
                    slicing:
                      slices:
                        valueBoolean:
                          match: {}
                          schema: {index: 12}
    required: [extension]
  treatmentCategory: {url: h, min: 0, type: Extension, index: 6}
  ethnicCategory: {url: h, min: 0, max: 1, type: Extension, index: 1}
  deathNotificationStatus: {url: h, min: 0, max: 1, type: Extension, index: 16}
  birthPlace:
    url: h
    type: Extension
    index: 13
    elements:
      valueAddress:
        index: 14
        slicing:
          slices:
            valueAddress:
              match: {}
              schema: {index: 14}
  patient-cadavericDonor:
    url: h
    type: Extension
    index: 3
    elements:
      valueBoolean:
        index: 4
        slicing:
          slices:
            valueBoolean:
              match: {}
              schema: {index: 4}
class: profile
kind: resource
url: https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.3.0