us_core_test_kit 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b085432fabf8fcad9ffe5abc3779987360b98867b386d302fadcbf543a33c2e7
4
- data.tar.gz: 5d57f803ec9190c24704e6d36fd9bb65f3333cbf78b708217a8bc053fe561f08
3
+ metadata.gz: ddd68914d527894f1174e85e4107942a91ffaff91050cc2b998c4dfa32498772
4
+ data.tar.gz: 454fd2b5cfd9bf632f8900291e3845c70c9e7331b879d2848bde4ce943cb16fd
5
5
  SHA512:
6
- metadata.gz: 73f0f5d7a299771ba84a61ad799a4b8977162173df46347cdf6be4e5569aabde25d0b3cffce113a83307091042985878138aa2bc1a68742afdcccc0c469826cc
7
- data.tar.gz: a03d0e07cd4ad001024892cf0c999b81bcdff7584fa0492848cb2600105a24223c62efaf058838b279db4760b59da4269efc2a4a94eb2579f53c196b9d3e73ac
6
+ metadata.gz: b194b0f763fda10f3c237ce792dab6fbe2b5a85fa11eee37513abd03352ca8061157b4784e20d668cd4b0f639c96b2daba25fc4b13796153b2fc6374b95f0b80
7
+ data.tar.gz: c5fc27068d43dc4bcf1cffe2262800e7478e40f6066bed0dddf335e1ffe78e2d912ee7897c9a5adf790a67dcc1c35b2fa7771e2eb9bd655b87273aaa0d782af5
@@ -59,7 +59,10 @@
59
59
  :full_paths:
60
60
  - AllergyIntolerance.clinicalStatus
61
61
  :comparators: {}
62
- :values: []
62
+ :values:
63
+ - active
64
+ - inactive
65
+ - resolved
63
66
  :type: CodeableConcept
64
67
  :contains_multiple: false
65
68
  :multiple_or: MAY
@@ -108,7 +108,13 @@
108
108
  :full_paths:
109
109
  - Condition.clinicalStatus
110
110
  :comparators: {}
111
- :values: []
111
+ :values:
112
+ - active
113
+ - recurrence
114
+ - relapse
115
+ - inactive
116
+ - remission
117
+ - resolved
112
118
  :type: CodeableConcept
113
119
  :contains_multiple: false
114
120
  :multiple_or: MAY
@@ -65,7 +65,16 @@
65
65
  :full_paths:
66
66
  - Goal.lifecycleStatus
67
67
  :comparators: {}
68
- :values: []
68
+ :values:
69
+ - proposed
70
+ - planned
71
+ - accepted
72
+ - active
73
+ - on-hold
74
+ - completed
75
+ - cancelled
76
+ - entered-in-error
77
+ - rejected
69
78
  :type: code
70
79
  :contains_multiple: false
71
80
  :multiple_or: MAY
@@ -61,7 +61,10 @@
61
61
  :full_paths:
62
62
  - AllergyIntolerance.clinicalStatus
63
63
  :comparators: {}
64
- :values: []
64
+ :values:
65
+ - active
66
+ - inactive
67
+ - resolved
65
68
  :type: CodeableConcept
66
69
  :contains_multiple: false
67
70
  :multiple_or: MAY
@@ -614,7 +617,13 @@
614
617
  :full_paths:
615
618
  - Condition.clinicalStatus
616
619
  :comparators: {}
617
- :values: []
620
+ :values:
621
+ - active
622
+ - recurrence
623
+ - relapse
624
+ - inactive
625
+ - remission
626
+ - resolved
618
627
  :type: CodeableConcept
619
628
  :contains_multiple: false
620
629
  :multiple_or: MAY
@@ -1873,7 +1882,16 @@
1873
1882
  :full_paths:
1874
1883
  - Goal.lifecycleStatus
1875
1884
  :comparators: {}
1876
- :values: []
1885
+ :values:
1886
+ - proposed
1887
+ - planned
1888
+ - accepted
1889
+ - active
1890
+ - on-hold
1891
+ - completed
1892
+ - cancelled
1893
+ - entered-in-error
1894
+ - rejected
1877
1895
  :type: code
1878
1896
  :contains_multiple: false
1879
1897
  :multiple_or: MAY
@@ -59,7 +59,10 @@
59
59
  :full_paths:
60
60
  - AllergyIntolerance.clinicalStatus
61
61
  :comparators: {}
62
- :values: []
62
+ :values:
63
+ - active
64
+ - inactive
65
+ - resolved
63
66
  :type: CodeableConcept
64
67
  :contains_multiple: false
65
68
  :multiple_or: MAY
@@ -110,7 +110,13 @@
110
110
  :full_paths:
111
111
  - Condition.clinicalStatus
112
112
  :comparators: {}
113
- :values: []
113
+ :values:
114
+ - active
115
+ - recurrence
116
+ - relapse
117
+ - inactive
118
+ - remission
119
+ - resolved
114
120
  :type: CodeableConcept
115
121
  :contains_multiple: false
116
122
  :multiple_or: MAY
@@ -65,7 +65,16 @@
65
65
  :full_paths:
66
66
  - Goal.lifecycleStatus
67
67
  :comparators: {}
68
- :values: []
68
+ :values:
69
+ - proposed
70
+ - planned
71
+ - accepted
72
+ - active
73
+ - on-hold
74
+ - completed
75
+ - cancelled
76
+ - entered-in-error
77
+ - rejected
69
78
  :type: code
70
79
  :contains_multiple: false
71
80
  :multiple_or: MAY
@@ -61,7 +61,10 @@
61
61
  :full_paths:
