MyHealthWay
1.0.0 - Trial-Implementation KR

MyHealthWay - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: MyHealthWay MedicationRequest Profile

Official URL: https://hins.or.kr/fhir/MyHealthWay/StructureDefinition/myhealthway-medicationrequest Version: 1.0.0
Active as of 2023-12-21 Computable Name: MyHealthWayMedicationRequestProfile

MyHealthWay 의 약물처방 내역에 적용되는 MedicationRequest 구조.

Usage:

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from MedicationRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest C0..*MedicationRequestOrdering of medication for patient or group
myhealthway-mdrt-01: medicationCodeableConcept에 값이 설정될 때, medicationCodeableConcept.text 또는 EDI 또는 KD 코드가 필수입니다.
... identifier 1..1Identifier약물 처방 정보 식별자
.... system 1..1uri식별체계
.... value 1..1string식별자
... status S1..1code약물 처방 상태: active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Fixed Value: completed
... intent S1..1code약물 처방 의도: order | proposal | plan +
Fixed Value: order
... Slices for medication[x] S1..1처방 약물 정보
Slice: Unordered, Open by type:$this
.... medicationCodeableConceptCodeableConcept
.... medicationReferenceReference(KR Core Medication Profile)
.... medication[x]:medicationCodeableConcept 0..1CodeableConceptMedication to be taken
..... Slices for coding 0..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
...... coding:EDI S0..*Coding정의된 코드
Binding: KR Core EDI Medication Codes (required)
....... system S1..1uriIdentity of the terminology system
Fixed Value: http://www.hl7korea.or.kr/CodeSystem/hira-edi-medication
....... code S1..1codeSymbol in syntax defined by the system
...... coding:KD S0..*Coding정의된 코드
Binding: KR Core Korea Drug Codes (required)
....... system S1..1uriIdentity of the terminology system
Fixed Value: http://www.hl7korea.or.kr/CodeSystem/kpis-kdcode
....... code S1..1codeSymbol in syntax defined by the system
...... coding:ATC S0..*Coding정의된 코드
Binding: ATC Codes (required)
....... system S1..1uriIdentity of the terminology system
Fixed Value: http://www.whocc.no/atc
....... code S1..1codeSymbol in syntax defined by the system
..... text S0..1stringPlain text representation of the concept
... subject S1..1Reference(MyHealthWay Patient Profile)환자 정보
... encounter S1..1Reference(MyHealthWay Encounter Profile)내원정보
... authoredOn S1..1dateTime약물 처방 일시
... requester S0..1Reference(MyHealthWay PractitionerRole Profile)Who/What requested the Request
... dosageInstruction S1..*Dosage약물 투여 방법
.... text S1..1string용법
.... timing S1..1Timing약품 투여 및 복용 시기
..... repeat S1..1Element약품 투여 및 복용 반복 정보
...... frequency S1..1positiveInt주기 당 약품 투여 및 복용 횟수
...... period S1..1decimal약품 투여 및 복용 주기 수치
...... periodUnit S1..1code약품 투여 및 복용 주기 단위: s | min | h | d | wk | mo | a
Binding: UnitsOfTime (required)
.... route S1..1CodeableConcept약물 투여 경로
..... coding 0..*Coding정의된 코드
...... system S1..1uri투여 경로 코드체계
...... code S1..1code투여 경로 코드
...... display 0..1string투여 경로 코드명
..... text 0..1string투여 경로 텍스트
.... doseAndRate S1..1Element투여 및 복용량
..... Slices for dose[x] 1..1SimpleQuantityAmount of medication per dose
Slice: Unordered, Open by type:$this
...... dose[x]:doseQuantity S1..1SimpleQuantity1회량 수치 정보
Binding: UCUMCodes (preferred)
....... value S1..1decimal1회 복용량
....... unit S1..1string1회 복용량 단위
... dispenseRequest S0..1BackboneElement처방 요청
.... quantity 0..1SimpleQuantity총량
Binding: UCUMCodes (preferred)
.... expectedSupplyDuration S0..1Duration처방 기간: s | min | h | d | wk | mo | a
..... code 0..1code처방 기간 단위 코드
Binding: UnitsOfTime (required)
Example Value (Preferred): d

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
MedicationRequest.medication[x]:medicationCodeableConcept.coding:EDIrequiredKR_Core_EDI_Medication_Codes
MedicationRequest.medication[x]:medicationCodeableConcept.coding:KDrequiredKR_Core_Korea_Drug_Codes
MedicationRequest.medication[x]:medicationCodeableConcept.coding:ATCrequiredKR_Core_ATC_Codes
MedicationRequest.dosageInstruction.timing.repeat.periodUnitrequiredUnitsOfTime
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantitypreferredUCUMCodes (a valid code from UCUM)
MedicationRequest.dispenseRequest.quantitypreferredUCUMCodes (a valid code from UCUM)
MedicationRequest.dispenseRequest.expectedSupplyDuration.coderequiredUnitsOfTime

Constraints

IdGradePath(s)DetailsRequirements
myhealthway-mdrt-01errorMedicationRequestmedicationCodeableConcept에 값이 설정될 때, medicationCodeableConcept.text 또는 EDI 또는 KD 코드가 필수입니다.
: medication.text or medication.coding.where(system='http://www.hl7korea.or.kr/CodeSystem/hira-edi-medication').exists() or medication.coding.where(system='http://www.hl7korea.or.kr/CodeSystem/kpis-kdcode').exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest C0..*MedicationRequestOrdering of medication for patient or group
myhealthway-mdrt-01: medicationCodeableConcept에 값이 설정될 때, medicationCodeableConcept.text 또는 EDI 또는 KD 코드가 필수입니다.
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 1..1Identifier약물 처방 정보 식별자
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... system Σ1..1uri식별체계
Example General: http://www.acme.com/identifiers/patient
.... value Σ1..1string식별자
Example General: 123456
... intent ?!SΣ1..1code약물 처방 의도: order | proposal | plan +
Binding: medicationRequest Intent (required): The kind of medication order.


Fixed Value: order
... doNotPerform ?!Σ0..1booleanTrue if request is prohibiting action
... reported[x] SΣ0..1boolean지침약 여부
Fixed Value: false
... Slices for medication[x] SΣ1..1처방 약물 정보
Slice: Unordered, Open by type:$this
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.

.... medicationCodeableConceptCodeableConcept
.... medicationReferenceReference(KR Core Medication Profile)
.... medication[x]:medicationCodeableConcept Σ0..1CodeableConceptMedication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.

