PackagesCanonicalsLogsProblems
    Packages
    silth.fhir.th.mophpc1@0.1.1
    https://fhir-ig.sil-th.org/th/mophpc1/StructureDefinition/mophpc-medication-base
description: รายละเอียดยา
package_name: silth.fhir.th.mophpc1
derivation: constraint
name: MophPcMedicationBase
type: Medication
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        imageUrl:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://fhir-ig.sil-th.org/th/extensions/StructureDefinition/ex-medication-image-url', index: 1}
          min: 0
  code:
    mustSupport: true
    index: 2
    elements:
      coding:
        index: 3
        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
                mustSupport: true
                index: 4
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://terms.sil-th.org/core/CodeSystem/cs-th-tmt'}
                    index: 5
                  code: {index: 6}
                required: [system, code]
            local:
              match: {system: 'https://terms.sil-th.org/core/CodeSystem/cs-th-local-drug-code'}
              schema:
                short: รหัสยาของสถานพยาบาล
                mustSupport: true
                index: 7
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://terms.sil-th.org/core/CodeSystem/cs-th-local-drug-code'}
                    index: 8
                  code: {index: 9}
                required: [system, code]
  form:
    mustSupport: true
    index: 10
    elements:
      coding:
        index: 11
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomed:
              match: {system: 'http://snomed.info/sct'}
              schema:
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/medication-form-codes'}
                index: 12
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 13
                  code: {index: 14}
                required: [system, code]
            edqm:
              match: {system: 'http://standardterms.edqm.eu'}
              schema:
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/medicine-doseform'}
                index: 15
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://standardterms.edqm.eu'}
                    index: 16
                  code: {index: 17}
                required: [system, code]
  amount: {mustSupport: true, index: 18}
package_version: 0.1.1
extensions:
  imageUrl: {url: 'https://fhir-ig.sil-th.org/th/extensions/StructureDefinition/ex-medication-image-url', min: 0, type: Extension, mustSupport: true, index: 1}
class: profile
kind: resource
url: https://fhir-ig.sil-th.org/th/mophpc1/StructureDefinition/mophpc-medication-base
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 0.1.1
required: [amount, code]