PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales.stu1@1.1.1
    https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-DemographicsAsRecorded
description: An extension to carry the demographics details that were present as at the time of the care record change
package_name: fhir.r4.wales.stu1
derivation: constraint
name: ExtensionDataStandardsWalesDemographicsAsRecorded
type: Extension
elements:
  extension:
    short: Address as at time of record change
    index: 0
    slicing:
      slices:
        Address:
          match: {}
          schema:
            short: Address as at time of record change
            index: 0
            elements:
              url:
                pattern: {type: uri, value: 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-CDR-demographicsAsRecorded-address'}
                type: uri
                index: 1
              value:
                short: Address as at time of care record change
                choices: [valueAddress]
                index: 3
              valueAddress: {type: Address, short: Address as at time of care record change, choiceOf: value, index: 4}
        Gender:
          match: {}
          schema:
            short: Gender as at time of record change
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1'}
            index: 5
            elements:
              url:
                pattern: {type: uri, value: 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-CDR-demographicsAsRecorded-gender'}
                type: uri
                index: 6
              value:
                short: male | female | other | unknown
                choices: [valueCode]
                index: 8
              valueCode: {type: code, short: male | female | other | unknown, choiceOf: value, index: 9}
        Name:
          match: {}
          schema:
            short: Name as at time of record change
            index: 10
            elements:
              url:
                pattern: {type: uri, value: 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-CDR-demographicsAsRecorded-name'}
                type: uri
                index: 11
              value:
                short: Name as at time of record change
                choices: [valueHumanName]
                index: 13
              valueHumanName: {type: HumanName, short: Name as at time of record change, choiceOf: value, index: 14}
        birthDate:
          match: {}
          schema:
            short: Date of Birth as at time of record change
            index: 15
            elements:
              url:
                pattern: {type: uri, value: 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-CDR-demographicsAsRecorded-birthDate'}
                type: uri
                index: 16
              value:
                choices: [valueDateTime]
                index: 18
              valueDateTime: {type: dateTime, choiceOf: value, index: 19}
        PAS-Identifier:
          match: {}
          schema:
            short: PAS Identifier as at time of record change
            index: 20
            elements:
              url:
                pattern: {type: uri, value: 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-CDR-demographicsAsRecorded-pas-identifier'}
                type: uri
                index: 21
              value:
                choices: [valueIdentifier]
                index: 23
              valueIdentifier: {type: Identifier, choiceOf: value, index: 24}
  url:
    pattern: {type: uri, value: 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-demographicsAsRecorded'}
    type: uri
    index: 25
  value:
    choices: []
    index: 27
package_version: 1.1.1
extensions:
  Address:
    url: null
    short: Address as at time of record change
    index: 0
    elements:
      url:
        pattern: {type: uri, value: 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-CDR-demographicsAsRecorded-address'}
        type: uri
        index: 1
      value:
        short: Address as at time of care record change
        choices: [valueAddress]
        index: 3
      valueAddress: {type: Address, short: Address as at time of care record change, choiceOf: value, index: 4}
  Gender:
    url: null
    short: Gender as at time of record change
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1'}
    index: 5
    elements:
      url:
        pattern: {type: uri, value: 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-CDR-demographicsAsRecorded-gender'}
        type: uri
        index: 6
      value:
        short: male | female | other | unknown
        choices: [valueCode]
        index: 8
      valueCode: {type: code, short: male | female | other | unknown, choiceOf: value, index: 9}
  Name:
    url: null
    short: Name as at time of record change
    index: 10
    elements:
      url:
        pattern: {type: uri, value: 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-CDR-demographicsAsRecorded-name'}
        type: uri
        index: 11
      value:
        short: Name as at time of record change
        choices: [valueHumanName]
        index: 13
      valueHumanName: {type: HumanName, short: Name as at time of record change, choiceOf: value, index: 14}
  birthDate:
    url: null
    short: Date of Birth as at time of record change
    index: 15
    elements:
      url:
        pattern: {type: uri, value: 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-CDR-demographicsAsRecorded-birthDate'}
        type: uri
        index: 16
      value:
        choices: [valueDateTime]
        index: 18
      valueDateTime: {type: dateTime, choiceOf: value, index: 19}
  PAS-Identifier:
    url: null
    short: PAS Identifier as at time of record change
    index: 20
    elements:
      url:
        pattern: {type: uri, value: 'https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-CDR-demographicsAsRecorded-pas-identifier'}
        type: uri
        index: 21
      value:
        choices: [valueIdentifier]
        index: 23
      valueIdentifier: {type: Identifier, choiceOf: value, index: 24}
class: extension
kind: complex-type
url: https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-DemographicsAsRecorded
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.0.1