@metriport/api-sdk 13.0.1-alpha.1 → 13.0.2-alpha.0
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/models/demographics.d.ts +1 -1
- package/dist/medical/models/demographics.js +1 -1
- package/dist/medical/models/demographics.js.map +1 -1
- package/dist/medical/models/fhir.d.ts +9 -9
- package/dist/medical/models/fhir.d.ts.map +1 -1
- package/dist/medical/models/patient.d.ts +4 -4
- package/dist/shared.d.ts +1 -0
- package/dist/shared.d.ts.map +1 -1
- package/dist/shared.js +6 -2
- package/dist/shared.js.map +1 -1
- package/package.json +6 -5
|
@@ -390,7 +390,7 @@ export type Contact = z.infer<typeof contactSchema>;
|
|
|
390
390
|
export declare const demographicsSchema: z.ZodObject<{
|
|
391
391
|
firstName: z.ZodString;
|
|
392
392
|
lastName: z.ZodString;
|
|
393
|
-
dob: z.ZodEffects<z.ZodString, string, string>;
|
|
393
|
+
dob: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
394
394
|
genderAtBirth: z.ZodEnum<["F", "M", "O", "U"]>;
|
|
395
395
|
personalIdentifiers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
396
396
|
value: z.ZodString;
|
|
@@ -50,7 +50,7 @@ exports.contactSchema = zod_1.z
|
|
|
50
50
|
exports.demographicsSchema = zod_1.z.object({
|
|
51
51
|
firstName: shared_2.defaultNameString,
|
|
52
52
|
lastName: shared_2.defaultNameString,
|
|
53
|
-
dob: shared_2.
|
|
53
|
+
dob: shared_2.pastOrTodayDateString,
|
|
54
54
|
genderAtBirth: exports.genderAtBirthSchema,
|
|
55
55
|
personalIdentifiers: zod_1.z.array(exports.personalIdentifierSchema).optional(),
|
|
56
56
|
address: zod_1.z.array(address_1.addressSchema).nonempty().or(address_1.addressSchema),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"demographics.js","sourceRoot":"","sources":["../../../src/medical/models/demographics.ts"],"names":[],"mappings":";;;AAAA,8CAK2B;AAC3B,6BAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"demographics.js","sourceRoot":"","sources":["../../../src/medical/models/demographics.ts"],"names":[],"mappings":";;;AAAA,8CAK2B;AAC3B,6BAAwB;AACxB,yCAAwE;AACxE,8CAAiD;AACjD,8CAAiD;AAEpC,QAAA,0BAA0B,GAAG,CAAC,KAAK,CAAU,CAAC;AAC9C,QAAA,gCAAgC,GAAG,CAAC,gBAAgB,CAAU,CAAC;AAI5E,MAAM,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,OAAC;SACN,MAAM,CAAC;QACN,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;QACjB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC3B,CAAC;SACD,EAAE,CACD,OAAC,CAAC,MAAM,CAAC;QACP,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;KAChB,CAAC,CACH;SACA,QAAQ,EAAE;IACb,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC;AAEU,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,wCAAgC,CAAC;IAC9C,KAAK,EAAE,uBAAa;CACrB,CAAC,CAAC;AACU,QAAA,qCAAqC,GAAG,4BAA4B,CAAC,KAAK,CACrF,qCAA6B,CAC9B,CAAC;AAGW,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAClD,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,kCAA0B,CAAC;CACzC,CAAC,CAAC;AACU,QAAA,mCAAmC,GAAG,4BAA4B,CAAC,KA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,EAAE,CAAC,EAAE,CAAC,qBAAa,CAAC,QAAQ,EAAE,CAAC;CACxE,CAAC,CAAC"}
|
|
@@ -4,29 +4,29 @@ export declare const resourcesSearchableByPatient: readonly ["Account", "Allergy
|
|
|
4
4
|
export type ResourceSearchableByPatient = (typeof resourcesSearchableByPatient)[number];
|
|
5
5
|
export declare const resourcesSearchableBySubject: readonly ["AdverseEvent", "Task"];
|
|
6
6
|
export type ResourceSearchableBySubject = (typeof resourcesSearchableBySubject)[number];
|
|
7
|
-
export declare const generalResources: readonly ["Practitioner"];
|
|
7
|
+
export declare const generalResources: readonly ["Location", "Organization", "Patient", "Practitioner"];
|
|
8
8
|
export type GeneralResources = (typeof generalResources)[number];
|
|
9
|
-
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 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", "Location", "Organization", "Patient", "Practitioner"];
|
|
10
10
|
export type ResourceTypeForConsolidation = medical.ResourceTypeForConsolidation;
|
|
11
|
-
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 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", "Location", "Organization", "Patient", "Practitioner"]>, "many">;
|
|
12
12
|
export declare const consolidationConversionType: readonly ["html", "pdf", "json"];
|
|
13
13
|
export type ConsolidationConversionType = (typeof consolidationConversionType)[number];
|
|
14
14
|
export declare const getConsolidatedFiltersSchema: z.ZodObject<{
|
|
15
|
-
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">>;
|
|
15
|
+
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", "Location", "Organization", "Patient", "Practitioner"]>, "many">>;
|
|
16
16
|
dateFrom: z.ZodOptional<z.ZodString>;
|
|
17
17
|
dateTo: z.ZodOptional<z.ZodString>;
|
|
18
18
|
conversionType: z.ZodOptional<z.ZodDefault<z.ZodEnum<["html", "pdf", "json"]>>>;
|
|
19
19
|
generateAiBrief: z.ZodOptional<z.ZodBoolean>;
|
|
20
20
|
fromDashboard: z.ZodOptional<z.ZodBoolean>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
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;
|
|
22
|
+
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" | "Location" | "Organization" | "Patient" | "Practitioner")[] | undefined;
|
|
23
23
|
dateFrom?: string | undefined;
|
|
24
24
|
dateTo?: string | undefined;
|
|
25
25
|
conversionType?: "html" | "pdf" | "json" | undefined;
|
|
26
26
|
generateAiBrief?: boolean | undefined;
|
|
27
27
|
fromDashboard?: boolean | undefined;
|
|
28
28
|
}, {
|
|
29
|
-
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;
|
|
29
|
+
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" | "Location" | "Organization" | "Patient" | "Practitioner")[] | undefined;
|
|
30
30
|
dateFrom?: string | undefined;
|
|
31
31
|
dateTo?: string | undefined;
|
|
32
32
|
conversionType?: "html" | "pdf" | "json" | undefined;
|
|
@@ -69,7 +69,7 @@ export declare const consolidatedCountSchema: z.ZodObject<{
|
|
|
69
69
|
}>;
|
|
70
70
|
export type ConsolidatedCountResponse = z.infer<typeof consolidatedCountSchema>;
|
|
71
71
|
export declare const consolidatedQuerySchema: z.ZodObject<{
|
|
72
|
-
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">>;
|
|
72
|
+
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", "Location", "Organization", "Patient", "Practitioner"]>, "many">>;
|
|
73
73
|
dateFrom: z.ZodOptional<z.ZodString>;
|
|
74
74
|
dateTo: z.ZodOptional<z.ZodString>;
|
|
75
75
|
conversionType: z.ZodOptional<z.ZodDefault<z.ZodEnum<["html", "pdf", "json"]>>>;
|
|
@@ -82,7 +82,7 @@ export declare const consolidatedQuerySchema: z.ZodObject<{
|
|
|
82
82
|
status: "processing" | "completed" | "failed";
|
|
83
83
|
requestId: string;
|
|
84
84
|
startedAt: Date;
|
|
85
|
-
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;
|
|
85
|
+
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" | "Location" | "Organization" | "Patient" | "Practitioner")[] | undefined;
|
|
86
86
|
dateFrom?: string | undefined;
|
|
87
87
|
dateTo?: string | undefined;
|
|
88
88
|
conversionType?: "html" | "pdf" | "json" | undefined;
|
|
@@ -92,7 +92,7 @@ export declare const consolidatedQuerySchema: z.ZodObject<{
|
|
|
92
92
|
status: "processing" | "completed" | "failed";
|
|
93
93
|
requestId: string;
|
|
94
94
|
startedAt: Date;
|
|
95
|
-
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;
|
|
95
|
+
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" | "Location" | "Organization" | "Patient" | "Practitioner")[] | undefined;
|
|
96
96
|
dateFrom?: string | undefined;
|
|
97
97
|
dateTo?: string | undefined;
|
|
98
98
|
conversionType?: "html" | "pdf" | "json" | undefined;
|
|
@@ -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,C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,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMlC,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAEhF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { ConsolidatedQuery } from "./fhir";
|
|
|
3
3
|
export declare const patientCreateSchema: z.ZodObject<{
|
|
4
4
|
firstName: z.ZodString;
|
|
5
5
|
lastName: z.ZodString;
|
|
6
|
-
dob: z.ZodEffects<z.ZodString, string, string>;
|
|
6
|
+
dob: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
7
7
|
genderAtBirth: z.ZodEnum<["F", "M", "O", "U"]>;
|
|
8
8
|
personalIdentifiers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
9
9
|
value: z.ZodString;
|
|
@@ -579,7 +579,7 @@ export type PatientCreate = z.infer<typeof patientCreateSchema>;
|
|
|
579
579
|
export declare const patientUpdateSchema: z.ZodObject<{
|
|
580
580
|
firstName: z.ZodString;
|
|
581
581
|
lastName: z.ZodString;
|
|
582
|
-
dob: z.ZodEffects<z.ZodString, string, string>;
|
|
582
|
+
dob: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
583
583
|
genderAtBirth: z.ZodEnum<["F", "M", "O", "U"]>;
|
|
584
584
|
personalIdentifiers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
585
585
|
value: z.ZodString;
|
|
@@ -1163,7 +1163,7 @@ export declare const patientSchema: z.ZodObject<{
|
|
|
1163
1163
|
eTag: z.ZodOptional<z.ZodString>;
|
|
1164
1164
|
firstName: z.ZodString;
|
|
1165
1165
|
lastName: z.ZodString;
|
|
1166
|
-
dob: z.ZodEffects<z.ZodString, string, string>;
|
|
1166
|
+
dob: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1167
1167
|
genderAtBirth: z.ZodEnum<["F", "M", "O", "U"]>;
|
|
1168
1168
|
personalIdentifiers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1169
1169
|
value: z.ZodString;
|
|
@@ -1749,7 +1749,7 @@ export declare const patientListSchema: z.ZodObject<{
|
|
|
1749
1749
|
eTag: z.ZodOptional<z.ZodString>;
|
|
1750
1750
|
firstName: z.ZodString;
|
|
1751
1751
|
lastName: z.ZodString;
|
|
1752
|
-
dob: z.ZodEffects<z.ZodString, string, string>;
|
|
1752
|
+
dob: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1753
1753
|
genderAtBirth: z.ZodEnum<["F", "M", "O", "U"]>;
|
|
1754
1754
|
personalIdentifiers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1755
1755
|
value: z.ZodString;
|
package/dist/shared.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare const ISO_DATE = "YYYY-MM-DD";
|
|
|
10
10
|
export declare const defaultString: z.ZodString;
|
|
11
11
|
export declare const defaultOptionalString: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodOptional<z.ZodString>]>, string | undefined, string | undefined>;
|
|
12
12
|
export declare const defaultDateString: z.ZodEffects<z.ZodString, string, string>;
|
|
13
|
+
export declare const pastOrTodayDateString: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
13
14
|
export declare const defaultNameString: z.ZodString;
|
|
14
15
|
export declare function optionalDateToISOString(date: string | Date | undefined | null): string | undefined;
|
|
15
16
|
export declare const getEnvVar: (varName: string) => string | undefined;
|
package/dist/shared.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../src/shared.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../src/shared.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAEnC,eAAO,MAAM,YAAY,8BAA8B,CAAC;AACxD,eAAO,MAAM,oBAAoB,sCAAsC,CAAC;AACxE,eAAO,MAAM,cAAc,cAAc,CAAC;AAC1C,eAAO,MAAM,UAAU,kBAAkB,CAAC;AAC1C,eAAO,MAAM,4BAA4B,QAAS,CAAC;AAEnD,eAAO,MAAM,sBAAsB,MAAO,MAAM,GAAG,SAAS,GAAG,IAAI,uBACxB,CAAC;AAE5C,eAAO,MAAM,cAAc,cAAe,SAAS,gHACoB,CAAC;AAExE,eAAO,MAAM,QAAQ,eAAe,CAAC;AACrC,eAAO,MAAM,aAAa,aAAoB,CAAC;AAC/C,eAAO,MAAM,qBAAqB,6GAAgC,CAAC;AACnE,eAAO,MAAM,iBAAiB,2CAE5B,CAAC;AACH,eAAO,MAAM,qBAAqB,yEAEhC,CAAC;AACH,eAAO,MAAM,iBAAiB,aAAuB,CAAC;AAEtD,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,GACrC,MAAM,GAAG,SAAS,CAGpB;AAED,eAAO,MAAM,SAAS,YAAa,MAAM,KAAG,MAAM,GAAG,SAAiC,CAAC;AAEvF,eAAO,MAAM,eAAe,YAAa,MAAM,KAAG,MAMjD,CAAC"}
|
package/dist/shared.js
CHANGED
|
@@ -3,7 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getEnvVarOrFail = exports.getEnvVar = exports.optionalDateToISOString = exports.defaultNameString = exports.defaultDateString = exports.defaultOptionalString = exports.defaultString = exports.ISO_DATE = exports.optionalString = exports.emptyStringToUndefined = exports.DEFAULT_AXIOS_TIMEOUT_MILLIS = exports.JWT_HEADER = exports.API_KEY_HEADER = exports.BASE_ADDRESS_SANDBOX = exports.BASE_ADDRESS = void 0;
|
|
6
|
+
exports.getEnvVarOrFail = exports.getEnvVar = exports.optionalDateToISOString = exports.defaultNameString = exports.pastOrTodayDateString = exports.defaultDateString = exports.defaultOptionalString = exports.defaultString = exports.ISO_DATE = exports.optionalString = exports.emptyStringToUndefined = exports.DEFAULT_AXIOS_TIMEOUT_MILLIS = exports.JWT_HEADER = exports.API_KEY_HEADER = exports.BASE_ADDRESS_SANDBOX = exports.BASE_ADDRESS = void 0;
|
|
7
|
+
const date_1 = require("@metriport/shared/common/date");
|
|
7
8
|
const dayjs_1 = __importDefault(require("dayjs"));
|
|
8
9
|
const zod_1 = require("zod");
|
|
9
10
|
exports.BASE_ADDRESS = "https://api.metriport.com";
|
|
@@ -18,9 +19,12 @@ exports.optionalString = optionalString;
|
|
|
18
19
|
exports.ISO_DATE = "YYYY-MM-DD";
|
|
19
20
|
exports.defaultString = zod_1.z.string().trim();
|
|
20
21
|
exports.defaultOptionalString = (0, exports.optionalString)(exports.defaultString);
|
|
21
|
-
exports.defaultDateString = exports.defaultString.refine(
|
|
22
|
+
exports.defaultDateString = exports.defaultString.refine(date_1.isValidISODate, {
|
|
22
23
|
message: `Date must be a valid ISO 8601 date formatted ${exports.ISO_DATE}. Example: 2023-03-15`,
|
|
23
24
|
});
|
|
25
|
+
exports.pastOrTodayDateString = exports.defaultDateString.refine(date_1.validateIsPastOrPresentSafe, {
|
|
26
|
+
message: `Date can't be in the future`,
|
|
27
|
+
});
|
|
24
28
|
exports.defaultNameString = exports.defaultString.min(1);
|
|
25
29
|
function optionalDateToISOString(date) {
|
|
26
30
|
const preConversion = date && typeof date !== "string" ? (0, dayjs_1.default)(date).format(exports.ISO_DATE) : date;
|
package/dist/shared.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../src/shared.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,6BAAmC;AAEtB,QAAA,YAAY,GAAG,2BAA2B,CAAC;AAC3C,QAAA,oBAAoB,GAAG,mCAAmC,CAAC;AAC3D,QAAA,cAAc,GAAG,WAAW,CAAC;AAC7B,QAAA,UAAU,GAAG,eAAe,CAAC;AAC7B,QAAA,4BAA4B,GAAG,KAAM,CAAC;AAE5C,MAAM,sBAAsB,GAAG,CAAC,CAA4B,EAAE,EAAE,CACrE,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;AAD/B,QAAA,sBAAsB,0BACS;AAErC,MAAM,cAAc,GAAG,CAAC,SAAoB,EAAE,EAAE,CACrD,SAAS,CAAC,EAAE,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,CAAC,8BAAsB,CAAC,CAAC;AAD3D,QAAA,cAAc,kBAC6C;AAE3D,QAAA,QAAQ,GAAG,YAAY,CAAC;AACxB,QAAA,aAAa,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;AAClC,QAAA,qBAAqB,GAAG,IAAA,sBAAc,EAAC,qBAAa,CAAC,CAAC;AACtD,QAAA,iBAAiB,GAAG,qBAAa,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../src/shared.ts"],"names":[],"mappings":";;;;;;AAAA,wDAA4F;AAC5F,kDAA0B;AAC1B,6BAAmC;AAEtB,QAAA,YAAY,GAAG,2BAA2B,CAAC;AAC3C,QAAA,oBAAoB,GAAG,mCAAmC,CAAC;AA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pC,CAAC;AALD,0DAKC;AAEM,MAAM,SAAS,GAAG,CAAC,OAAe,EAAsB,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AAA1E,QAAA,SAAS,aAAiE;AAEhF,MAAM,eAAe,GAAG,CAAC,OAAe,EAAU,EAAE;IACzD,MAAM,KAAK,GAAG,IAAA,iBAAS,EAAC,OAAO,CAAC,CAAC;IACjC,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,EAAE;QACrC,MAAM,IAAI,KAAK,CAAC,WAAW,OAAO,UAAU,CAAC,CAAC;KAC/C;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AANW,QAAA,eAAe,mBAM1B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metriport/api-sdk",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.2-alpha.0",
|
|
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/",
|
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
|
-
"clean": "rimraf dist
|
|
38
|
+
"clean": "rimraf dist",
|
|
39
|
+
"deepclean": "npm run clean && rimraf node_modules",
|
|
39
40
|
"tsc": "tsc",
|
|
40
41
|
"watch": "tsc --watch",
|
|
41
42
|
"build": "tsc -p .",
|
|
@@ -57,8 +58,8 @@
|
|
|
57
58
|
},
|
|
58
59
|
"dependencies": {
|
|
59
60
|
"@medplum/fhirtypes": "^2.0.32",
|
|
60
|
-
"@metriport/commonwell-sdk": "^5.1.
|
|
61
|
-
"@metriport/shared": "^0.
|
|
61
|
+
"@metriport/commonwell-sdk": "^5.1.8-alpha.0",
|
|
62
|
+
"@metriport/shared": "^0.14.3-alpha.0",
|
|
62
63
|
"axios": "^1.4.0",
|
|
63
64
|
"dayjs": "^1.11.7",
|
|
64
65
|
"dotenv": "^16.3.1",
|
|
@@ -76,5 +77,5 @@
|
|
|
76
77
|
"ts-jest": "29.1.1",
|
|
77
78
|
"typescript": "^4.9.5"
|
|
78
79
|
},
|
|
79
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "b5fca2046c3dac06a9fbffb7770c671412d8acb6"
|
|
80
81
|
}
|