..... Slices for coding Σ0..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
...... coding:EDI SΣ0..*Coding정의된 코드
Binding: KR Core EDI Medication Codes (required)
....... system SΣ1..1uriIdentity of the terminology system
Fixed Value: http://www.hl7korea.or.kr/CodeSystem/hira-edi-medication
....... code SΣ1..1codeSymbol in syntax defined by the system
...... coding:KD SΣ0..*Coding정의된 코드
Binding: KR Core Korea Drug Codes (required)
....... system SΣ1..1uriIdentity of the terminology system
Fixed Value: http://www.hl7korea.or.kr/CodeSystem/kpis-kdcode
....... code SΣ1..1codeSymbol in syntax defined by the system
...... coding:ATC SΣ0..*Coding정의된 코드
Binding: ATC Codes (required)
....... system SΣ1..1uriIdentity of the terminology system
Fixed Value: http://www.whocc.no/atc
....... code SΣ1..1codeSymbol in syntax defined by the system
..... text SΣ0..1stringPlain text representation of the concept
... subject SΣ1..1Reference(MyHealthWay Patient Profile)환자 정보
... encounter S1..1Reference(MyHealthWay Encounter Profile)내원정보
... authoredOn SΣ1..1dateTime약물 처방 일시
... requester SΣ0..1Reference(MyHealthWay PractitionerRole Profile)Who/What requested the Request
... dosageInstruction S1..*Dosage약물 투여 방법
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... text SΣ1..1string용법
.... timing SΣ1..1Timing약품 투여 및 복용 시기
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... repeat SΣC1..1Element약품 투여 및 복용 반복 정보
...... frequency SΣ1..1positiveInt주기 당 약품 투여 및 복용 횟수
...... period SΣ1..1decimal약품 투여 및 복용 주기 수치
...... periodUnit SΣ1..1code약품 투여 및 복용 주기 단위: s | min | h | d | wk | mo | a
Binding: UnitsOfTime (required)
.... route SΣ1..1CodeableConcept약물 투여 경로
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.

..... coding Σ0..*Coding정의된 코드
...... system SΣ1..1uri투여 경로 코드체계
...... code SΣ1..1code투여 경로 코드
...... display Σ0..1string투여 경로 코드명
..... text Σ0..1string투여 경로 텍스트
.... doseAndRate SΣ1..1Element투여 및 복용량
..... Slices for dose[x] Σ1..1SimpleQuantityAmount of medication per dose
Slice: Unordered, Closed by type:$this
...... dose[x]:doseQuantity SC1..1SimpleQuantity1회량 수치 정보
Binding: UCUMCodes (preferred)
....... value SΣ1..1decimal1회 복용량
....... unit SΣ1..1string1회 복용량 단위
... dispenseRequest S0..1BackboneElement처방 요청
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... quantity 0..1SimpleQuantity총량
Binding: UCUMCodes (preferred)
.... expectedSupplyDuration S0..1Duration처방 기간: s | min | h | d | wk | mo | a
..... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

..... code Σ0..1code처방 기간 단위 코드
Binding: UnitsOfTime (required)
Example Value (Preferred): d

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
MedicationRequest.identifier.userequiredIdentifierUse
MedicationRequest.statusrequiredFixed Value: completed
MedicationRequest.intentrequiredFixed Value: order
MedicationRequest.medication[x]exampleSNOMEDCTMedicationCodes
MedicationRequest.medication[x]:medicationCodeableConceptexampleSNOMEDCTMedicationCodes
MedicationRequest.medication[x]:medicationCodeableConcept.coding:EDIrequiredKR_Core_EDI_Medication_Codes
MedicationRequest.medication[x]:medicationCodeableConcept.coding:KDrequiredKR_Core_Korea_Drug_Codes
MedicationRequest.medication[x]:medicationCodeableConcept.coding:ATCrequiredKR_Core_ATC_Codes
MedicationRequest.dosageInstruction.timing.repeat.periodUnitrequiredUnitsOfTime
MedicationRequest.dosageInstruction.routeexampleSNOMEDCTRouteCodes
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantitypreferredUCUMCodes (a valid code from UCUM)
MedicationRequest.dispenseRequest.quantitypreferredUCUMCodes (a valid code from UCUM)
MedicationRequest.dispenseRequest.expectedSupplyDuration.comparatorrequiredQuantityComparator
MedicationRequest.dispenseRequest.expectedSupplyDuration.coderequiredUnitsOfTime

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
myhealthway-mdrt-01errorMedicationRequestmedicationCodeableConcept에 값이 설정될 때, medicationCodeableConcept.text 또는 EDI 또는 KD 코드가 필수입니다.
: medication.text or medication.coding.where(system='http://www.hl7korea.or.kr/CodeSystem/hira-edi-medication').exists() or medication.coding.where(system='http://www.hl7korea.or.kr/CodeSystem/kpis-kdcode').exists()
qty-3errorMedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantityIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
sqty-1errorMedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantityThe comparator is not used on a SimpleQuantity
: comparator.empty()
tim-1errorMedicationRequest.dosageInstruction.timing.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorMedicationRequest.dosageInstruction.timing.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorMedicationRequest.dosageInstruction.timing.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorMedicationRequest.dosageInstruction.timing.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorMedicationRequest.dosageInstruction.timing.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorMedicationRequest.dosageInstruction.timing.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorMedicationRequest.dosageInstruction.timing.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorMedicationRequest.dosageInstruction.timing.repeatIf there's an offset, there must be a when (and not C, CM, CD, CV)
: offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10errorMedicationRequest.dosageInstruction.timing.repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest C0..*MedicationRequestOrdering of medication for patient or group
myhealthway-mdrt-01: medicationCodeableConcept에 값이 설정될 때, medicationCodeableConcept.text 또는 EDI 또는 KD 코드가 필수입니다.
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 1..1Identifier약물 처방 정보 식별자
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

.... system Σ1..1uri식별체계
Example General: http://www.acme.com/identifiers/patient
.... value Σ1..1string식별자
Example General: 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... status ?!SΣ1..1code약물 처방 상태: active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.


Fixed Value: completed
... statusReason 0..1CodeableConceptReason for current status
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.

... intent ?!SΣ1..1code약물 처방 의도: order | proposal | plan +
Binding: medicationRequest Intent (required): The kind of medication order.


Fixed Value: order
... category 0..*CodeableConceptType of medication usage
Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.


... priority Σ0..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

