PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.0.0
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-PDS-Baby-Patient-1
description: The Patient resource represents the patient involved in the provision of healthcare related services with further constraints applied to represent the baby, to support the PDS Birth Notification event message within the Events Management Service.
package_name: NHSD.Assets.STU3
derivation: constraint
name: CareConnect-EMS-PDS-Baby-Patient-1
type: Patient
elements:
  address:
    index: 47
    elements:
      use: {index: 48}
      text: {index: 49}
      line: {index: 50}
      city: {index: 51}
      district: {index: 52}
      state: {index: 53}
      postalCode: {index: 54}
      country: {index: 55}
  managingOrganization:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
    index: 80
  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: 43
    extensions:
      patient-birthTime:
        url: h
        type: Extension
        index: 45
        elements:
          valueDateTime:
            index: 46
            slicing:
              slices:
                valueDateTime:
                  match: {}
                  schema: {index: 46}
    elements:
      extension:
        index: 44
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            patient-birthTime:
              match: {url: null}
              schema:
                type: Extension
                url: h
                index: 45
                elements:
                  valueDateTime:
                    index: 46
                    slicing:
                      slices:
                        valueDateTime:
                          match: {}
                          schema: {index: 46}
  multipleBirthInteger:
    type: integer
    index: 64
    slicing:
      slices:
        multipleBirthInteger:
          match: {}
          schema: {type: integer, _required: true, index: 64}
          min: 1
  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: 65}
  link:
    elements:
      other:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-Patient-1']
        index: 81
  communication: {index: 78}
  animal: {index: 77}
  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}
      value: {index: 40}
      use: {index: 41}
    required: [value]
  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: 79
  gender: {index: 42}
  maritalStatus:
    index: 56
    elements:
      coding:
        index: 57
        elements:
          system: {index: 58}
          version: {index: 59}
          code: {index: 60}
          display: {index: 61}
          userSelected: {index: 62}
        required: [display, system, code]
      text: {index: 63}
    required: [coding]
  contact:
    elements:
      name:
        index: 66
        elements:
          use: {index: 67}
        required: [use]
      address:
        elements:
          text: {index: 68}
          line: {index: 69}
          city: {index: 70}
          district: {index: 71}
          state: {index: 72}
          postalCode: {index: 73}
          country: {index: 74}
      gender: {index: 75}
      organization:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 76
    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-PDS-Baby-Patient-1
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.1.0
required: [name, address, identifier, birthDate, multipleBirthInteger]