From a23e4f45e256e40bbf6ab53b09f23b64f1ec246e Mon Sep 17 00:00:00 2001 From: nvim Date: Thu, 28 Nov 2024 13:34:53 +0100 Subject: [PATCH] Add multipleOr for Condition.code Ref: https://github.com/hl7au/au-fhir-core-inferno/issues/208 --- .../generator/search_definition_metadata_extractor.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/au_core_test_kit/generator/search_definition_metadata_extractor.rb b/lib/au_core_test_kit/generator/search_definition_metadata_extractor.rb index 26aef900..8f518ede 100644 --- a/lib/au_core_test_kit/generator/search_definition_metadata_extractor.rb +++ b/lib/au_core_test_kit/generator/search_definition_metadata_extractor.rb @@ -211,6 +211,8 @@ def multiple_or_expectation return 'SHOULD' if param_hash['id'] == 'MedicationRequest-intent' when 'Immunization' return 'SHOULD' if param_hash['id'] == 'Immunization-vaccine-code' + when 'Condition' + return 'MAY' if param_hash['id'] == 'clinical-code' end return unless param_hash['_multipleOr']