... doNotPerform ?!Σ0..1booleanTrue if request is prohibiting action
... reported[x] SΣ0..1boolean지침약 여부
Fixed Value: false
... Slices for medication[x] SΣ1..1처방 약물 정보
Slice: Unordered, Open by type:$this
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.

.... medicationCodeableConceptCodeableConcept
.... medicationReferenceReference(KR Core Medication Profile)
.... medication[x]:medicationCodeableConcept Σ0..1CodeableConceptMedication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.

..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for coding Σ0..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
...... coding:EDI SΣ0..*Coding정의된 코드
Binding: KR Core EDI Medication Codes (required)
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system SΣ1..1uriIdentity of the terminology system
Fixed Value: http://www.hl7korea.or.kr/CodeSystem/hira-edi-medication
....... version Σ0..1stringVersion of the system - if relevant
....... code SΣ1..1codeSymbol in syntax defined by the system
....... display Σ0..1stringRepresentation defined by the system
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... coding:KD SΣ0..*Coding정의된 코드
Binding: KR Core Korea Drug Codes (required)
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system SΣ1..1uriIdentity of the terminology system
Fixed Value: http://www.hl7korea.or.kr/CodeSystem/kpis-kdcode
....... version Σ0..1stringVersion of the system - if relevant
....... code SΣ1..1codeSymbol in syntax defined by the system
....... display Σ0..1stringRepresentation defined by the system
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... coding:ATC SΣ0..*Coding정의된 코드
Binding: ATC Codes (required)
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system SΣ1..1uriIdentity of the terminology system
Fixed Value: http://www.whocc.no/atc
....... version Σ0..1stringVersion of the system - if relevant
....... code SΣ1..1codeSymbol in syntax defined by the system
....... display Σ0..1stringRepresentation defined by the system
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... text SΣ0..1stringPlain text representation of the concept
... subject SΣ1..1Reference(MyHealthWay Patient Profile)환자 정보
... encounter S1..1Reference(MyHealthWay Encounter Profile)내원정보
... supportingInformation 0..*Reference(Resource)Information to support ordering of the medication
... authoredOn SΣ1..1dateTime약물 처방 일시
... requester SΣ0..1Reference(MyHealthWay PractitionerRole Profile)Who/What requested the Request
... performer 0..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam)Intended performer of administration
... performerType Σ0..1CodeableConceptDesired kind of performer of the medication administration
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.

... recorder 0..1Reference(Practitioner | PractitionerRole)Person who entered the request
... reasonCode 0..*CodeableConceptReason or indication for ordering or not ordering the medication
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.


... reasonReference 0..*Reference(Condition | Observation)Condition or observation that supports why the prescription is being written
... instantiatesCanonical Σ0..*canonical()Instantiates FHIR protocol or definition
... instantiatesUri Σ0..*uriInstantiates external protocol or definition
... basedOn Σ0..*Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation)What request fulfills
... groupIdentifier Σ0..1IdentifierComposite request this is part of
... courseOfTherapyType 0..1CodeableConceptOverall pattern of medication administration
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.

... insurance 0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
... note 0..*AnnotationInformation about the prescription
... dosageInstruction S1..*Dosage약물 투여 방법
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... sequence Σ0..1integerThe order of the dosage instructions
.... text SΣ1..1string용법
.... additionalInstruction Σ0..*CodeableConceptSupplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".


.... patientInstruction Σ0..1stringPatient or consumer oriented instructions
.... timing SΣ1..1Timing약품 투여 및 복용 시기
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... event Σ0..*dateTimeWhen the event occurs
..... repeat SΣC1..1Element약품 투여 및 복용 반복 정보
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... bounds[x] Σ0..1Length/Range of lengths, or (Start and/or end) limits
....... boundsDurationDuration
....... boundsRangeRange
....... boundsPeriodPeriod
...... count Σ0..1positiveIntNumber of times to repeat
...... countMax Σ0..1positiveIntMaximum number of times to repeat
...... duration Σ0..1decimalHow long when it happens
...... durationMax Σ0..1decimalHow long when it happens (Max)
...... durationUnit Σ0..1codes | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).

...... frequency SΣ1..1positiveInt주기 당 약품 투여 및 복용 횟수
...... frequencyMax Σ0..1positiveIntEvent occurs up to frequencyMax times per period
...... period SΣ1..1decimal약품 투여 및 복용 주기 수치
...... periodMax Σ0..1decimalUpper limit of period (3-4 hours)
...... periodUnit SΣ1..1code약품 투여 및 복용 주기 단위: s | min | h | d | wk | mo | a
Binding: UnitsOfTime (required)
...... dayOfWeek Σ0..*codemon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
...... timeOfDay Σ0..*timeTime of day for action
...... when Σ0..*codeCode for time period of occurrence
Binding: EventTiming (required): Real world event relating to the schedule.


...... offset Σ0..1unsignedIntMinutes from event (before or after)
..... code Σ0..1CodeableConceptBID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.

.... asNeeded[x] Σ0..1Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.

..... asNeededBooleanboolean
..... asNeededCodeableConceptCodeableConcept
.... site Σ0..1CodeableConceptBody site to administer to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body.

.... route SΣ1..1CodeableConcept약물 투여 경로
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.

..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ0..*Coding정의된 코드
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ1..1uri투여 경로 코드체계
...... version Σ0..1stringVersion of the system - if relevant
...... code SΣ1..1code투여 경로 코드
...... display Σ0..1string투여 경로 코드명
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... text Σ0..1string투여 경로 텍스트
.... method Σ0..1CodeableConceptTechnique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.

.... doseAndRate SΣ1..1Element투여 및 복용량
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... type Σ0..1CodeableConceptThe kind of dose or rate specified
Binding: DoseAndRateType (example): The kind of dose or rate specified.

..... Slices for dose[x] Σ1..1SimpleQuantityAmount of medication per dose
Slice: Unordered, Closed by type:$this
...... dose[x]:doseQuantity SC1..1SimpleQuantity1회량 수치 정보
Binding: UCUMCodes (preferred)
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... value SΣ1..1decimal1회 복용량
....... unit SΣ1..1string1회 복용량 단위
....... system ΣC0..1uriSystem that defines coded unit form
....... code Σ0..1codeCoded form of the unit
..... rate[x] Σ0..1Amount of medication per unit of time
...... rateRatioRatio
...... rateRangeRange
...... rateQuantityQuantity(SimpleQuantity)
.... maxDosePerPeriod Σ0..1RatioUpper limit on medication per unit of time
.... maxDosePerAdministration Σ0..1SimpleQuantityUpper limit on medication per administration
.... maxDosePerLifetime Σ0..1SimpleQuantityUpper limit on medication per lifetime of the patient
... dispenseRequest S0..1BackboneElement처방 요청
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... initialFill 0..1BackboneElementFirst fill details
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... quantity 0..1SimpleQuantityFirst fill quantity
..... duration 0..1DurationFirst fill duration
.... dispenseInterval 0..1DurationMinimum period of time between dispenses
.... validityPeriod 0..1PeriodTime period supply is authorized for
.... numberOfRepeatsAllowed 0..1unsignedIntNumber of refills authorized
.... quantity 0..1SimpleQuantity총량
Binding: UCUMCodes (preferred)
.... expectedSupplyDuration S0..1Duration처방 기간: s | min | h | d | wk | mo | a
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... value Σ0..1decimalNumerical value (with implicit precision)
..... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

