@metriport/api-sdk 7.18.0 → 7.18.1
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/medical/client/metriport.d.ts +3 -3
- package/dist/medical/client/metriport.d.ts.map +1 -1
- package/dist/medical/models/fhir.d.ts +54 -8
- package/dist/medical/models/fhir.d.ts.map +1 -1
- package/dist/medical/models/fhir.js +25 -11
- package/dist/medical/models/fhir.js.map +1 -1
- package/dist/medical/models/patient.d.ts +3 -2
- package/dist/medical/models/patient.d.ts.map +1 -1
- package/dist/medical/models/patient.js.map +1 -1
- package/package.json +4 -4
- package/dist/medical/models/settings-response.d.ts +0 -6
- package/dist/medical/models/settings-response.d.ts.map +0 -1
- package/dist/medical/models/settings-response.js +0 -3
- package/dist/medical/models/settings-response.js.map +0 -1
- package/dist/medical/models/webhook-status-response.d.ts +0 -7
- package/dist/medical/models/webhook-status-response.d.ts.map +0 -1
- package/dist/medical/models/webhook-status-response.js +0 -3
- package/dist/medical/models/webhook-status-response.js.map +0 -1
|
@@ -4,7 +4,7 @@ import { BulkGetDocumentUrlQuery, DocumentQuery, DocumentReference, ListDocument
|
|
|
4
4
|
import { Facility, FacilityCreate } from "../models/facility";
|
|
5
5
|
import { ConsolidatedCountResponse, ResourceTypeForConsolidation } from "../models/fhir";
|
|
6
6
|
import { Organization, OrganizationCreate } from "../models/organization";
|
|
7
|
-
import { PatientCreate, PatientUpdate,
|
|
7
|
+
import { PatientCreate, PatientUpdate, ConsolidatedQueryProgress } from "../models/patient";
|
|
8
8
|
import { Demographics } from "../models/demographics";
|
|
9
9
|
import { PatientDTO } from "../models/patientDTO";
|
|
10
10
|
export type Options = {
|
|
@@ -147,7 +147,7 @@ export declare class MetriportMedicalApi {
|
|
|
147
147
|
* @param metadata Optional metadata to be sent along the webhook request as response of this query.
|
|
148
148
|
* @return The consolidated data query status.
|
|
149
149
|
*/
|
|
150
|
-
startConsolidatedQuery(patientId: string, resources?: readonly ResourceTypeForConsolidation[], dateFrom?: string, dateTo?: string, conversionType?: string, metadata?: Record<string, string>): Promise<
|
|
150
|
+
startConsolidatedQuery(patientId: string, resources?: readonly ResourceTypeForConsolidation[], dateFrom?: string, dateTo?: string, conversionType?: string, metadata?: Record<string, string>): Promise<ConsolidatedQueryProgress>;
|
|
151
151
|
/** ---------------------------------------------------------------------------
|
|
152
152
|
* Get the consolidated data query status for a given patient.
|
|
153
153
|
* The results to the query are sent through Webhook (see
|
|
@@ -156,7 +156,7 @@ export declare class MetriportMedicalApi {
|
|
|
156
156
|
* @param patientId The ID of the patient whose data is to be returned.
|
|
157
157
|
* @return The consolidated data query status.
|
|
158
158
|
*/
|
|
159
|
-
getConsolidatedQueryStatus(patientId: string): Promise<
|
|
159
|
+
getConsolidatedQueryStatus(patientId: string): Promise<ConsolidatedQueryProgress>;
|
|
160
160
|
/** ---------------------------------------------------------------------------
|
|
161
161
|
* Add patient data as FHIR resources. Those can later be queried with startConsolidatedQuery(),
|
|
162
162
|
* and will be made available to HIEs.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metriport.d.ts","sourceRoot":"","sources":["../../../src/medical/client/metriport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAClG,OAAc,EAAE,aAAa,EAAE,WAAW,EAAuB,MAAM,OAAO,CAAC;AAW/E,OAAO,EACL,uBAAuB,EAGvB,aAAa,EAEb,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAsC,MAAM,oBAAoB,CAAC;AAClG,OAAO,EAAE,yBAAyB,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AACzF,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAsB,MAAM,wBAAwB,CAAC;AAC9F,OA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llergyIntolerance", "Appointment", "AppointmentResponse", "AuditEvent", "Basic", "BodyStructure", "CarePlan", "CareTeam", "ChargeItem", "Claim", "ClaimResponse", "ClinicalImpression", "Communication", "CommunicationRequest", "Composition", "Condition", "Consent", "Contract", "Coverage", "CoverageEligibilityRequest", "CoverageEligibilityResponse", "DetectedIssue", "Device", "DeviceRequest", "DeviceUseStatement", "DiagnosticReport", "DocumentManifest", "DocumentReference", "Encounter", "EnrollmentRequest", "EpisodeOfCare", "ExplanationOfBenefit", "FamilyMemberHistory", "Flag", "Goal", "GuidanceResponse", "ImagingStudy", "Immunization", "ImmunizationEvaluation", "ImmunizationRecommendation", "Invoice", "List", "MeasureReport", "Media", "MedicationAdministration", "MedicationDispense", "MedicationRequest", "MedicationStatement", "MolecularSequence", "NutritionOrder", "Observation", "Person", "Procedure", "Provenance", "QuestionnaireResponse", "RelatedPerson", "RequestGroup", "ResearchSubject", "RiskAssessment", "ServiceRequest", "Specimen"];
|
|
3
|
+
export type ResourceSearchableByPatient = (typeof resourcesSearchableByPatient)[number];
|
|
4
|
+
export declare const resourcesSearchableBySubject: readonly ["AdverseEvent", "Task"];
|
|
5
|
+
export type ResourceSearchableBySubject = (typeof resourcesSearchableBySubject)[number];
|
|
6
|
+
export declare const generalResources: readonly ["Practitioner"];
|
|
7
|
+
export type GeneralResources = (typeof generalResources)[number];
|
|
8
|
+
export declare const resourceTypeForConsolidation: readonly ["Account", "AllergyIntolerance", "Appointment", "AppointmentResponse", "AuditEvent", "Basic", "BodyStructure", "CarePlan", "CareTeam", "ChargeItem", "Claim", "ClaimResponse", "ClinicalImpression", "Communication", "CommunicationRequest", "Composition", "Condition", "Consent", "Contract", "Coverage", "CoverageEligibilityRequest", "CoverageEligibilityResponse", "DetectedIssue", "Device", "DeviceRequest", "DeviceUseStatement", "DiagnosticReport", "DocumentManifest", "DocumentReference", "Encounter", "EnrollmentRequest", "EpisodeOfCare", "ExplanationOfBenefit", "FamilyMemberHistory", "Flag", "Goal", "GuidanceResponse", "ImagingStudy", "Immunization", "ImmunizationEvaluation", "ImmunizationRecommendation", "Invoice", "List", "MeasureReport", "Media", "MedicationAdministration", "MedicationDispense", "MedicationRequest", "MedicationStatement", "MolecularSequence", "NutritionOrder", "Observation", "Person", "Procedure", "Provenance", "QuestionnaireResponse", "RelatedPerson", "RequestGroup", "ResearchSubject", "RiskAssessment", "ServiceRequest", "Specimen", "AdverseEvent", "Task", "Practitioner"];
|
|
9
|
+
export type ResourceTypeForConsolidation = (typeof resourceTypeForConsolidation)[number];
|
|
10
|
+
export declare const resourceSchema: z.ZodArray<z.ZodEnum<["Account", "AllergyIntolerance", "Appointment", "AppointmentResponse", "AuditEvent", "Basic", "BodyStructure", "CarePlan", "CareTeam", "ChargeItem", "Claim", "ClaimResponse", "ClinicalImpression", "Communication", "CommunicationRequest", "Composition", "Condition", "Consent", "Contract", "Coverage", "CoverageEligibilityRequest", "CoverageEligibilityResponse", "DetectedIssue", "Device", "DeviceRequest", "DeviceUseStatement", "DiagnosticReport", "DocumentManifest", "DocumentReference", "Encounter", "EnrollmentRequest", "EpisodeOfCare", "ExplanationOfBenefit", "FamilyMemberHistory", "Flag", "Goal", "GuidanceResponse", "ImagingStudy", "Immunization", "ImmunizationEvaluation", "ImmunizationRecommendation", "Invoice", "List", "MeasureReport", "Media", "MedicationAdministration", "MedicationDispense", "MedicationRequest", "MedicationStatement", "MolecularSequence", "NutritionOrder", "Observation", "Person", "Procedure", "Provenance", "QuestionnaireResponse", "RelatedPerson", "RequestGroup", "ResearchSubject", "RiskAssessment", "ServiceRequest", "Specimen", "AdverseEvent", "Task", "Practitioner"]>, "many">;
|
|
11
|
+
export declare const consolidationConversionType: readonly ["html", "pdf", "json"];
|
|
12
|
+
export type ConsolidationConversionType = (typeof consolidationConversionType)[number];
|
|
2
13
|
export declare const consolidatedFilterSchema: z.ZodObject<{
|
|
3
14
|
resources: z.ZodString;
|
|
4
15
|
dateFrom: z.ZodOptional<z.ZodDate>;
|
|
@@ -47,12 +58,47 @@ export declare const consolidatedCountSchema: z.ZodObject<{
|
|
|
47
58
|
resources: Record<string, number>;
|
|
48
59
|
}>;
|
|
49
60
|
export type ConsolidatedCountResponse = z.infer<typeof consolidatedCountSchema>;
|
|
50
|
-
export declare const
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
61
|
+
export declare const getConsolidatedFiltersSchema: z.ZodObject<{
|
|
62
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodEnum<["Account", "AllergyIntolerance", "Appointment", "AppointmentResponse", "AuditEvent", "Basic", "BodyStructure", "CarePlan", "CareTeam", "ChargeItem", "Claim", "ClaimResponse", "ClinicalImpression", "Communication", "CommunicationRequest", "Composition", "Condition", "Consent", "Contract", "Coverage", "CoverageEligibilityRequest", "CoverageEligibilityResponse", "DetectedIssue", "Device", "DeviceRequest", "DeviceUseStatement", "DiagnosticReport", "DocumentManifest", "DocumentReference", "Encounter", "EnrollmentRequest", "EpisodeOfCare", "ExplanationOfBenefit", "FamilyMemberHistory", "Flag", "Goal", "GuidanceResponse", "ImagingStudy", "Immunization", "ImmunizationEvaluation", "ImmunizationRecommendation", "Invoice", "List", "MeasureReport", "Media", "MedicationAdministration", "MedicationDispense", "MedicationRequest", "MedicationStatement", "MolecularSequence", "NutritionOrder", "Observation", "Person", "Procedure", "Provenance", "QuestionnaireResponse", "RelatedPerson", "RequestGroup", "ResearchSubject", "RiskAssessment", "ServiceRequest", "Specimen", "AdverseEvent", "Task", "Practitioner"]>, "many">>;
|
|
63
|
+
dateFrom: z.ZodOptional<z.ZodString>;
|
|
64
|
+
dateTo: z.ZodOptional<z.ZodString>;
|
|
65
|
+
conversionType: z.ZodOptional<z.ZodDefault<z.ZodEnum<["html", "pdf", "json"]>>>;
|
|
66
|
+
}, "strip", z.ZodTypeAny, {
|
|
67
|
+
resources?: ("Account" | "AllergyIntolerance" | "Appointment" | "AppointmentResponse" | "AuditEvent" | "Basic" | "BodyStructure" | "CarePlan" | "CareTeam" | "ChargeItem" | "Claim" | "ClaimResponse" | "ClinicalImpression" | "Communication" | "CommunicationRequest" | "Composition" | "Condition" | "Consent" | "Contract" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "DetectedIssue" | "Device" | "DeviceRequest" | "DeviceUseStatement" | "DiagnosticReport" | "DocumentManifest" | "DocumentReference" | "Encounter" | "EnrollmentRequest" | "EpisodeOfCare" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "Flag" | "Goal" | "GuidanceResponse" | "ImagingStudy" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "Invoice" | "List" | "MeasureReport" | "Media" | "MedicationAdministration" | "MedicationDispense" | "MedicationRequest" | "MedicationStatement" | "MolecularSequence" | "NutritionOrder" | "Observation" | "Person" | "Procedure" | "Provenance" | "QuestionnaireResponse" | "RelatedPerson" | "RequestGroup" | "ResearchSubject" | "RiskAssessment" | "ServiceRequest" | "Specimen" | "AdverseEvent" | "Task" | "Practitioner")[] | undefined;
|
|
68
|
+
dateFrom?: string | undefined;
|
|
69
|
+
dateTo?: string | undefined;
|
|
70
|
+
conversionType?: "html" | "pdf" | "json" | undefined;
|
|
71
|
+
}, {
|
|
72
|
+
resources?: ("Account" | "AllergyIntolerance" | "Appointment" | "AppointmentResponse" | "AuditEvent" | "Basic" | "BodyStructure" | "CarePlan" | "CareTeam" | "ChargeItem" | "Claim" | "ClaimResponse" | "ClinicalImpression" | "Communication" | "CommunicationRequest" | "Composition" | "Condition" | "Consent" | "Contract" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "DetectedIssue" | "Device" | "DeviceRequest" | "DeviceUseStatement" | "DiagnosticReport" | "DocumentManifest" | "DocumentReference" | "Encounter" | "EnrollmentRequest" | "EpisodeOfCare" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "Flag" | "Goal" | "GuidanceResponse" | "ImagingStudy" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "Invoice" | "List" | "MeasureReport" | "Media" | "MedicationAdministration" | "MedicationDispense" | "MedicationRequest" | "MedicationStatement" | "MolecularSequence" | "NutritionOrder" | "Observation" | "Person" | "Procedure" | "Provenance" | "QuestionnaireResponse" | "RelatedPerson" | "RequestGroup" | "ResearchSubject" | "RiskAssessment" | "ServiceRequest" | "Specimen" | "AdverseEvent" | "Task" | "Practitioner")[] | undefined;
|
|
73
|
+
dateFrom?: string | undefined;
|
|
74
|
+
dateTo?: string | undefined;
|
|
75
|
+
conversionType?: "html" | "pdf" | "json" | undefined;
|
|
76
|
+
}>;
|
|
77
|
+
export type GetConsolidatedFilters = z.infer<typeof getConsolidatedFiltersSchema>;
|
|
78
|
+
export declare const consolidatedQuerySchema: z.ZodObject<{
|
|
79
|
+
resources: z.ZodOptional<z.ZodArray<z.ZodEnum<["Account", "AllergyIntolerance", "Appointment", "AppointmentResponse", "AuditEvent", "Basic", "BodyStructure", "CarePlan", "CareTeam", "ChargeItem", "Claim", "ClaimResponse", "ClinicalImpression", "Communication", "CommunicationRequest", "Composition", "Condition", "Consent", "Contract", "Coverage", "CoverageEligibilityRequest", "CoverageEligibilityResponse", "DetectedIssue", "Device", "DeviceRequest", "DeviceUseStatement", "DiagnosticReport", "DocumentManifest", "DocumentReference", "Encounter", "EnrollmentRequest", "EpisodeOfCare", "ExplanationOfBenefit", "FamilyMemberHistory", "Flag", "Goal", "GuidanceResponse", "ImagingStudy", "Immunization", "ImmunizationEvaluation", "ImmunizationRecommendation", "Invoice", "List", "MeasureReport", "Media", "MedicationAdministration", "MedicationDispense", "MedicationRequest", "MedicationStatement", "MolecularSequence", "NutritionOrder", "Observation", "Person", "Procedure", "Provenance", "QuestionnaireResponse", "RelatedPerson", "RequestGroup", "ResearchSubject", "RiskAssessment", "ServiceRequest", "Specimen", "AdverseEvent", "Task", "Practitioner"]>, "many">>;
|
|
80
|
+
dateFrom: z.ZodOptional<z.ZodString>;
|
|
81
|
+
dateTo: z.ZodOptional<z.ZodString>;
|
|
82
|
+
conversionType: z.ZodOptional<z.ZodDefault<z.ZodEnum<["html", "pdf", "json"]>>>;
|
|
83
|
+
requestId: z.ZodString;
|
|
84
|
+
startedAt: z.ZodOptional<z.ZodDate>;
|
|
85
|
+
status: z.ZodEnum<["processing", "completed", "failed"]>;
|
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
|
87
|
+
status: "processing" | "completed" | "failed";
|
|
88
|
+
requestId: string;
|
|
89
|
+
resources?: ("Account" | "AllergyIntolerance" | "Appointment" | "AppointmentResponse" | "AuditEvent" | "Basic" | "BodyStructure" | "CarePlan" | "CareTeam" | "ChargeItem" | "Claim" | "ClaimResponse" | "ClinicalImpression" | "Communication" | "CommunicationRequest" | "Composition" | "Condition" | "Consent" | "Contract" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "DetectedIssue" | "Device" | "DeviceRequest" | "DeviceUseStatement" | "DiagnosticReport" | "DocumentManifest" | "DocumentReference" | "Encounter" | "EnrollmentRequest" | "EpisodeOfCare" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "Flag" | "Goal" | "GuidanceResponse" | "ImagingStudy" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "Invoice" | "List" | "MeasureReport" | "Media" | "MedicationAdministration" | "MedicationDispense" | "MedicationRequest" | "MedicationStatement" | "MolecularSequence" | "NutritionOrder" | "Observation" | "Person" | "Procedure" | "Provenance" | "QuestionnaireResponse" | "RelatedPerson" | "RequestGroup" | "ResearchSubject" | "RiskAssessment" | "ServiceRequest" | "Specimen" | "AdverseEvent" | "Task" | "Practitioner")[] | undefined;
|
|
90
|
+
dateFrom?: string | undefined;
|
|
91
|
+
dateTo?: string | undefined;
|
|
92
|
+
conversionType?: "html" | "pdf" | "json" | undefined;
|
|
93
|
+
startedAt?: Date | undefined;
|
|
94
|
+
}, {
|
|
95
|
+
status: "processing" | "completed" | "failed";
|
|
96
|
+
requestId: string;
|
|
97
|
+
resources?: ("Account" | "AllergyIntolerance" | "Appointment" | "AppointmentResponse" | "AuditEvent" | "Basic" | "BodyStructure" | "CarePlan" | "CareTeam" | "ChargeItem" | "Claim" | "ClaimResponse" | "ClinicalImpression" | "Communication" | "CommunicationRequest" | "Composition" | "Condition" | "Consent" | "Contract" | "Coverage" | "CoverageEligibilityRequest" | "CoverageEligibilityResponse" | "DetectedIssue" | "Device" | "DeviceRequest" | "DeviceUseStatement" | "DiagnosticReport" | "DocumentManifest" | "DocumentReference" | "Encounter" | "EnrollmentRequest" | "EpisodeOfCare" | "ExplanationOfBenefit" | "FamilyMemberHistory" | "Flag" | "Goal" | "GuidanceResponse" | "ImagingStudy" | "Immunization" | "ImmunizationEvaluation" | "ImmunizationRecommendation" | "Invoice" | "List" | "MeasureReport" | "Media" | "MedicationAdministration" | "MedicationDispense" | "MedicationRequest" | "MedicationStatement" | "MolecularSequence" | "NutritionOrder" | "Observation" | "Person" | "Procedure" | "Provenance" | "QuestionnaireResponse" | "RelatedPerson" | "RequestGroup" | "ResearchSubject" | "RiskAssessment" | "ServiceRequest" | "Specimen" | "AdverseEvent" | "Task" | "Practitioner")[] | undefined;
|
|
98
|
+
dateFrom?: string | undefined;
|
|
99
|
+
dateTo?: string | undefined;
|
|
100
|
+
conversionType?: "html" | "pdf" | "json" | undefined;
|
|
101
|
+
startedAt?: Date | undefined;
|
|
102
|
+
}>;
|
|
103
|
+
export type ConsolidatedQuery = z.infer<typeof consolidatedQuerySchema>;
|
|
58
104
|
//# sourceMappingURL=fhir.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fhir.d.ts","sourceRoot":"","sources":["../../../src/medical/models/fhir.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"fhir.d.ts","sourceRoot":"","sources":["../../../src/medical/models/fhir.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM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KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.consolidatedQuerySchema = exports.getConsolidatedFiltersSchema = exports.consolidatedCountSchema = exports.consolidatedFilterSchema = exports.consolidationConversionType = exports.resourceSchema = exports.resourceTypeForConsolidation = exports.generalResources = exports.resourcesSearchableBySubject = exports.resourcesSearchableByPatient = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
|
|
6
|
-
resources: zod_1.z.string(),
|
|
7
|
-
dateFrom: zod_1.z.date().optional(),
|
|
8
|
-
dateTo: zod_1.z.date().optional(),
|
|
9
|
-
});
|
|
10
|
-
exports.consolidatedCountSchema = zod_1.z.object({
|
|
11
|
-
total: zod_1.z.number(),
|
|
12
|
-
resources: zod_1.z.record(zod_1.z.number()),
|
|
13
|
-
filter: exports.consolidatedFilterSchema,
|
|
14
|
-
});
|
|
5
|
+
const patient_1 = require("./patient");
|
|
15
6
|
exports.resourcesSearchableByPatient = [
|
|
16
7
|
"Account",
|
|
17
8
|
"AllergyIntolerance",
|
|
@@ -83,4 +74,27 @@ exports.resourceTypeForConsolidation = [
|
|
|
83
74
|
...exports.resourcesSearchableBySubject,
|
|
84
75
|
...exports.generalResources,
|
|
85
76
|
];
|
|
77
|
+
exports.resourceSchema = zod_1.z.array(zod_1.z.enum(exports.resourceTypeForConsolidation));
|
|
78
|
+
exports.consolidationConversionType = ["html", "pdf", "json"];
|
|
79
|
+
exports.consolidatedFilterSchema = zod_1.z.object({
|
|
80
|
+
resources: zod_1.z.string(),
|
|
81
|
+
dateFrom: zod_1.z.date().optional(),
|
|
82
|
+
dateTo: zod_1.z.date().optional(),
|
|
83
|
+
});
|
|
84
|
+
exports.consolidatedCountSchema = zod_1.z.object({
|
|
85
|
+
total: zod_1.z.number(),
|
|
86
|
+
resources: zod_1.z.record(zod_1.z.number()),
|
|
87
|
+
filter: exports.consolidatedFilterSchema,
|
|
88
|
+
});
|
|
89
|
+
exports.getConsolidatedFiltersSchema = zod_1.z.object({
|
|
90
|
+
resources: zod_1.z.enum(exports.resourceTypeForConsolidation).array().optional(),
|
|
91
|
+
dateFrom: zod_1.z.string().optional(),
|
|
92
|
+
dateTo: zod_1.z.string().optional(),
|
|
93
|
+
conversionType: zod_1.z.enum(exports.consolidationConversionType).default("json").optional(),
|
|
94
|
+
});
|
|
95
|
+
exports.consolidatedQuerySchema = exports.getConsolidatedFiltersSchema.extend({
|
|
96
|
+
requestId: zod_1.z.string(),
|
|
97
|
+
startedAt: zod_1.z.date().optional(),
|
|
98
|
+
status: patient_1.queryStatusSchema,
|
|
99
|
+
});
|
|
86
100
|
//# sourceMappingURL=fhir.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fhir.js","sourceRoot":"","sources":["../../../src/medical/models/fhir.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;
|
|
1
|
+
{"version":3,"file":"fhir.js","sourceRoot":"","sources":["../../../src/medical/models/fhir.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,uCAA8C;AAEjC,QAAA,4BAA4B,GAAG;IAC1C,SAAS;IACT,oBAAoB;IACpB,aAAa;IACb,qBAAqB;IACrB,YAAY;IACZ,OAAO;IACP,eAAe;IACf,UAAU;IACV,UAAU;IACV,YAAY;IACZ,OAAO;IACP,eAAe;IACf,oBAAoB;IACpB,eAAe;IACf,sBAAsB;IACtB,aAAa;IACb,WAAW;IACX,SAAS;IACT,UAAU;IACV,UAAU;IACV,4BAA4B;IAC5B,6BAA6B;IAC7B,eAAe;IACf,QAAQ;IACR,eAAe;IACf,oBAAoB;IACpB,kBAAkB;IAClB,kBAAkB;IAClB,mBAAmB;IACnB,WAAW;IACX,mBAAmB;IACnB,eAAe;IACf,sBAAsB;IACtB,qBAAqB;IACrB,MAAM;IACN,MAAM;IACN,kBAAkB;IACl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,EAAE,OAAC,CAAC,IAAI,CAAC,oCAA4B,CAAC,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAClE,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,cAAc,EAAE,OAAC,CAAC,IAAI,CAAC,mCAA2B,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE;CAC/E,CAAC,CAAC;AAIU,QAAA,uBAAuB,GAAG,oCAA4B,CAAC,MAAM,CAAC;IACzE,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,OAAC,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC9B,MAAM,EAAE,2BAAiB;CAC1B,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { ConsolidatedQuery } from "./fhir";
|
|
2
3
|
export declare const patientCreateSchema: z.ZodObject<{
|
|
3
4
|
address: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
4
5
|
addressLine1: z.ZodString;
|
|
@@ -1924,8 +1925,8 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1924
1925
|
}>;
|
|
1925
1926
|
export declare const queryStatusSchema: z.ZodEnum<["processing", "completed", "failed"]>;
|
|
1926
1927
|
export type QueryStatus = z.infer<typeof queryStatusSchema>;
|
|
1927
|
-
export type
|
|
1928
|
-
|
|
1928
|
+
export type ConsolidatedQueryProgress = {
|
|
1929
|
+
queries: ConsolidatedQuery[] | null;
|
|
1929
1930
|
message?: string;
|
|
1930
1931
|
};
|
|
1931
1932
|
//# sourceMappingURL=patient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patient.d.ts","sourceRoot":"","sources":["../../../src/medical/models/patient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE5B,CAAC;AAEH,eAAO,MAAM,iBAAiB,kDAAgD,CAAC;AAC/E,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAC;IACpC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patient.js","sourceRoot":"","sources":["../../../src/medical/models/patient.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sDAAwD;AACxD,iDAAoD;
|
|
1
|
+
{"version":3,"file":"patient.js","sourceRoot":"","sources":["../../../src/medical/models/patient.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sDAAwD;AACxD,iDAAoD;AAGvC,QAAA,mBAAmB,GAAG,iCAAkB,CAAC,KAAK,CACzD,OAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CACH,CAAC;AAGW,QAAA,mBAAmB,GAAG,2BAAmB,CAAC,KAAK,CAAC,8BAAgB,CAAC,CAAC;AAGlE,QAAA,aAAa,GAAG,2BAAmB,CAAC,MAAM,CAAC;IACtD,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CACjC,CAAC,CAAC;AAGU,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,qBAAa,CAAC;CACjC,CAAC,CAAC;AAEU,QAAA,iBAAiB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metriport/api-sdk",
|
|
3
|
-
"version": "7.18.
|
|
3
|
+
"version": "7.18.1",
|
|
4
4
|
"description": "Metriport helps you access and manage health and medical data, through a single open source API.",
|
|
5
5
|
"author": "Metriport Inc. <contact@metriport.com>",
|
|
6
6
|
"homepage": "https://metriport.com/",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"url": "https://github.com/metriport/metriport/issues"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@metriport/commonwell-sdk": "^4.15.
|
|
60
|
-
"@metriport/shared": "^0.7.
|
|
59
|
+
"@metriport/commonwell-sdk": "^4.15.7",
|
|
60
|
+
"@metriport/shared": "^0.7.8",
|
|
61
61
|
"axios": "^1.3.4",
|
|
62
62
|
"dayjs": "^1.11.7",
|
|
63
63
|
"dotenv": "^16.3.1",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"ts-jest": "29.1.1",
|
|
76
76
|
"typescript": "^4.9.5"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "b665a65956f4ef5e9530f1c0419780e133d744bc"
|
|
79
79
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings-response.d.ts","sourceRoot":"","sources":["../../../src/medical/models/settings-response.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings-response.js","sourceRoot":"","sources":["../../../src/medical/models/settings-response.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webhook-status-response.d.ts","sourceRoot":"","sources":["../../../src/medical/models/webhook-status-response.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,OAAO,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,yBAAyB,EAAE,MAAM,CAAC;IAClC,qBAAqB,EAAE,MAAM,CAAC;CAC/B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webhook-status-response.js","sourceRoot":"","sources":["../../../src/medical/models/webhook-status-response.ts"],"names":[],"mappings":""}
|