gcp-nrces-fhir
Advanced tools
Comparing version 8.1.109 to 8.1.110
@@ -37,2 +37,4 @@ "use strict"; | ||
const ServiceRequest_1 = require("../resources/ServiceRequest"); | ||
const Schedule_1 = require("../resources/Schedule"); | ||
const Slot_1 = require("../resources/Slot"); | ||
class ResourceFactory extends ResourceMai_1.default { | ||
@@ -103,2 +105,8 @@ constructor(_resourceType) { | ||
} | ||
else if (this.resourceType == "Schedule") { | ||
this.resource = new Schedule_1.Schedule(); | ||
} | ||
else if (this.resourceType == "Slot") { | ||
this.resource = new Slot_1.Slot(); | ||
} | ||
else { | ||
@@ -105,0 +113,0 @@ const errMessage = `Not Implimented resourceType ${this.resourceType}`; |
@@ -19,4 +19,4 @@ declare const credentials: { | ||
}; | ||
declare const resourceTypeArray: readonly ["Patient", "Practitioner", "Organization", "Encounter", "Condition", "Procedure", "AllergyIntolerance", "Appointment", "Bundle", "Composition", "ServiceRequest", "MedicationStatement", "MedicationRequest", "DocumentReference", "Binary", "PractitionerRole", "Specimen", "DiagnosticReport", "Observation", "Media", "CareTeam", "CarePlan", "ImmunizationRecommendation", "NutritionOrder", "Group", "Device", "Location", "DeviceRequest", "MedicationAdministration", "MedicationDispense", "Immunization", "ImagingStudy", "RelatedPerson", "MolecularSequence", "QuestionnaireResponse"]; | ||
declare type resourceType = typeof resourceTypeArray[number]; | ||
declare const resourceTypeArray: readonly ["Patient", "Practitioner", "Organization", "Encounter", "Condition", "Procedure", "AllergyIntolerance", "Appointment", "Bundle", "Composition", "ServiceRequest", "MedicationStatement", "MedicationRequest", "DocumentReference", "Binary", "PractitionerRole", "Specimen", "DiagnosticReport", "Observation", "Media", "CareTeam", "CarePlan", "ImmunizationRecommendation", "NutritionOrder", "Group", "Device", "Location", "DeviceRequest", "MedicationAdministration", "MedicationDispense", "Immunization", "ImagingStudy", "RelatedPerson", "MolecularSequence", "QuestionnaireResponse", "Slot", "Schedule"]; | ||
export declare type resourceType = typeof resourceTypeArray[number]; | ||
export interface CodeDisplay { | ||
@@ -52,3 +52,2 @@ code?: string; | ||
export { credentials, resourceTypeArray, databasePath }; | ||
export type { resourceType }; | ||
export interface MULTI_RESOURCE { | ||
@@ -61,2 +60,5 @@ resource: resourceType; | ||
export declare type LoincScale = typeof LOINC_SCALE[number]; | ||
export interface ACTOR { | ||
multiResource: MULTI_RESOURCE; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -60,2 +60,4 @@ "use strict"; | ||
"QuestionnaireResponse", | ||
"Slot", | ||
"Schedule" | ||
]; | ||
@@ -62,0 +64,0 @@ exports.resourceTypeArray = resourceTypeArray; |
@@ -26,2 +26,4 @@ import { credentials, databasePath } from "./config/index"; | ||
import { ServiceRequest, SERVICE_REQUEST } from "./resources/ServiceRequest"; | ||
import { SCHEDULE, Schedule } from "./resources/Schedule"; | ||
import { SLOT, Slot } from "./resources/Slot"; | ||
import { PrescriptionBundle } from "./resources/Bundle/Prescription"; | ||
@@ -56,2 +58,4 @@ import { DiagnsoticReportBundle } from "./resources/Bundle/DiagnsoticReport"; | ||
export { ServiceRequest, SERVICE_REQUEST }; | ||
export { SCHEDULE, Schedule }; | ||
export { SLOT, Slot }; | ||
declare type Credentials = typeof credentials; | ||
@@ -58,0 +62,0 @@ declare type DatabasePath = typeof databasePath; |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.LOINC_SCALE = exports.Observation = exports.Media = exports.DiagnosticReport = exports.Specimen = exports.OPConsultationBundle = exports.DiagnsoticReportBundle = exports.PrescriptionBundle = exports.ServiceRequest = exports.MedicationRequest = exports.MedicatioRequestStatusArray = exports.MedicatioRequestIntentArray = exports.MedicationStatementStatusArray = exports.MedicationStatement = exports.documentStatusArrey = exports.documentDocStatusArrey = exports.DocumentReference = exports.DiagnosticReportComp = exports.OPConsultRecord = exports.PrescriptionRecord = exports.Composition = exports.DocumentBundle = exports.AppointmentActorStatusArray = exports.AppointmentStatusArray = exports.Appointment = exports.AllergyIntolerance = exports.verificationStatusArray = exports.allergyStatusArray = exports.Procedure = exports.Condition = exports.EncounterClassArray = exports.EncounterStatusArray = exports.EncounterHospitalizationDischargeDispositionArray = exports.EncounterResource = exports.Encounter = exports.PractitionerRole = exports.Practitioner = exports.PractitionerResource = exports.Organization = exports.OrganizationResource = exports.Patient = exports.PatientResource = exports.htmlToText = exports.ResourceFactory = exports.resourceTypeArray = exports.GcpFhirSearch = exports.GcpFhirCRUD = void 0; | ||
exports.LOINC_SCALE = exports.Observation = exports.Media = exports.DiagnosticReport = exports.Specimen = exports.OPConsultationBundle = exports.DiagnsoticReportBundle = exports.PrescriptionBundle = exports.Slot = exports.Schedule = exports.ServiceRequest = exports.MedicationRequest = exports.MedicatioRequestStatusArray = exports.MedicatioRequestIntentArray = exports.MedicationStatementStatusArray = exports.MedicationStatement = exports.documentStatusArrey = exports.documentDocStatusArrey = exports.DocumentReference = exports.DiagnosticReportComp = exports.OPConsultRecord = exports.PrescriptionRecord = exports.Composition = exports.DocumentBundle = exports.AppointmentActorStatusArray = exports.AppointmentStatusArray = exports.Appointment = exports.AllergyIntolerance = exports.verificationStatusArray = exports.allergyStatusArray = exports.Procedure = exports.Condition = exports.EncounterClassArray = exports.EncounterStatusArray = exports.EncounterHospitalizationDischargeDispositionArray = exports.EncounterResource = exports.Encounter = exports.PractitionerRole = exports.Practitioner = exports.PractitionerResource = exports.Organization = exports.OrganizationResource = exports.Patient = exports.PatientResource = exports.htmlToText = exports.ResourceFactory = exports.resourceTypeArray = exports.GcpFhirSearch = exports.GcpFhirCRUD = void 0; | ||
const html_to_text_1 = require("html-to-text"); | ||
@@ -70,2 +70,6 @@ Object.defineProperty(exports, "htmlToText", { enumerable: true, get: function () { return html_to_text_1.htmlToText; } }); | ||
Object.defineProperty(exports, "ServiceRequest", { enumerable: true, get: function () { return ServiceRequest_1.ServiceRequest; } }); | ||
const Schedule_1 = require("./resources/Schedule"); | ||
Object.defineProperty(exports, "Schedule", { enumerable: true, get: function () { return Schedule_1.Schedule; } }); | ||
const Slot_1 = require("./resources/Slot"); | ||
Object.defineProperty(exports, "Slot", { enumerable: true, get: function () { return Slot_1.Slot; } }); | ||
const Prescription_1 = require("./resources/Bundle/Prescription"); | ||
@@ -72,0 +76,0 @@ Object.defineProperty(exports, "PrescriptionBundle", { enumerable: true, get: function () { return Prescription_1.PrescriptionBundle; } }); |
{ | ||
"name": "gcp-nrces-fhir", | ||
"version": "8.1.109", | ||
"version": "8.1.110", | ||
"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
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
1209481
182
13330