..... unit Σ0..1stringUnit representation
..... system ΣC0..1uriSystem that defines coded unit form
..... code Σ0..1code처방 기간 단위 코드
Binding: UnitsOfTime (required)
Example Value (Preferred): d
.... performer 0..1Reference(Organization)Intended dispenser
... substitution 0..1BackboneElementAny restrictions on medication substitution
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... allowed[x] 1..1Whether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.

..... allowedBooleanboolean
..... allowedCodeableConceptCodeableConcept
.... reason 0..1CodeableConceptWhy should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.

... priorPrescription 0..1Reference(MedicationRequest)An order/prescription that is being replaced
... detectedIssue 0..*Reference(DetectedIssue)Clinical Issue with action
... eventHistory 0..*Reference(Provenance)A list of events of interest in the lifecycle

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
MedicationRequest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
MedicationRequest.identifier.userequiredIdentifierUse
MedicationRequest.identifier.typeextensibleIdentifier Type Codes
MedicationRequest.statusrequiredFixed Value: completed
MedicationRequest.statusReasonexamplemedicationRequest Status Reason Codes
MedicationRequest.intentrequiredFixed Value: order
MedicationRequest.categoryexamplemedicationRequest Category Codes
MedicationRequest.priorityrequiredRequestPriority
MedicationRequest.medication[x]exampleSNOMEDCTMedicationCodes
MedicationRequest.medication[x]:medicationCodeableConceptexampleSNOMEDCTMedicationCodes
MedicationRequest.medication[x]:medicationCodeableConcept.coding:EDIrequiredKR_Core_EDI_Medication_Codes
MedicationRequest.medication[x]:medicationCodeableConcept.coding:KDrequiredKR_Core_Korea_Drug_Codes
MedicationRequest.medication[x]:medicationCodeableConcept.coding:ATCrequiredKR_Core_ATC_Codes
MedicationRequest.performerTypeexampleProcedurePerformerRoleCodes
MedicationRequest.reasonCodeexampleCondition/Problem/DiagnosisCodes
MedicationRequest.courseOfTherapyTypeexamplemedicationRequest Course of Therapy Codes
MedicationRequest.dosageInstruction.additionalInstructionexampleSNOMEDCTAdditionalDosageInstructions
MedicationRequest.dosageInstruction.timing.repeat.durationUnitrequiredUnitsOfTime
MedicationRequest.dosageInstruction.timing.repeat.periodUnitrequiredUnitsOfTime
MedicationRequest.dosageInstruction.timing.repeat.dayOfWeekrequiredDaysOfWeek
MedicationRequest.dosageInstruction.timing.repeat.whenrequiredEventTiming
MedicationRequest.dosageInstruction.timing.codepreferredTimingAbbreviation
MedicationRequest.dosageInstruction.asNeeded[x]exampleSNOMEDCTMedicationAsNeededReasonCodes
MedicationRequest.dosageInstruction.siteexampleSNOMEDCTAnatomicalStructureForAdministrationSiteCodes
MedicationRequest.dosageInstruction.routeexampleSNOMEDCTRouteCodes
MedicationRequest.dosageInstruction.methodexampleSNOMEDCTAdministrationMethodCodes
MedicationRequest.dosageInstruction.doseAndRate.typeexampleDoseAndRateType
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantitypreferredUCUMCodes (a valid code from UCUM)
MedicationRequest.dispenseRequest.quantitypreferredUCUMCodes (a valid code from UCUM)
MedicationRequest.dispenseRequest.expectedSupplyDuration.comparatorrequiredQuantityComparator
MedicationRequest.dispenseRequest.expectedSupplyDuration.coderequiredUnitsOfTime
MedicationRequest.substitution.allowed[x]exampleActSubstanceAdminSubstitutionCode
MedicationRequest.substitution.reasonexampleSubstanceAdminSubstitutionReason

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
myhealthway-mdrt-01errorMedicationRequestmedicationCodeableConcept에 값이 설정될 때, medicationCodeableConcept.text 또는 EDI 또는 KD 코드가 필수입니다.
: medication.text or medication.coding.where(system='http://www.hl7korea.or.kr/CodeSystem/hira-edi-medication').exists() or medication.coding.where(system='http://www.hl7korea.or.kr/CodeSystem/kpis-kdcode').exists()
qty-3errorMedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantityIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
sqty-1errorMedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantityThe comparator is not used on a SimpleQuantity
: comparator.empty()
tim-1errorMedicationRequest.dosageInstruction.timing.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorMedicationRequest.dosageInstruction.timing.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorMedicationRequest.dosageInstruction.timing.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorMedicationRequest.dosageInstruction.timing.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorMedicationRequest.dosageInstruction.timing.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorMedicationRequest.dosageInstruction.timing.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorMedicationRequest.dosageInstruction.timing.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorMedicationRequest.dosageInstruction.timing.repeatIf there's an offset, there must be a when (and not C, CM, CD, CV)
: offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10errorMedicationRequest.dosageInstruction.timing.repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()

This structure is derived from MedicationRequest

Summary

Mandatory: 18 elements (8 nested mandatory elements)
Must-Support: 34 elements
Fixed Value: 6 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element MedicationRequest.medication[x] is sliced based on the value of type:$this
  • The element MedicationRequest.medication[x].coding is sliced based on the value of value:system
  • The element MedicationRequest.dosageInstruction.doseAndRate.dose[x] is sliced based on the value of type:$this

Differential View

