PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.0.0
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-PDS-Mother-Patient-1
description: The Patient resource represents the patient involved in the provision of healthcare related services, with further constraints applied to represent the mother, to support the PDS Birth Notification event message within the Events Management Service.
package_name: NHSD.Assets.STU3
derivation: constraint
name: CareConnect-EMS-PDS-Mother-Patient-1
type: Patient
elements:
  address:
    elements:
      text: {index: 37}
      line: {index: 38}
      city: {index: 39}
      district: {index: 40}
      state: {index: 41}
      postalCode: {index: 42}
      country: {index: 43}
  managingOrganization:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
    index: 67
  name:
    index: 25
    slicing:
      rules: openAtEnd
      ordered: false
      discriminator:
      - {path: use, type: value}
      min: 1
      slices:
        official:
          match: {use: official}
          schema:
            _required: true
            index: 26
            elements:
              use:
                pattern: {type: Code, value: official}
                index: 27
              family: {index: 28}
            required: [family, use]
        other:
          match: {use: null}
          schema:
            index: 29
            elements:
              use: {index: 30}
            required: [use]
  birthDate:
    index: 34
    extensions:
      patient-birthTime: {url: h, type: Extension, index: 36}
    elements:
      extension:
        index: 35
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            patient-birthTime:
              match: {url: null}
              schema: {type: Extension, url: h, index: 36}
  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}
        registrationDetails:
          match: {url: null}
          schema: {type: Extension, short: Additional registration information for the Patient resource, url: h, index: 10}
          min: 0
        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, short: Ethnic category, url: h, index: 1}
          max: 1
        deathNotificationStatus:
          match: {url: null}
          schema: {type: Extension, url: h, index: 9}
        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
  photo: {index: 52}
  link:
    elements:
      other:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-Patient-1']
        index: 68
  communication: {index: 65}
  animal: {index: 64}
  identifier:
    index: 11
    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: 12
            extensions:
              nhsNumberVerificationStatus: {url: h, min: 1, max: 1, type: Extension, index: 14}
            elements:
              extension:
                index: 13
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    nhsNumberVerificationStatus:
                      match: {url: null}
                      schema: {type: Extension, url: h, index: 14}
                      min: 1
                      max: 1
              use: {index: 15}
              type: {index: 16}
              system:
                pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/nhs-number'}
                index: 17
              value: {index: 18}
              period: {index: 19}
              assigner:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
                index: 20
            required: [value, system]
        localIdentifier:
          match: {system: 'https://fhir.nhs.uk/Id/local-patient-identifier'}
          schema:
            short: The patient's other identifiers
            index: 21
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/local-patient-identifier'}
                index: 22
              value: {index: 23}
              assigner:
                type: Reference
                refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
                index: 24
            required: [value, system]
  telecom:
    elements:
      system: {index: 31}
      value: {index: 32}
    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: 66
  gender: {index: 33}
  maritalStatus:
    index: 44
    elements:
      coding:
        index: 45
        elements:
          system: {index: 46}
          version: {index: 47}
          code: {index: 48}
          display: {index: 49}
          userSelected: {index: 50}
        required: [display, system, code]
      text: {index: 51}
    required: [coding]
  contact:
    elements:
      name:
        index: 53
        elements:
          use: {index: 54}
        required: [use]
      address:
        elements:
          text: {index: 55}
          line: {index: 56}
          city: {index: 57}
          district: {index: 58}
          state: {index: 59}
          postalCode: {index: 60}
          country: {index: 61}
      gender: {index: 62}
      organization:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
        index: 63
    required: [name]
package_version: 1.0.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}
  registrationDetails: {url: h, min: 0, type: Extension, short: Additional registration information for the Patient resource, index: 10}
  nhsCommunication: {url: h, type: Extension, index: 6}
  treatmentCategory: {url: h, type: Extension, index: 5}
  ethnicCategory: {url: h, max: 1, type: Extension, short: Ethnic category, index: 1}
  deathNotificationStatus: {url: h, 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.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-PDS-Mother-Patient-1
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.1.0
required: [name, birthDate, generalPractitioner]