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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 836651a22b98dce0fc91c853b66dbeff914d71edf989c3423cf30f8280f95a8a
4
- data.tar.gz: 5ac2010eb5569ce720d6117822e82dc8edff381cf0d2dd0a61f7dfcb86b92a61
3
+ metadata.gz: 40ff9f4331d4dabef29f1178e862387d3aadb7c416268c97f5ac71bd239509a3
4
+ data.tar.gz: fa2d3bc4b12109804ef131f9f498f1115f8a01e45f3482ede38a714d81e00fd1
5
5
  SHA512:
6
- metadata.gz: 371bbfaef6c80ba39391305194d8fa6d056a2e416876b9cb4f190f51c984084d3653972fe4a53abaedac0bff4b13d83ca3c648facb264fc91a956c10bd9a4aab
7
- data.tar.gz: 39be96359d230f4f007400c50a7f775a7e113b1e8a072a647858729de8fd2969acb5f61acce3642cbead966b255d3ac7c43381e38af62d8aea1ececf7dd6c154
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' [1-9] [0-9]* {
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]
@@ -1,3 +1,3 @@
1
1
  module OpenEHR
2
- VERSION = "2.4.2"
2
+ VERSION = "2.4.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openehr
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shinji KOBAYASHI