PackagesCanonicalsLogsProblems
    Packages
    rs/gpc.stu3.fhir@assets-1.1.0
    https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-RegistrationDetails-1
description: This extension is constrained to represent the additional registration information for a patient.
package_name: rs/gpc.stu3.fhir
derivation: constraint
name: Extension-CareConnect-GPC-RegistrationDetails-1
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        registrationPeriod:
          match: {url: registrationPeriod}
          schema:
            short: The period of time during which the Patient registration applies
            index: 1
            elements:
              url:
                pattern: {type: uri, value: registrationPeriod}
                type: uri
                index: 2
              valuePeriod:
                type: Period
                short: The period of time during which the Patient registration applies.
                index: 3
                slicing:
                  slices:
                    valuePeriod:
                      match: {}
                      schema: {type: Period, short: The period of time during which the Patient registration applies., _required: true, index: 3}
                      min: 1
            required: [valuePeriod]
        registrationType:
          match: {url: registrationType}
          schema:
            short: The type of patient registration at the healthcare organisation
            index: 4
            elements:
              url:
                pattern: {type: uri, value: registrationType}
                type: uri
                index: 5
              valueCodeableConcept:
                type: CodeableConcept
                short: The type of registration for a patient at a healthcare organisation.
                index: 6
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, short: The type of registration for a patient at a healthcare organisation., _required: true, index: 6}
                      min: 1
            required: [valueCodeableConcept]
        registrationStatus:
          match: {url: registrationStatus}
          schema:
            short: The registration status for this patient at the healthcare organisation
            index: 7
            elements:
              url:
                pattern: {type: uri, value: registrationStatus}
                type: uri
                index: 8
              valueCodeableConcept:
                type: CodeableConcept
                short: The status of registration for a patient at the healthcare organisation
                index: 9
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, short: The status of registration for a patient at the healthcare organisation, _required: true, index: 9}
                      min: 1
            required: [valueCodeableConcept]
        preferredBranchSurgery:
          match: {url: preferredBranchSurgery}
          schema:
            index: 10
            elements:
              url:
                pattern: {type: uri, value: preferredBranchSurgery}
                type: uri
                index: 11
              valueReference:
                type: Reference
                short: Location of usual branch surgery
                refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Location-1']
                index: 12
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        type: Reference
                        short: Location of usual branch surgery
                        refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Location-1']
                        index: 12
  url:
    pattern: {type: uri, value: 'https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-RegistrationDetails-1'}
    type: uri
    index: 13
  value:
    choices: []
    index: 15
package_version: assets-1.1.0
extensions:
  registrationPeriod:
    url: registrationPeriod
    short: The period of time during which the Patient registration applies
    index: 1
    elements:
      url:
        pattern: {type: uri, value: registrationPeriod}
        type: uri
        index: 2
      valuePeriod:
        type: Period
        short: The period of time during which the Patient registration applies.
        index: 3
        slicing:
          slices:
            valuePeriod:
              match: {}
              schema: {type: Period, short: The period of time during which the Patient registration applies., _required: true, index: 3}
              min: 1
    required: [valuePeriod]
  registrationType:
    url: registrationType
    short: The type of patient registration at the healthcare organisation
    index: 4
    elements:
      url:
        pattern: {type: uri, value: registrationType}
        type: uri
        index: 5
      valueCodeableConcept:
        type: CodeableConcept
        short: The type of registration for a patient at a healthcare organisation.
        index: 6
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, short: The type of registration for a patient at a healthcare organisation., _required: true, index: 6}
              min: 1
    required: [valueCodeableConcept]
  registrationStatus:
    url: registrationStatus
    short: The registration status for this patient at the healthcare organisation
    index: 7
    elements:
      url:
        pattern: {type: uri, value: registrationStatus}
        type: uri
        index: 8
      valueCodeableConcept:
        type: CodeableConcept
        short: The status of registration for a patient at the healthcare organisation
        index: 9
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, short: The status of registration for a patient at the healthcare organisation, _required: true, index: 9}
              min: 1
    required: [valueCodeableConcept]
  preferredBranchSurgery:
    url: preferredBranchSurgery
    index: 10
    elements:
      url:
        pattern: {type: uri, value: preferredBranchSurgery}
        type: uri
        index: 11
      valueReference:
        type: Reference
        short: Location of usual branch surgery
        refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Location-1']
        index: 12
        slicing:
          slices:
            valueReference:
              match: {}
              schema:
                type: Reference
                short: Location of usual branch surgery
                refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Location-1']
                index: 12
class: extension
kind: complex-type
url: https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-RegistrationDetails-1
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0