PackagesCanonicalsLogsProblems
    Packages
    silth.fhir.th.mophpc1@0.1.1
    https://fhir-ig.sil-th.org/th/mophpc1/StructureDefinition/mophpc-medicationadministration-base
description: การบริหารยา
package_name: silth.fhir.th.mophpc1
derivation: constraint
name: MophPcMedicationAdministrationBase
type: MedicationAdministration
elements:
  status: {mustSupport: true, index: 0}
  medication:
    mustSupport: true
    choices: [medicationCodeableConcept]
    index: 2
  medicationCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: medication, index: 3}
  medication[x]:
    elements:
      coding:
        index: 4
        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: 5
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://terms.sil-th.org/core/CodeSystem/cs-th-tmt'}
                    index: 6
                  code: {index: 7}
                required: [system, code]
            local:
              match: {system: 'https://terms.sil-th.org/core/CodeSystem/cs-th-local-drug-code'}
              schema:
                short: รหัสยาของสถานพยาบาล
                mustSupport: true
                index: 8
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://terms.sil-th.org/core/CodeSystem/cs-th-local-drug-code'}
                    index: 9
                  code: {index: 10}
                required: [system, code]
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://fhir-ig.sil-th.org/th/mophpc1/StructureDefinition/mophpc-patient-base']
    index: 11
  context:
    type: Reference
    mustSupport: true
    refers: ['https://fhir-ig.sil-th.org/th/mophpc1/StructureDefinition/mophpc-encounter-base']
    index: 12
  effective:
    choices: []
    index: 14
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        effectivePeriod:
          match: {}
          schema:
            mustSupport: true
            choices: [effectivePeriod]
            index: 16
          min: 0
          max: 1
  effectivePeriod:
    type: Period
    mustSupport: true
    choiceOf: effective
    index: 17
    slicing:
      slices:
        effectivePeriod:
          match: {}
          schema: {type: Period, mustSupport: true, choiceOf: effective, index: 17}
          min: 0
          max: 1
package_version: 0.1.1
class: profile
kind: resource
url: https://fhir-ig.sil-th.org/th/mophpc1/StructureDefinition/mophpc-medicationadministration-base
base: http://hl7.org/fhir/StructureDefinition/MedicationAdministration
version: 0.1.1