PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales.stu1@1.1.1
    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: 56
    elements:
      postalCode: {mustSupport: true, index: 57}
  managingOrganization:
    type: Reference
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization']
    index: 61
  name:
    mustSupport: true
    index: 46
    elements:
      family: {mustSupport: true, index: 47}
      given: {mustSupport: true, index: 48}
      prefix:
        binding: {strength: extensible, valueSet: 'https://fhir.nhs.wales/ValueSet/DataStandardsWales-Title'}
        mustSupport: true
        index: 49
      suffix: {mustSupport: true, index: 50}
  birthDate: {mustSupport: true, index: 53}
  deceased:
    mustSupport: true
    choices: []
    index: 55
  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]
        cdrPatientRecordType:
          match: {url: null}
          schema: {type: Extension, isModifier: false, url: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-CDR-PatientRecordType', index: 8}
          max: 1
        cdrSourceTimestamp:
          match: {url: null}
          schema: {type: Extension, isModifier: false, url: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-CDR-SourceTimestamp', index: 9}
          max: 1
  active: {mustSupport: true, index: 45}
  communication:
    elements:
      language: {mustSupport: true, index: 59}
  identifier:
    mustSupport: true
    index: 10
    slicing:
      slices:
        vunhstCaniscIdentifier:
          match: {}
          schema:
            short: Velindre Universtity NHS Trust Canisc (PAS) patient identifier
            index: 39
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.vunhst.nhs.wales/Id/canisc-identifier'}
                type: uri
                index: 40
              value: {index: 41}
            required: [system, value]
        pthbPasIdentifier:
          match: {}
          schema:
            short: Powys Teaching Health Board PAS patient identifier
            index: 33
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.pthb.nhs.wales/Id/pas-identifier'}
                type: uri
                index: 34
              value: {index: 35}
            required: [system, value]
        cavuhbPasIdentifier:
          match: {}
          schema:
            index: 24
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.cavuhb.nhs.wales/Id/pas-identifier'}
                type: uri
                index: 25
              value: {index: 26}
            required: [system, value]
        bcuhbWestPasIdentifier:
          match: {}
          schema:
            short: Betsi Cadwaladr University Health Board West PAS patient identifier
            index: 21
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.bcuhb.nhs.wales/Id/west-pas-identifier'}
                type: uri
                index: 22
              value: {index: 23}
            required: [system, value]
        vunhstPasIdentifier:
          match: {}
          schema:
            short: Velindre Universtity NHS Trust PAS patient identifier
            index: 42
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.vunhst.nhs.wales/Id/pas-identifier'}
                type: uri
                index: 43
              value: {index: 44}
            required: [system, value]
        bcuhbEastPasIdentifier:
          match: {}
          schema:
            short: Betsi Cadwaladr University Health Board East PAS patient identifier
            index: 18
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.bcuhb.nhs.wales/Id/east-pas-identifier'}
                type: uri
                index: 19
              value: {index: 20}
            required: [system, value]
        ctmuhbPasIdentifier:
          match: {}
          schema:
            short: Cwm Taf Morgannwg University Health Board PAS patient identifier
            index: 27
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.ctmuhb.nhs.wales/Id/pas-identifier'}
                type: uri
                index: 28
              value: {index: 29}
            required: [system, value]
        abuhbPasIdentifier:
          match: {}
          schema:
            short: Aneurin Bevan University Health Board PAS patient identifier
            index: 12
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.abuhb.nhs.wales/Id/pas-identifier'}
                type: uri
                index: 13
              value: {index: 14}
            required: [system, value]
        sbuhbPasIdentifier:
          match: {}
          schema:
            short: Swansea Bay University Health Board PAS patient identifier
            index: 36
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.sbuhb.nhs.wales/Id/pas-identifier'}
                type: uri
                index: 37
              value: {index: 38}
            required: [system, value]
        bcuhbCentralPasIdentifier:
          match: {}
          schema:
            short: Betsi Cadwaladr University Health Board Central PAS patient identifier
            index: 15
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.bcuhb.nhs.wales/Id/central-pas-identifier'}
                type: uri
                index: 16
              value: {index: 17}
            required: [system, value]
        hduhbPasIdentifier:
          match: {}
          schema:
            short: Hywel Dda University Health Board PAS patient identifier
            index: 30
            elements:
              system:
                pattern: {type: uri, value: 'https://fhir.hduhb.nhs.wales/Id/pas-identifier'}
                type: uri
                index: 31
              value: {index: 32}
            required: [system, value]
        nhsNumber:
          match: {}
          schema: {mustSupport: true, index: 11}
  telecom: {mustSupport: true, index: 51}
  generalPractitioner:
    type: Reference
    refers: ['https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization']
    index: 60
  gender: {mustSupport: true, index: 52}
  maritalStatus: {mustSupport: true, index: 58}
package_version: 1.1.1
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]
  cdrPatientRecordType: {url: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-CDR-PatientRecordType', max: 1, type: Extension, isModifier: false, index: 8}
  cdrSourceTimestamp: {url: 'https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-CDR-SourceTimestamp', max: 1, type: Extension, isModifier: false, index: 9}
class: profile
kind: resource
url: https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient
base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient
version: 1.1.0