gcp-nrces-fhir
Advanced tools
Comparing version 1.0.7 to 1.0.8
import GcpFhirCRUD from "./classess/gcp"; | ||
import GcpFhirSearch from "./classess/gcpSearch"; | ||
import { PatientResource } from "./resources/Patient"; | ||
import { PractitionerResource } from "./resources/Practitioner"; | ||
import { OrganizationResource } from "./resources/Organization"; | ||
import { EncounterResource, EncounterHospitalizationDischargeDispositionArray, EncounterStatusArray, EncounterClassArray } from "./resources/Encounter"; | ||
import { PATIENT, PatientResource } from "./resources/Patient"; | ||
import { PRACTITIONER, PractitionerResource } from "./resources/Practitioner"; | ||
import { ORGANIZATION, OrganizationResource } from "./resources/Organization"; | ||
import { ENCOUNTER, EncounterResource, EncounterHospitalizationDischargeDispositionArray, EncounterStatusArray, EncounterClassArray } from "./resources/Encounter"; | ||
import { EncounterClass, EncounterStatus, EncounterHospitalizationDischargeDisposition } from "./resources/Encounter"; | ||
@@ -11,5 +11,5 @@ import { resourceType, resourceTypeArray } from "./config"; | ||
export type { resourceType }; | ||
export { PatientResource, PractitionerResource, OrganizationResource }; | ||
export { EncounterResource, EncounterHospitalizationDischargeDispositionArray, EncounterStatusArray, EncounterClassArray }; | ||
export { PATIENT, ORGANIZATION, PRACTITIONER, PatientResource, PractitionerResource, OrganizationResource }; | ||
export { ENCOUNTER, EncounterResource, EncounterHospitalizationDischargeDispositionArray, EncounterStatusArray, EncounterClassArray }; | ||
export type { EncounterClass, EncounterStatus, EncounterHospitalizationDischargeDisposition }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -70,3 +70,3 @@ declare const EncounterStatusArray: readonly ["planned", "arrived", "triaged", "in-progress", "onleave", "finished", "cancelled", "entered-in-error", "unknown"]; | ||
declare type EncounterHospitalizationDischargeDisposition = typeof EncounterHospitalizationDischargeDispositionArray[number]; | ||
interface Config { | ||
interface ENCOUNTER { | ||
text: string; | ||
@@ -81,3 +81,3 @@ status: EncounterStatus; | ||
} | ||
declare const EncounterResource: (options: Config) => { | ||
declare const EncounterResource: (options: ENCOUNTER) => { | ||
resourceType: string; | ||
@@ -120,4 +120,4 @@ meta: { | ||
}; | ||
export { EncounterResource, EncounterHospitalizationDischargeDispositionArray, EncounterStatusArray, EncounterClassArray }; | ||
export { ENCOUNTER, EncounterResource, EncounterHospitalizationDischargeDispositionArray, EncounterStatusArray, EncounterClassArray }; | ||
export type { EncounterClass, EncounterStatus, EncounterHospitalizationDischargeDisposition }; | ||
//# sourceMappingURL=Encounter.d.ts.map |
@@ -127,47 +127,2 @@ "use strict"; | ||
exports.EncounterResource = EncounterResource; | ||
const body = { | ||
"resourceType": "Encounter", | ||
// "id": "example-01", | ||
"meta": { | ||
"lastUpdated": "2020-07-09T14:58:58.181+05:30", | ||
"profile": [ | ||
"https://nrces.in/ndhm/fhir/r4/StructureDefinition/Encounter" | ||
] | ||
}, | ||
"text": { | ||
"status": "generated", | ||
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"> Admitted to Cardiac Unit,UVW Hospital between June 28 and July 9 2020</div>" | ||
}, | ||
"identifier": [ | ||
{ | ||
"system": "https://ndhm.in", | ||
"value": "S100" | ||
} | ||
], | ||
"status": "finished", | ||
"class": { | ||
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", | ||
"code": "IMP", | ||
"display": "inpatient encounter" | ||
}, | ||
"subject": { | ||
"reference": "Patient/8c2f7c57-cfba-417c-a574-36c6e76d29c5" | ||
}, | ||
"period": { | ||
"start": "2020-04-20T15:32:26.605+05:30", | ||
"end": "2020-05-01T15:32:26.605+05:30" | ||
}, | ||
"hospitalization": { | ||
"dischargeDisposition": { | ||
"coding": [ | ||
{ | ||
"system": "http://terminology.hl7.org/CodeSystem/discharge-disposition", | ||
"code": "home", | ||
"display": "Home" | ||
} | ||
], | ||
"text": "Discharged to Home Care" | ||
} | ||
} | ||
}; | ||
//# sourceMappingURL=Encounter.js.map |
@@ -1,2 +0,2 @@ | ||
interface Config { | ||
interface ORGANIZATION { | ||
id?: string; | ||
@@ -9,3 +9,3 @@ name: string; | ||
} | ||
declare const OrganizationResource: (options: Config) => { | ||
declare const OrganizationResource: (options: ORGANIZATION) => { | ||
resourceType: string; | ||
@@ -38,3 +38,3 @@ id: string; | ||
}; | ||
export { OrganizationResource }; | ||
export { ORGANIZATION, OrganizationResource }; | ||
//# sourceMappingURL=Organization.d.ts.map |
@@ -1,2 +0,2 @@ | ||
interface config { | ||
interface PATIENT { | ||
id?: string; | ||
@@ -11,3 +11,3 @@ name: string; | ||
} | ||
declare const PatientResource: (options: config) => { | ||
declare const PatientResource: (options: PATIENT) => { | ||
resourceType: string; | ||
@@ -49,3 +49,3 @@ id: string; | ||
}; | ||
export { PatientResource }; | ||
export { PATIENT, PatientResource }; | ||
//# sourceMappingURL=Patient.d.ts.map |
@@ -1,2 +0,2 @@ | ||
interface config { | ||
interface PRACTITIONER { | ||
id?: string; | ||
@@ -8,3 +8,3 @@ name: string; | ||
} | ||
declare const PractitionerResource: (options: config) => { | ||
declare const PractitionerResource: (options: PRACTITIONER) => { | ||
resourceType: string; | ||
@@ -36,3 +36,3 @@ id: string; | ||
}; | ||
export { PractitionerResource }; | ||
export { PRACTITIONER, PractitionerResource }; | ||
//# sourceMappingURL=Practitioner.d.ts.map |
{ | ||
"name": "gcp-nrces-fhir", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"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
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
8
46120
34
743