gcp-nrces-fhir
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -0,9 +1,12 @@ | ||
declare const resourceTypeArray: readonly ["Patient", "Practitioner", "Organization", "Encounter"]; | ||
declare type resourceType = typeof resourceTypeArray[number]; | ||
export default class GcpFhirCRUD { | ||
private healthcare; | ||
private parent; | ||
createFhirResource(body: any, resourceType: string): Promise<any>; | ||
deleteFhirResource(resourceId: string, resourceType: string): Promise<any>; | ||
getFhirResource(resourceId: string, resourceType: string): Promise<any>; | ||
updateFhirResource(updateOptions: any, resourceId: string, resourceType: string): Promise<any>; | ||
createFhirResource(body: any, resourceType: resourceType): Promise<any>; | ||
deleteFhirResource(resourceId: string, resourceType: resourceType): Promise<any>; | ||
getFhirResource(resourceId: string, resourceType: resourceType): Promise<any>; | ||
updateFhirResource(updateOptions: any, resourceId: string, resourceType: resourceType): Promise<any>; | ||
} | ||
export {}; | ||
//# sourceMappingURL=gcp.d.ts.map |
@@ -30,2 +30,5 @@ "use strict"; | ||
const fhirStoreId = process.env.GCP_FHIR_fhirStoreId; | ||
const resourceTypeArray = [ | ||
"Patient", "Practitioner", "Organization", "Encounter" | ||
]; | ||
class GcpFhirCRUD { | ||
@@ -32,0 +35,0 @@ constructor() { |
@@ -5,3 +5,7 @@ import GcpFhirCRUD from "./classess/gcp"; | ||
import { OrganizationResource } from "./resources/Organization"; | ||
import { EncounterResource, EncounterHospitalizationDischargeDispositionArray, EncounterStatusArray, EncounterClassArray } from "./resources/Encounter"; | ||
import { EncounterClass, EncounterStatus, EncounterHospitalizationDischargeDisposition } from "./resources/Encounter"; | ||
export { GcpFhirCRUD, PatientResource, PractitionerResource, OrganizationResource }; | ||
export { EncounterResource, EncounterHospitalizationDischargeDispositionArray, EncounterStatusArray, EncounterClassArray }; | ||
export type { EncounterClass, EncounterStatus, EncounterHospitalizationDischargeDisposition }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.OrganizationResource = exports.PractitionerResource = exports.PatientResource = exports.GcpFhirCRUD = void 0; | ||
exports.EncounterClassArray = exports.EncounterStatusArray = exports.EncounterHospitalizationDischargeDispositionArray = exports.EncounterResource = exports.OrganizationResource = exports.PractitionerResource = exports.PatientResource = exports.GcpFhirCRUD = void 0; | ||
const gcp_1 = __importDefault(require("./classess/gcp")); | ||
@@ -16,2 +16,7 @@ exports.GcpFhirCRUD = gcp_1.default; | ||
Object.defineProperty(exports, "OrganizationResource", { enumerable: true, get: function () { return Organization_1.OrganizationResource; } }); | ||
const Encounter_1 = require("./resources/Encounter"); | ||
Object.defineProperty(exports, "EncounterResource", { enumerable: true, get: function () { return Encounter_1.EncounterResource; } }); | ||
Object.defineProperty(exports, "EncounterHospitalizationDischargeDispositionArray", { enumerable: true, get: function () { return Encounter_1.EncounterHospitalizationDischargeDispositionArray; } }); | ||
Object.defineProperty(exports, "EncounterStatusArray", { enumerable: true, get: function () { return Encounter_1.EncounterStatusArray; } }); | ||
Object.defineProperty(exports, "EncounterClassArray", { enumerable: true, get: function () { return Encounter_1.EncounterClassArray; } }); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "gcp-nrces-fhir", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Google cloud healthcare api Nrces Fhir imlimenataion", | ||
@@ -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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
40556
26
685