This structure is derived from MedicationRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest C0..*MedicationRequestOrdering of medication for patient or group
myhealthway-mdrt-01: medicationCodeableConcept에 값이 설정될 때, medicationCodeableConcept.text 또는 EDI 또는 KD 코드가 필수입니다.
... identifier 1..1Identifier약물 처방 정보 식별자
.... system 1..1uri식별체계
.... value 1..1string식별자
... status S1..1code약물 처방 상태: active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Fixed Value: completed
... intent S1..1code약물 처방 의도: order | proposal | plan +
Fixed Value: order
... Slices for medication[x] S1..1처방 약물 정보
Slice: Unordered, Open by type:$this
.... medicationCodeableConceptCodeableConcept
.... medicationReferenceReference(KR Core Medication Profile)
.... medication[x]:medicationCodeableConcept 0..1CodeableConceptMedication to be taken
..... Slices for coding 0..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
...... coding:EDI S0..*Coding정의된 코드
Binding: KR Core EDI Medication Codes (required)
....... system S1..1uriIdentity of the terminology system
Fixed Value: http://www.hl7korea.or.kr/CodeSystem/hira-edi-medication
....... code S1..1codeSymbol in syntax defined by the system
...... coding:KD S0..*Coding정의된 코드
Binding: KR Core Korea Drug Codes (required)
....... system S1..1uriIdentity of the terminology system
Fixed Value: http://www.hl7korea.or.kr/CodeSystem/kpis-kdcode
....... code S1..1codeSymbol in syntax defined by the system
...... coding:ATC S0..*Coding정의된 코드
Binding: ATC Codes (required)
....... system S1..1uriIdentity of the terminology system
Fixed Value: http://www.whocc.no/atc
....... code S1..1codeSymbol in syntax defined by the system
..... text S0..1stringPlain text representation of the concept
... subject S1..1Reference(MyHealthWay Patient Profile)환자 정보
... encounter S1..1Reference(MyHealthWay Encounter Profile)내원정보
... authoredOn S1..1dateTime약물 처방 일시
... requester S0..1Reference(MyHealthWay PractitionerRole Profile)Who/What requested the Request
... dosageInstruction S1..*Dosage약물 투여 방법
.... text S1..1string용법
.... timing S1..1Timing약품 투여 및 복용 시기
..... repeat S1..1Element약품 투여 및 복용 반복 정보
...... frequency S1..1positiveInt주기 당 약품 투여 및 복용 횟수
...... period S1..1decimal약품 투여 및 복용 주기 수치
...... periodUnit S1..1code약품 투여 및 복용 주기 단위: s | min | h | d | wk | mo | a
Binding: UnitsOfTime (required)
.... route S1..1CodeableConcept약물 투여 경로
..... coding 0..*Coding정의된 코드
...... system S1..1uri투여 경로 코드체계
...... code S1..1code투여 경로 코드
...... display 0..1string투여 경로 코드명
..... text 0..1string투여 경로 텍스트
.... doseAndRate S1..1Element투여 및 복용량
..... Slices for dose[x] 1..1SimpleQuantityAmount of medication per dose
Slice: Unordered, Open by type:$this
...... dose[x]:doseQuantity S1..1SimpleQuantity1회량 수치 정보
Binding: UCUMCodes (preferred)
....... value S1..1decimal1회 복용량
....... unit S1..1string1회 복용량 단위
... dispenseRequest S0..1BackboneElement처방 요청
.... quantity 0..1SimpleQuantity총량
Binding: UCUMCodes (preferred)
.... expectedSupplyDuration S0..1Duration처방 기간: s | min | h | d | wk | mo | a
..... code 0..1code처방 기간 단위 코드
Binding: UnitsOfTime (required)
Example Value (Preferred): d

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
MedicationRequest.medication[x]:medicationCodeableConcept.coding:EDIrequiredKR_Core_EDI_Medication_Codes
MedicationRequest.medication[x]:medicationCodeableConcept.coding:KDrequiredKR_Core_Korea_Drug_Codes
MedicationRequest.medication[x]:medicationCodeableConcept.coding:ATCrequiredKR_Core_ATC_Codes
MedicationRequest.dosageInstruction.timing.repeat.periodUnitrequiredUnitsOfTime
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantitypreferredUCUMCodes (a valid code from UCUM)
MedicationRequest.dispenseRequest.quantitypreferredUCUMCodes (a valid code from UCUM)
MedicationRequest.dispenseRequest.expectedSupplyDuration.coderequiredUnitsOfTime

Constraints

IdGradePath(s)DetailsRequirements
myhealthway-mdrt-01errorMedicationRequestmedicationCodeableConcept에 값이 설정될 때, medicationCodeableConcept.text 또는 EDI 또는 KD 코드가 필수입니다.
: medication.text or medication.coding.where(system='http://www.hl7korea.or.kr/CodeSystem/hira-edi-medication').exists() or medication.coding.where(system='http://www.hl7korea.or.kr/CodeSystem/kpis-kdcode').exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest C0..*MedicationRequestOrdering of medication for patient or group
myhealthway-mdrt-01: medicationCodeableConcept에 값이 설정될 때, medicationCodeableConcept.text 또는 EDI 또는 KD 코드가 필수입니다.
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 1..1Identifier약물 처방 정보 식별자
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... system Σ1..1uri식별체계
Example General: http://www.acme.com/identifiers/patient
.... value Σ1..1string식별자
Example General: 123456
... intent ?!SΣ1..1code약물 처방 의도: order | proposal | plan +
Binding: medicationRequest Intent (required): The kind of medication order.


Fixed Value: order
... doNotPerform ?!Σ0..1booleanTrue if request is prohibiting action
... reported[x] SΣ0..1boolean지침약 여부
Fixed Value: false
... Slices for medication[x] SΣ1..1처방 약물 정보
Slice: Unordered, Open by type:$this
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.

.... medicationCodeableConceptCodeableConcept
.... medicationReferenceReference(KR Core Medication Profile)
.... medication[x]:medicationCodeableConcept Σ0..1CodeableConceptMedication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.

