@erosolaraijs/cure 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/cure.d.ts +1 -1
- package/dist/bin/cure.js +136 -66
- package/dist/bin/cure.js.map +1 -1
- package/dist/clinician/index.d.ts +1 -1
- package/dist/clinician/index.d.ts.map +1 -1
- package/dist/clinician/index.js +1 -1
- package/dist/clinician/index.js.map +1 -1
- package/dist/compliance/index.d.ts +1 -1
- package/dist/compliance/index.d.ts.map +1 -1
- package/dist/compliance/index.js +1 -1
- package/dist/compliance/index.js.map +1 -1
- package/dist/index.d.ts +65 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +102 -0
- package/dist/index.js.map +1 -0
- package/dist/integrations/clinicalTrials/index.d.ts +1 -1
- package/dist/integrations/clinicalTrials/index.d.ts.map +1 -1
- package/dist/integrations/clinicalTrials/index.js +1 -1
- package/dist/integrations/clinicalTrials/index.js.map +1 -1
- package/dist/integrations/ehr/index.d.ts +1 -1
- package/dist/integrations/ehr/index.d.ts.map +1 -1
- package/dist/integrations/ehr/index.js +1 -1
- package/dist/integrations/ehr/index.js.map +1 -1
- package/dist/integrations/genomics/index.d.ts +1 -1
- package/dist/integrations/genomics/index.d.ts.map +1 -1
- package/dist/integrations/genomics/index.js +1 -1
- package/dist/integrations/genomics/index.js.map +1 -1
- package/dist/ml/index.d.ts +1 -1
- package/dist/ml/index.d.ts.map +1 -1
- package/dist/ml/index.js +1 -1
- package/dist/ml/index.js.map +1 -1
- package/dist/orchestrator/index.d.ts +5 -0
- package/dist/orchestrator/index.d.ts.map +1 -0
- package/dist/orchestrator/index.js +5 -0
- package/dist/orchestrator/index.js.map +1 -0
- package/dist/orchestrator/realWorldOncology.d.ts +351 -0
- package/dist/orchestrator/realWorldOncology.d.ts.map +1 -0
- package/dist/orchestrator/realWorldOncology.js +425 -0
- package/dist/orchestrator/realWorldOncology.js.map +1 -0
- package/dist/patient/index.d.ts +1 -1
- package/dist/patient/index.d.ts.map +1 -1
- package/dist/patient/index.js +1 -1
- package/dist/patient/index.js.map +1 -1
- package/dist/safety/index.d.ts +1 -1
- package/dist/safety/index.d.ts.map +1 -1
- package/dist/safety/index.js +1 -1
- package/dist/safety/index.js.map +1 -1
- package/dist/validation/index.d.ts +1 -1
- package/dist/validation/index.d.ts.map +1 -1
- package/dist/validation/index.js +1 -1
- package/dist/validation/index.js.map +1 -1
- package/package.json +1 -1
- package/src/bin/cure.ts +148 -70
- package/src/clinician/index.ts +11 -0
- package/src/compliance/index.ts +19 -0
- package/src/integrations/clinicalTrials/index.ts +21 -0
- package/src/integrations/ehr/index.ts +32 -0
- package/src/integrations/genomics/index.ts +23 -0
- package/src/ml/index.ts +15 -0
- package/src/orchestrator/index.ts +11 -0
- package/src/orchestrator/realWorldOncology.ts +803 -0
- package/src/patient/index.ts +14 -0
- package/src/safety/index.ts +14 -0
- package/src/validation/index.ts +10 -0
- package/dist/integrations/index.d.ts +0 -7
- package/dist/integrations/index.d.ts.map +0 -1
- package/dist/integrations/index.js +0 -10
- package/dist/integrations/index.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Clinical Trials Integration Module Exports
|
|
3
3
|
*/
|
|
4
|
-
export { ClinicalTrialsGovClient,
|
|
4
|
+
export { ClinicalTrialsGovClient, type ClinicalTrial, type TrialStatus, type TrialPhase, type TrialIntervention, type TrialEligibility, type TrialLocation, type TrialSponsor, type TrialContact, type TrialArm, type TrialOutcome, type BiomarkerRequirement, type TrialSearchParams, type TrialSearchResult, type PatientProfile, type TrialMatch } from './clinicalTrialsGov.js';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/integrations/clinicalTrials/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,uBAAuB,EACvB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/integrations/clinicalTrials/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,uBAAuB,EACvB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,UAAU,EAChB,MAAM,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/integrations/clinicalTrials/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,uBAAuB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/integrations/clinicalTrials/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,uBAAuB,EAgBxB,MAAM,wBAAwB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* EHR Integration Module Exports
|
|
3
3
|
*/
|
|
4
|
-
export { FHIRClient,
|
|
4
|
+
export { FHIRClient, EpicFHIRClient, CernerFHIRClient, createFHIRClient, type FHIRConfig, type FHIRPatient, type FHIRIdentifier, type FHIRHumanName, type FHIRAddress, type FHIRContactPoint, type FHIRCodeableConcept, type FHIRCoding, type FHIRExtension, type FHIRCondition, type FHIRObservation, type FHIRQuantity, type FHIRReference, type FHIRMedicationRequest, type FHIRDosage, type FHIRDiagnosticReport, type FHIRProcedure, type FHIRBundle, type FHIRResource, type CancerDiagnosis, type CancerBiomarkers, type TreatmentHistory, type AuditEvent } from './fhir.js';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/integrations/ehr/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,UAAU,EACV,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/integrations/ehr/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,UAAU,EAChB,MAAM,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/integrations/ehr/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,UAAU,EACV,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/integrations/ehr/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAwBjB,MAAM,WAAW,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Genomic Platform Integration Module Exports
|
|
3
3
|
*/
|
|
4
|
-
export { FoundationMedicineClient, GuardantHealthClient, TempusClient, UnifiedGenomicsService, type GenomicVariant, type CopyNumberAlteration, type GeneFusion, type
|
|
4
|
+
export { FoundationMedicineClient, GuardantHealthClient, TempusClient, UnifiedGenomicsService, createGenomicClient, type GenomicTestOrder, type GenomicTestResult, type GenomicVariant, type CopyNumberAlteration, type GeneFusion, type GenomicBiomarker, type MSIResult, type TMBResult, type HRDResult, type LOHResult, type TherapyMatch, type ClinicalTrialMatch, type GenomicPlatformConfig } from './genomicPlatforms.js';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/integrations/genomics/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,sBAAsB,EACtB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,UAAU,EACf,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/integrations/genomics/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,sBAAsB,EACtB,mBAAmB,EACnB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC3B,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Genomic Platform Integration Module Exports
|
|
3
3
|
*/
|
|
4
|
-
export { FoundationMedicineClient, GuardantHealthClient, TempusClient, UnifiedGenomicsService } from './genomicPlatforms.js';
|
|
4
|
+
export { FoundationMedicineClient, GuardantHealthClient, TempusClient, UnifiedGenomicsService, createGenomicClient } from './genomicPlatforms.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/integrations/genomics/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,sBAAsB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/integrations/genomics/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,sBAAsB,EACtB,mBAAmB,EAcpB,MAAM,uBAAuB,CAAC"}
|
package/dist/ml/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Machine Learning Module Exports
|
|
3
3
|
*/
|
|
4
|
-
export {
|
|
4
|
+
export { OutcomePredictorService, type PatientFeatures, type TreatmentFeatures, type ResponsePrediction, type SurvivalPrediction, type ToxicityPrediction, type ResistancePrediction, type TherapyRanking, type MLModel, type ModelRegistry } from './outcomePredictor.js';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/ml/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ml/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ml/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,OAAO,EACZ,KAAK,aAAa,EACnB,MAAM,uBAAuB,CAAC"}
|
package/dist/ml/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Machine Learning Module Exports
|
|
3
3
|
*/
|
|
4
|
-
export {
|
|
4
|
+
export { OutcomePredictorService } from './outcomePredictor.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/dist/ml/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ml/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ml/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,uBAAuB,EAUxB,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Orchestrator Module - Real-World Oncology Service
|
|
3
|
+
*/
|
|
4
|
+
export { RealWorldOncologyService, createRealWorldOncologyService, type RealWorldConfig, type RealWorldPatient, type ComprehensiveTreatmentPlan, type TreatmentOutcome } from './realWorldOncology.js';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/orchestrator/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,wBAAwB,EACxB,8BAA8B,EAC9B,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,EACtB,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/orchestrator/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,wBAAwB,EACxB,8BAA8B,EAK/B,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Real-World Oncology Orchestration Service
|
|
3
|
+
*
|
|
4
|
+
* ██████╗ ███████╗ █████╗ ██╗ ██╗ ██╗ ██████╗ ██████╗ ██╗ ██████╗
|
|
5
|
+
* ██╔══██╗██╔════╝██╔══██╗██║ ██║ ██║██╔═══██╗██╔══██╗██║ ██╔══██╗
|
|
6
|
+
* ██████╔╝█████╗ ███████║██║ ██║ █╗ ██║██║ ██║██████╔╝██║ ██║ ██║
|
|
7
|
+
* ██╔══██╗██╔══╝ ██╔══██║██║ ██║███╗██║██║ ██║██╔══██╗██║ ██║ ██║
|
|
8
|
+
* ██║ ██║███████╗██║ ██║███████╗ ╚███╔███╔╝╚██████╔╝██║ ██║███████╗██████╔╝
|
|
9
|
+
* ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝ ╚══╝╚══╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═════╝
|
|
10
|
+
* ██████╗ ███╗ ██╗ ██████╗ ██████╗ ██╗ ██████╗ ██████╗██╗ ██╗
|
|
11
|
+
* ██╔═══██╗████╗ ██║██╔════╝██╔═══██╗██║ ██╔═══██╗██╔════╝╚██╗ ██╔╝
|
|
12
|
+
* ██║ ██║██╔██╗ ██║██║ ██║ ██║██║ ██║ ██║██║ ███╗╚████╔╝
|
|
13
|
+
* ██║ ██║██║╚██╗██║██║ ██║ ██║██║ ██║ ██║██║ ██║ ╚██╔╝
|
|
14
|
+
* ╚██████╔╝██║ ╚████║╚██████╗╚██████╔╝███████╗╚██████╔╝╚██████╔╝ ██║
|
|
15
|
+
* ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═════╝ ╚═╝
|
|
16
|
+
*
|
|
17
|
+
* This service orchestrates all components of the real-world precision oncology system:
|
|
18
|
+
* - EHR Integration (Epic, Cerner via HL7 FHIR)
|
|
19
|
+
* - Genomic Platforms (Foundation Medicine, Guardant Health, Tempus)
|
|
20
|
+
* - Clinical Trials (ClinicalTrials.gov)
|
|
21
|
+
* - HIPAA Compliance (Audit, Consent, Encryption, Access Control)
|
|
22
|
+
* - ML Outcome Prediction (Response, Survival, Toxicity, Resistance)
|
|
23
|
+
* - Drug Safety (Interactions, Contraindications, Pharmacogenomics)
|
|
24
|
+
* - Validation Framework (Retrospective validation, Concordance analysis)
|
|
25
|
+
* - Clinician Decision Support (Recommendations, Overrides, Tumor Board)
|
|
26
|
+
* - Patient Portal (Symptoms, Adherence, QoL, Messaging)
|
|
27
|
+
*/
|
|
28
|
+
import { CancerCureResult } from '../capabilities/cancerTreatmentCapability.js';
|
|
29
|
+
export interface RealWorldConfig {
|
|
30
|
+
ehr: {
|
|
31
|
+
enabled: boolean;
|
|
32
|
+
vendor: 'epic' | 'cerner' | 'other';
|
|
33
|
+
baseUrl: string;
|
|
34
|
+
clientId: string;
|
|
35
|
+
clientSecret?: string;
|
|
36
|
+
};
|
|
37
|
+
genomics: {
|
|
38
|
+
enabled: boolean;
|
|
39
|
+
platforms: ('foundation' | 'guardant' | 'tempus')[];
|
|
40
|
+
};
|
|
41
|
+
clinicalTrials: {
|
|
42
|
+
enabled: boolean;
|
|
43
|
+
maxDistance?: number;
|
|
44
|
+
};
|
|
45
|
+
compliance: {
|
|
46
|
+
enabled: boolean;
|
|
47
|
+
encryptionKey?: string;
|
|
48
|
+
auditRetentionDays: number;
|
|
49
|
+
};
|
|
50
|
+
ml: {
|
|
51
|
+
enabled: boolean;
|
|
52
|
+
modelVersion: string;
|
|
53
|
+
};
|
|
54
|
+
safety: {
|
|
55
|
+
enabled: boolean;
|
|
56
|
+
strictMode: boolean;
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
export interface RealWorldPatient {
|
|
60
|
+
id: string;
|
|
61
|
+
mrn?: string;
|
|
62
|
+
demographics: {
|
|
63
|
+
firstName: string;
|
|
64
|
+
lastName: string;
|
|
65
|
+
dateOfBirth: Date;
|
|
66
|
+
gender: 'male' | 'female' | 'other';
|
|
67
|
+
ethnicity?: string;
|
|
68
|
+
address?: {
|
|
69
|
+
city: string;
|
|
70
|
+
state: string;
|
|
71
|
+
zipCode: string;
|
|
72
|
+
country: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
diagnosis: {
|
|
76
|
+
cancerType: string;
|
|
77
|
+
stage: string;
|
|
78
|
+
diagnosisDate: Date;
|
|
79
|
+
histology?: string;
|
|
80
|
+
grade?: string;
|
|
81
|
+
primarySite?: string;
|
|
82
|
+
metastaticSites?: string[];
|
|
83
|
+
};
|
|
84
|
+
genomics?: {
|
|
85
|
+
testDate?: Date;
|
|
86
|
+
platform?: string;
|
|
87
|
+
mutations: string[];
|
|
88
|
+
biomarkers: Record<string, any>;
|
|
89
|
+
msiStatus?: 'MSI-H' | 'MSS';
|
|
90
|
+
tmbLevel?: 'High' | 'Low';
|
|
91
|
+
tmbValue?: number;
|
|
92
|
+
pdl1Expression?: number;
|
|
93
|
+
hrdStatus?: boolean;
|
|
94
|
+
hrdScore?: number;
|
|
95
|
+
};
|
|
96
|
+
treatments?: {
|
|
97
|
+
treatmentId: string;
|
|
98
|
+
regimen: string;
|
|
99
|
+
startDate: Date;
|
|
100
|
+
endDate?: Date;
|
|
101
|
+
response?: 'CR' | 'PR' | 'SD' | 'PD';
|
|
102
|
+
discontinuationReason?: string;
|
|
103
|
+
}[];
|
|
104
|
+
medications?: {
|
|
105
|
+
name: string;
|
|
106
|
+
dose: string;
|
|
107
|
+
frequency: string;
|
|
108
|
+
startDate: Date;
|
|
109
|
+
}[];
|
|
110
|
+
comorbidities?: string[];
|
|
111
|
+
allergies?: string[];
|
|
112
|
+
performanceStatus?: 0 | 1 | 2 | 3 | 4;
|
|
113
|
+
labValues?: {
|
|
114
|
+
testName: string;
|
|
115
|
+
value: number;
|
|
116
|
+
unit: string;
|
|
117
|
+
date: Date;
|
|
118
|
+
isAbnormal: boolean;
|
|
119
|
+
}[];
|
|
120
|
+
}
|
|
121
|
+
export interface ComprehensiveTreatmentPlan {
|
|
122
|
+
patientId: string;
|
|
123
|
+
planId: string;
|
|
124
|
+
createdAt: Date;
|
|
125
|
+
createdBy: string;
|
|
126
|
+
coreRecommendation: CancerCureResult;
|
|
127
|
+
ehrData?: {
|
|
128
|
+
source: string;
|
|
129
|
+
lastSync: Date;
|
|
130
|
+
patientSummary: any;
|
|
131
|
+
};
|
|
132
|
+
genomicData?: {
|
|
133
|
+
platforms: string[];
|
|
134
|
+
lastUpdated: Date;
|
|
135
|
+
unifiedReport: any;
|
|
136
|
+
therapyMatches: any[];
|
|
137
|
+
};
|
|
138
|
+
clinicalTrials?: {
|
|
139
|
+
matchingTrials: {
|
|
140
|
+
nctId: string;
|
|
141
|
+
title: string;
|
|
142
|
+
phase: string;
|
|
143
|
+
eligibilityScore: number;
|
|
144
|
+
distance?: number;
|
|
145
|
+
}[];
|
|
146
|
+
searchDate: Date;
|
|
147
|
+
};
|
|
148
|
+
predictions?: {
|
|
149
|
+
responseProb: {
|
|
150
|
+
CR: number;
|
|
151
|
+
PR: number;
|
|
152
|
+
SD: number;
|
|
153
|
+
PD: number;
|
|
154
|
+
};
|
|
155
|
+
survivalEstimates: {
|
|
156
|
+
pfs: {
|
|
157
|
+
median: number;
|
|
158
|
+
ci95: [number, number];
|
|
159
|
+
};
|
|
160
|
+
os: {
|
|
161
|
+
median: number;
|
|
162
|
+
ci95: [number, number];
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
toxicityRisks: {
|
|
166
|
+
toxicity: string;
|
|
167
|
+
grade34Risk: number;
|
|
168
|
+
mitigationStrategy: string;
|
|
169
|
+
}[];
|
|
170
|
+
resistancePrediction: {
|
|
171
|
+
mechanism: string;
|
|
172
|
+
probability: number;
|
|
173
|
+
timeToResistance?: number;
|
|
174
|
+
}[];
|
|
175
|
+
};
|
|
176
|
+
safetyAssessment?: {
|
|
177
|
+
interactions: {
|
|
178
|
+
drug1: string;
|
|
179
|
+
drug2: string;
|
|
180
|
+
severity: 'major' | 'moderate' | 'minor';
|
|
181
|
+
description: string;
|
|
182
|
+
}[];
|
|
183
|
+
contraindications: {
|
|
184
|
+
drug: string;
|
|
185
|
+
reason: string;
|
|
186
|
+
severity: 'absolute' | 'relative';
|
|
187
|
+
}[];
|
|
188
|
+
pharmacogenomics: {
|
|
189
|
+
gene: string;
|
|
190
|
+
variant: string;
|
|
191
|
+
implication: string;
|
|
192
|
+
recommendation: string;
|
|
193
|
+
}[];
|
|
194
|
+
overallSafetyScore: number;
|
|
195
|
+
};
|
|
196
|
+
decisionSupport?: {
|
|
197
|
+
evidenceLevel: 'Category 1' | 'Category 2A' | 'Category 2B' | 'Category 3';
|
|
198
|
+
guidelines: string[];
|
|
199
|
+
alternativeOptions: {
|
|
200
|
+
regimen: string;
|
|
201
|
+
rationale: string;
|
|
202
|
+
tradeoffs: string;
|
|
203
|
+
}[];
|
|
204
|
+
tumorBoardRequired: boolean;
|
|
205
|
+
};
|
|
206
|
+
patientSummary?: {
|
|
207
|
+
treatmentGoal: string;
|
|
208
|
+
whatToExpect: string;
|
|
209
|
+
sideEffectsToWatch: string[];
|
|
210
|
+
questionsForDoctor: string[];
|
|
211
|
+
supportResources: string[];
|
|
212
|
+
};
|
|
213
|
+
compliance?: {
|
|
214
|
+
consentStatus: 'obtained' | 'pending' | 'declined';
|
|
215
|
+
consentDate?: Date;
|
|
216
|
+
auditLogId: string;
|
|
217
|
+
accessLog: {
|
|
218
|
+
userId: string;
|
|
219
|
+
action: string;
|
|
220
|
+
timestamp: Date;
|
|
221
|
+
}[];
|
|
222
|
+
};
|
|
223
|
+
status: 'draft' | 'pending_review' | 'approved' | 'active' | 'completed' | 'discontinued';
|
|
224
|
+
approvedBy?: string;
|
|
225
|
+
approvedAt?: Date;
|
|
226
|
+
}
|
|
227
|
+
export interface TreatmentOutcome {
|
|
228
|
+
patientId: string;
|
|
229
|
+
planId: string;
|
|
230
|
+
response: {
|
|
231
|
+
assessmentDate: Date;
|
|
232
|
+
recistResponse: 'CR' | 'PR' | 'SD' | 'PD';
|
|
233
|
+
targetLesions: {
|
|
234
|
+
lesionId: string;
|
|
235
|
+
baselineSize: number;
|
|
236
|
+
currentSize: number;
|
|
237
|
+
percentChange: number;
|
|
238
|
+
}[];
|
|
239
|
+
newLesions: boolean;
|
|
240
|
+
};
|
|
241
|
+
survival: {
|
|
242
|
+
progressionDate?: Date;
|
|
243
|
+
deathDate?: Date;
|
|
244
|
+
lastFollowUpDate: Date;
|
|
245
|
+
pfsMonths?: number;
|
|
246
|
+
osMonths?: number;
|
|
247
|
+
};
|
|
248
|
+
toxicities: {
|
|
249
|
+
toxicityType: string;
|
|
250
|
+
grade: 1 | 2 | 3 | 4 | 5;
|
|
251
|
+
onsetDate: Date;
|
|
252
|
+
resolvedDate?: Date;
|
|
253
|
+
interventionRequired: boolean;
|
|
254
|
+
doseModification: 'none' | 'reduction' | 'delay' | 'discontinuation';
|
|
255
|
+
}[];
|
|
256
|
+
qualityOfLife: {
|
|
257
|
+
assessmentDate: Date;
|
|
258
|
+
instrument: 'FACT-G' | 'EORTC-QLQ-C30' | 'PRO-CTCAE' | 'other';
|
|
259
|
+
totalScore: number;
|
|
260
|
+
domainScores: Record<string, number>;
|
|
261
|
+
}[];
|
|
262
|
+
adherence: {
|
|
263
|
+
overallAdherence: number;
|
|
264
|
+
missedDoses: number;
|
|
265
|
+
reasonsForMissing: string[];
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
export declare class RealWorldOncologyService {
|
|
269
|
+
private config;
|
|
270
|
+
private cancerCapability;
|
|
271
|
+
private ehrService;
|
|
272
|
+
private genomicsService;
|
|
273
|
+
private trialsService;
|
|
274
|
+
private complianceService;
|
|
275
|
+
private mlService;
|
|
276
|
+
private safetyService;
|
|
277
|
+
private validationService;
|
|
278
|
+
private decisionSupportService;
|
|
279
|
+
private patientPortalService;
|
|
280
|
+
constructor(config?: Partial<RealWorldConfig>);
|
|
281
|
+
private mergeDefaultConfig;
|
|
282
|
+
/**
|
|
283
|
+
* Initialize all enabled services
|
|
284
|
+
*/
|
|
285
|
+
initialize(): Promise<void>;
|
|
286
|
+
private initializeEHR;
|
|
287
|
+
private initializeGenomics;
|
|
288
|
+
private initializeClinicalTrials;
|
|
289
|
+
private initializeCompliance;
|
|
290
|
+
private initializeML;
|
|
291
|
+
private initializeSafety;
|
|
292
|
+
/**
|
|
293
|
+
* Generate a comprehensive treatment plan for a patient
|
|
294
|
+
*/
|
|
295
|
+
generateComprehensivePlan(patient: RealWorldPatient, clinicianId: string, options?: {
|
|
296
|
+
includeTrials?: boolean;
|
|
297
|
+
includePredictions?: boolean;
|
|
298
|
+
includeSafetyCheck?: boolean;
|
|
299
|
+
requireTumorBoard?: boolean;
|
|
300
|
+
}): Promise<ComprehensiveTreatmentPlan>;
|
|
301
|
+
/**
|
|
302
|
+
* Record treatment outcome for validation
|
|
303
|
+
*/
|
|
304
|
+
recordOutcome(outcome: TreatmentOutcome): Promise<void>;
|
|
305
|
+
/**
|
|
306
|
+
* Validate system predictions against actual outcomes
|
|
307
|
+
*/
|
|
308
|
+
runValidation(cohortCriteria: {
|
|
309
|
+
cancerTypes?: string[];
|
|
310
|
+
stages?: string[];
|
|
311
|
+
dateRange?: {
|
|
312
|
+
start: Date;
|
|
313
|
+
end: Date;
|
|
314
|
+
};
|
|
315
|
+
minPatients?: number;
|
|
316
|
+
}): Promise<{
|
|
317
|
+
cohortSize: number;
|
|
318
|
+
concordanceRate: number;
|
|
319
|
+
responseAUC: number;
|
|
320
|
+
survivalCIndex: number;
|
|
321
|
+
calibrationError: number;
|
|
322
|
+
subgroupResults: Record<string, any>;
|
|
323
|
+
}>;
|
|
324
|
+
private logAccess;
|
|
325
|
+
private fetchEHRData;
|
|
326
|
+
private aggregateGenomicData;
|
|
327
|
+
private findMatchingTrials;
|
|
328
|
+
private generatePredictions;
|
|
329
|
+
private performSafetyAssessment;
|
|
330
|
+
private generateDecisionSupport;
|
|
331
|
+
private createPatientSummary;
|
|
332
|
+
/**
|
|
333
|
+
* Convert internal patient type to CancerPatient for the capability module
|
|
334
|
+
*/
|
|
335
|
+
private toCancerPatient;
|
|
336
|
+
private calculateAge;
|
|
337
|
+
/**
|
|
338
|
+
* Get system status and health check
|
|
339
|
+
*/
|
|
340
|
+
getSystemStatus(): Promise<{
|
|
341
|
+
status: 'healthy' | 'degraded' | 'unhealthy';
|
|
342
|
+
services: Record<string, {
|
|
343
|
+
status: string;
|
|
344
|
+
latency?: number;
|
|
345
|
+
}>;
|
|
346
|
+
lastValidation?: Date;
|
|
347
|
+
modelVersion: string;
|
|
348
|
+
}>;
|
|
349
|
+
}
|
|
350
|
+
export declare function createRealWorldOncologyService(config?: Partial<RealWorldConfig>): RealWorldOncologyService;
|
|
351
|
+
//# sourceMappingURL=realWorldOncology.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"realWorldOncology.d.ts","sourceRoot":"","sources":["../../src/orchestrator/realWorldOncology.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,EAAmC,gBAAgB,EAAiB,MAAM,8CAA8C,CAAC;AAGhI,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE;QACH,OAAO,EAAE,OAAO,CAAC;QACjB,MAAM,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;QACpC,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,QAAQ,EAAE;QACR,OAAO,EAAE,OAAO,CAAC;QACjB,SAAS,EAAE,CAAC,YAAY,GAAG,UAAU,GAAG,QAAQ,CAAC,EAAE,CAAC;KACrD,CAAC;IACF,cAAc,EAAE;QACd,OAAO,EAAE,OAAO,CAAC;QACjB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,UAAU,EAAE;QACV,OAAO,EAAE,OAAO,CAAC;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,kBAAkB,E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