PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.5.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: NHSD.Assets.STU3
derivation: constraint
name: CareConnect-Patient-1
type: Patient
elements:
  address:
    elements:
      text: {index: 26}
      line: {index: 27}
      city: {index: 28}
      district: {index: 29}
      postalCode: {index: 30}
      country: {index: 31}
  managingOrganization:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
    index: 50
  name:
    index: 17
    slicing:
      rules: openAtEnd
      ordered: false
      discriminator:
      - {path: use, type: value}
      min: null
      slices:
        official:
          match: {use: official}
          schema:
            _required: true
            index: 18
            elements:
              use:
                pattern: {type: Code, value: official}
                index: 19
              family: {index: 20}
            required: [family, use]
  birthDate:
    extensions:
      patient-birthTime: {url: h, type: Extension, index: 25}
    elements:
      extension:
        index: 24
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            patient-birthTime:
              match: {url: null}
              schema: {type: Extension, url: h, index: 25}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        nominatedPharmacy:
          match: {url: null}
          schema: {type: Extension, url: h, index: 8}
        religiousAffiliation:
          match: {url: null}
          schema: {type: Extension, url: h, index: 2}
          max: 1
        residentialStatus:
          match: {url: null}
          schema: {type: Extension, short: The residential status of the patient, url: h, index: 4}
        nhsCommunication:
          match: {url: null}
          schema: {type: Extension, url: h, index: 6}
        treatmentCategory:
          match: {url: null}
          schema: {type: Extension, url: h, index: 5}
        ethnicCategory:
          match: {url: null}
          schema: {type: Extension, url: h, index: 1}
          max: 1
        deathNotificationStatus:
          match: {url: null}
          schema: {type: Extension, url: h, index: 9}
          max: 1
        birthPlace:
          match: {url: null}
          schema: {type: Extension, url: h, index: 7}
        patient-cadavericDonor:
          match: {url: null}
          schema: {type: Extension, url: h, index: 3}
          max: 1
  link:
    elements:
      other:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
        index: 51
  communication: {index: 48}
  animal: {index: 47}
  identifier:
    index: 10
    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: 11
            extensions:
              nhsNumberVerificationStatus: {url: h, min: 1, max: 1, type: Extension, index: 13}
            elements:
              extension:
                index: 12
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    nhsNumberVerificationStatus:
                      match: {url: null}
                      schema: {type: Extension, url: h, index: 13}
                      min: 1
                      max: 1
              system:
                pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/nhs-number'}
                index: 14
              value: {index: 15}
              assigner:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
                index: 16
            required: [value, system]
  telecom:
    elements:
      system: {index: 21}
      value: {index: 22}
    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: 49
  gender: {index: 23}
  maritalStatus:
    index: 32
    elements:
      coding:
        index: 33
        elements:
          system: {index: 34}
          code: {index: 35}
          display: {index: 36}
        required: [display, system, code]
    required: [coding]
  contact:
    elements:
      name:
        index: 37
        elements:
          use: {index: 38}
        required: [use]
      address:
        elements:
          text: {index: 39}
          line: {index: 40}
          city: {index: 41}
          district: {index: 42}
          postalCode: {index: 43}
          country: {index: 44}
      gender: {index: 45}
      organization:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 46
    required: [name]
package_version: 1.5.0
extensions:
  nominatedPharmacy: {url: h, type: Extension, index: 8}
  religiousAffiliation: {url: h, max: 1, type: Extension, index: 2}
  residentialStatus: {url: h, type: Extension, short: The residential status of the patient, index: 4}
  nhsCommunication: {url: h, type: Extension, index: 6}
  treatmentCategory: {url: h, type: Extension, index: 5}
  ethnicCategory: {url: h, max: 1, type: Extension, index: 1}
  deathNotificationStatus: {url: h, max: 1, type: Extension, index: 9}
  birthPlace: {url: h, type: Extension, index: 7}
  patient-cadavericDonor: {url: h, max: 1, type: Extension, index: 3}
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