gcp-nrces-fhir
Advanced tools
Comparing version 8.7.51 to 8.7.52
@@ -176,7 +176,11 @@ "use strict"; | ||
let ret; | ||
// @ts-ignore | ||
if (resource.id) { | ||
ret = yield gcpFhirCrud.updateFhirResource(resource, | ||
// @ts-ignore | ||
resource.id, resourceType); | ||
let curresource = resource; | ||
if (curresource.id) { | ||
if (curresource.text && curresource.text.div != '') { | ||
ret = yield gcpFhirCrud.updateFhirResource(curresource, curresource.id, resourceType); | ||
} | ||
else { | ||
yield gcpFhirCrud.deleteFhirResource(curresource.id, resourceType); | ||
return null; | ||
} | ||
} | ||
@@ -183,0 +187,0 @@ else { |
{ | ||
"name": "gcp-nrces-fhir", | ||
"version": "8.7.51", | ||
"version": "8.7.52", | ||
"description": "Google cloud healthcare api NRCES FHIR implimenataion", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2516471
26104