forked from nedap/archie
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove annotations of objects that are removed in Flattened archetype (…
…#615) * remove annotations when objects are removed because of zero occurrences * Also remove annotations for objects that are prohibited, but are not removed * Add test * add test * add tests for coverage
- Loading branch information
1 parent
0e79616
commit 148b979
Showing
5 changed files
with
174 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
...lattener/openEHR-EHR-OBSERVATION.to_flatten_child_with_annotations_exclude_object.v1.adls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
archetype (adl_version=2.0.5; rm_release=1.0.2; generated) | ||
openEHR-EHR-OBSERVATION.to_flatten_child.v1.0.0 | ||
|
||
specialize | ||
openEHR-EHR-OBSERVATION.to_flatten_parent.v1 | ||
|
||
language | ||
original_language = <[ISO_639-1::en]> | ||
translations = < | ||
["ar-sy"] = < | ||
language = <[ISO_639-1::ar-sy]> | ||
author = < | ||
["name"] = <"Mona Saleh"> | ||
> | ||
> | ||
> | ||
|
||
description | ||
lifecycle_state = <"unmanaged"> | ||
original_author = < | ||
["name"] = <"Heather Leslie"> | ||
["organisation"] = <"Ocean Informatics"> | ||
["email"] = <"[email protected]"> | ||
["date"] = <"2012-12-11"> | ||
> | ||
copyright = <"none"> | ||
details = < | ||
["en"] = < | ||
language = <[ISO_639-1::en]> | ||
purpose = <"specialized rules test"> | ||
use = <"testing specialized rules"> | ||
keywords = <"test"> | ||
misuse = <""> | ||
> | ||
> | ||
|
||
definition | ||
OBSERVATION[id1.1] matches { -- blood pressure | ||
/data[id2]/events[id3]/data[id4]/items matches { | ||
ELEMENT[id6] occurrences matches {0} | ||
} | ||
} | ||
|
||
terminology | ||
term_definitions = < | ||
["en"] = < | ||
["id1.1"] = < | ||
text = <"blood pressure observation"> | ||
description = <"blood pressure observation"> | ||
> | ||
> | ||
> | ||
|
||
annotations | ||
documentation = < | ||
["en"] = < | ||
["/subject"] = < | ||
["design note"] = <"xxxxxx"> | ||
> | ||
["/data[id2]/events[id3]/data[id4]/items[id5]"] = < | ||
["design note"] = <"this is a design note on allergic reaction, with some extra information"> | ||
["requirements note"] = <"this is a requirements note on allergic reaction"> | ||
["medline ref"] = <"this is a medline ref on allergic reaction"> | ||
> | ||
["/data[id2]/events[id3]/data[id4]/items[id7]"] = < | ||
["design note"] = <"this is also a design note on intelerance"> | ||
["requirements note"] = <"this is a requirements note on intolerance"> | ||
["national data dictionary"] = <"NDD ref for intolerance"> | ||
> | ||
> | ||
> |