共同資料模式實作指引(Common Data Model IG)
1.0.0-Trial Use - draft

共同資料模式實作指引(Common Data Model IG) - Local Development build (v1.0.0-Trial Use). See the Directory of published versions

Resource Profile: MedicationRequest TOTFA-用藥明細

Official URL: https://standard-interoperability-lab.com/fhir/StructureDefinition/MedicationRequestTOTFA Version: 1.0.0-Trial Use
Draft as of 2023-07-26 Computable Name: MedicationRequestTOTFA

用於描述門診醫療申報檔(TOTFA)中的用藥明細

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 0..*MedicationRequestOrdering of medication for patient or group
... identifier S0..*IdentifierExternal ids for this request
.... value S0..1string醫令序。[TOTFA.p13]
... status S1..1code[active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown]
Fixed Value: completed
... intent S1..1code[proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option]
Fixed Value: order
.... coding S0..*CodingCode defined by a terminology system
..... system S1..1uri健保資料網址
..... code S1..1code[TOTFA.p3, TOTFA.p17]
..... display S1..1string[醫令類別, 慢性病連續處方箋、同一療程及排程檢查案件註記]
.... text 0..1string[醫令類別, 慢性病連續處方箋、同一療程及排程檢查案件註記]
... medication[x] S1..1CodeableConceptMedication to be taken
.... coding S0..*CodingCode defined by a terminology system
..... system S1..1uri健保資料網址
..... code S1..1code[TOTFA.p4]
..... display S1..1string[藥品(項目)代號]
.... text 0..1string[藥品(項目)代號]
... subject S1..1Reference(Patient 門診住院-病患基本資料)Who or group medication request is for
.... reference S1..1string患者Resource Link
... encounter S1..1Reference(Encounter TOTFA-案件分類)Encounter created as part of encounter/admission/stay
.... reference S1..1stringTOTFA案件分類Resource Link
... note S0..*AnnotationInformation about the prescription
.... text S1..1markdown醫令調劑方式。[TOTFA.p2]
... dosageInstruction S0..*DosageHow the medication should be taken
.... timing S0..1TimingWhen medication should be administered
..... code S0..1CodeableConceptBID | TID | QID | AM | PM | QD | QOD | +
...... coding S0..*CodingCode defined by a terminology system
....... system S1..1uri健保資料網址
....... code S1..1code藥品使用頻率。[TOTFA.p7]
....... display S1..1string[藥品使用頻率]
...... text 0..1string[藥品使用頻率]
.... route S0..1CodeableConceptHow drug should enter body
..... coding S0..*CodingCode defined by a terminology system
...... system S1..1uri藥品使用資料網址
...... code S1..1code[TOTFA.p9]
...... display S1..1string[給藥途徑/作用部位]
..... text 0..1string[給藥途徑/作用部位]
.... doseAndRate S0..*ElementAmount of medication administered
..... dose[x] S0..1QuantityAmount of medication per dose
...... value S0..1decimal藥品用量。[TOTFA.p5]
... dispenseRequest S1..1BackboneElementMedication supply authorization
.... validityPeriod S0..1PeriodTime period supply is authorized for
..... start S0..1dateTime執行時間-起。[TOTFA.p14]
..... end S0..1dateTime執行時間-迄。[TOTFA.p15]
.... quantity S0..1SimpleQuantityAmount of medication to supply per dispense
..... value S0..1decimal[TOTFA.p10]
.... expectedSupplyDuration S1..1DurationNumber of days supply per dispense
..... value S0..1decimal[TOTFA.p1]
..... unit S1..1stringUnit representation
Fixed Value: days
..... system S1..1uriSystem that defines coded unit form
Fixed Value: http://unitsofmeasure.org
..... code S1..1codeCoded form of the unit
Fixed Value: d

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..*MedicationRequestOrdering of medication for patient or group
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S0..*IdentifierExternal ids for this request
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... value SΣ0..1string醫令序。[TOTFA.p13]
Example General: 123456
... intent ?!SΣ1..1code[proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option]
Binding: medicationRequest Intent (required): The kind of medication order.


Fixed Value: order
... category S0..*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.


