PackagesCanonicalsLogsProblems
    Packages
    silth.fhir.th.extensions@1.0.0
    https://fhir-ig.sil-th.org/th/extensions/StructureDefinition/ex-th-patient-nationality
description: สัญชาติของผู้ป่วย
package_name: silth.fhir.th.extensions
derivation: constraint
name: THPatientNationality
type: Extension
elements:
  extension:
    index: 0
    slicing:
      slices:
        code:
          match: {}
          schema:
            index: 0
            elements:
              value[x]:
                elements:
                  coding:
                    index: 1
                    slicing:
                      rules: open
                      discriminator:
                      - {path: system, type: value}
                      min: null
                      slices:
                        iso3166:
                          match: {system: 'urn:iso:std:iso:3166'}
                          schema:
                            binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-3'}
                            mustSupport: true
                            index: 2
                            elements:
                              system:
                                pattern: {type: Uri, value: 'urn:iso:std:iso:3166'}
                                index: 3
                            required: [system]
                        thcc:
                          match: {system: 'https://terms.sil-th.org/core/CodeSystem/cs-thcc-nationality'}
                          schema:
                            binding: {strength: extensible, valueSet: 'https://terms.sil-th.org/core/ValueSet/vs-thcc-nationality'}
                            mustSupport: true
                            index: 4
                            elements:
                              system:
                                pattern: {type: Uri, value: 'https://terms.sil-th.org/core/CodeSystem/cs-thcc-nationality'}
                                index: 5
                            required: [system]
package_version: 1.0.0
extensions:
  code:
    url: null
    index: 0
    elements:
      value[x]:
        elements:
          coding:
            index: 1
            slicing:
              rules: open
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                iso3166:
                  match: {system: 'urn:iso:std:iso:3166'}
                  schema:
                    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-3'}
                    mustSupport: true
                    index: 2
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:iso:std:iso:3166'}
                        index: 3
                    required: [system]
                thcc:
                  match: {system: 'https://terms.sil-th.org/core/CodeSystem/cs-thcc-nationality'}
                  schema:
                    binding: {strength: extensible, valueSet: 'https://terms.sil-th.org/core/ValueSet/vs-thcc-nationality'}
                    mustSupport: true
                    index: 4
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://terms.sil-th.org/core/CodeSystem/cs-thcc-nationality'}
                        index: 5
                    required: [system]
class: extension
kind: complex-type
url: https://fhir-ig.sil-th.org/th/extensions/StructureDefinition/ex-th-patient-nationality
base: http://hl7.org/fhir/StructureDefinition/patient-nationality
version: 1.0.0