PackagesCanonicalsLogsProblems
    Packages
    tigacorehub.patient@1.1.23
    http://hl7.org/fhir/StructureDefinition/patient-nationality
description: The nationality of the patient.
package_name: tigacorehub.patient
derivation: constraint
name: nationality
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        code:
          match: {url: code}
          schema:
            short: Nationality Code
            index: 1
            elements:
              url:
                type: uri
                pattern: {type: Uri, value: code}
                index: 2
              value:
                choices: [valueCodeableConcept]
                index: 4
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 5}
            required: [value, valueCodeableConcept]
        period:
          match: {url: period}
          schema:
            short: Nationality Period
            index: 6
            elements:
              url:
                type: uri
                pattern: {type: Uri, value: period}
                index: 7
              value:
                choices: [valuePeriod]
                index: 9
              valuePeriod: {type: Period, choiceOf: value, index: 10}
            required: [valuePeriod, value]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/patient-nationality'}
    index: 11
  value:
    choices: []
    index: 13
package_version: 1.1.23
extensions:
  code:
    url: code
    short: Nationality Code
    index: 1
    elements:
      url:
        type: uri
        pattern: {type: Uri, value: code}
        index: 2
      value:
        choices: [valueCodeableConcept]
        index: 4
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 5}
    required: [value, valueCodeableConcept]
  period:
    url: period
    short: Nationality Period
    index: 6
    elements:
      url:
        type: uri
        pattern: {type: Uri, value: period}
        index: 7
      value:
        choices: [valuePeriod]
        index: 9
      valuePeriod: {type: Period, choiceOf: value, index: 10}
    required: [valuePeriod, value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/StructureDefinition/patient-nationality
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 4.0.1