Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix descr urls #23

Merged
merged 4 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ class InstantiateTest < Inferno::Test
title 'Server instantiates AU Core Server'
description %(
This test inspects the CapabilityStatement returned by the server to
verify that the server instantiates http://hl7.org/fhir/us/core/CapabilityStatement/us-core-server
verify that the server instantiates http://hl7.org.au/fhir/core/0.3.0-ballot/CapabilityStatement-au-core-server.html
)
uses_request :capability_statement

run do
assert_resource_type(:capability_statement)
capability_statement = resource

assert capability_statement.instantiates.include?('http://hl7.org/fhir/us/core/CapabilityStatement/us-core-server'),
"Server CapabilityStatement.instantiates does not include 'http://hl7.org/fhir/us/core/CapabilityStatement/us-core-server'"
assert capability_statement.instantiates.include?('http://hl7.org.au/fhir/core/0.3.0-ballot/CapabilityStatement-au-core-server.html'),
"Server CapabilityStatement.instantiates does not include 'http://hl7.org.au/fhir/core/0.3.0-ballot/CapabilityStatement-au-core-server.html'"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ class JSONSupportTest < Inferno::Test

[```The AU Core Server **SHALL** Support json source formats for all US
Core
interactions.```](http://hl7.org/fhir/us/core/CapabilityStatement-us-core-server.html#behavior)
interactions.```](http://hl7.org.au/fhir/core/0.3.0-ballot/CapabilityStatement-au-core-server.html#title)

The FHIR conformance interaction require servers to describe which
formats are available for clients to use. The server must explicitly
state that JSON is supported. This is located in the [format
element](https://www.hl7.org/fhir/capabilitystatement-definitions.html#CapabilityStatement.format)
state that JSON is supported. This is located in the format element
of the CapabilityStatement Resource.

This test checks that one of the following values are located in the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ class ProfileSupportTest < Inferno::Test
rest.resource.each { |resource| profiles.concat(resource.supportedProfile) }
end.uniq

assert supported_profiles.include?('http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient'), 'AU Core Patient profile not supported'
assert supported_profiles.include?('http://hl7.org.au/fhir/core/0.3.0-ballot/StructureDefinition-au-core-patient.html'), 'AU Core Patient profile not supported'

au_core_profiles = config.options[:au_core_profiles]

other_profiles = au_core_profiles.reject { |resource_type| resource_type == 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient' }
other_profiles = au_core_profiles.reject { |resource_type| resource_type == 'http://hl7.org.au/fhir/core/0.3.0-ballot/StructureDefinition-au-core-patient.html' }
other_profiles_supported = other_profiles.any? { |profile| supported_profiles.include? profile }
assert other_profiles_supported, 'No AU Core profiles other than Patient are supported'

Expand Down
59 changes: 0 additions & 59 deletions lib/au_core_test_kit/custom_groups/data_absent_reason_group.rb

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

51 changes: 0 additions & 51 deletions lib/au_core_test_kit/custom_groups/v0.3.0/profile_support_test.rb

This file was deleted.

Loading
Loading