openehr 2.4.2 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/openehr/parser/adl_grammar.tt +7 -1
- data/lib/openehr/parser/adl_helper.rb +1 -1
- data/lib/openehr/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 40ff9f4331d4dabef29f1178e862387d3aadb7c416268c97f5ac71bd239509a3
|
|
4
|
+
data.tar.gz: fa2d3bc4b12109804ef131f9f498f1115f8a01e45f3482ede38a714d81e00fd1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a53690dd8004f16b0f2f130f1ec07f59c848878e1f13e1d4835cb0bb2712ca8a61d8005e2f202a58b7e86e899dcb7e861bc4495546bc7436de907ea81fe457c9
|
|
7
|
+
data.tar.gz: 04eab1bf336f86d3f37790d3bb5d4615058c5f3fdb57e4777bb997b1912cfa8e7178031f5320e7b621c60fa6a82de3d3cbd2ec1850a5ae866f837e4a3ec6cfb3
|
|
@@ -449,6 +449,12 @@ module OpenEHR
|
|
|
449
449
|
OpenEHR::AM::Archetype::ConstraintModel::ArchetypeSlot.new(args)
|
|
450
450
|
end
|
|
451
451
|
}
|
|
452
|
+
/ c_archetype_slot_head SYM_MATCHES SYM_START_CBLOCK SYM_END_CBLOCK space {
|
|
453
|
+
# empty slot block (neither include nor exclude): any archetype allowed (#51)
|
|
454
|
+
def value(node)
|
|
455
|
+
OpenEHR::AM::Archetype::ConstraintModel::ArchetypeSlot.new(c_archetype_slot_head.value(node))
|
|
456
|
+
end
|
|
457
|
+
}
|
|
452
458
|
end
|
|
453
459
|
|
|
454
460
|
rule c_archetype_slot_head
|
|
@@ -3225,7 +3231,7 @@ module OpenEHR
|
|
|
3225
3231
|
end
|
|
3226
3232
|
|
|
3227
3233
|
rule V_ARCHETYPE_ID
|
|
3228
|
-
NAMESTR ('-' NAMESTR) 2..2 '.' NAMESTR ('-' NAMESTR)* '.v' [
|
|
3234
|
+
NAMESTR ('-' NAMESTR) 2..2 '.' NAMESTR ('-' NAMESTR)* '.v' [0-9]+ {
|
|
3229
3235
|
def value
|
|
3230
3236
|
text_value
|
|
3231
3237
|
end
|
|
@@ -37,7 +37,7 @@ module OpenEHR
|
|
|
37
37
|
code, details = lang
|
|
38
38
|
td = OpenEHR::RM::Common::Resource::TranslationDetails.new(
|
|
39
39
|
:language => details['language'],
|
|
40
|
-
:author => details['author'],
|
|
40
|
+
:author => details['author'] || { },
|
|
41
41
|
:accreditation => details['accreditation'],
|
|
42
42
|
:other_details => details['other_details'])
|
|
43
43
|
trans.update Hash[code, td]
|
data/lib/openehr/version.rb
CHANGED