.... coding SΣ0..*CodingCode defined by a terminology system
..... system SΣ1..1uri健保資料網址
..... code SΣ1..1code[TOTFA.p3, TOTFA.p17]
..... display SΣ1..1string[醫令類別, 慢性病連續處方箋、同一療程及排程檢查案件註記]
.... text Σ0..1string[醫令類別, 慢性病連續處方箋、同一療程及排程檢查案件註記]
... doNotPerform ?!Σ0..1booleanTrue if request is prohibiting action
... medication[x] SΣ1..1CodeableConceptMedication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.

.... coding SΣ0..*CodingCode defined by a terminology system
..... system SΣ1..1uri健保資料網址
..... code SΣ1..1code[TOTFA.p4]
..... display SΣ1..1string[藥品(項目)代號]
.... text Σ0..1string[藥品(項目)代號]
... subject SΣ1..1Reference(Patient 門診住院-病患基本資料)Who or group medication request is for
.... reference SΣC1..1string患者Resource Link
... encounter S1..1Reference(Encounter TOTFA-案件分類)Encounter created as part of encounter/admission/stay
.... reference SΣC1..1stringTOTFA案件分類Resource Link
... note S0..*AnnotationInformation about the prescription
.... text SΣ1..1markdown醫令調劑方式。[TOTFA.p2]
... dosageInstruction S0..*DosageHow the medication should be taken
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... timing SΣ0..1TimingWhen medication should be administered
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... code SΣ0..1CodeableConceptBID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.

...... coding SΣ0..*CodingCode defined by a terminology system
....... system SΣ1..1uri健保資料網址
....... code SΣ1..1code藥品使用頻率。[TOTFA.p7]
....... display SΣ1..1string[藥品使用頻率]
...... text Σ0..1string[藥品使用頻率]
.... route SΣ0..1CodeableConceptHow drug should enter body
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 SΣ0..*CodingCode defined by a terminology system
...... system SΣ1..1uri藥品使用資料網址
...... code SΣ1..1code[TOTFA.p9]
...... display SΣ1..1string[給藥途徑/作用部位]
..... text Σ0..1string[給藥途徑/作用部位]
.... doseAndRate SΣ0..*ElementAmount of medication administered
..... dose[x] SΣ0..1QuantityAmount of medication per dose
...... value SΣ0..1decimal藥品用量。[TOTFA.p5]
...... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

... dispenseRequest S1..1BackboneElementMedication supply authorization
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... validityPeriod S0..1PeriodTime period supply is authorized for
..... start SΣC0..1dateTime執行時間-起。[TOTFA.p14]
..... end SΣC0..1dateTime執行時間-迄。[TOTFA.p15]
.... quantity S0..1SimpleQuantityAmount of medication to supply per dispense
..... value SΣ0..1decimal[TOTFA.p10]
.... expectedSupplyDuration S1..1DurationNumber of days supply per dispense
..... value SΣ0..1decimal[TOTFA.p1]
..... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

..... unit SΣ1..1stringUnit representation
Fixed Value: days
..... system SΣC1..1uriSystem that defines coded unit form
Fixed Value: http://unitsofmeasure.org
..... code SΣ1..1codeCoded form of the unit
Fixed Value: d

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
MedicationRequest.identifier.userequiredIdentifierUse
MedicationRequest.statusrequiredFixed Value: completed
MedicationRequest.intentrequiredFixed Value: order
MedicationRequest.categoryexamplemedicationRequest Category Codes
MedicationRequest.medication[x]exampleSNOMEDCTMedicationCodes
MedicationRequest.dosageInstruction.timing.codepreferredTimingAbbreviation
MedicationRequest.dosageInstruction.routeexampleSNOMEDCTRouteCodes
MedicationRequest.dosageInstruction.doseAndRate.dose[x].comparatorrequiredQuantityComparator
MedicationRequest.dispenseRequest.expectedSupplyDuration.comparatorrequiredQuantityComparator

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()
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..*MedicationRequestOrdering of medication for patient or group
... 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 S0..*IdentifierExternal ids for this request
.... 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 Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣ0..1string醫令序。[TOTFA.p13]
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[proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option]
Binding: medicationRequest Intent (required): The kind of medication order.


Fixed Value: order
... category S0..*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.


