...
Code Block |
---|
term_definitions = < ["en"] = < ["at32"] = < text = <"Naked"> description = <"No clothing, bedding or covering."> > ["at33"] = < text = <"Reduced clothing/bedding"> description = <"The person is covered by a lesser amount of clothing or bedding than deemed appropriate for the environmental circumstances."> > ["at34"] = < text = <"Appropriate clothing/bedding"> description = <"The person is covered by an amount of clothing or bedding deemed appropriate for the environmental circumstances."> > ["at35"] = < text = <"Increased clothing/bedding"> description = <"The person is covered by an increased amount of clothing or bedding than deemed appropriate for the environmental circumstances."> > ["ac1"] = < text = <"Body exposure"> description = <"The thermal situation of the person who is having the temperature taken."> > > > value_sets = < ["ac1"] = < origin id= <"ac1"> members = <"at32", "at33", "at34", "at35"> > > |
...
Code Block |
---|
archetype (adl_version=1.5) openEHR-EHR-OBSERVATION.external_code_list.v1 language original_language = <[ISO_639-1::en]> description original_author = < ["name"] = <"Sam Heard"> ["organisation"] = <"Ocean Informatics"> ["email"] = <"sam.heard@oceaninformatics.com"> ["date"] = <"22/03/2006"> > details = < ["en"] = < language = <[ISO_639-1::en]> purpose = <"To test rewriting of external code list"> copyright = <"© openEHR Foundation"> > > lifecycle_state = <"AuthorDraft"> other_details = < ["regression"] = <"PASS"> > definition OBSERVATION[id1] matches { protocol matches { ITEM_TREE[id2] matches { items cardinality matches {0..*; unordered} matches { ELEMENT[id3] occurrences matches {0..1} matches { value matches { DV_CODED_TEXT matches { defining_code matches { [openehr:: 249, 251, 252, 253, 523, 666; 251] } } } } } } } } terminology term_definitions = < ["en"] = < items = < ["id1"] = < text = <"Test Obs"> description = <"Test Obs"> > ["id3"] = < text = <"document state"> description = <"document state"> > > > > |
Now the reprocessed version:
Code Block |
---|
archetype (adl_version=1.5.1) openEHR-EHR-OBSERVATION.external_code_list.v1.0.0 language original_language = <[ISO_639-1::en]> description original_author = < ["name"] = <"Sam Heard"> ["organisation"] = <"Ocean Informatics"> ["email"] = <"sam.heard@oceaninformatics.com"> ["date"] = <"22/03/2006"> > details = < ["en"] = < language = <[ISO_639-1::en]> purpose = <"To test rewriting of external code list"> copyright = <"© openEHR Foundation"> > > lifecycle_state = <"initial"> other_details = < ["regression"] = <"PASS"> > definition OBSERVATION[id1] matches { -- Test Obs protocol matches { ITEM_TREE[id2] matches { -- history items matches { ELEMENT[id3] occurrences matches {0..1} matches { -- document state value matches { DV_CODED_TEXT[id4] matches { defining_code matches {[ac1; at2]} -- document state } } } } } } } terminology term_definitions = < ["en"] = < ["id1"] = < text = <"Test Obs"> description = <"Test Obs"> > ["id3"] = < text = <"document state"> description = <"document state"> > ["ac1"] = < text = <"document state"> description = <"document state"> > ["at1"] = < text = <"(added by post-parse processor)"> description = <"(added by post-parse processor)"> > ["at2"] = < text = <"(added by post-parse processor)"> description = <"(added by post-parse processor)"> > ["at3"] = < text = <"(added by post-parse processor)"> description = <"(added by post-parse processor)"> > ["at4"] = < text = <"(added by post-parse processor)"> description = <"(added by post-parse processor)"> > ["at5"] = < text = <"(added by post-parse processor)"> description = <"(added by post-parse processor)"> > ["at6"] = < text = <"(added by post-parse processor)"> description = <"(added by post-parse processor)"> > > > term_bindings = < ["openehr"] = < ["at1"] = <http://openehr.info/id/249> ["at2"] = <http://openehr.info/id/251> ["at3"] = <http://openehr.info/id/252> ["at4"] = <http://openehr.info/id/253> ["at5"] = <http://openehr.info/id/523> ["at6"] = <http://openehr.info/id/666> > > value_sets = < ["ac1"] = < origin id= <"ac1"> members = <"at1", "at2", "at3", "at4", "at5", "at6"> > > |
...