us_core_test_kit 0.9.0 → 0.9.1

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: d0b4059c21c91aac9937415541f2104a2f15ea911181d73e0e71b37efdb30d80
4
- data.tar.gz: bc52f233f6620307ab10c64c03bfc3e223f7a9d6bd5e80e5bcecc4ace255a399
3
+ metadata.gz: cb236072789c9942dda9a6a795a2213f6e61d1f8ca0a7597361d6764b6c37314
4
+ data.tar.gz: 82c2446cdf9298a13a889b00b07e63a60e16b6a500533fb56b58460a89a31a19
5
5
  SHA512:
6
- metadata.gz: b786a061e34bb45029cebf15641f360607d89f6c5b4c2249bd11171b6ca74403958795c7579ef170bee76a8061cb4f4b23dac257a3cdee91675510de3901eed5
7
- data.tar.gz: b8ebd86009a0fc9cd4b3ab35a5f8078320d4c81612f3445793d524367cc446096a537461c1f30aaf5686f27110282a6717ed44f3460415b7def5ddd61ab905ae
6
+ metadata.gz: cc69744c6b52d9f8d11ed74d058ac519152bd9ce6b789c46853453dc9d1ea781477783a672b690856cedadc69ea10c7b86236f280a4004a9097fdb86efe4c6db
7
+ data.tar.gz: 9cfa1c3e2246e618fc1eb1e2c0a9663faacc6109ac187dadbfc2151e5a21b87a9cc27a10413320fa708c4eadd364c66eece4adf395eaaa33ac2960bd37318307
@@ -18,6 +18,8 @@ module USCoreTestKit
18
18
  * DiagnosticReport.effectiveDateTime
19
19
  * DiagnosticReport.encounter
20
20
  * DiagnosticReport.issued
21
+ * DiagnosticReport.media
22
+ * DiagnosticReport.media.link
21
23
  * DiagnosticReport.performer
22
24
  * DiagnosticReport.presentedForm
23
25
  * DiagnosticReport.result
@@ -16,6 +16,7 @@ module USCoreTestKit
16
16
  Elements which may provide external references include:
17
17
 
18
18
  * DiagnosticReport.encounter
19
+ * DiagnosticReport.media.link
19
20
  * DiagnosticReport.performer
20
21
  * DiagnosticReport.result
21
22
  * DiagnosticReport.subject
@@ -219,6 +219,10 @@
219
219
  :target_profiles:
220
220
  - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
221
221
  - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result
222
+ - :path: media
223
+ - :path: media.link
224
+ :types:
225
+ - Reference
222
226
  - :path: presentedForm
223
227
  :mandatory_elements:
224
228
  - DiagnosticReport.status
@@ -1981,6 +1981,10 @@
1981
1981
  :target_profiles:
1982
1982
  - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
1983
1983
  - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result
1984
+ - :path: media
1985
+ - :path: media.link
1986
+ :types:
1987
+ - Reference
1984
1988
  - :path: presentedForm
1985
1989
  :mandatory_elements:
1986
1990
  - DiagnosticReport.status
@@ -170,7 +170,7 @@ module USCoreTestKit
170
170
  )
171
171
 
172
172
  group from: :us_core_v700_capability_statement
173
-
173
+
174
174
  group from: :us_core_v700_patient
175
175
  group from: :us_core_v700_allergy_intolerance
176
176
  group from: :us_core_v700_care_plan
@@ -231,7 +231,7 @@ module USCoreTestKit
231
231
  group from: :us_core_v700_smart_granular_scopes,
232
232
  id: :us_core_v700_smart_granular_scopes_stu2_2,
233
233
  required_suite_options: USCoreOptions::SMART_2_2_REQUIREMENT
234
-
234
+
235
235
  end
236
236
  end
237
237
  end
@@ -93,14 +93,15 @@ module USCoreTestKit
93
93
  must_supports[:elements] << { path: 'effective[x]' }
94
94
  end
95
95
 
96
- # US Core v6.1.0 Patch FI-44693, Add MustSupport choice between Practitioner.address and PractitionerRole
96
+ # US Core v6.1.0 Patch FHIR-44693, Add MustSupport choice between Practitioner.address and PractitionerRole
97
+ # This is fixed formally in US Core v7
97
98
  def remove_practitioner_address
98
99
  return unless profile.type == 'Practitioner'
99
100
 
100
101
  must_supports[:elements].delete_if { |element| element[:path].start_with?('address') }
101
102
  end
102
103
 
103
- # US Core v6.1.0 Patch FI-46240, Remove the Must Support on media and media.link
104
+ # US Core v6.1.0 Patch FHIR-46240, Remove the Must Support on media and media.link
104
105
  def remove_diagnosticreport_media
105
106
  return unless profile.id == 'us-core-diagnosticreport-note'
106
107
  must_supports[:elements].delete_if { |element| element[:path].start_with?('media') }
@@ -20,7 +20,6 @@ module USCoreTestKit
20
20
  us_core_6_extractor.add_patient_uscdi_elements
21
21
  add_must_support_choices
22
22
  us_core_6_extractor.remove_practitioner_address
23
- us_core_6_extractor.remove_diagnosticreport_media
24
23
  end
25
24
 
26
25
  def add_must_support_choices
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module USCoreTestKit
4
- VERSION = '0.9.0'
4
+ VERSION = '0.9.1'
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.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen MacVicar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-06 00:00:00.000000000 Z
11
+ date: 2024-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inferno_core