.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding SΣ0..*CodingCode defined by a terminology system
..... 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[TOTFA.p3, TOTFA.p17]
..... display SΣ1..1string[醫令類別, 慢性病連續處方箋、同一療程及排程檢查案件註記]
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text Σ0..1string[醫令類別, 慢性病連續處方箋、同一療程及排程檢查案件註記]
... 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] Σ0..1Reported rather than primary record
.... reportedBooleanboolean
.... reportedReferenceReference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
... medication[x] SΣ1..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
.... coding SΣ0..*CodingCode defined by a terminology system
..... 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[TOTFA.p4]
..... display SΣ1..1string[藥品(項目)代號]
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text Σ0..1string[藥品(項目)代號]
... subject SΣ1..1Reference(Patient 門診住院-病患基本資料)Who or group medication request is for
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣC1..1string患者Resource Link
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... encounter S1..1Reference(Encounter TOTFA-案件分類)Encounter created as part of encounter/admission/stay
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣC1..1stringTOTFA案件分類Resource Link
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... supportingInformation 0..*Reference(Resource)Information to support ordering of the medication
... authoredOn Σ0..1dateTimeWhen request was initially authored
... requester Σ0..1Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device)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 S0..*AnnotationInformation about the prescription
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ0..1Individual responsible for the annotation
..... authorReferenceReference(Practitioner | Patient | RelatedPerson | Organization)
..... authorStringstring
.... time Σ0..1dateTimeWhen the annotation was made
.... text SΣ1..1markdown醫令調劑方式。[TOTFA.p2]
... dosageInstruction S0..*DosageHow the medication should be taken
.... 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 Σ0..1stringFree text dosage instructions e.g. SIG
.... 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Σ0..1TimingWhen medication should be administered
..... 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 ΣC0..1ElementWhen the event is to occur
...... 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 Σ0..1positiveIntEvent occurs frequency times per period
...... frequencyMax Σ0..1positiveIntEvent occurs up to frequencyMax times per period
...... period Σ0..1decimalEvent occurs frequency times per period
...... periodMax Σ0..1decimalUpper limit of period (3-4 hours)
...... periodUnit Σ0..1codes | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).

...... 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 SΣ0..1CodeableConceptBID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.

...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding SΣ0..*CodingCode defined by a terminology system
....... 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藥品使用頻率。[TOTFA.p7]
....... display SΣ1..1string[藥品使用頻率]
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... text Σ0..1string[藥品使用頻率]
.... 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Σ0..1CodeableConceptHow drug should enter body
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 SΣ0..*CodingCode defined by a terminology system
...... 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[TOTFA.p9]
...... display SΣ1..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Σ0..*ElementAmount of medication administered
..... 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.

..... dose[x] SΣ0..1QuantityAmount of medication per dose
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... value SΣ0..1decimal藥品用量。[TOTFA.p5]
...... 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..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 S1..1BackboneElementMedication supply authorization
.... 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 S0..1PeriodTime period supply is authorized for
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... start SΣC0..1dateTime執行時間-起。[TOTFA.p14]
..... end SΣC0..1dateTime執行時間-迄。[TOTFA.p15]
.... numberOfRepeatsAllowed 0..1unsignedIntNumber of refills authorized
.... quantity S0..1SimpleQuantityAmount of medication to supply per dispense
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... value SΣ0..1decimal[TOTFA.p10]
..... unit Σ0..1stringUnit representation
..... system ΣC0..1uriSystem that defines coded unit form
..... code Σ0..1codeCoded form of the unit
.... expectedSupplyDuration S1..1DurationNumber of days supply per dispense
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... value SΣ0..1decimal[TOTFA.p1]
..... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

..... unit SΣ1..1stringUnit representation
Fixed Value: days
..... system SΣC1..1uriSystem that defines coded unit form
Fixed Value: http://unitsofmeasure.org
..... code SΣ1..1codeCoded form of the unit
Fixed Value: 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.subject.typeextensibleResourceType
MedicationRequest.encounter.typeextensibleResourceType
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].comparatorrequiredQuantityComparator
MedicationRequest.dispenseRequest.expectedSupplyDuration.comparatorrequiredQuantityComparator
MedicationRequest.substitution.allowed[x]exampleActSubstanceAdminSubstitutionCode
MedicationRequest.substitution.reasonexampleSubstanceAdminSubstitutionReason

