TEST Conditions
Name
an example archetype
Description
an archetype
Purpose
Use
Archetype Id
openEHR-EHR-CLUSTER.test.v0
Copyright
Licencing
This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/.
Original Author

Date Originally Authored
2025-03-28
Name Card Type Description
MyQuantityOne
0..1 DV_QUANTITY wee
Comment
wewe
DV_QUANTITY
MyQuantityTwo
0..1 DV_QUANTITY
DV_QUANTITY
MyQuantityThree
0..1 DV_QUANTITY
DV_QUANTITY
archetype (adl_version=1.4; uid=f0a4e6ae-0e04-4969-991d-0b2ea77912b7)
	openEHR-EHR-CLUSTER.test.v0

concept
	[at0000]

language
	original_language = <[ISO_639-1::en]>

description
	original_author = <
		["date"] = <"2025-03-28">
	>
	lifecycle_state = <"unmanaged">
	details = <
		["en"] = <
			language = <[ISO_639-1::en]>
		>
	>
	other_details = <
		["licence"] = <"This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/.">
		["custodian_organisation"] = <"openEHR Foundation">
		["original_namespace"] = <"org.openehr">
		["original_publisher"] = <"openEHR Foundation">
		["custodian_namespace"] = <"org.openehr">
		["build_uid"] = <"9486152b-1196-3b7d-9a89-3ca9a47d0504">
	>

definition
	CLUSTER[at0000] matches {    -- an example archetype
		items cardinality matches {1..*; unordered} matches {
			ELEMENT[at0006] occurrences matches {0..1} matches {    -- MyQuantityOne
				value matches {
					C_DV_QUANTITY <
						property = <[openehr::124]>
						list = <
							["1"] = <
								units = <"dg">
								magnitude = <|2.0..12.0|>
								precision = <|1|>
								units_system = <"http://unitsofmeasure.org">
								units_display_name = <"dg">
							>
							["2"] = <
								units = <"g">
								magnitude = <|>122.0..<1123.0|>
								precision = <|2|>
								units_system = <"http://unitsofmeasure.org">
								units_display_name = <"g">
							>
						>

						assumed_value = <
							units = <"dg">
							magnitude = <6.0>
							precision = <1>
						>
					>
				}
			}
			ELEMENT[at0007] occurrences matches {0..1} matches {    -- MyQuantityTwo
				value matches {
					C_DV_QUANTITY <
						property = <[openehr::127]>
						list = <
							["1"] = <
								units = <"Cel">
								magnitude = <|10.0..70.0|>
								precision = <|1|>
							>
						>

						assumed_value = <
							units = <"Cel">
							magnitude = <50.0>
							precision = <1>
						>
					>
				}
			}
			ELEMENT[at0008] occurrences matches {0..1} matches {    -- MyQuantityThree
				value matches {
					C_DV_QUANTITY <
						property = <[openehr::128]>
						list = <
							["1"] = <
								units = <"s">
								magnitude = <|>10.0..<120.0|>
								precision = <|2|>
							>
						>

						assumed_value = <
							units = <"s">
							magnitude = <33.0>
							precision = <2>
						>
					>
				}
			}
		}
	}

ontology
	term_definitions = <
		["en"] = <
			items = <
				["at0000"] = <
					text = <"an example archetype">
					description = <"an archetype">
				>
				["at0006"] = <
					text = <"MyQuantityOne">
					description = <"wee">
					comment = <"wewe">
					XYZ = <"TEST-XYZ">
					ABC = <"TEST-ABC">
				>
				["g"] = <
					text = <"myGram">
					description = <"gram">
				>
				["dg"] = <
					text = <"decideci">
					description = <"decigram">
				>
				["at0007"] = <
					text = <"MyQuantityTwo">
					description = <"">
				>
				["at0008"] = <
					text = <"MyQuantityThree">
					description = <"">
				>
				["s"] = <
					text = <"speedy">
					description = <"second">
				>
			>
		>
	>