PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales@0.0.1-discovery
    https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient
description: null
package_name: fhir.r4.wales
derivation: constraint
name: DataStandardsWalesPatient
type: Patient
elements:
  address:
    mustSupport: true
    index: 43
    elements:
      postalCode: {mustSupport: true, index: 44}
  managingOrganization:
    type: Reference
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization']
    index: 48
  name: {mustSupport: true, index: 37}
  birthDate: {mustSupport: true, index: 40}
  deceased:
    mustSupport: true
    choices: []
    index: 42
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        birthSex:
          match: {url: null}
          schema: {mustSupport: true, index: 1}
          min: 0
        ethnicCategory:
          match: {url: null}
          schema: {mustSupport: true, index: 2}
          min: 0
        patientReligion:
          match: {url: null}
          schema: {mustSupport: true, index: 3}
          min: 0
  active: {mustSupport: true, index: 36}
  communication:
    elements:
      language: {mustSupport: true, index: 46}
  identifier:
    mustSupport: true
    index: 4
    slicing:
      slices:
        vunhstCaniscIdentifier:
          match: {}
          schema:
            short: Velindre Universtity NHS Trust Canisc (PAS) patient identifier
            index: 33
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.vunhst.nhs.wales/Id/canisc-identifier'}
                type: uri
                index: 34
              value: {index: 35}
            required: [system, value]
        pthbPasIdentifier:
          match: {}
          schema:
            short: Powys Teaching Health Board PAS patient identifier
            index: 27
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.pthb.nhs.wales/Id/pas-identifier'}
                type: uri
                index: 28
              value: {index: 29}
            required: [system, value]
        cavuhbPasIdentifier:
          match: {}
          schema:
            index: 18
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.cavuhb.nhs.wales/Id/pas-identifier'}
                type: uri
                index: 19
              value: {index: 20}
            required: [system, value]
        bcuhbWestPasIdentifier:
          match: {}
          schema:
            short: Betsi Cadwaladr University Health Board West PAS patient identifier
            index: 15
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.bcuhb.nhs.wales/Id/west-pas-identifier'}
                type: uri
                index: 16
              value: {index: 17}
            required: [system, value]
        bcuhbEastPasIdentifier:
          match: {}
          schema:
            short: Betsi Cadwaladr University Health Board East PAS patient identifier
            index: 12
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.bcuhb.nhs.wales/Id/east-pas-identifier'}
                type: uri
                index: 13
              value: {index: 14}
            required: [system, value]
        ctmuhbPasIdentifier:
          match: {}
          schema:
            short: Cwm Taf Morgannwg University Health Board PAS patient identifier
            index: 21
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.ctmuhb.nhs.wales/Id/pas-identifier'}
                type: uri
                index: 22
              value: {index: 23}
            required: [system, value]
        sbuhbPasIdentifier:
          match: {}
          schema:
            short: Swansea Bay University Health Board PAS patient identifier
            index: 30
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.sbuhb.nhs.wales/Id/pas-identifier'}
                type: uri
                index: 31
              value: {index: 32}
            required: [system, value]
        abhbPasIdentifier:
          match: {}
          schema:
            short: Aneurin Bevan University Health Board PAS patient identifier
            index: 6
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.abuhb.nhs.wales/Id/pas-identifier'}
                type: uri
                index: 7
              value: {index: 8}
            required: [system, value]
        bcuhbCentralPasIdentifier:
          match: {}
          schema:
            short: Betsi Cadwaladr University Health Board Central PAS patient identifier
            index: 9
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.bcuhb.nhs.wales/Id/central-pas-identifier'}
                type: uri
                index: 10
              value: {index: 11}
            required: [system, value]
        hduhbPasIdentifier:
          match: {}
          schema:
            short: Hywel Dda University Health Board PAS patient identifier
            index: 24
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.hduhb.nhs.wales/Id/pas-identifier'}
                type: uri
                index: 25
              value: {index: 26}
            required: [system, value]
        nhsNumber:
          match: {}
          schema: {mustSupport: true, index: 5}
  telecom: {mustSupport: true, index: 38}
  generalPractitioner:
    type: Reference
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization']
    index: 47
  gender: {mustSupport: true, index: 39}
  maritalStatus: {mustSupport: true, index: 45}
package_version: 0.0.1-discovery
extensions:
  birthSex: {url: null, min: 0, mustSupport: true, index: 1}
  ethnicCategory: {url: null, min: 0, mustSupport: true, index: 2}
  patientReligion: {url: null, min: 0, mustSupport: true, index: 3}
class: profile
kind: resource
url: https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient
base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient
version: null