..... Slices for coding Σ0..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
...... coding:EDI SΣ0..*Coding정의된 코드
Binding: KR Core EDI Medication Codes (required)
....... system SΣ1..1uriIdentity of the terminology system
Fixed Value: http://www.hl7korea.or.kr/CodeSystem/hira-edi-medication
....... code SΣ1..1codeSymbol in syntax defined by the system
...... coding:KD SΣ0..*Coding정의된 코드
Binding: KR Core Korea Drug Codes (required)
....... system SΣ1..1uriIdentity of the terminology system
Fixed Value: http://www.hl7korea.or.kr/CodeSystem/kpis-kdcode
....... code SΣ1..1codeSymbol in syntax defined by the system
...... coding:ATC SΣ0..*Coding정의된 코드
Binding: ATC Codes (required)
....... system SΣ1..1uriIdentity of the terminology system
Fixed Value: http://www.whocc.no/atc
....... code SΣ1..1codeSymbol in syntax defined by the system
..... text SΣ0..1stringPlain text representation of the concept
... subject SΣ1..1Reference(MyHealthWay Patient Profile)환자 정보
... encounter S1..1Reference(MyHealthWay Encounter Profile)내원정보
... authoredOn SΣ1..1dateTime약물 처방 일시
... requester SΣ0..1Reference(MyHealthWay PractitionerRole Profile)Who/What requested the Request
... dosageInstruction S1..*Dosage약물 투여 방법
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... text SΣ1..1string용법
.... timing SΣ1..1Timing약품 투여 및 복용 시기
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... repeat SΣC1..1Element약품 투여 및 복용 반복 정보
...... frequency SΣ1..1positiveInt주기 당 약품 투여 및 복용 횟수
...... period SΣ1..1decimal약품 투여 및 복용 주기 수치
...... periodUnit SΣ1..1code약품 투여 및 복용 주기 단위: s | min | h | d | wk | mo | a
Binding: UnitsOfTime (required)
.... route SΣ1..1CodeableConcept약물 투여 경로
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.

..... coding Σ0..*Coding정의된 코드
...... system SΣ1..1uri투여 경로 코드체계
...... code SΣ1..1code투여 경로 코드
...... display Σ0..1string투여 경로 코드명
..... text Σ0..1string투여 경로 텍스트
.... doseAndRate SΣ1..1Element투여 및 복용량
..... Slices for dose[x] Σ1..1SimpleQuantityAmount of medication per dose
Slice: Unordered, Closed by type:$this
...... dose[x]:doseQuantity SC1..1SimpleQuantity1회량 수치 정보
Binding: UCUMCodes (preferred)
....... value SΣ1..1decimal1회 복용량
....... unit SΣ1..1string1회 복용량 단위
... dispenseRequest S0..1BackboneElement처방 요청
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... quantity 0..1SimpleQuantity총량
Binding: UCUMCodes (preferred)
.... expectedSupplyDuration S0..1Duration처방 기간: s | min | h | d | wk | mo | a
..... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

..... code Σ0..1code처방 기간 단위 코드
Binding: UnitsOfTime (required)
Example Value (Preferred): d

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
MedicationRequest.identifier.userequiredIdentifierUse
MedicationRequest.statusrequiredFixed Value: completed
MedicationRequest.intentrequiredFixed Value: order
MedicationRequest.medication[x]exampleSNOMEDCTMedicationCodes
MedicationRequest.medication[x]:medicationCodeableConceptexampleSNOMEDCTMedicationCodes
MedicationRequest.medication[x]:medicationCodeableConcept.coding:EDIrequiredKR_Core_EDI_Medication_Codes
MedicationRequest.medication[x]:medicationCodeableConcept.coding:KDrequiredKR_Core_Korea_Drug_Codes
MedicationRequest.medication[x]:medicationCodeableConcept.coding:ATCrequiredKR_Core_ATC_Codes
MedicationRequest.dosageInstruction.timing.repeat.periodUnitrequiredUnitsOfTime
MedicationRequest.dosageInstruction.routeexampleSNOMEDCTRouteCodes
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantitypreferredUCUMCodes (a valid code from UCUM)
MedicationRequest.dispenseRequest.quantitypreferredUCUMCodes (a valid code from UCUM)
MedicationRequest.dispenseRequest.expectedSupplyDuration.comparatorrequiredQuantityComparator
MedicationRequest.dispenseRequest.expectedSupplyDuration.coderequiredUnitsOfTime

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
myhealthway-mdrt-01errorMedicationRequestmedicationCodeableConcept에 값이 설정될 때, medicationCodeableConcept.text 또는 EDI 또는 KD 코드가 필수입니다.
: medication.text or medication.coding.where(system='http://www.hl7korea.or.kr/CodeSystem/hira-edi-medication').exists() or medication.coding.where(system='http://www.hl7korea.or.kr/CodeSystem/kpis-kdcode').exists()
qty-3errorMedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantityIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
sqty-1errorMedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantityThe comparator is not used on a SimpleQuantity
: comparator.empty()
tim-1errorMedicationRequest.dosageInstruction.timing.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorMedicationRequest.dosageInstruction.timing.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorMedicationRequest.dosageInstruction.timing.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorMedicationRequest.dosageInstruction.timing.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorMedicationRequest.dosageInstruction.timing.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorMedicationRequest.dosageInstruction.timing.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorMedicationRequest.dosageInstruction.timing.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorMedicationRequest.dosageInstruction.timing.repeatIf there's an offset, there must be a when (and not C, CM, CD, CV)
: offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10errorMedicationRequest.dosageInstruction.timing.repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest C0..*MedicationRequestOrdering of medication for patient or group
myhealthway-mdrt-01: medicationCodeableConcept에 값이 설정될 때, medicationCodeableConcept.text 또는 EDI 또는 KD 코드가 필수입니다.
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 1..1Identifier약물 처방 정보 식별자
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

.... system Σ1..1uri식별체계
Example General: http://www.acme.com/identifiers/patient
.... value Σ1..1string식별자
Example General: 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... status ?!SΣ1..1code약물 처방 상태: active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.


Fixed Value: completed
... statusReason 0..1CodeableConceptReason for current status
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.

... intent ?!SΣ1..1code약물 처방 의도: order | proposal | plan +
Binding: medicationRequest Intent (required): The kind of medication order.


Fixed Value: order
... category 0..*CodeableConceptType of medication usage
Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.


... priority Σ0..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

... doNotPerform ?!Σ0..1booleanTrue if request is prohibiting action
... reported[x] SΣ0..1boolean지침약 여부
Fixed Value: false
... Slices for medication[x] SΣ1..1처방 약물 정보
Slice: Unordered, Open by type:$this
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.

.... medicationCodeableConceptCodeableConcept
.... medicationReferenceReference(KR Core Medication Profile)
.... medication[x]:medicationCodeableConcept Σ0..1CodeableConceptMedication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.