Constraints

IdGradePath(s)DetailsRequirements
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()
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: 8 elements (12 nested mandatory elements)
Must-Support: 46 elements
Fixed Value: 5 elements

Structures

This structure refers to these other structures:

Differential View

This structure is derived from MedicationRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..*MedicationRequestOrdering of medication for patient or group
... identifier S0..*IdentifierExternal ids for this request
.... value S0..1string醫令序。[TOTFA.p13]
... status S1..1code[active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown]
Fixed Value: completed
... intent S1..1code[proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option]
Fixed Value: order
.... coding S0..*CodingCode defined by a terminology system
..... system S1..1uri健保資料網址
..... code S1..1code[TOTFA.p3, TOTFA.p17]
..... display S1..1string[醫令類別, 慢性病連續處方箋、同一療程及排程檢查案件註記]
.... text 0..1string[醫令類別, 慢性病連續處方箋、同一療程及排程檢查案件註記]
... medication[x] S1..1CodeableConceptMedication to be taken
.... coding S0..*CodingCode defined by a terminology system
..... system S1..1uri健保資料網址
..... code S1..1code[TOTFA.p4]
..... display S1..1string[藥品(項目)代號]
.... text 0..1string[藥品(項目)代號]
... subject S1..1Reference(Patient 門診住院-病患基本資料)Who or group medication request is for
.... reference S1..1string患者Resource Link
... encounter S1..1Reference(Encounter TOTFA-案件分類)Encounter created as part of encounter/admission/stay
.... reference S1..1stringTOTFA案件分類Resource Link
... note S0..*AnnotationInformation about the prescription
.... text S1..1markdown醫令調劑方式。[TOTFA.p2]
... dosageInstruction S0..*DosageHow the medication should be taken
.... timing S0..1TimingWhen medication should be administered
..... code S0..1CodeableConceptBID | TID | QID | AM | PM | QD | QOD | +
...... coding S0..*CodingCode defined by a terminology system
....... system S1..1uri健保資料網址
....... code S1..1code藥品使用頻率。[TOTFA.p7]
....... display S1..1string[藥品使用頻率]
...... text 0..1string[藥品使用頻率]
.... route S0..1CodeableConceptHow drug should enter body
..... coding S0..*CodingCode defined by a terminology system
...... system S1..1uri藥品使用資料網址
...... code S1..1code[TOTFA.p9]
...... display S1..1string[給藥途徑/作用部位]
..... text 0..1string[給藥途徑/作用部位]
.... doseAndRate S0..*ElementAmount of medication administered
..... dose[x] S0..1QuantityAmount of medication per dose
...... value S0..1decimal藥品用量。[TOTFA.p5]
... dispenseRequest S1..1BackboneElementMedication supply authorization
.... validityPeriod S0..1PeriodTime period supply is authorized for
..... start S0..1dateTime執行時間-起。[TOTFA.p14]
..... end S0..1dateTime執行時間-迄。[TOTFA.p15]
.... quantity S0..1SimpleQuantityAmount of medication to supply per dispense
..... value S0..1decimal[TOTFA.p10]
.... expectedSupplyDuration S1..1DurationNumber of days supply per dispense
..... value S0..1decimal[TOTFA.p1]
..... unit S1..1stringUnit representation
Fixed Value: days
..... system S1..1uriSystem that defines coded unit form
Fixed Value: http://unitsofmeasure.org
..... code S1..1codeCoded form of the unit
Fixed Value: d

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..*MedicationRequestOrdering of medication for patient or group
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S0..*IdentifierExternal ids for this request
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... value SΣ0..1string醫令序。[TOTFA.p13]
Example General: 123456
... intent ?!SΣ1..1code[proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option]
Binding: medicationRequest Intent (required): The kind of medication order.


Fixed Value: order
... category S0..*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.


.... coding SΣ0..*CodingCode defined by a terminology system
..... system SΣ1..1uri健保資料網址
..... code SΣ1..1code[TOTFA.p3, TOTFA.p17]
..... display SΣ1..1string[醫令類別, 慢性病連續處方箋、同一療程及排程檢查案件註記]
.... text Σ0..1string[醫令類別, 慢性病連續處方箋、同一療程及排程檢查案件註記]
... doNotPerform ?!Σ0..1booleanTrue if request is prohibiting action
... medication[x] SΣ1..1CodeableConceptMedication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.

