Modellbiblioteket openEHR Fork
Name
Conditional medication instructions
Description
Details of conditions on which determine the dose amount or administration rate.
Purpose
To record conditional factors which impact the dose amount or administration rate of a medication.
Use
Archetype Id
openEHR-EHR-CLUSTER.conditional_medication_rules.v0
Copyright
© openEHR Foundation
Licencing
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/.
Original Author
Ian McNicoll
freshEHR Clinical Informatics Ltd.
Date Originally Authored
To record conditional factors which impact the dose amount or administration rate of a medication.
Name Card Type Description
Condition rule
0..* CLUSTER Details of the condition and associated dose amount or administration rate.
CLUSTER
Condition
0..1
CHOICE OF
DV_QUANTITY
DV_INTERVAL<DV_QUANTITY>
DV_COUNT
DV_INTERVAL<DV_COUNT>
DV_PROPORTION
DV_TEXT
DV_BOOLEAN
The value which is required for the associated dose amount or admistration to be applied.
DV_QUANTITY
DV_INTERVAL<DV_QUANTITY>
DV_INTERVAL<DV_COUNT>
DV_PROPORTION
Constraint for DV_BOOLEAN
Dose amount
0..1 DV_QUANTITY The dose amount to be administered if the condition applies.
DV_QUANTITY
Dose administration rate
0..1 DV_QUANTITY The dose administration rate to be used if the condition applies.
DV_QUANTITY
Dosage formula
0..* DV_TEXT The dosage formula used to calculate the dose amount or administration rate.
archetype (adl_version=1.4; uid=bc96878f-bf8e-456e-b1d4-a7ed85117a61)
	openEHR-EHR-CLUSTER.conditional_medication_rules.v0

concept
	[at0000]	-- Conditional medication instructions
language
	original_language = <[ISO_639-1::en]>
description
	original_author = <
		["name"] = <"Ian McNicoll">
		["organisation"] = <"freshEHR Clinical Informatics Ltd.">
		["email"] = <"ian@freshehr.com">
		["date"] = <"2016-01-11">
	>
	details = <
		["en"] = <
			language = <[ISO_639-1::en]>
			purpose = <"To record conditional factors which impact the dose amount or administration rate of a medication.">
			use = <"">
			misuse = <"">
			copyright = <"© openEHR Foundation">
		>
	>
	lifecycle_state = <"in_development">
	other_contributors = <>
	other_details = <
		["licence"] = <"This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/.">
		["custodian_organisation"] = <"openEHR Foundation">
		["original_namespace"] = <"org.openehr">
		["original_publisher"] = <"openEHR Foundation">
		["custodian_namespace"] = <"org.openehr">
		["MD5-CAM-1.0.1"] = <"210EE9A45C212800EEE2E904DFCEA37D">
		["build_uid"] = <"ac4d5a7d-89ca-4780-9477-54577096c510">
		["revision"] = <"0.0.1-alpha">
	>

definition
	CLUSTER[at0000] matches {	-- Conditional medication instructions
		items cardinality matches {1..*; unordered} matches {
			CLUSTER[at0005] occurrences matches {0..*} matches {	-- Condition rule
				items cardinality matches {1..*; unordered} matches {
					ELEMENT[at0002] occurrences matches {0..1} matches {	-- Condition
						value matches {
							C_DV_QUANTITY <
							>
							DV_INTERVAL<DV_QUANTITY> matches {
								upper matches {
									C_DV_QUANTITY <
									>
								}
								lower matches {
									C_DV_QUANTITY <
									>
								}
							}
							DV_COUNT matches {*}
							DV_INTERVAL<DV_COUNT> matches {
								upper matches {
									DV_COUNT matches {*}
								}
								lower matches {
									DV_COUNT matches {*}
								}
							}
							DV_PROPORTION matches {
								is_integral matches {False}
							}
							DV_TEXT matches {*}
							DV_BOOLEAN matches {
								value matches {True, False}
							}
						}
					}
					ELEMENT[at0004] occurrences matches {0..1} matches {	-- Dose amount
						value matches {
							C_DV_QUANTITY <
								property = <[openehr::380]>
								list = <
									["1"] = <
										units = <"1">
										magnitude = <|>=0.0|>
									>
								>
							>
						}
					}
					ELEMENT[at0006] occurrences matches {0..1} matches {	-- Dose administration rate
						value matches {
							C_DV_QUANTITY <
								property = <[openehr::126]>
								list = <
									["1"] = <
										units = <"l/h">
										magnitude = <|>=0.0|>
									>
									["2"] = <
										units = <"ml/h">
										magnitude = <|>=0.0|>
									>
									["3"] = <
										units = <"ml/min">
										magnitude = <|>=0.0|>
									>
									["4"] = <
										units = <"ml/s">
										magnitude = <|>=0.0|>
									>
								>
							>
						}
					}
					ELEMENT[at0007] occurrences matches {0..*} matches {	-- Dosage formula
						value matches {
							DV_TEXT matches {*}
						}
					}
				}
			}
		}
	}


ontology
	term_definitions = <
		["en"] = <
			items = <
				["at0000"] = <
					text = <"Conditional medication instructions">
					description = <"Details of conditions on which determine the dose amount or administration rate.">
				>
				["at0002"] = <
					text = <"Condition">
					description = <"The value which is required for the associated dose amount or admistration to be applied.">
				>
				["at0004"] = <
					text = <"Dose amount">
					description = <"The dose amount to be administered if the condition applies.">
				>
				["at0005"] = <
					text = <"Condition rule">
					description = <"Details of the condition and associated dose amount or administration rate.">
				>
				["at0006"] = <
					text = <"Dose administration rate">
					description = <"The dose administration rate to be used if the condition applies.">
				>
				["at0007"] = <
					text = <"Dosage formula">
					description = <"The dosage formula used to calculate the dose amount or administration rate.">
				>
			>
		>
	>