PackagesCanonicalsLogsProblems
    Packages
    silth.fhir.th.mophpc1@0.1.1
    https://fhir-ig.sil-th.org/th/mophpc1/StructureDefinition/mophpc-observation-lab-base
description: การตรวจทางห้องปฏิบัติการ
package_name: silth.fhir.th.mophpc1
derivation: constraint
name: MophPcObservationLabBase
type: Observation
elements:
  category:
    mustSupport: true
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        hl7:
          match:
            coding:
            - {code: laboratory, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
          schema:
            binding: {strength: extensible, valueSet: 'http://terminology.hl7.org/ValueSet/observation-category'}
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: laboratory, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
            index: 2
          min: 0
          max: 1
  referenceRange: {short: ช่วงค่าอ้างอิง, mustSupport: true, index: 31}
  interpretation: {short: การแปรผลการตรวจ, mustSupport: true, index: 28}
  specimen:
    type: Reference
    short: สิ่งส่งตรวจ
    mustSupport: true
    refers: ['https://fhir-ig.sil-th.org/th/mophpc1/StructureDefinition/mophpc-specimen-base']
    index: 30
  valueQuantity: {type: Quantity, short: ผลของการตรวจทางห้องปฏิบัติการ, mustSupport: true, choiceOf: value, index: 21}
  value:
    short: ผลของการตรวจทางห้องปฏิบัติการ
    mustSupport: true
    choices: [valueQuantity, valueCodeableConcept, valueString, valueBoolean, valueInteger, valueRange, valueRatio]
    index: 20
  valueString: {type: string, short: ผลของการตรวจทางห้องปฏิบัติการ, mustSupport: true, choiceOf: value, index: 23}
  valueRatio: {type: Ratio, short: ผลของการตรวจทางห้องปฏิบัติการ, mustSupport: true, choiceOf: value, index: 27}
  valueBoolean: {type: boolean, short: ผลของการตรวจทางห้องปฏิบัติการ, mustSupport: true, choiceOf: value, index: 24}
  note: {short: หมายเหตุเพิ่มเติม, mustSupport: true, index: 29}
  effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 17}
  status: {mustSupport: true, index: 0}
  effective:
    mustSupport: true
    choices: [effectiveDateTime, effectivePeriod]
    index: 16
  code:
    short: รหัสการตรวจทางห้องปฏิบัติการ
    mustSupport: true
    index: 3
    elements:
      coding:
        index: 4
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            tmlt:
              match: {system: 'https://terms.sil-th.org/core/CodeSystem/cs-th-tmlt'}
              schema:
                short: รหัสมาตรฐาน TMLT
                binding: {strength: extensible, valueSet: 'https://terms.sil-th.org/core/ValueSet/th-tmlt'}
                mustSupport: true
                index: 5
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://terms.sil-th.org/core/CodeSystem/cs-th-tmlt'}
                    index: 6
                  code: {index: 7}
                required: [system, code]
            loinc:
              match: {system: 'http://loinc.org'}
              schema:
                short: รหัสมาตรฐาน LOINC
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/observation-codes'}
                mustSupport: true
                index: 8
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    index: 9
                  code: {index: 10}
                required: [system, code]
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                short: รหัสมาตรฐาน SNOMED CT
                binding: {strength: extensible, valueSet: 'https://terms.sil-th.org/core/ValueSet/vs-snomed-int'}
                index: 11
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 12
                  code: {index: 13}
                required: [system, code]
  valueCodeableConcept: {type: CodeableConcept, short: ผลของการตรวจทางห้องปฏิบัติการ, mustSupport: true, choiceOf: value, index: 22}
  valueRange: {type: Range, short: ผลของการตรวจทางห้องปฏิบัติการ, mustSupport: true, choiceOf: value, index: 26}
  valueInteger: {type: integer, short: ผลของการตรวจทางห้องปฏิบัติการ, mustSupport: true, choiceOf: value, index: 25}
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://fhir-ig.sil-th.org/th/mophpc1/StructureDefinition/mophpc-patient-base']
    index: 14
  effectivePeriod: {type: Period, mustSupport: true, choiceOf: effective, index: 18}
package_version: 0.1.1
class: profile
kind: resource
url: https://fhir-ig.sil-th.org/th/mophpc1/StructureDefinition/mophpc-observation-lab-base
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.1.1
required: [subject]