This repository has been archived by the owner on Jul 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed validation error on empty form
- Loading branch information
1 parent
55da03c
commit 35da51b
Showing
6 changed files
with
141 additions
and
36 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
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
82 changes: 82 additions & 0 deletions
82
src/test/resources/com/nedap/archie/rules/evaluation/construct_only_necessary_structure.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,82 @@ | ||
archetype (adl_version=2.0.5; rm_release=1.0.2; generated) | ||
openEHR-EHR-OBSERVATION.matches.v1.0.0 | ||
|
||
language | ||
original_language = <[ISO_639-1::en]> | ||
|
||
description | ||
original_author = < | ||
["name"] = <"Pieter Bos"> | ||
> | ||
details = < | ||
["en"] = < | ||
language = <[ISO_639-1::en]> | ||
purpose = <"Test for rules, simple constant arithmetics"> | ||
keywords = <"ADL", "test"> | ||
> | ||
> | ||
lifecycle_state = <"published"> | ||
other_details = < | ||
["regression"] = <"PASS"> | ||
> | ||
copyright = <"copyright © 2004 openEHR Foundation <http://www.openEHR.org>"> | ||
|
||
definition | ||
OBSERVATION[id1] matches { -- Body mass index | ||
data matches { | ||
HISTORY[id2] matches { | ||
events cardinality matches {1..*; unordered} matches { | ||
EVENT[id3] occurrences matches {1..*} matches { -- Any event | ||
data matches { | ||
ITEM_TREE[id4] matches { | ||
items cardinality matches {1..*; unordered} matches { | ||
ELEMENT[id5] matches { | ||
value matches { | ||
DV_TEXT[id64] | ||
} | ||
} | ||
ELEMENT[id6] matches { | ||
value matches { | ||
DV_ORDINAL[id7] matches { | ||
[value, symbol] matches { | ||
[{2}, {[at1]}], | ||
[{1}, {[at2]}], | ||
[{0}, {[at3]}] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
rules | ||
/data[id2]/events[id3]/data[id4]/items[id5]/value/value matches {"test string"} | ||
|
||
terminology | ||
term_definitions = < | ||
["en"] = < | ||
["id1"] = < | ||
text = <"Blood Pressure"> | ||
description = <"The local measurement of arterial blood pressure which is a surrogate for arterial. pressure in the systemic circulation. Most commonly, use of the term 'blood pressure' refers to measurement of brachial artery pressure in the upper arm."> | ||
> | ||
["at1"] = < | ||
text = <"De patiënt kan dit zelf"> | ||
description = <"De patiënt kan dit zelf"> | ||
> | ||
["at2"] = < | ||
text = <"De patiënt heeft hulp van 1 persoon nodig"> | ||
description = <"De patiënt heeft hulp van 1 persoon nodig"> | ||
> | ||
["at3"] = < | ||
text = <"De patiënt heeft hulp van 2 of meer personen nodig"> | ||
description = <"De patiënt heeft hulp van 2 of meer personen nodig"> | ||
> | ||
> | ||
> | ||
|