Module: AUPSTestKit::BasicTestResolvePathDebugModule
- Included in:
- BasicTest
- Defined in:
- lib/au_ps_inferno/utils/basic_test/resolve_path_debug_module.rb
Overview
Wraps Inferno's FHIRResourceNavigation#resolve_path to check simple elements for DAR extension presence. Ex: birthDate DAR extension is _birthDate.extension.where(url='http://hl7.org/fhir/StructureDefinition/data-absent-reason').valueCode
Instance Method Summary collapse
Instance Method Details
#resolve_path_with_dar(resource, path) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/au_ps_inferno/utils/basic_test/resolve_path_debug_module.rb', line 7 def resolve_path_with_dar(resource, path) result = eval_expression(resource, path) return result if result.length.positive? check_for_dar(resource, path) end |