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