..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for coding Σ0..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
...... coding:EDI SΣ0..*Coding정의된 코드
Binding: KR Core EDI Medication Codes (required)
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system SΣ1..1uriIdentity of the terminology system
Fixed Value: http://www.hl7korea.or.kr/CodeSystem/hira-edi-medication
....... version Σ0..1stringVersion of the system - if relevant
....... code SΣ1..1codeSymbol in syntax defined by the system
....... display Σ0..1stringRepresentation defined by the system
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... coding:KD SΣ0..*Coding정의된 코드
Binding: KR Core Korea Drug Codes (required)
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system SΣ1..1uriIdentity of the terminology system
Fixed Value: http://www.hl7korea.or.kr/CodeSystem/kpis-kdcode
....... version Σ0..1stringVersion of the system - if relevant
....... code SΣ1..1codeSymbol in syntax defined by the system
....... display Σ0..1stringRepresentation defined by the system
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... coding:ATC SΣ0..*Coding정의된 코드
Binding: ATC Codes (required)
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system SΣ1..1uriIdentity of the terminology system
Fixed Value: http://www.whocc.no/atc
....... version Σ0..1stringVersion of the system - if relevant
....... code SΣ1..1codeSymbol in syntax defined by the system
....... display Σ0..1stringRepresentation defined by the system
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... text SΣ0..1stringPlain text representation of the concept
... subject SΣ1..1Reference(MyHealthWay Patient Profile)환자 정보
... encounter S1..1Reference(MyHealthWay Encounter Profile)내원정보
... supportingInformation 0..*Reference(Resource)Information to support ordering of the medication
... authoredOn SΣ1..1dateTime약물 처방 일시
... requester SΣ0..1Reference(MyHealthWay PractitionerRole Profile)Who/What requested the Request
... performer 0..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam)Intended performer of administration
... performerType Σ0..1CodeableConceptDesired kind of performer of the medication administration
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.

... recorder 0..1Reference(Practitioner | PractitionerRole)Person who entered the request
... reasonCode 0..*CodeableConceptReason or indication for ordering or not ordering the medication
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.


... reasonReference 0..*Reference(Condition | Observation)Condition or observation that supports why the prescription is being written
... instantiatesCanonical Σ0..*canonical()Instantiates FHIR protocol or definition
... instantiatesUri Σ0..*uriInstantiates external protocol or definition
... basedOn Σ0..*Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation)What request fulfills
... groupIdentifier Σ0..1IdentifierComposite request this is part of
... courseOfTherapyType 0..1CodeableConceptOverall pattern of medication administration
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.

... insurance 0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
... note 0..*AnnotationInformation about the prescription
... dosageInstruction S1..*Dosage약물 투여 방법
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... sequence Σ0..1integerThe order of the dosage instructions
.... text SΣ1..1string용법
.... additionalInstruction Σ0..*CodeableConceptSupplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".


.... patientInstruction Σ0..1stringPatient or consumer oriented instructions
.... timing SΣ1..1Timing약품 투여 및 복용 시기
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... event Σ0..*dateTimeWhen the event occurs
..... repeat SΣC1..1Element약품 투여 및 복용 반복 정보
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... bounds[x] Σ0..1Length/Range of lengths, or (Start and/or end) limits
....... boundsDurationDuration
....... boundsRangeRange
....... boundsPeriodPeriod
...... count Σ0..1positiveIntNumber of times to repeat
...... countMax Σ0..1positiveIntMaximum number of times to repeat
...... duration Σ0..1decimalHow long when it happens
...... durationMax Σ0..1decimalHow long when it happens (Max)
...... durationUnit Σ0..1codes | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).

...... frequency SΣ1..1positiveInt주기 당 약품 투여 및 복용 횟수
...... frequencyMax Σ0..1positiveIntEvent occurs up to frequencyMax times per period
...... period SΣ1..1decimal약품 투여 및 복용 주기 수치
...... periodMax Σ0..1decimalUpper limit of period (3-4 hours)
...... periodUnit SΣ1..1code약품 투여 및 복용 주기 단위: s | min | h | d | wk | mo | a
Binding: UnitsOfTime (required)
...... dayOfWeek Σ0..*codemon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
...... timeOfDay Σ0..*timeTime of day for action
...... when Σ0..*codeCode for time period of occurrence
Binding: EventTiming (required): Real world event relating to the schedule.


...... offset Σ0..1unsignedIntMinutes from event (before or after)
..... code Σ0..1CodeableConceptBID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.

.... asNeeded[x] Σ0..1Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.

..... asNeededBooleanboolean
..... asNeededCodeableConceptCodeableConcept
.... site Σ0..1CodeableConceptBody site to administer to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body.

.... route SΣ1..1CodeableConcept약물 투여 경로
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.

..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ0..*Coding정의된 코드
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ1..1uri투여 경로 코드체계
...... version Σ0..1stringVersion of the system - if relevant
...... code SΣ1..1code투여 경로 코드
...... display Σ0..1string투여 경로 코드명
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... text Σ0..1string투여 경로 텍스트
.... method Σ0..1CodeableConceptTechnique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.

.... doseAndRate SΣ1..1Element투여 및 복용량
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... type Σ0..1CodeableConceptThe kind of dose or rate specified
Binding: DoseAndRateType (example): The kind of dose or rate specified.

..... Slices for dose[x] Σ1..1SimpleQuantityAmount of medication per dose
Slice: Unordered, Closed by type:$this
...... dose[x]:doseQuantity SC1..1SimpleQuantity1회량 수치 정보
Binding: UCUMCodes (preferred)
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... value SΣ1..1decimal1회 복용량
....... unit SΣ1..1string1회 복용량 단위
....... system ΣC0..1uriSystem that defines coded unit form
....... code Σ0..1codeCoded form of the unit
..... rate[x] Σ0..1Amount of medication per unit of time
...... rateRatioRatio
...... rateRangeRange
...... rateQuantityQuantity(SimpleQuantity)
.... maxDosePerPeriod Σ0..1RatioUpper limit on medication per unit of time
.... maxDosePerAdministration Σ0..1SimpleQuantityUpper limit on medication per administration
.... maxDosePerLifetime Σ0..1SimpleQuantityUpper limit on medication per lifetime of the patient
... dispenseRequest S0..1BackboneElement처방 요청
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... initialFill 0..1BackboneElementFirst fill details
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... quantity 0..1SimpleQuantityFirst fill quantity
..... duration 0..1DurationFirst fill duration
.... dispenseInterval 0..1DurationMinimum period of time between dispenses
.... validityPeriod 0..1PeriodTime period supply is authorized for
.... numberOfRepeatsAllowed 0..1unsignedIntNumber of refills authorized
.... quantity 0..1SimpleQuantity총량
Binding: UCUMCodes (preferred)
.... expectedSupplyDuration S0..1Duration처방 기간: s | min | h | d | wk | mo | a
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... value Σ0..1decimalNumerical value (with implicit precision)
..... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