62
62
  - AllergyIntolerance.clinicalStatus
63
63
  :comparators: {}
64
- :values: []
64
+ :values:
65
+ - active
66
+ - inactive
67
+ - resolved
65
68
  :type: CodeableConcept
66
69
  :contains_multiple: false
67
70
  :multiple_or: MAY
@@ -623,7 +626,13 @@
623
626
  :full_paths:
624
627
  - Condition.clinicalStatus
625
628
  :comparators: {}
626
- :values: []
629
+ :values:
630
+ - active
631
+ - recurrence
632
+ - relapse
633
+ - inactive
634
+ - remission
635
+ - resolved
627
636
  :type: CodeableConcept
628
637
  :contains_multiple: false
629
638
  :multiple_or: MAY
@@ -1917,7 +1926,16 @@
1917
1926
  :full_paths:
1918
1927
  - Goal.lifecycleStatus
1919
1928
  :comparators: {}
1920
- :values: []
1929
+ :values:
1930
+ - proposed
1931
+ - planned
1932
+ - accepted
1933
+ - active
1934
+ - on-hold
1935
+ - completed
1936
+ - cancelled
1937
+ - entered-in-error
1938
+ - rejected
1921
1939
  :type: code
1922
1940
  :contains_multiple: false
1923
1941
  :multiple_or: MAY
@@ -59,7 +59,10 @@
59
59
  :full_paths:
60
60
  - AllergyIntolerance.clinicalStatus
61
61
  :comparators: {}
62
- :values: []
62
+ :values:
63
+ - active
64
+ - inactive
65
+ - resolved
63
66
  :type: CodeableConcept
64
67
  :contains_multiple: false
65
68
  :multiple_or: MAY
@@ -215,7 +215,13 @@
215
215
  :full_paths:
216
216
  - Condition.clinicalStatus
217
217
  :comparators: {}
218
- :values: []
218
+ :values:
219
+ - active
220
+ - recurrence
221
+ - relapse
222
+ - inactive
223
+ - remission
224
+ - resolved
219
225
  :type: CodeableConcept
220
226
  :contains_multiple: false
221
227
  :multiple_or: MAY
@@ -217,7 +217,13 @@
217
217
  :full_paths:
218
218
  - Condition.clinicalStatus
219
219
  :comparators: {}
220
- :values: []
220
+ :values:
221
+ - active
222
+ - recurrence
223
+ - relapse
224
+ - inactive
225
+ - remission
226
+ - resolved
221
227
  :type: CodeableConcept
222
228
  :contains_multiple: false
223
229
  :multiple_or: MAY
@@ -90,7 +90,16 @@
90
90
  :full_paths:
91
91
  - Goal.lifecycleStatus
92
92
  :comparators: {}
93
- :values: []
93
+ :values:
94
+ - proposed
95
+ - planned
96
+ - accepted
97
+ - active
98
+ - on-hold
99
+ - completed
100
+ - cancelled
101
+ - entered-in-error
102
+ - rejected
94
103
  :type: code
95
104
  :contains_multiple: false
96
105
  :multiple_or: MAY
@@ -61,7 +61,10 @@
61
61
  :full_paths:
62
62
  - AllergyIntolerance.clinicalStatus
63
63
  :comparators: {}
64
- :values: []
64
+ :values:
65
+ - active
66
+ - inactive
67
+ - resolved
65
68
  :type: CodeableConcept
66
69
  :contains_multiple: false
67
70
  :multiple_or: MAY
@@ -761,7 +764,13 @@
761
764
  :full_paths:
762
765
  - Condition.clinicalStatus
763
766
  :comparators: {}
764
- :values: []
767
+ :values:
768
+ - active
769
+ - recurrence
770
+ - relapse
771
+ - inactive
772
+ - remission
773
+ - resolved
765
774
  :type: CodeableConcept
766
775
  :contains_multiple: false
767
776
  :multiple_or: MAY
@@ -1063,7 +1072,13 @@
1063
1072
  :full_paths:
1064
1073
  - Condition.clinicalStatus
1065
1074
  :comparators: {}
1066
- :values: []
1075
+ :values:
1076
+ - active
1077
+ - recurrence
1078
+ - relapse
1079
+ - inactive
1080
+ - remission
1081
+ - resolved
1067
1082
  :type: CodeableConcept
1068
1083
  :contains_multiple: false
1069
1084
  :multiple_or: MAY
@@ -2459,7 +2474,16 @@
2459
2474
  :full_paths:
2460
2475
  - Goal.lifecycleStatus
2461
2476
  :comparators: {}
2462
- :values: []
2477
+ :values:
2478
+ - proposed
2479
+ - planned
2480
+ - accepted
2481
+ - active
2482
+ - on-hold
2483
+ - completed
2484
+ - cancelled
2485
+ - entered-in-error
2486
+ - rejected
2463
2487
  :type: code
2464
2488
  :contains_multiple: false
2465
2489
  :multiple_or: MAY
@@ -120,7 +120,7 @@ module USCoreTestKit
120
120
  end
121
121
 
122
122
  def values_from_resource_metadata(paths)
123
- if multiple_or_expectation == 'SHALL' || paths.include?('status')
123
+ if multiple_or_expectation == 'SHALL' || paths.any? { |path| path.downcase.include?('status') }
124
124
  value_extractor.values_from_resource_metadata(paths)
125
125
  else
126
126
  []
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module USCoreTestKit
4
- VERSION = '0.4.2'
4
+ VERSION = '0.4.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: us_core_test_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen MacVicar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-08 00:00:00.000000000 Z
11
+ date: 2022-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inferno_core