PackagesCanonicalsLogsProblems
    Packages
    silth.fhir.th.extensions@1.0.0
    https://fhir-ig.sil-th.org/th/extensions/StructureDefinition/ex-th-patient-religion
description: ความเชื่อทางศาสนาของผู้ป่วย
package_name: silth.fhir.th.extensions
derivation: constraint
name: THPatientExtensionReligion
type: Extension
elements:
  value[x]:
    elements:
      coding:
        index: 0
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            hl7:
              match: {system: 'http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation'}
              schema:
                binding: {strength: extensible, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ReligiousAffiliation'}
                mustSupport: true
                index: 1
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation'}
                    index: 2
                required: [system]
            thcc:
              match: {system: 'https://terms.sil-th.org/core/CodeSystem/cs-thcc-religion'}
              schema:
                binding: {strength: extensible, valueSet: 'https://terms.sil-th.org/core/ValueSet/vs-thcc-religion'}
                mustSupport: true
                index: 3
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://terms.sil-th.org/core/CodeSystem/cs-thcc-religion'}
                    index: 4
                required: [system]
package_version: 1.0.0
class: extension
kind: complex-type
url: https://fhir-ig.sil-th.org/th/extensions/StructureDefinition/ex-th-patient-religion
base: http://hl7.org/fhir/StructureDefinition/patient-religion
version: 1.0.0