gcp-nrces-fhir
Advanced tools
Comparing version 8.1.19 to 8.1.20
@@ -46,2 +46,3 @@ import { CODEABLE_CONCEPT, MULTI_RESOURCE } from "../config"; | ||
resultsInterpreter: ResultsInterpreter[]; | ||
encounterId?: string; | ||
} | ||
@@ -48,0 +49,0 @@ export declare class DiagnosticReport extends ResourceMain implements ResourceMaster { |
@@ -97,2 +97,5 @@ "use strict"; | ||
} | ||
if (options.encounterId) { | ||
body.encounter = { reference: `Encounter/${options.encounterId}` }; | ||
} | ||
return body; | ||
@@ -134,2 +137,8 @@ } | ||
} | ||
if (options.encounter) { | ||
ret.encounterId = this.getIdFromReference({ | ||
ref: options.encounter.reference, | ||
resourceType: "Encounter", | ||
}); | ||
} | ||
return ret; | ||
@@ -136,0 +145,0 @@ } |
{ | ||
"name": "gcp-nrces-fhir", | ||
"version": "8.1.19", | ||
"version": "8.1.20", | ||
"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
381112
6132