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