Sha256: 29ee547b71e59acffc0b6d05449c9fee90f0ea5de866071a8b74597961f0cb84
Contents?: true
Size: 1.93 KB
Versions: 8
Compression:
Stored size: 1.93 KB
Contents
require_relative '../../../must_support_test' module USCoreTestKit module USCoreV400 class PulseOximetryMustSupportTest < Inferno::Test include USCoreTestKit::MustSupportTest title 'All must support elements are provided in the Observation 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 Observation resources found previously for the following must support elements: * Observation.category * Observation.category.coding * Observation.category.coding.code * Observation.category.coding.system * Observation.category:VSCat * Observation.code * Observation.code.coding * Observation.code.coding:O2Sat * Observation.code.coding:PulseOx * Observation.component * Observation.component.code * Observation.component.code.coding.code * Observation.component.valueQuantity * Observation.component.valueQuantity.code * Observation.component.valueQuantity.system * Observation.component.valueQuantity.unit * Observation.component.valueQuantity.value * Observation.component:Concentration * Observation.component:FlowRate * Observation.effectiveDateTime * Observation.status * Observation.subject * Observation.valueQuantity ) id :us_core_v400_pulse_oximetry_must_support_test def resource_type 'Observation' end def self.metadata @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'))) end def scratch_resources scratch[:pulse_oximetry_resources] ||= {} end run do perform_must_support_test(all_scratch_resources) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems