Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
avoid potential short circuit during saveDeferred processing of uploaded (e.g. LOINC) terminology #1015
The BaseHapiTerminologySvcImpl saveDeferred method's early return when myDeferredConcepts and myConceptLinksToSaveLater are both empty has the potential to cause some value sets and concept maps to not be saved.
Prior to making the change illustrated by this PR, testing of upload-terminology for LOINC 2.64 indicated 270 deferred ValueSet resources were not saved. Some of the not-saved value sets were: LL736-0, LL999-4, loinc-document-ontology, top-2000-lab-observations-us, and loinc-universal-order-set-vs.