PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.0.0
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-Patient-1
description: The Patient resource represents the patient involved in the provision of healthcare related services, with further constraints applied to represent the patient as the subject of an event message.
package_name: NHSD.Assets.STU3
derivation: constraint
name: CareConnect-EMS-Patient-1
type: Patient
elements:
  address:
    elements:
      use: {index: 46}
      text: {index: 47}
      line: {index: 48}
      city: {index: 49}
      district: {index: 50}
      state: {index: 51}
      postalCode: {index: 52}
      country: {index: 53}
  managingOrganization:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
    index: 77
  name:
    index: 33
    slicing:
      rules: openAtEnd
      ordered: false
      discriminator:
      - {path: use, type: value}
      min: 1
      slices:
        official:
          match: {use: official}
          schema:
            _required: true
            index: 34
            elements:
              use:
                pattern: {type: Code, value: official}
                index: 35
              family: {index: 36}
            required: [family, use]
        other:
          match: {use: null}
          schema:
            index: 37
            elements:
              use: {index: 38}
            required: [use]
  birthDate:
    index: 42
    extensions:
      patient-birthTime:
        url: h
        type: Extension
        index: 44
        elements:
          valueDateTime:
            index: 45
            slicing:
              slices:
                valueDateTime:
                  match: {}
                  schema: {index: 45}
    elements:
      extension:
        index: 43
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            patient-birthTime:
              match: {url: null}
              schema:
                type: Extension
                url: h
                index: 44
                elements:
                  valueDateTime:
                    index: 45
                    slicing:
                      slices:
                        valueDateTime:
                          match: {}
                          schema: {index: 45}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        nominatedPharmacy:
          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NominatedPharmacy-1'}
          schema:
            type: Extension
            url: h
            index: 14
            elements:
              url:
                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NominatedPharmacy-1'}
                index: 15
        religiousAffiliation:
          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ReligiousAffiliation-1'}
          schema:
            type: Extension
            url: h
            index: 3
            elements:
              url:
                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ReligiousAffiliation-1'}
                index: 4
        residentialStatus:
          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ResidentialStatus-1'}
          schema:
            type: Extension
            short: The residential status of the patient
            url: h
            index: 7
            elements:
              url:
                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ResidentialStatus-1'}
                index: 8
        nhsCommunication:
          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSCommunication-1'}
          schema:
            type: Extension
            url: h
            index: 11
            elements:
              url:
                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSCommunication-1'}
                index: 12
        treatmentCategory:
          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-TreatmentCategory-1'}
          schema:
            type: Extension
            url: h
            index: 9
            elements:
              url:
                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-TreatmentCategory-1'}
                index: 10
        ethnicCategory:
          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-EthnicCategory-1'}
          schema:
            type: Extension
            url: h
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-EthnicCategory-1'}
                index: 2
        deathNotificationStatus:
          match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-DeathNotificationStatus-1'}
          schema:
            type: Extension
            url: h
            index: 16
            elements:
              url:
                pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-DeathNotificationStatus-1'}
                index: 17
        birthPlace:
          match: {url: null}
          schema: {type: Extension, url: h, index: 13}
        patient-cadavericDonor:
          match: {url: null}
          schema:
            type: Extension
            url: h
            index: 5
            elements:
              valueBoolean:
                index: 6
                slicing:
                  slices:
                    valueBoolean:
                      match: {}
                      schema: {index: 6}
  photo: {index: 62}
  link:
    short: Link to another resource that concerns the same actual person
    index: 78
    elements:
      other:
        type: Reference
        refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-Patient-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/EMS-PDS-RelatedPerson-1']
        index: 79
        elements:
          reference: {index: 80}
        required: [reference]
      type: {index: 81}
  communication: {index: 75}
  animal: {index: 74}
  identifier:
    index: 18
    slicing:
      rules: openAtEnd
      ordered: false
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        nhsNumber:
          match: {system: 'https://fhir.nhs.uk/Id/nhs-number'}
          schema:
            short: The patient's NHS number
            _required: true
            index: 19
            extensions:
              nhsNumberVerificationStatus:
                url: h
                type: Extension
                index: 21
                elements:
                  url:
                    pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1'}
                    index: 22
            elements:
              extension:
                index: 20
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    nhsNumberVerificationStatus:
                      match: {url: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1'}
                      schema:
                        type: Extension
                        url: h
                        index: 21
                        elements:
                          url:
                            pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1'}
                            index: 22
              use: {index: 23}
              type: {index: 24}
              system:
                pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/nhs-number'}
                index: 25
              value: {index: 26}
              period: {index: 27}
              assigner:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
                index: 28
            required: [value, system]
        localIdentifier:
          match: {system: 'https://fhir.nhs.uk/Id/local-patient-identifier'}
          schema:
            short: The patient's other identifiers
            index: 29
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/local-patient-identifier'}
                index: 30
              value: {index: 31}
              assigner:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
                index: 32
            required: [value, system]
  telecom:
    elements:
      system: {index: 39}
      use: {index: 40}
  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: 76
  gender: {index: 41}
  maritalStatus:
    index: 54
    elements:
      coding:
        index: 55
        elements:
          system: {index: 56}
          version: {index: 57}
          code: {index: 58}
          display: {index: 59}
          userSelected: {index: 60}
        required: [display, system, code]
      text: {index: 61}
    required: [coding]
  contact:
    elements:
      name:
        index: 63
        elements:
          use: {index: 64}
        required: [use]
      address:
        elements:
          text: {index: 65}
          line: {index: 66}
          city: {index: 67}
          district: {index: 68}
          state: {index: 69}
          postalCode: {index: 70}
          country: {index: 71}
      gender: {index: 72}
      organization:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 73
    required: [name]
package_version: 1.0.0
extensions:
  nominatedPharmacy:
    url: h
    type: Extension
    index: 14
    elements:
      url:
        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NominatedPharmacy-1'}
        index: 15
  religiousAffiliation:
    url: h
    type: Extension
    index: 3
    elements:
      url:
        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ReligiousAffiliation-1'}
        index: 4
  residentialStatus:
    url: h
    type: Extension
    short: The residential status of the patient
    index: 7
    elements:
      url:
        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ResidentialStatus-1'}
        index: 8
  nhsCommunication:
    url: h
    type: Extension
    index: 11
    elements:
      url:
        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSCommunication-1'}
        index: 12
  treatmentCategory:
    url: h
    type: Extension
    index: 9
    elements:
      url:
        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-TreatmentCategory-1'}
        index: 10
  ethnicCategory:
    url: h
    type: Extension
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-EthnicCategory-1'}
        index: 2
  deathNotificationStatus:
    url: h
    type: Extension
    index: 16
    elements:
      url:
        pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-DeathNotificationStatus-1'}
        index: 17
  birthPlace: {url: h, type: Extension, index: 13}
  patient-cadavericDonor:
    url: h
    type: Extension
    index: 5
    elements:
      valueBoolean:
        index: 6
        slicing:
          slices:
            valueBoolean:
              match: {}
              schema: {index: 6}
class: profile
kind: resource
url: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-Patient-1
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.1.0
required: [name, identifier, birthDate]