diff --git a/Gemfile.lock b/Gemfile.lock index 181feff..1a4fb7d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -6,12 +6,12 @@ PATH jwt (~> 2.6) smart_app_launch_test_kit (~> 0.4.4) tls_test_kit (= 0.2.2) - us_core_test_kit (= 0.8.2) + us_core_test_kit (= 0.9.0) GEM remote: https://rubygems.org/ specs: - activesupport (6.1.7.8) + activesupport (6.1.7.10) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) @@ -68,7 +68,7 @@ GEM zeitwerk (~> 2.6) factory_bot (6.4.6) activesupport (>= 5.0.0) - faraday (1.10.3) + faraday (1.10.4) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) faraday-excon (~> 1.1) @@ -91,13 +91,13 @@ GEM faraday-patron (1.0.0) faraday-rack (1.0.0) faraday-retry (1.0.3) - faraday_middleware (1.2.0) + faraday_middleware (1.2.1) faraday (~> 1.0) - fhir_client (5.0.3) + fhir_client (6.0.0) activesupport (>= 3) addressable (>= 2.3) fhir_dstu2_models (>= 1.1.1) - fhir_models (>= 4.2.1) + fhir_models (>= 5.0.0) fhir_stu3_models (>= 3.1.1) nokogiri (>= 1.10.4) oauth2 (~> 1.1) @@ -109,7 +109,7 @@ GEM date_time_precision (>= 0.8) mime-types (>= 3.0) nokogiri (>= 1.11.4) - fhir_models (4.3.0) + fhir_models (5.0.0) bcp47 (>= 0.3) date_time_precision (>= 0.8) mime-types (>= 3.0) @@ -129,7 +129,7 @@ GEM mustermann (~> 1.0) mustermann-contrib (~> 1.0) rack (~> 2.0) - hanami-utils (2.1.0) + hanami-utils (2.2.0) concurrent-ruby (~> 1.0) dry-core (~> 1.0, < 2) dry-transformer (~> 1.0, < 2) @@ -141,7 +141,7 @@ GEM httpclient (2.8.3) i18n (1.14.6) concurrent-ruby (~> 1.0) - inferno_core (0.4.42) + inferno_core (0.4.44) activesupport (~> 6.1.7.5) base62-rb (= 0.3.1) blueprinter (= 0.25.2) @@ -158,6 +158,7 @@ GEM hanami-controller (= 2.0.0) hanami-router (= 2.0.0) oj (= 3.11.0) + pastel (~> 0.8.0) pry pry-byebug puma (~> 5.6.7) @@ -177,15 +178,17 @@ GEM aes_key_wrap bindata httpclient - jwt (2.9.0) + jwt (2.9.3) base64 kramdown (2.4.0) rexml language_server-protocol (3.17.0.3) + logger (1.6.1) method_source (1.1.0) - mime-types (3.5.2) + mime-types (3.6.0) + logger mime-types-data (~> 3.2015) - mime-types-data (3.2024.0903) + mime-types-data (3.2024.1105) mini_portile2 (2.8.7) minitest (5.25.1) multi_json (1.15.0) @@ -198,7 +201,7 @@ GEM hansi (~> 0.2.0) mustermann (= 1.1.2) netrc (0.11.0) - nio4r (2.7.3) + nio4r (2.7.4) nokogiri (1.16.7) mini_portile2 (~> 2.8.2) racc (~> 1.4) @@ -233,7 +236,7 @@ GEM puma (5.6.9) nio4r (~> 2.0) racc (1.8.1) - rack (2.2.9) + rack (2.2.10) rack-test (1.1.0) rack (>= 1.0, < 3) rainbow (3.1.1) @@ -250,7 +253,7 @@ GEM http-cookie (>= 1.0.2, < 2.0) mime-types (>= 1.16, < 4.0) netrc (~> 0.8) - rexml (3.3.7) + rexml (3.3.9) rouge (4.4.0) rspec (3.13.0) rspec-core (~> 3.13.0) @@ -290,7 +293,7 @@ GEM connection_pool (>= 2.3.0) rack (>= 2.2.4) redis-client (>= 0.19.0) - smart_app_launch_test_kit (0.4.4) + smart_app_launch_test_kit (0.4.6) inferno_core (>= 0.4.2) json-jwt (~> 1.15.3) jwt (~> 2.6) @@ -323,9 +326,9 @@ GEM concurrent-ruby (~> 1.0) unicode-display_width (2.6.0) unicode_utils (1.4.0) - us_core_test_kit (0.8.2) + us_core_test_kit (0.9.0) inferno_core (>= 0.4.37) - smart_app_launch_test_kit (>= 0.4.0) + smart_app_launch_test_kit (>= 0.4.6) tls_test_kit (~> 0.2.0) webmock (3.23.1) addressable (>= 2.8.0) diff --git a/davinci_dtr_test_kit.gemspec b/davinci_dtr_test_kit.gemspec index 6dc50ab..89c94d8 100644 --- a/davinci_dtr_test_kit.gemspec +++ b/davinci_dtr_test_kit.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |spec| spec.add_dependency 'jwt', '~> 2.6' spec.add_dependency 'smart_app_launch_test_kit', '~> 0.4.4' spec.add_dependency 'tls_test_kit', '0.2.2' - spec.add_dependency 'us_core_test_kit', '0.8.2' + spec.add_dependency 'us_core_test_kit', '0.9.0' spec.required_ruby_version = Gem::Requirement.new('>= 3.1.2') spec.metadata['homepage_uri'] = spec.homepage spec.metadata['source_code_uri'] = spec.homepage diff --git a/lib/davinci_dtr_test_kit/profiles/questionnaire_response/metadata.yml b/lib/davinci_dtr_test_kit/profiles/questionnaire_response/metadata.yml index a3c64b8..f8e7c60 100644 --- a/lib/davinci_dtr_test_kit/profiles/questionnaire_response/metadata.yml +++ b/lib/davinci_dtr_test_kit/profiles/questionnaire_response/metadata.yml @@ -6,7 +6,7 @@ :resource: QuestionnaireResponse :profile_url: http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse :profile_name: DTR Questionnaire Response -:profile_version: 2.1.0 +:profile_version: 2.0.1 :title: DTR Questionnaire Response :short_description: Verify support for the server capabilities required by the DTR Questionnaire Response. @@ -62,9 +62,6 @@ - :id: QuestionnaireResponse.extension:signature :path: extension :url: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature - - :id: QuestionnaireResponse.extension:coverage-information - :path: extension - :url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information - :id: QuestionnaireResponse.questionnaire.extension:questionnaireDisplay :path: questionnaire.extension :url: http://hl7.org/fhir/StructureDefinition/display @@ -89,7 +86,7 @@ :types: - Reference :target_profiles: - - http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-patient + - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - :path: authored - :path: author :types: @@ -128,17 +125,17 @@ - http://hl7.org/fhir/StructureDefinition/Procedure - :path: QuestionnaireResponse.subject :profiles: - - http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-patient + - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - :path: QuestionnaireResponse.encounter :profiles: - http://hl7.org/fhir/StructureDefinition/Encounter - :path: QuestionnaireResponse.author :profiles: - http://hl7.org/fhir/StructureDefinition/Device - - http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-patient + - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner - - http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitionerrole - - http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-organization + - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole + - http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization - http://hl7.org/fhir/StructureDefinition/RelatedPerson - :path: QuestionnaireResponse.source :profiles: @@ -165,3 +162,5 @@ - :path: author :resources: - Practitioner + - PractitionerRole + - Organization diff --git a/lib/davinci_dtr_test_kit/profiles/questionnaire_response/questionnaire_response_validation.rb b/lib/davinci_dtr_test_kit/profiles/questionnaire_response/questionnaire_response_validation.rb index a247d7f..4d5c44e 100644 --- a/lib/davinci_dtr_test_kit/profiles/questionnaire_response/questionnaire_response_validation.rb +++ b/lib/davinci_dtr_test_kit/profiles/questionnaire_response/questionnaire_response_validation.rb @@ -30,7 +30,7 @@ def scratch_resources run do perform_validation_test(scratch_resources[:all] || [], 'http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse', - '2.1.0', + '2.0.1', skip_if_empty: true) end end