PackagesCanonicalsLogsProblems
    Packages
    silth.fhir.th.mophpc1@0.1.1
    https://fhir-ig.sil-th.org/th/mophpc1/StructureDefinition/mophpc-allergyintolerance-base
description: การแพ้ยาและสารอื่น ๆ
package_name: silth.fhir.th.mophpc1
derivation: constraint
name: MophPcAllergyIntoleranceBase
type: AllergyIntolerance
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        certainty:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://fhir-ig.sil-th.org/th/extensions/StructureDefinition/ex-allergyintolerance-allergy-certainty', index: 1}
          min: 0
          max: 1
        severityTH:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://fhir-ig.sil-th.org/th/extensions/StructureDefinition/ex-allergyintolerance-allergy-severity', index: 2}
          min: 0
          max: 1
        asserterType:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://fhir-ig.sil-th.org/th/extensions/StructureDefinition/ex-allergyintolerance-allergy-assert-type', index: 3}
          min: 0
          max: 1
        asserterOrg:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://fhir-ig.sil-th.org/th/extensions/StructureDefinition/ex-allergyintolerance-allergy-assert-org', index: 4}
          min: 0
          max: 1
  clinicalStatus:
    short: สถานะการแพ้
    mustSupport: true
    index: 5
    elements:
      coding:
        index: 6
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            hl7:
              match: {}
              schema:
                short: รหัสสถานะการแพ้จาก HL7
                binding: {strength: required, valueSet: 'http://terminology.hl7.org/ValueSet/allergyintolerance-clinical'}
                mustSupport: true
                index: 7
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical'}
                    index: 8
                  code: {index: 9}
                required: [system, code]
  code:
    short: ระบุชนิดยาที่แพ้ หรือสิ่งที่แพ้
    mustSupport: true
    index: 10
    elements:
      coding:
        mustSupport: true
        index: 11
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            tmt:
              match: {system: 'https://terms.sil-th.org/core/CodeSystem/cs-th-tmt'}
              schema:
                short: รหัสยามาตรฐาน TMT
                binding: {strength: extensible, valueSet: 'https://terms.sil-th.org/core/ValueSet/th-tmt'}
                mustSupport: true
                index: 12
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://terms.sil-th.org/core/CodeSystem/cs-th-tmt'}
                    index: 13
                  code: {index: 14}
                required: [system, code]
            local:
              match: {system: 'https://terms.sil-th.org/core/CodeSystem/cs-th-local-drug-code'}
              schema:
                short: รหัสยาของสถานพยาบาล
                mustSupport: true
                index: 15
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://terms.sil-th.org/core/CodeSystem/cs-th-local-drug-code'}
                    index: 16
                  code: {index: 17}
                required: [system, code]
            noAllergies:
              match: {system: 'http://hl7.org/fhir/uv/ips/CodeSystem/absent-unknown-uv-ips'}
              schema:
                short: ใช้ในกรณีไม่มีสิ่งที่แพ้ หรือไม่ทราบประวัติแพ้
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-allergies-uv-ips'}
                mustSupport: true
                index: 18
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://hl7.org/fhir/uv/ips/CodeSystem/absent-unknown-uv-ips'}
                    index: 19
                  code: {index: 20}
                required: [system, code]
  patient:
    type: Reference
    mustSupport: true
    refers: ['https://fhir-ig.sil-th.org/th/mophpc1/StructureDefinition/mophpc-patient-base']
    index: 21
  recordedDate: {mustSupport: true, index: 22}
  recorder:
    type: Reference
    short: ผู้บันทึกข้อมูล
    mustSupport: true
    refers: ['https://fhir-ig.sil-th.org/th/mophpc1/StructureDefinition/mophpc-practitioner-base']
    index: 23
  asserter: {short: ผู้ยืนยันข้อมูล, mustSupport: true, index: 24}
  reaction:
    short: เหตุการณ์ที่เกิดอาการแพ้
    mustSupport: true
    index: 25
    elements:
      manifestation: {short: ลักษณะอาการแพ้, mustSupport: true, index: 26}
      severity: {short: ระดับความรุนแรงของการแพ้, mustSupport: true, index: 27}
package_version: 0.1.1
extensions:
  certainty: {url: 'https://fhir-ig.sil-th.org/th/extensions/StructureDefinition/ex-allergyintolerance-allergy-certainty', min: 0, max: 1, type: Extension, mustSupport: true, index: 1}
  severityTH: {url: 'https://fhir-ig.sil-th.org/th/extensions/StructureDefinition/ex-allergyintolerance-allergy-severity', min: 0, max: 1, type: Extension, mustSupport: true, index: 2}
  asserterType: {url: 'https://fhir-ig.sil-th.org/th/extensions/StructureDefinition/ex-allergyintolerance-allergy-assert-type', min: 0, max: 1, type: Extension, mustSupport: true, index: 3}
  asserterOrg: {url: 'https://fhir-ig.sil-th.org/th/extensions/StructureDefinition/ex-allergyintolerance-allergy-assert-org', min: 0, max: 1, type: Extension, mustSupport: true, index: 4}
class: profile
kind: resource
url: https://fhir-ig.sil-th.org/th/mophpc1/StructureDefinition/mophpc-allergyintolerance-base
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: 0.1.1