PackagesCanonicalsLogsProblems
    Packages
    kr.mohw.myhealthway@1.0.2-beta.3
    https://hins.or.kr/fhir/MyHealthWay/StructureDefinition/myhealthway-medicationrequest
description: __MyHealthWay__ 의 약물처방 내역에 적용되는 MedicationRequest 구조.
package_name: kr.mohw.myhealthway
derivation: constraint
name: MyHealthWayMedicationRequestProfile
type: MedicationRequest
elements:
  encounter:
    type: Reference
    short: 내원정보
    mustSupport: true
    refers: ['https://hins.or.kr/fhir/MyHealthWay/StructureDefinition/myhealthway-encounter']
    index: 27
  medication[x]:
    elements:
      coding:
        index: 15
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            EDI:
              match: {system: 'http://www.hl7korea.or.kr/CodeSystem/hira-edi-medication'}
              schema:
                short: 정의된 코드
                binding: {strength: required, valueSet: 'http://www.hl7korea.or.kr/fhir/krcore/ValueSet/krcore-edi-medication-codes'}
                mustSupport: true
                array: true
                index: 16
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://www.hl7korea.or.kr/CodeSystem/hira-edi-medication'}
                    mustSupport: true
                    index: 17
                  code: {mustSupport: true, index: 18}
                required: [system, code]
            KD:
              match: {system: 'http://www.hl7korea.or.kr/CodeSystem/kpis-kdcode'}
              schema:
                short: 정의된 코드
                binding: {strength: required, valueSet: 'http://www.hl7korea.or.kr/fhir/krcore/ValueSet/krcore-korea-drug-codes'}
                mustSupport: true
                array: true
                index: 19
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://www.hl7korea.or.kr/CodeSystem/kpis-kdcode'}
                    mustSupport: true
                    index: 20
                  code: {mustSupport: true, index: 21}
                required: [system, code]
            ATC:
              match: {system: 'http://www.whocc.no/atc'}
              schema:
                short: 정의된 코드
                binding: {strength: required, valueSet: 'http://www.hl7korea.or.kr/fhir/krcore/ValueSet/krcore-atc-codes'}
                mustSupport: true
                array: true
                index: 22
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://www.whocc.no/atc'}
                    mustSupport: true
                    index: 23
                  code: {mustSupport: true, index: 24}
                required: [system, code]
      text: {mustSupport: true, index: 25}
  dispenseRequest:
    short: 처방 요청
    mustSupport: true
    index: 51
    elements:
      quantity:
        short: 총량
        binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-units'}
        index: 52
      expectedSupplyDuration:
        short: '처방 기간: s | min | h | d | wk | mo | a'
        mustSupport: true
        index: 53
        elements:
          code:
            short: 처방 기간 단위 코드
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/units-of-time|4.0.1'}
            index: 54
  reported:
    short: 지침약 여부
    mustSupport: true
    pattern: {type: Boolean, value: false}
    choices: [reportedBoolean]
    index: 6
  medicationCodeableConcept:
    type: CodeableConcept
    choiceOf: medication
    index: 14
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: medication, index: 14}
          min: 0
          max: 1
  authoredOn: {short: 약물 처방 일시, mustSupport: true, index: 28}
  requester:
    type: Reference
    mustSupport: true
    refers: ['https://hins.or.kr/fhir/MyHealthWay/StructureDefinition/myhealthway-practitionerrole']
    index: 29
  status:
    short: '약물 처방 상태: active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown'
    pattern: {type: Code, value: completed}
    mustSupport: true
    index: 3
  dosageInstruction:
    short: 약물 투여 방법
    mustSupport: true
    index: 30
    elements:
      text: {short: 용법, mustSupport: true, index: 31}
      timing:
        short: 약품 투여 및 복용 시기
        mustSupport: true
        index: 32
        elements:
          repeat:
            short: 약품 투여 및 복용 반복 정보
            mustSupport: true
            index: 33
            elements:
              frequency: {short: 주기 당 약품 투여 및 복용 횟수, mustSupport: true, index: 34}
              period: {short: 약품 투여 및 복용 주기 수치, mustSupport: true, index: 35}
              periodUnit:
                short: '약품 투여 및 복용 주기 단위: s | min | h | d | wk | mo | a'
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/units-of-time|4.0.1'}
                mustSupport: true
                index: 36
            required: [periodUnit, period, frequency]
        required: [repeat]
      route:
        short: 약물 투여 경로
        mustSupport: true
        index: 37
        elements:
          coding:
            short: 정의된 코드
            index: 38
            elements:
              system: {short: 투여 경로 코드체계, mustSupport: true, index: 39}
              code: {short: 투여 경로 코드, mustSupport: true, index: 40}
              display: {short: 투여 경로 코드명, index: 41}
            required: [system, code]
          text: {short: 투여 경로 텍스트, index: 42}
      doseAndRate:
        short: 투여 및 복용량
        mustSupport: true
        index: 43
        elements:
          dose:
            choices: []
            index: 45
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: $this, type: type}
              min: 1
              slices:
                doseQuantity:
                  match: {}
                  schema:
                    short: 1회량 수치 정보
                    mustSupport: true
                    choices: [doseQuantity]
                    _required: true
                    index: 47
                  min: 1
                  max: 1
          doseQuantity:
            short: 1회량 수치 정보
            type: Quantity
            mustSupport: true
            choiceOf: dose
            index: 48
            slicing:
              slices:
                doseQuantity:
                  match: {}
                  schema: {short: 1회량 수치 정보, type: Quantity, mustSupport: true, _required: true, choiceOf: dose, index: 48}
                  min: 1
                  max: 1
          dose[x]:
            elements:
              value: {short: 1회 복용량, mustSupport: true, index: 49}
              unit: {short: 1회 복용량 단위, mustSupport: true, index: 50}
            required: [value, unit]
        required: [doseQuantity, dose]
    required: [doseAndRate, route, text, timing]
  reportedBoolean:
    type: boolean
    short: 지침약 여부
    mustSupport: true
    pattern: {type: Boolean, value: false}
    choiceOf: reported
    index: 7
  identifier:
    short: 약물 처방 정보 식별자
    index: 0
    elements:
      system: {short: 식별체계, index: 1}
      value: {short: 식별자, index: 2}
    required: [value, system]
  intent:
    short: '약물 처방 의도: order | proposal | plan +'
    pattern: {type: Code, value: order}
    mustSupport: true
    index: 4
  medicationReference:
    type: Reference
    short: 처방 약물 정보
    mustSupport: true
    choiceOf: medication
    refers: ['http://www.hl7korea.or.kr/fhir/krcore/StructureDefinition/krcore-medication']
    index: 11
  subject:
    type: Reference
    short: 환자 정보
    mustSupport: true
    refers: ['https://hins.or.kr/fhir/MyHealthWay/StructureDefinition/myhealthway-patient']
    index: 26
  medication:
    choices: [medicationCodeableConcept]
    index: 13
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema:
            choices: [medicationCodeableConcept]
            index: 13
          min: 0
          max: 1
package_version: 1.0.2-beta.3
class: profile
kind: resource
url: https://hins.or.kr/fhir/MyHealthWay/StructureDefinition/myhealthway-medicationrequest
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 1.0.2-beta.3
required: [authoredOn, dosageInstruction, encounter, identifier]