Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gcp-nrces-fhir

Package Overview
Dependencies
Maintainers
1
Versions
361
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gcp-nrces-fhir - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

lib/classess/gspSearch.d.ts

4

lib/classess/gcp.d.ts

@@ -1,3 +0,2 @@

declare const resourceTypeArray: readonly ["Patient", "Practitioner", "Organization", "Encounter"];
declare type resourceType = typeof resourceTypeArray[number];
import { resourceType } from "../config";
export default class GcpFhirCRUD {

@@ -11,3 +10,2 @@ private healthcare;

}
export {};
//# sourceMappingURL=gcp.d.ts.map

@@ -13,15 +13,16 @@ "use strict";

// import google from "@googleapis/healthcare"
const config_1 = require("../config");
const google = require("@googleapis/healthcare");
const credentials = {
"type": process.env.GCP_FHIR_type,
"project_id": process.env.GCP_FHIR_project_id,
"private_key_id": process.env.GCP_FHIR_private_key_id,
"private_key": process.env.GCP_FHIR_private_key,
"client_email": process.env.GCP_FHIR_client_email,
"client_id": process.env.GCP_FHIR_client_id,
"auth_uri": process.env.GCP_FHIR_auth_uri,
"token_uri": process.env.GCP_FHIR_token_uri,
"auth_provider_x509_cert_url": process.env.GCP_FHIR_auth_provider_x509_cert_url,
"client_x509_cert_url": process.env.client_x509_cert_url
};
// const credentials = {
// "type": process.env.GCP_FHIR_type,
// "project_id": process.env.GCP_FHIR_project_id,
// "private_key_id": process.env.GCP_FHIR_private_key_id,
// "private_key": process.env.GCP_FHIR_private_key,
// "client_email": process.env.GCP_FHIR_client_email,
// "client_id": process.env.GCP_FHIR_client_id,
// "auth_uri": process.env.GCP_FHIR_auth_uri,
// "token_uri": process.env.GCP_FHIR_token_uri,
// "auth_provider_x509_cert_url": process.env.GCP_FHIR_auth_provider_x509_cert_url,
// "client_x509_cert_url": process.env.client_x509_cert_url
// }
const cloudRegion = process.env.GCP_FHIR_cloudRegion;

@@ -31,5 +32,2 @@ const projectId = process.env.GCP_FHIR_projectId;

const fhirStoreId = process.env.GCP_FHIR_fhirStoreId;
const resourceTypeArray = [
"Patient", "Practitioner", "Organization", "Encounter"
];
class GcpFhirCRUD {

@@ -41,3 +39,3 @@ constructor() {

scopes: ['https://www.googleapis.com/auth/cloud-platform'],
"credentials": credentials
"credentials": config_1.credentials,
}),

@@ -44,0 +42,0 @@ headers: { 'Content-Type': 'application/fhir+json' },

import GcpFhirCRUD from "./classess/gcp";
import GcpFhirSerach from "./classess/gspSearch";
import { PatientResource } from "./resources/Patient";

@@ -7,5 +8,8 @@ import { PractitionerResource } from "./resources/Practitioner";

import { EncounterClass, EncounterStatus, EncounterHospitalizationDischargeDisposition } from "./resources/Encounter";
export { GcpFhirCRUD, PatientResource, PractitionerResource, OrganizationResource };
import { resourceType, resourceTypeArray } from "./config";
export { GcpFhirCRUD, GcpFhirSerach, resourceTypeArray };
export type { resourceType };
export { PatientResource, PractitionerResource, OrganizationResource };
export { EncounterResource, EncounterHospitalizationDischargeDispositionArray, EncounterStatusArray, EncounterClassArray };
export type { EncounterClass, EncounterStatus, EncounterHospitalizationDischargeDisposition };
//# sourceMappingURL=index.d.ts.map

@@ -6,5 +6,7 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.EncounterClassArray = exports.EncounterStatusArray = exports.EncounterHospitalizationDischargeDispositionArray = exports.EncounterResource = 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.resourceTypeArray = exports.GcpFhirSerach = exports.GcpFhirCRUD = void 0;
const gcp_1 = __importDefault(require("./classess/gcp"));
exports.GcpFhirCRUD = gcp_1.default;
const gspSearch_1 = __importDefault(require("./classess/gspSearch"));
exports.GcpFhirSerach = gspSearch_1.default;
const Patient_1 = require("./resources/Patient");

@@ -21,2 +23,4 @@ Object.defineProperty(exports, "PatientResource", { enumerable: true, get: function () { return Patient_1.PatientResource; } });

Object.defineProperty(exports, "EncounterClassArray", { enumerable: true, get: function () { return Encounter_1.EncounterClassArray; } });
const config_1 = require("./config");
Object.defineProperty(exports, "resourceTypeArray", { enumerable: true, get: function () { return config_1.resourceTypeArray; } });
//# sourceMappingURL=index.js.map

@@ -9,2 +9,3 @@ interface config {

MRN: string;
organizationId: string;
}

@@ -44,4 +45,7 @@ declare const PatientResource: (options: config) => {

birthDate: string;
managingOrganization: {
reference: string;
};
};
export { PatientResource };
//# sourceMappingURL=Patient.d.ts.map

@@ -47,3 +47,6 @@ "use strict";

"gender": `${options.gender}`,
"birthDate": `${options.dob}`
"birthDate": `${options.dob}`,
"managingOrganization": {
"reference": `Organization/${options.organizationId}`
}
};

@@ -50,0 +53,0 @@ return body;

{
"name": "gcp-nrces-fhir",
"version": "1.0.5",
"version": "1.0.6",
"description": "Google cloud healthcare api Nrces Fhir imlimenataion",

@@ -34,2 +34,2 @@ "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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc