Sha256: 5348e04391a48f5d246c732f53b3b9016e769bfec44a5055b22b052536f72c9c
Contents?: true
Size: 1.36 KB
Versions: 26
Compression:
Stored size: 1.36 KB
Contents
require_relative '../../../must_support_test' module USCoreTestKit module USCoreV501 class ServiceRequestMustSupportTest < Inferno::Test include USCoreTestKit::MustSupportTest title 'All must support elements are provided in the ServiceRequest resources returned' description %( US Core Responders SHALL be capable of populating all data elements as part of the query results as specified by the US Core Server Capability Statement. This test will look through the ServiceRequest resources found previously for the following must support elements: * ServiceRequest.authoredOn * ServiceRequest.category * ServiceRequest.category:us-core * ServiceRequest.code * ServiceRequest.intent * ServiceRequest.occurrencePeriod * ServiceRequest.requester * ServiceRequest.status * ServiceRequest.subject ) id :us_core_v501_service_request_must_support_test def resource_type 'ServiceRequest' end def self.metadata @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true)) end def scratch_resources scratch[:service_request_resources] ||= {} end run do perform_must_support_test(all_scratch_resources) end end end end
Version data entries
26 entries across 26 versions & 1 rubygems