PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.5.0
    https://fhir.nhs.uk/STU3/StructureDefinition/Extension-RoutingDemographics-1
description: Demographic details including NHS number, Name and Date of Birth to allow Event Message Routing in Event Messaging.
package_name: NHSD.Assets.STU3
derivation: constraint
name: Extension-RoutingDemographics-1
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        nhsNumber:
          match: {url: nhsNumber}
          schema:
            short: The patient's NHS number
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: nhsNumber}
                index: 2
              valueIdentifier:
                type: Identifier
                index: 3
                slicing:
                  slices:
                    valueIdentifier:
                      match: {}
                      schema:
                        type: Identifier
                        index: 3
                        elements:
                          system:
                            pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/nhs-number'}
                            index: 4
                          value: {index: 5}
                          assigner:
                            type: Reference
                            refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
                            index: 6
                        required: [value, system]
        name:
          match: {url: name}
          schema:
            short: The patient's name
            index: 7
            elements:
              url:
                pattern: {type: Uri, value: name}
                index: 8
              valueHumanName:
                type: HumanName
                short: A name associated with the patient
                index: 9
                slicing:
                  slices:
                    valueHumanName:
                      match: {}
                      schema: {type: HumanName, short: A name associated with the patient, index: 9}
        birthDateTime:
          match: {url: birthDateTime}
          schema:
            short: The date of birth for the patient
            index: 10
            elements:
              url:
                pattern: {type: Uri, value: birthDateTime}
                index: 11
              valueDateTime:
                type: dateTime
                short: The date of birth for the individual
                index: 12
                slicing:
                  slices:
                    valueDateTime:
                      match: {}
                      schema: {type: dateTime, short: The date of birth for the individual, index: 12}
  url:
    pattern: {type: Uri, value: 'https://fhir.nhs.uk/STU3/StructureDefinition/Extension-RoutingDemographics-1'}
    index: 13
  value:
    choices: []
    index: 15
package_version: 1.5.0
extensions:
  nhsNumber:
    url: nhsNumber
    short: The patient's NHS number
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: nhsNumber}
        index: 2
      valueIdentifier:
        type: Identifier
        index: 3
        slicing:
          slices:
            valueIdentifier:
              match: {}
              schema:
                type: Identifier
                index: 3
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/nhs-number'}
                    index: 4
                  value: {index: 5}
                  assigner:
                    type: Reference
                    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1']
                    index: 6
                required: [value, system]
  name:
    url: name
    short: The patient's name
    index: 7
    elements:
      url:
        pattern: {type: Uri, value: name}
        index: 8
      valueHumanName:
        type: HumanName
        short: A name associated with the patient
        index: 9
        slicing:
          slices:
            valueHumanName:
              match: {}
              schema: {type: HumanName, short: A name associated with the patient, index: 9}
  birthDateTime:
    url: birthDateTime
    short: The date of birth for the patient
    index: 10
    elements:
      url:
        pattern: {type: Uri, value: birthDateTime}
        index: 11
      valueDateTime:
        type: dateTime
        short: The date of birth for the individual
        index: 12
        slicing:
          slices:
            valueDateTime:
              match: {}
              schema: {type: dateTime, short: The date of birth for the individual, index: 12}
class: extension
kind: complex-type
url: https://fhir.nhs.uk/STU3/StructureDefinition/Extension-RoutingDemographics-1
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.1.0