@metriport/api-sdk 18.10.1-alpha.0 → 18.10.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/devices/client/metriport.d.ts.map +1 -1
- package/dist/devices/client/metriport.js.map +1 -1
- package/dist/devices/client/util/date-util.js +1 -2
- package/dist/devices/client/util/date-util.js.map +1 -1
- package/dist/devices/client/util/timezone-util.js +1 -2
- package/dist/devices/client/util/timezone-util.js.map +1 -1
- package/dist/devices/models/common/provider-source.js +1 -1
- package/dist/devices/models/common/provider-source.js.map +1 -1
- package/dist/devices/models/common/source-type.js +1 -1
- package/dist/devices/models/common/source-type.js.map +1 -1
- package/dist/medical/client/metriport.d.ts +0 -2
- package/dist/medical/client/metriport.d.ts.map +1 -1
- package/dist/medical/client/metriport.js +2 -2
- package/dist/medical/client/metriport.js.map +1 -1
- package/dist/medical/models/common/address.d.ts +4 -4
- package/dist/medical/models/common/address.js.map +1 -1
- package/dist/medical/models/common/base-update.js +2 -2
- package/dist/medical/models/common/base-update.js.map +1 -1
- package/dist/medical/models/common/hie-control.js.map +1 -1
- package/dist/medical/models/common/medical-data-source.js +1 -1
- package/dist/medical/models/common/medical-data-source.js.map +1 -1
- package/dist/medical/models/common/us-data.js.map +1 -1
- package/dist/medical/models/demographics.d.ts +105 -105
- package/dist/medical/models/demographics.d.ts.map +1 -1
- package/dist/medical/models/demographics.js.map +1 -1
- package/dist/medical/models/document.d.ts +56 -56
- package/dist/medical/models/document.js +2 -2
- package/dist/medical/models/document.js.map +1 -1
- package/dist/medical/models/facility.d.ts +59 -59
- package/dist/medical/models/facility.js.map +1 -1
- package/dist/medical/models/fhir.d.ts +20 -20
- package/dist/medical/models/fhir.js.map +1 -1
- package/dist/medical/models/organization.d.ts +22 -22
- package/dist/medical/models/organization.js.map +1 -1
- package/dist/medical/models/patient.d.ts +442 -442
- package/dist/medical/models/patient.js.map +1 -1
- package/dist/shared.js +3 -3
- package/dist/shared.js.map +1 -1
- package/package.json +10 -10
|
@@ -19,17 +19,17 @@ export declare const getConsolidatedFiltersSchema: z.ZodObject<{
|
|
|
19
19
|
generateAiBrief: z.ZodOptional<z.ZodBoolean>;
|
|
20
20
|
fromDashboard: z.ZodOptional<z.ZodBoolean>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
|
|
23
|
-
resources?: ("Location" | "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" | "Organization" | "Patient" | "Practitioner" | "Binary")[] | undefined;
|
|
22
|
+
resources?: ("Account" | "AdverseEvent" | "AllergyIntolerance" | "Appointment" | "AppointmentResponse" | "AuditEvent" | "Basic" | "Binary" | "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" | "Location" | "MeasureReport" | "Media" | "MedicationAdministration" | "MedicationDispense" | "MedicationRequest" | "MedicationStatement" | "MolecularSequence" | "NutritionOrder" | "Observation" | "Organization" | "Patient" | "Person" | "Practitioner" | "Procedure" | "Provenance" | "QuestionnaireResponse" | "RelatedPerson" | "RequestGroup" | "ResearchSubject" | "RiskAssessment" | "ServiceRequest" | "Specimen" | "Task")[] | undefined;
|
|
24
23
|
dateFrom?: string | undefined;
|
|
25
24
|
dateTo?: string | undefined;
|
|
25
|
+
conversionType: "html" | "json" | "pdf";
|
|
26
26
|
generateAiBrief?: boolean | undefined;
|
|
27
27
|
fromDashboard?: boolean | undefined;
|
|
28
28
|
}, {
|
|
29
|
-
|
|
30
|
-
resources?: ("Location" | "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" | "Organization" | "Patient" | "Practitioner" | "Binary")[] | undefined;
|
|
29
|
+
resources?: ("Account" | "AdverseEvent" | "AllergyIntolerance" | "Appointment" | "AppointmentResponse" | "AuditEvent" | "Basic" | "Binary" | "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" | "Location" | "MeasureReport" | "Media" | "MedicationAdministration" | "MedicationDispense" | "MedicationRequest" | "MedicationStatement" | "MolecularSequence" | "NutritionOrder" | "Observation" | "Organization" | "Patient" | "Person" | "Practitioner" | "Procedure" | "Provenance" | "QuestionnaireResponse" | "RelatedPerson" | "RequestGroup" | "ResearchSubject" | "RiskAssessment" | "ServiceRequest" | "Specimen" | "Task")[] | undefined;
|
|
31
30
|
dateFrom?: string | undefined;
|
|
32
31
|
dateTo?: string | undefined;
|
|
32
|
+
conversionType: "html" | "json" | "pdf";
|
|
33
33
|
generateAiBrief?: boolean | undefined;
|
|
34
34
|
fromDashboard?: boolean | undefined;
|
|
35
35
|
}>;
|
|
@@ -47,30 +47,30 @@ export declare const consolidatedCountSchema: z.ZodObject<{
|
|
|
47
47
|
}, "dateFrom" | "dateTo">, {
|
|
48
48
|
resources: z.ZodString;
|
|
49
49
|
}>, "strip", z.ZodTypeAny, {
|
|
50
|
-
resources: string;
|
|
51
50
|
dateFrom?: string | undefined;
|
|
52
51
|
dateTo?: string | undefined;
|
|
53
|
-
}, {
|
|
54
52
|
resources: string;
|
|
53
|
+
}, {
|
|
55
54
|
dateFrom?: string | undefined;
|
|
56
55
|
dateTo?: string | undefined;
|
|
56
|
+
resources: string;
|
|
57
57
|
}>;
|
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
|
59
|
+
total: number;
|
|
60
|
+
resources: Record<string, number>;
|
|
59
61
|
filter: {
|
|
60
|
-
resources: string;
|
|
61
62
|
dateFrom?: string | undefined;
|
|
62
63
|
dateTo?: string | undefined;
|
|
64
|
+
resources: string;
|
|
63
65
|
};
|
|
66
|
+
}, {
|
|
64
67
|
total: number;
|
|
65
68
|
resources: Record<string, number>;
|
|
66
|
-
}, {
|
|
67
69
|
filter: {
|
|
68
|
-
resources: string;
|
|
69
70
|
dateFrom?: string | undefined;
|
|
70
71
|
dateTo?: string | undefined;
|
|
72
|
+
resources: string;
|
|
71
73
|
};
|
|
72
|
-
total: number;
|
|
73
|
-
resources: Record<string, number>;
|
|
74
74
|
}>;
|
|
75
75
|
export type ConsolidatedCountResponse = z.infer<typeof consolidatedCountSchema>;
|
|
76
76
|
export declare const consolidatedQuerySchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -85,25 +85,25 @@ export declare const consolidatedQuerySchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
85
85
|
startedAt: z.ZodDate;
|
|
86
86
|
status: z.ZodEnum<["processing", "completed", "failed"]>;
|
|
87
87
|
}>, "strip", z.ZodTypeAny, {
|
|
88
|
-
|
|
89
|
-
requestId: string;
|
|
90
|
-
conversionType: "html" | "pdf" | "json";
|
|
91
|
-
startedAt: Date;
|
|
92
|
-
resources?: ("Location" | "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" | "Organization" | "Patient" | "Practitioner" | "Binary")[] | undefined;
|
|
88
|
+
resources?: ("Account" | "AdverseEvent" | "AllergyIntolerance" | "Appointment" | "AppointmentResponse" | "AuditEvent" | "Basic" | "Binary" | "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" | "Location" | "MeasureReport" | "Media" | "MedicationAdministration" | "MedicationDispense" | "MedicationRequest" | "MedicationStatement" | "MolecularSequence" | "NutritionOrder" | "Observation" | "Organization" | "Patient" | "Person" | "Practitioner" | "Procedure" | "Provenance" | "QuestionnaireResponse" | "RelatedPerson" | "RequestGroup" | "ResearchSubject" | "RiskAssessment" | "ServiceRequest" | "Specimen" | "Task")[] | undefined;
|
|
93
89
|
dateFrom?: string | undefined;
|
|
94
90
|
dateTo?: string | undefined;
|
|
91
|
+
conversionType: "html" | "json" | "pdf";
|
|
95
92
|
generateAiBrief?: boolean | undefined;
|
|
96
93
|
fromDashboard?: boolean | undefined;
|
|
97
|
-
}, {
|
|
98
|
-
status: "processing" | "completed" | "failed";
|
|
99
94
|
requestId: string;
|
|
100
|
-
conversionType: "html" | "pdf" | "json";
|
|
101
95
|
startedAt: Date;
|
|
102
|
-
|
|
96
|
+
status: "completed" | "failed" | "processing";
|
|
97
|
+
}, {
|
|
98
|
+
resources?: ("Account" | "AdverseEvent" | "AllergyIntolerance" | "Appointment" | "AppointmentResponse" | "AuditEvent" | "Basic" | "Binary" | "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" | "Location" | "MeasureReport" | "Media" | "MedicationAdministration" | "MedicationDispense" | "MedicationRequest" | "MedicationStatement" | "MolecularSequence" | "NutritionOrder" | "Observation" | "Organization" | "Patient" | "Person" | "Practitioner" | "Procedure" | "Provenance" | "QuestionnaireResponse" | "RelatedPerson" | "RequestGroup" | "ResearchSubject" | "RiskAssessment" | "ServiceRequest" | "Specimen" | "Task")[] | undefined;
|
|
103
99
|
dateFrom?: string | undefined;
|
|
104
100
|
dateTo?: string | undefined;
|
|
101
|
+
conversionType: "html" | "json" | "pdf";
|
|
105
102
|
generateAiBrief?: boolean | undefined;
|
|
106
103
|
fromDashboard?: boolean | undefined;
|
|
104
|
+
requestId: string;
|
|
105
|
+
startedAt: Date;
|
|
106
|
+
status: "completed" | "failed" | "processing";
|
|
107
107
|
}>;
|
|
108
108
|
export type ConsolidatedQuery = z.infer<typeof consolidatedQuerySchema>;
|
|
109
109
|
//# sourceMappingURL=fhir.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fhir.js","sourceRoot":"","sources":["../../../src/medical/models/fhir.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,8CAA4C;AAC5C,uCAA8C;AAEjC,QAAA,4BAA4B,GAAG,gBAAO,CAAC,4BAA4B,CAAC;AAGpE,QAAA,4BAA4B,GAAG,gBAAO,CAAC,4BAA4B,CAAC;AAGpE,QAAA,gBAAgB,GAAG,gBAAO,CAAC,gBAAgB,CAAC;AAG5C,QAAA,4BAA4B,GAAG,gBAAO,CAAC,4BAA4B,CAAC;AAIpE,QAAA,cAAc,GAAG,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"fhir.js","sourceRoot":"","sources":["../../../src/medical/models/fhir.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,8CAA4C;AAC5C,uCAA8C;AAEjC,QAAA,4BAA4B,GAAG,gBAAO,CAAC,4BAA4B,CAAC;AAGpE,QAAA,4BAA4B,GAAG,gBAAO,CAAC,4BAA4B,CAAC;AAGpE,QAAA,gBAAgB,GAAG,gBAAO,CAAC,gBAAgB,CAAC;AAG5C,QAAA,4BAA4B,GAAG,gBAAO,CAAC,4BAA4B,CAAC;AAIpE,QAAA,cAAc,GAAG,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,IAAI,CAAC,QAAA,4BAA4B,CAAC,CAAC,CAAC;AAE/D,QAAA,2BAA2B,GAAG,gBAAO,CAAC,2BAA2B,CAAC;AAGlE,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,SAAS,EAAE,OAAC,CAAC,IAAI,CAAC,QAAA,4BAA4B,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,QAAA,2BAA2B,CAAC;IACnD,eAAe,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACvC,aAAa,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC;AAIU,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IAC/B,MAAM,EAAE,QAAA,4BAA4B,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;QACjF,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;KACtB,CAAC;CACH,CAAC,CAAC;AAIU,QAAA,uBAAuB,GAAG,QAAA,4BAA4B,CAAC,MAAM,CAAC;IACzE,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,OAAC,CAAC,IAAI,EAAE;IACnB,MAAM,EAAE,2BAAiB;CAC1B,CAAC,CAAC"}
|
|
@@ -75,21 +75,21 @@ export declare const organizationCreateSchema: z.ZodObject<{
|
|
|
75
75
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
76
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
77
|
addressLine1: string;
|
|
78
|
+
addressLine2?: string | undefined;
|
|
78
79
|
city: string;
|
|
79
80
|
state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory;
|
|
80
81
|
zip: string;
|
|
81
|
-
country: "USA";
|
|
82
|
-
addressLine2?: string | undefined;
|
|
83
82
|
coordinates?: {
|
|
84
83
|
lat: number;
|
|
85
84
|
lon: number;
|
|
86
85
|
} | undefined;
|
|
86
|
+
country: "USA";
|
|
87
87
|
}, {
|
|
88
88
|
addressLine1: string;
|
|
89
|
-
city: string;
|
|
90
|
-
zip: string;
|
|
91
89
|
addressLine2?: string | undefined;
|
|
90
|
+
city: string;
|
|
92
91
|
state?: unknown;
|
|
92
|
+
zip: string;
|
|
93
93
|
coordinates?: {
|
|
94
94
|
lat: number;
|
|
95
95
|
lon: number;
|
|
@@ -97,29 +97,29 @@ export declare const organizationCreateSchema: z.ZodObject<{
|
|
|
97
97
|
country?: "USA" | undefined;
|
|
98
98
|
}>;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
|
-
type: TreatmentType;
|
|
101
100
|
name: string;
|
|
101
|
+
type: TreatmentType;
|
|
102
102
|
location: {
|
|
103
103
|
addressLine1: string;
|
|
104
|
+
addressLine2?: string | undefined;
|
|
104
105
|
city: string;
|
|
105
106
|
state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory;
|
|
106
107
|
zip: string;
|
|
107
|
-
country: "USA";
|
|
108
|
-
addressLine2?: string | undefined;
|
|
109
108
|
coordinates?: {
|
|
110
109
|
lat: number;
|
|
111
110
|
lon: number;
|
|
112
111
|
} | undefined;
|
|
112
|
+
country: "USA";
|
|
113
113
|
};
|
|
114
114
|
}, {
|
|
115
|
-
type: TreatmentType;
|
|
116
115
|
name: string;
|
|
116
|
+
type: TreatmentType;
|
|
117
117
|
location: {
|
|
118
118
|
addressLine1: string;
|
|
119
|
-
city: string;
|
|
120
|
-
zip: string;
|
|
121
119
|
addressLine2?: string | undefined;
|
|
120
|
+
city: string;
|
|
122
121
|
state?: unknown;
|
|
122
|
+
zip: string;
|
|
123
123
|
coordinates?: {
|
|
124
124
|
lat: number;
|
|
125
125
|
lon: number;
|
|
@@ -204,21 +204,21 @@ export declare const organizationSchema: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
204
204
|
country: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USA">>>;
|
|
205
205
|
}, "strip", z.ZodTypeAny, {
|
|
206
206
|
addressLine1: string;
|
|
207
|
+
addressLine2?: string | undefined;
|
|
207
208
|
city: string;
|
|
208
209
|
state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory;
|
|
209
210
|
zip: string;
|
|
210
|
-
country: "USA";
|
|
211
|
-
addressLine2?: string | undefined;
|
|
212
211
|
coordinates?: {
|
|
213
212
|
lat: number;
|
|
214
213
|
lon: number;
|
|
215
214
|
} | undefined;
|
|
215
|
+
country: "USA";
|
|
216
216
|
}, {
|
|
217
217
|
addressLine1: string;
|
|
218
|
-
city: string;
|
|
219
|
-
zip: string;
|
|
220
218
|
addressLine2?: string | undefined;
|
|
219
|
+
city: string;
|
|
221
220
|
state?: unknown;
|
|
221
|
+
zip: string;
|
|
222
222
|
coordinates?: {
|
|
223
223
|
lat: number;
|
|
224
224
|
lon: number;
|
|
@@ -230,32 +230,33 @@ export declare const organizationSchema: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
230
230
|
eTag: z.ZodOptional<z.ZodString>;
|
|
231
231
|
}>, "strip", z.ZodTypeAny, {
|
|
232
232
|
id: string;
|
|
233
|
-
|
|
233
|
+
eTag?: string | undefined;
|
|
234
234
|
name: string;
|
|
235
|
+
type: TreatmentType;
|
|
235
236
|
location: {
|
|
236
237
|
addressLine1: string;
|
|
238
|
+
addressLine2?: string | undefined;
|
|
237
239
|
city: string;
|
|
238
240
|
state: import("@metriport/shared").USState | import("@metriport/shared").USTerritory;
|
|
239
241
|
zip: string;
|
|
240
|
-
country: "USA";
|
|
241
|
-
addressLine2?: string | undefined;
|
|
242
242
|
coordinates?: {
|
|
243
243
|
lat: number;
|
|
244
244
|
lon: number;
|
|
245
245
|
} | undefined;
|
|
246
|
+
country: "USA";
|
|
246
247
|
};
|
|
247
248
|
oid: string;
|
|
248
|
-
eTag?: string | undefined;
|
|
249
249
|
}, {
|
|
250
250
|
id: string;
|
|
251
|
-
|
|
251
|
+
eTag?: string | undefined;
|
|
252
252
|
name: string;
|
|
253
|
+
type: TreatmentType;
|
|
253
254
|
location: {
|
|
254
255
|
addressLine1: string;
|
|
255
|
-
city: string;
|
|
256
|
-
zip: string;
|
|
257
256
|
addressLine2?: string | undefined;
|
|
257
|
+
city: string;
|
|
258
258
|
state?: unknown;
|
|
259
|
+
zip: string;
|
|
259
260
|
coordinates?: {
|
|
260
261
|
lat: number;
|
|
261
262
|
lon: number;
|
|
@@ -263,7 +264,6 @@ export declare const organizationSchema: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
263
264
|
country?: "USA" | undefined;
|
|
264
265
|
};
|
|
265
266
|
oid: string;
|
|
266
|
-
eTag?: string | undefined;
|
|
267
267
|
}>;
|
|
268
268
|
export type Organization = z.infer<typeof organizationSchema>;
|
|
269
269
|
//# sourceMappingURL=organization.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../../src/medical/models/organization.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,8CAAiD;AACjD,sDAAwD;AACxD,8CAAkD;AAErC,QAAA,mBAAmB,GAAG,OAAC,CAAC,UAAU,CAAC,sBAAa,CAAC,CAAC;AAElD,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../../src/medical/models/organization.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,8CAAiD;AACjD,sDAAwD;AACxD,8CAAkD;AAErC,QAAA,mBAAmB,GAAG,OAAC,CAAC,UAAU,CAAC,sBAAa,CAAC,CAAC;AAElD,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,QAAA,mBAAmB;IACzB,QAAQ,EAAE,uBAAa;CACxB,CAAC,CAAC;AAGU,QAAA,kBAAkB,GAAG,OAAC;KAChC,MAAM,CAAC;IACN,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;CAChB,CAAC;KACD,KAAK,CAAC,QAAA,wBAAwB,CAAC;KAC/B,KAAK,CAAC,8BAAgB,CAAC,CAAC"}
|