..... unit Σ0..1stringUnit representation
..... system ΣC0..1uriSystem that defines coded unit form
..... code Σ0..1code처방 기간 단위 코드
Binding: UnitsOfTime (required)
Example Value (Preferred): d
.... performer 0..1Reference(Organization)Intended dispenser
... substitution 0..1BackboneElementAny restrictions on medication substitution
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... allowed[x] 1..1Whether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.

..... allowedBooleanboolean
..... allowedCodeableConceptCodeableConcept
.... reason 0..1CodeableConceptWhy should (not) substitution be made
Binding: SubstanceAdminSubstitutionReason (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.

... priorPrescription 0..1Reference(MedicationRequest)An order/prescription that is being replaced
... detectedIssue 0..*Reference(DetectedIssue)Clinical Issue with action
... eventHistory 0..*Reference(Provenance)A list of events of interest in the lifecycle

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
MedicationRequest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
MedicationRequest.identifier.userequiredIdentifierUse
MedicationRequest.identifier.typeextensibleIdentifier Type Codes
MedicationRequest.statusrequiredFixed Value: completed
MedicationRequest.statusReasonexamplemedicationRequest Status Reason Codes
MedicationRequest.intentrequiredFixed Value: order
MedicationRequest.categoryexamplemedicationRequest Category Codes
MedicationRequest.priorityrequiredRequestPriority
MedicationRequest.medication[x]exampleSNOMEDCTMedicationCodes
MedicationRequest.medication[x]:medicationCodeableConceptexampleSNOMEDCTMedicationCodes
MedicationRequest.medication[x]:medicationCodeableConcept.coding:EDIrequiredKR_Core_EDI_Medication_Codes
MedicationRequest.medication[x]:medicationCodeableConcept.coding:KDrequiredKR_Core_Korea_Drug_Codes
MedicationRequest.medication[x]:medicationCodeableConcept.coding:ATCrequiredKR_Core_ATC_Codes
MedicationRequest.performerTypeexampleProcedurePerformerRoleCodes
MedicationRequest.reasonCodeexampleCondition/Problem/DiagnosisCodes
MedicationRequest.courseOfTherapyTypeexamplemedicationRequest Course of Therapy Codes
MedicationRequest.dosageInstruction.additionalInstructionexampleSNOMEDCTAdditionalDosageInstructions
MedicationRequest.dosageInstruction.timing.repeat.durationUnitrequiredUnitsOfTime
MedicationRequest.dosageInstruction.timing.repeat.periodUnitrequiredUnitsOfTime
MedicationRequest.dosageInstruction.timing.repeat.dayOfWeekrequiredDaysOfWeek
MedicationRequest.dosageInstruction.timing.repeat.whenrequiredEventTiming
MedicationRequest.dosageInstruction.timing.codepreferredTimingAbbreviation
MedicationRequest.dosageInstruction.asNeeded[x]exampleSNOMEDCTMedicationAsNeededReasonCodes
MedicationRequest.dosageInstruction.siteexampleSNOMEDCTAnatomicalStructureForAdministrationSiteCodes
MedicationRequest.dosageInstruction.routeexampleSNOMEDCTRouteCodes
MedicationRequest.dosageInstruction.methodexampleSNOMEDCTAdministrationMethodCodes
MedicationRequest.dosageInstruction.doseAndRate.typeexampleDoseAndRateType
MedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantitypreferredUCUMCodes (a valid code from UCUM)
MedicationRequest.dispenseRequest.quantitypreferredUCUMCodes (a valid code from UCUM)
MedicationRequest.dispenseRequest.expectedSupplyDuration.comparatorrequiredQuantityComparator
MedicationRequest.dispenseRequest.expectedSupplyDuration.coderequiredUnitsOfTime
MedicationRequest.substitution.allowed[x]exampleActSubstanceAdminSubstitutionCode
MedicationRequest.substitution.reasonexampleSubstanceAdminSubstitutionReason

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationRequestIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
myhealthway-mdrt-01errorMedicationRequestmedicationCodeableConcept에 값이 설정될 때, medicationCodeableConcept.text 또는 EDI 또는 KD 코드가 필수입니다.
: medication.text or medication.coding.where(system='http://www.hl7korea.or.kr/CodeSystem/hira-edi-medication').exists() or medication.coding.where(system='http://www.hl7korea.or.kr/CodeSystem/kpis-kdcode').exists()
qty-3errorMedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantityIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
sqty-1errorMedicationRequest.dosageInstruction.doseAndRate.dose[x]:doseQuantityThe comparator is not used on a SimpleQuantity
: comparator.empty()
tim-1errorMedicationRequest.dosageInstruction.timing.repeatif there's a duration, there needs to be duration units
: duration.empty() or durationUnit.exists()
tim-2errorMedicationRequest.dosageInstruction.timing.repeatif there's a period, there needs to be period units
: period.empty() or periodUnit.exists()
tim-4errorMedicationRequest.dosageInstruction.timing.repeatduration SHALL be a non-negative value
: duration.exists() implies duration >= 0
tim-5errorMedicationRequest.dosageInstruction.timing.repeatperiod SHALL be a non-negative value
: period.exists() implies period >= 0
tim-6errorMedicationRequest.dosageInstruction.timing.repeatIf there's a periodMax, there must be a period
: periodMax.empty() or period.exists()
tim-7errorMedicationRequest.dosageInstruction.timing.repeatIf there's a durationMax, there must be a duration
: durationMax.empty() or duration.exists()
tim-8errorMedicationRequest.dosageInstruction.timing.repeatIf there's a countMax, there must be a count
: countMax.empty() or count.exists()
tim-9errorMedicationRequest.dosageInstruction.timing.repeatIf there's an offset, there must be a when (and not C, CM, CD, CV)
: offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10errorMedicationRequest.dosageInstruction.timing.repeatIf there's a timeOfDay, there cannot be a when, or vice versa
: timeOfDay.empty() or when.empty()

This structure is derived from MedicationRequest

Summary

Mandatory: 18 elements (8 nested mandatory elements)
Must-Support: 34 elements
Fixed Value: 6 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element MedicationRequest.medication[x] is sliced based on the value of type:$this
  • The element MedicationRequest.medication[x].coding is sliced based on the value of value:system
  • The element MedicationRequest.dosageInstruction.doseAndRate.dose[x] is sliced based on the value of type:$this

 

Other representations of profile: CSV, Excel, Schematron