.... coding SΣ0..*CodingCode defined by a terminology system
..... system SΣ1..1uri健保資料網址
..... code SΣ1..1code[TOTFA.p4]
..... display SΣ1..1string[藥品(項目)代號]
.... text Σ0..1string[藥品(項目)代號]
... subject SΣ1..1Reference(Patient 門診住院-病患基本資料)Who or group medication request is for
.... reference SΣC1..1string患者Resource Link
... encounter S1..1Reference(Encounter TOTFA-案件分類)Encounter created as part of encounter/admission/stay
.... reference SΣC1..1stringTOTFA案件分類Resource Link
... note S0..*AnnotationInformation about the prescription
.... text SΣ1..1markdown醫令調劑方式。[TOTFA.p2]
... dosageInstruction S0..*DosageHow the medication should be taken
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... timing SΣ0..1TimingWhen medication should be administered
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... code SΣ0..1CodeableConceptBID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.

...... coding SΣ0..*CodingCode defined by a terminology system
....... system SΣ1..1uri健保資料網址
....... code SΣ1..1code藥品使用頻率。[TOTFA.p7]
....... display SΣ1..1string[藥品使用頻率]
...... text Σ0..1string[藥品使用頻率]
.... route SΣ0..1CodeableConceptHow drug should enter body
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 SΣ0..*CodingCode defined by a terminology system
...... system SΣ1..1uri藥品使用資料網址
...... code SΣ1..1code[TOTFA.p9]
...... display SΣ1..1string[給藥途徑/作用部位]
..... text Σ0..1string[給藥途徑/作用部位]
.... doseAndRate SΣ0..*ElementAmount of medication administered
..... dose[x] SΣ0..1QuantityAmount of medication per dose
...... value SΣ0..1decimal藥品用量。[TOTFA.p5]
...... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

... dispenseRequest S1..1BackboneElementMedication supply authorization
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... validityPeriod S0..1PeriodTime period supply is authorized for
..... start SΣC0..1dateTime執行時間-起。[TOTFA.p14]
..... end SΣC0..1dateTime執行時間-迄。[TOTFA.p15]
.... quantity S0..1SimpleQuantityAmount of medication to supply per dispense
..... value SΣ0..1decimal[TOTFA.p10]
.... expectedSupplyDuration S1..1DurationNumber of days supply per dispense
..... value SΣ0..1decimal[TOTFA.p1]
..... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

..... unit SΣ1..1stringUnit representation
Fixed Value: days
..... system SΣC1..1uriSystem that defines coded unit form
Fixed Value: http://unitsofmeasure.org
..... code SΣ1..1codeCoded form of the unit
Fixed Value: d

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
MedicationRequest.identifier.userequiredIdentifierUse
MedicationRequest.statusrequiredFixed Value: completed
MedicationRequest.intentrequiredFixed Value: order
MedicationRequest.categoryexamplemedicationRequest Category Codes
MedicationRequest.medication[x]exampleSNOMEDCTMedicationCodes
MedicationRequest.dosageInstruction.timing.codepreferredTimingAbbreviation
MedicationRequest.dosageInstruction.routeexampleSNOMEDCTRouteCodes
MedicationRequest.dosageInstruction.doseAndRate.dose[x].comparatorrequiredQuantityComparator
MedicationRequest.dispenseRequest.expectedSupplyDuration.comparatorrequiredQuantityComparator

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()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationRequest 0..*MedicationRequestOrdering of medication for patient or group
... 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 S0..*IdentifierExternal ids for this request
.... 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 Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣ0..1string醫令序。[TOTFA.p13]
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[proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option]
Binding: medicationRequest Intent (required): The kind of medication order.


Fixed Value: order
... category S0..*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.


