FHIR Power creates Sentences from FHIR Resources or a Bundle of FHIR Resources to power Machine Learning Models, Vector Searches, and Big Data Analytics
Traceback (most recent call last):
File "c:\repos\fhirpower\test\fhirpower_test.py", line 21, in test_flatten_simple_resource
self.assertDictEqual(flattened_dict, expected_output)
AssertionError: '[resourceType]Patient[name][given]John[name][family]Doe' is not an instance of <class 'dict'> : Second argument is not a dictionary
====================================================================== FAIL: test_flatten_simple_resource (main.TestFlattenFHIR.test_flatten_simple_resource)
Traceback (most recent call last): File "c:\repos\fhirpower\test\fhirpower_test.py", line 21, in test_flatten_simple_resource self.assertDictEqual(flattened_dict, expected_output) AssertionError: '[resourceType]Patient[name][given]John[name][family]Doe' is not an instance of <class 'dict'> : Second argument is not a dictionary