.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding SΣ0..*CodingCode defined by a terminology system
..... 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[TOTFA.p3, TOTFA.p17]
..... display SΣ1..1string[醫令類別, 慢性病連續處方箋、同一療程及排程檢查案件註記]
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text Σ0..1string[醫令類別, 慢性病連續處方箋、同一療程及排程檢查案件註記]
... 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] Σ0..1Reported rather than primary record
.... reportedBooleanboolean
.... reportedReferenceReference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
... medication[x] SΣ1..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
.... coding SΣ0..*CodingCode defined by a terminology system
..... 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[TOTFA.p4]
..... display SΣ1..1string[藥品(項目)代號]
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text Σ0..1string[藥品(項目)代號]
... subject SΣ1..1Reference(Patient 門診住院-病患基本資料)Who or group medication request is for
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣC1..1string患者Resource Link
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... encounter S1..1Reference(Encounter TOTFA-案件分類)Encounter created as part of encounter/admission/stay
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣC1..1stringTOTFA案件分類Resource Link
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... supportingInformation 0..*Reference(Resource)Information to support ordering of the medication
... authoredOn Σ0..1dateTimeWhen request was initially authored
... requester Σ0..1Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device)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 S0..*AnnotationInformation about the prescription
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ0..1Individual responsible for the annotation
..... authorReferenceReference(Practitioner | Patient | RelatedPerson | Organization)
..... authorStringstring
.... time Σ0..1dateTimeWhen the annotation was made
.... text SΣ1..1markdown醫令調劑方式。[TOTFA.p2]
... dosageInstruction S0..*DosageHow the medication should be taken
.... 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 Σ0..1stringFree text dosage instructions e.g. SIG
.... 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Σ0..1TimingWhen medication should be administered
..... 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 ΣC0..1ElementWhen the event is to occur
...... 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 Σ0..1positiveIntEvent occurs frequency times per period
...... frequencyMax Σ0..1positiveIntEvent occurs up to frequencyMax times per period
...... period Σ0..1decimalEvent occurs frequency times per period
...... periodMax Σ0..1decimalUpper limit of period (3-4 hours)
...... periodUnit Σ0..1codes | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).

...... 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 SΣ0..1CodeableConceptBID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.

...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding SΣ0..*CodingCode defined by a terminology system
....... 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藥品使用頻率。[TOTFA.p7]
....... display SΣ1..1string[藥品使用頻率]
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... text Σ0..1string[藥品使用頻率]
.... 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Σ0..1CodeableConceptHow drug should enter body
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 SΣ0..*CodingCode defined by a terminology system
...... 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[TOTFA.p9]
...... display SΣ1..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Σ0..*ElementAmount of medication administered
..... 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.

..... dose[x] SΣ0..1QuantityAmount of medication per dose
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... value SΣ0..1decimal藥品用量。[TOTFA.p5]
...... 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..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 S1..1BackboneElementMedication supply authorization
.... 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 S0..1PeriodTime period supply is authorized for
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... start SΣC0..1dateTime執行時間-起。[TOTFA.p14]
..... end SΣC0..1dateTime執行時間-迄。[TOTFA.p15]
.... numberOfRepeatsAllowed 0..1unsignedIntNumber of refills authorized
.... quantity S0..1SimpleQuantityAmount of medication to supply per dispense
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... value SΣ0..1decimal[TOTFA.p10]
..... unit Σ0..1stringUnit representation
..... system ΣC0..1uriSystem that defines coded unit form
..... code Σ0..1codeCoded form of the unit
.... expectedSupplyDuration S1..1DurationNumber of days supply per dispense
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... value SΣ0..1decimal[TOTFA.p1]
..... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

..... unit SΣ1..1stringUnit representation
Fixed Value: days
..... system SΣC1..1uriSystem that defines coded unit form
Fixed Value: http://unitsofmeasure.org
..... code SΣ1..1codeCoded form of the unit
Fixed Value: 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.subject.typeextensibleResourceType
MedicationRequest.encounter.typeextensibleResourceType
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].comparatorrequiredQuantityComparator
MedicationRequest.dispenseRequest.expectedSupplyDuration.comparatorrequiredQuantityComparator
MedicationRequest.substitution.allowed[x]exampleActSubstanceAdminSubstitutionCode
MedicationRequest.substitution.reasonexampleSubstanceAdminSubstitutionReason

Constraints

IdGradePath(s)DetailsRequirements
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()
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: 8 elements (12 nested mandatory elements)
Must-Support: 46 elements
Fixed Value: 5 elements

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel, Schematron