@digitalmedika/satusehat 0.1.0 → 0.3.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/README.md +120 -2
- package/dist/builders/chest-xray-study-builder.d.ts +16 -0
- package/dist/builders/encounter-builder.d.ts +124 -0
- package/dist/builders/encounter-condition-builder.d.ts +28 -0
- package/dist/builders/risk-assessment-builder.d.ts +39 -0
- package/dist/builders/service-request-imaging-study-diagnostic-report-builder.d.ts +49 -0
- package/dist/client/create-client.d.ts +1 -0
- package/dist/client/transport.d.ts +9 -0
- package/dist/core/types.d.ts +160 -0
- package/dist/endpoints/allergy-intolerance.d.ts +720 -0
- package/dist/endpoints/clinical-impression.d.ts +530 -0
- package/dist/endpoints/composition.d.ts +3 -0
- package/dist/endpoints/condition.d.ts +195 -195
- package/dist/endpoints/diagnostic-report.d.ts +70 -70
- package/dist/endpoints/dicom-router.d.ts +6 -0
- package/dist/endpoints/encounter.d.ts +156 -115
- package/dist/endpoints/imaging-study.d.ts +790 -0
- package/dist/endpoints/location.d.ts +30 -30
- package/dist/endpoints/medication-administration.d.ts +910 -0
- package/dist/endpoints/medication-request.d.ts +260 -260
- package/dist/endpoints/nutrition-order.d.ts +1510 -0
- package/dist/endpoints/observation.d.ts +230 -230
- package/dist/endpoints/organization.d.ts +20 -20
- package/dist/endpoints/practitioner-role.d.ts +25 -25
- package/dist/endpoints/procedure.d.ts +215 -215
- package/dist/endpoints/questionnaire-response.d.ts +195 -0
- package/dist/endpoints/risk-assessment.d.ts +770 -0
- package/dist/endpoints/service-request.d.ts +190 -190
- package/dist/endpoints/specimen.d.ts +105 -105
- package/dist/index.d.ts +21 -3
- package/dist/index.js +15 -1
- package/dist/schemas/allergy-intolerance.d.ts +4148 -0
- package/dist/schemas/clinical-impression.d.ts +2666 -0
- package/dist/schemas/composition.d.ts +2914 -0
- package/dist/schemas/condition.d.ts +476 -476
- package/dist/schemas/diagnostic-report.d.ts +172 -172
- package/dist/schemas/encounter.d.ts +1124 -564
- package/dist/schemas/imaging-study.d.ts +4609 -0
- package/dist/schemas/location.d.ts +72 -72
- package/dist/schemas/medication-administration.d.ts +5420 -0
- package/dist/schemas/medication-request.d.ts +1083 -1083
- package/dist/schemas/nutrition-order.d.ts +12261 -0
- package/dist/schemas/observation.d.ts +598 -598
- package/dist/schemas/organization.d.ts +60 -60
- package/dist/schemas/practitioner-role.d.ts +60 -60
- package/dist/schemas/procedure.d.ts +536 -536
- package/dist/schemas/questionnaire-response.d.ts +939 -0
- package/dist/schemas/risk-assessment.d.ts +4591 -0
- package/dist/schemas/service-request.d.ts +470 -470
- package/dist/schemas/specimen.d.ts +312 -312
- package/package.json +8 -1
|
@@ -264,20 +264,20 @@ export declare const ServiceRequestSearchParamsSchema: z.ZodEffects<z.ZodObject<
|
|
|
264
264
|
identifier: z.ZodOptional<z.ZodString>;
|
|
265
265
|
}, "strip", z.ZodTypeAny, {
|
|
266
266
|
identifier?: string | undefined;
|
|
267
|
-
subject?: string | undefined;
|
|
268
267
|
encounter?: string | undefined;
|
|
268
|
+
subject?: string | undefined;
|
|
269
269
|
}, {
|
|
270
270
|
identifier?: string | undefined;
|
|
271
|
-
subject?: string | undefined;
|
|
272
271
|
encounter?: string | undefined;
|
|
272
|
+
subject?: string | undefined;
|
|
273
273
|
}>, {
|
|
274
274
|
identifier?: string | undefined;
|
|
275
|
-
subject?: string | undefined;
|
|
276
275
|
encounter?: string | undefined;
|
|
276
|
+
subject?: string | undefined;
|
|
277
277
|
}, {
|
|
278
278
|
identifier?: string | undefined;
|
|
279
|
-
subject?: string | undefined;
|
|
280
279
|
encounter?: string | undefined;
|
|
280
|
+
subject?: string | undefined;
|
|
281
281
|
}>;
|
|
282
282
|
export declare const ServiceRequestBaseSchema: z.ZodObject<{
|
|
283
283
|
resourceType: z.ZodLiteral<"ServiceRequest">;
|
|
@@ -907,7 +907,7 @@ export declare const ServiceRequestBaseSchema: z.ZodObject<{
|
|
|
907
907
|
}[];
|
|
908
908
|
text?: string | undefined;
|
|
909
909
|
};
|
|
910
|
-
status: "unknown" | "active" | "
|
|
910
|
+
status: "unknown" | "active" | "on-hold" | "completed" | "entered-in-error" | "draft" | "revoked";
|
|
911
911
|
resourceType: "ServiceRequest";
|
|
912
912
|
subject: {
|
|
913
913
|
reference: string;
|
|
@@ -920,27 +920,6 @@ export declare const ServiceRequestBaseSchema: z.ZodObject<{
|
|
|
920
920
|
system: string;
|
|
921
921
|
use?: string | undefined;
|
|
922
922
|
}[] | undefined;
|
|
923
|
-
encounter?: {
|
|
924
|
-
reference: string;
|
|
925
|
-
type?: string | undefined;
|
|
926
|
-
display?: string | undefined;
|
|
927
|
-
} | undefined;
|
|
928
|
-
category?: {
|
|
929
|
-
coding?: {
|
|
930
|
-
code?: string | undefined;
|
|
931
|
-
system?: string | undefined;
|
|
932
|
-
display?: string | undefined;
|
|
933
|
-
}[] | undefined;
|
|
934
|
-
text?: string | undefined;
|
|
935
|
-
}[] | undefined;
|
|
936
|
-
bodySite?: {
|
|
937
|
-
coding?: {
|
|
938
|
-
code?: string | undefined;
|
|
939
|
-
system?: string | undefined;
|
|
940
|
-
display?: string | undefined;
|
|
941
|
-
}[] | undefined;
|
|
942
|
-
text?: string | undefined;
|
|
943
|
-
}[] | undefined;
|
|
944
923
|
note?: {
|
|
945
924
|
text: string;
|
|
946
925
|
authorReference?: {
|
|
@@ -951,7 +930,25 @@ export declare const ServiceRequestBaseSchema: z.ZodObject<{
|
|
|
951
930
|
authorString?: string | undefined;
|
|
952
931
|
time?: string | undefined;
|
|
953
932
|
}[] | undefined;
|
|
954
|
-
|
|
933
|
+
category?: {
|
|
934
|
+
coding?: {
|
|
935
|
+
code?: string | undefined;
|
|
936
|
+
system?: string | undefined;
|
|
937
|
+
display?: string | undefined;
|
|
938
|
+
}[] | undefined;
|
|
939
|
+
text?: string | undefined;
|
|
940
|
+
}[] | undefined;
|
|
941
|
+
encounter?: {
|
|
942
|
+
reference: string;
|
|
943
|
+
type?: string | undefined;
|
|
944
|
+
display?: string | undefined;
|
|
945
|
+
} | undefined;
|
|
946
|
+
supportingInfo?: {
|
|
947
|
+
reference: string;
|
|
948
|
+
type?: string | undefined;
|
|
949
|
+
display?: string | undefined;
|
|
950
|
+
}[] | undefined;
|
|
951
|
+
replaces?: {
|
|
955
952
|
reference: string;
|
|
956
953
|
type?: string | undefined;
|
|
957
954
|
display?: string | undefined;
|
|
@@ -961,6 +958,11 @@ export declare const ServiceRequestBaseSchema: z.ZodObject<{
|
|
|
961
958
|
type?: string | undefined;
|
|
962
959
|
display?: string | undefined;
|
|
963
960
|
}[] | undefined;
|
|
961
|
+
occurrenceDateTime?: string | undefined;
|
|
962
|
+
occurrencePeriod?: {
|
|
963
|
+
start?: string | undefined;
|
|
964
|
+
end?: string | undefined;
|
|
965
|
+
} | undefined;
|
|
964
966
|
performer?: {
|
|
965
967
|
reference: string;
|
|
966
968
|
type?: string | undefined;
|
|
@@ -979,6 +981,19 @@ export declare const ServiceRequestBaseSchema: z.ZodObject<{
|
|
|
979
981
|
type?: string | undefined;
|
|
980
982
|
display?: string | undefined;
|
|
981
983
|
}[] | undefined;
|
|
984
|
+
bodySite?: {
|
|
985
|
+
coding?: {
|
|
986
|
+
code?: string | undefined;
|
|
987
|
+
system?: string | undefined;
|
|
988
|
+
display?: string | undefined;
|
|
989
|
+
}[] | undefined;
|
|
990
|
+
text?: string | undefined;
|
|
991
|
+
}[] | undefined;
|
|
992
|
+
specimen?: {
|
|
993
|
+
reference: string;
|
|
994
|
+
type?: string | undefined;
|
|
995
|
+
display?: string | undefined;
|
|
996
|
+
}[] | undefined;
|
|
982
997
|
patientInstruction?: string | undefined;
|
|
983
998
|
asNeededBoolean?: boolean | undefined;
|
|
984
999
|
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
|
@@ -1003,11 +1018,6 @@ export declare const ServiceRequestBaseSchema: z.ZodObject<{
|
|
|
1003
1018
|
}[] | undefined;
|
|
1004
1019
|
instantiatesCanonical?: string[] | undefined;
|
|
1005
1020
|
instantiatesUri?: string[] | undefined;
|
|
1006
|
-
replaces?: {
|
|
1007
|
-
reference: string;
|
|
1008
|
-
type?: string | undefined;
|
|
1009
|
-
display?: string | undefined;
|
|
1010
|
-
}[] | undefined;
|
|
1011
1021
|
requisition?: {
|
|
1012
1022
|
value?: string | undefined;
|
|
1013
1023
|
system?: string | undefined;
|
|
@@ -1056,11 +1066,6 @@ export declare const ServiceRequestBaseSchema: z.ZodObject<{
|
|
|
1056
1066
|
unit?: string | undefined;
|
|
1057
1067
|
} | undefined;
|
|
1058
1068
|
} | undefined;
|
|
1059
|
-
occurrenceDateTime?: string | undefined;
|
|
1060
|
-
occurrencePeriod?: {
|
|
1061
|
-
start?: string | undefined;
|
|
1062
|
-
end?: string | undefined;
|
|
1063
|
-
} | undefined;
|
|
1064
1069
|
occurrenceTiming?: unknown;
|
|
1065
1070
|
asNeededCodeableConcept?: {
|
|
1066
1071
|
coding?: {
|
|
@@ -1083,11 +1088,6 @@ export declare const ServiceRequestBaseSchema: z.ZodObject<{
|
|
|
1083
1088
|
type?: string | undefined;
|
|
1084
1089
|
display?: string | undefined;
|
|
1085
1090
|
}[] | undefined;
|
|
1086
|
-
supportingInfo?: {
|
|
1087
|
-
reference: string;
|
|
1088
|
-
type?: string | undefined;
|
|
1089
|
-
display?: string | undefined;
|
|
1090
|
-
}[] | undefined;
|
|
1091
1091
|
relevantHistory?: {
|
|
1092
1092
|
reference: string;
|
|
1093
1093
|
type?: string | undefined;
|
|
@@ -1102,7 +1102,7 @@ export declare const ServiceRequestBaseSchema: z.ZodObject<{
|
|
|
1102
1102
|
}[];
|
|
1103
1103
|
text?: string | undefined;
|
|
1104
1104
|
};
|
|
1105
|
-
status: "unknown" | "active" | "
|
|
1105
|
+
status: "unknown" | "active" | "on-hold" | "completed" | "entered-in-error" | "draft" | "revoked";
|
|
1106
1106
|
resourceType: "ServiceRequest";
|
|
1107
1107
|
subject: {
|
|
1108
1108
|
reference: string;
|
|
@@ -1115,27 +1115,6 @@ export declare const ServiceRequestBaseSchema: z.ZodObject<{
|
|
|
1115
1115
|
system: string;
|
|
1116
1116
|
use?: string | undefined;
|
|
1117
1117
|
}[] | undefined;
|
|
1118
|
-
encounter?: {
|
|
1119
|
-
reference: string;
|
|
1120
|
-
type?: string | undefined;
|
|
1121
|
-
display?: string | undefined;
|
|
1122
|
-
} | undefined;
|
|
1123
|
-
category?: {
|
|
1124
|
-
coding?: {
|
|
1125
|
-
code?: string | undefined;
|
|
1126
|
-
system?: string | undefined;
|
|
1127
|
-
display?: string | undefined;
|
|
1128
|
-
}[] | undefined;
|
|
1129
|
-
text?: string | undefined;
|
|
1130
|
-
}[] | undefined;
|
|
1131
|
-
bodySite?: {
|
|
1132
|
-
coding?: {
|
|
1133
|
-
code?: string | undefined;
|
|
1134
|
-
system?: string | undefined;
|
|
1135
|
-
display?: string | undefined;
|
|
1136
|
-
}[] | undefined;
|
|
1137
|
-
text?: string | undefined;
|
|
1138
|
-
}[] | undefined;
|
|
1139
1118
|
note?: {
|
|
1140
1119
|
text: string;
|
|
1141
1120
|
authorReference?: {
|
|
@@ -1146,7 +1125,25 @@ export declare const ServiceRequestBaseSchema: z.ZodObject<{
|
|
|
1146
1125
|
authorString?: string | undefined;
|
|
1147
1126
|
time?: string | undefined;
|
|
1148
1127
|
}[] | undefined;
|
|
1149
|
-
|
|
1128
|
+
category?: {
|
|
1129
|
+
coding?: {
|
|
1130
|
+
code?: string | undefined;
|
|
1131
|
+
system?: string | undefined;
|
|
1132
|
+
display?: string | undefined;
|
|
1133
|
+
}[] | undefined;
|
|
1134
|
+
text?: string | undefined;
|
|
1135
|
+
}[] | undefined;
|
|
1136
|
+
encounter?: {
|
|
1137
|
+
reference: string;
|
|
1138
|
+
type?: string | undefined;
|
|
1139
|
+
display?: string | undefined;
|
|
1140
|
+
} | undefined;
|
|
1141
|
+
supportingInfo?: {
|
|
1142
|
+
reference: string;
|
|
1143
|
+
type?: string | undefined;
|
|
1144
|
+
display?: string | undefined;
|
|
1145
|
+
}[] | undefined;
|
|
1146
|
+
replaces?: {
|
|
1150
1147
|
reference: string;
|
|
1151
1148
|
type?: string | undefined;
|
|
1152
1149
|
display?: string | undefined;
|
|
@@ -1156,6 +1153,11 @@ export declare const ServiceRequestBaseSchema: z.ZodObject<{
|
|
|
1156
1153
|
type?: string | undefined;
|
|
1157
1154
|
display?: string | undefined;
|
|
1158
1155
|
}[] | undefined;
|
|
1156
|
+
occurrenceDateTime?: string | undefined;
|
|
1157
|
+
occurrencePeriod?: {
|
|
1158
|
+
start?: string | undefined;
|
|
1159
|
+
end?: string | undefined;
|
|
1160
|
+
} | undefined;
|
|
1159
1161
|
performer?: {
|
|
1160
1162
|
reference: string;
|
|
1161
1163
|
type?: string | undefined;
|
|
@@ -1174,6 +1176,19 @@ export declare const ServiceRequestBaseSchema: z.ZodObject<{
|
|
|
1174
1176
|
type?: string | undefined;
|
|
1175
1177
|
display?: string | undefined;
|
|
1176
1178
|
}[] | undefined;
|
|
1179
|
+
bodySite?: {
|
|
1180
|
+
coding?: {
|
|
1181
|
+
code?: string | undefined;
|
|
1182
|
+
system?: string | undefined;
|
|
1183
|
+
display?: string | undefined;
|
|
1184
|
+
}[] | undefined;
|
|
1185
|
+
text?: string | undefined;
|
|
1186
|
+
}[] | undefined;
|
|
1187
|
+
specimen?: {
|
|
1188
|
+
reference: string;
|
|
1189
|
+
type?: string | undefined;
|
|
1190
|
+
display?: string | undefined;
|
|
1191
|
+
}[] | undefined;
|
|
1177
1192
|
patientInstruction?: string | undefined;
|
|
1178
1193
|
asNeededBoolean?: boolean | undefined;
|
|
1179
1194
|
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
|
@@ -1198,11 +1213,6 @@ export declare const ServiceRequestBaseSchema: z.ZodObject<{
|
|
|
1198
1213
|
}[] | undefined;
|
|
1199
1214
|
instantiatesCanonical?: string[] | undefined;
|
|
1200
1215
|
instantiatesUri?: string[] | undefined;
|
|
1201
|
-
replaces?: {
|
|
1202
|
-
reference: string;
|
|
1203
|
-
type?: string | undefined;
|
|
1204
|
-
display?: string | undefined;
|
|
1205
|
-
}[] | undefined;
|
|
1206
1216
|
requisition?: {
|
|
1207
1217
|
value?: string | undefined;
|
|
1208
1218
|
system?: string | undefined;
|
|
@@ -1251,11 +1261,6 @@ export declare const ServiceRequestBaseSchema: z.ZodObject<{
|
|
|
1251
1261
|
unit?: string | undefined;
|
|
1252
1262
|
} | undefined;
|
|
1253
1263
|
} | undefined;
|
|
1254
|
-
occurrenceDateTime?: string | undefined;
|
|
1255
|
-
occurrencePeriod?: {
|
|
1256
|
-
start?: string | undefined;
|
|
1257
|
-
end?: string | undefined;
|
|
1258
|
-
} | undefined;
|
|
1259
1264
|
occurrenceTiming?: unknown;
|
|
1260
1265
|
asNeededCodeableConcept?: {
|
|
1261
1266
|
coding?: {
|
|
@@ -1278,11 +1283,6 @@ export declare const ServiceRequestBaseSchema: z.ZodObject<{
|
|
|
1278
1283
|
type?: string | undefined;
|
|
1279
1284
|
display?: string | undefined;
|
|
1280
1285
|
}[] | undefined;
|
|
1281
|
-
supportingInfo?: {
|
|
1282
|
-
reference: string;
|
|
1283
|
-
type?: string | undefined;
|
|
1284
|
-
display?: string | undefined;
|
|
1285
|
-
}[] | undefined;
|
|
1286
1286
|
relevantHistory?: {
|
|
1287
1287
|
reference: string;
|
|
1288
1288
|
type?: string | undefined;
|
|
@@ -1917,7 +1917,7 @@ export declare const ServiceRequestCreateSchema: z.ZodObject<{
|
|
|
1917
1917
|
}[];
|
|
1918
1918
|
text?: string | undefined;
|
|
1919
1919
|
};
|
|
1920
|
-
status: "unknown" | "active" | "
|
|
1920
|
+
status: "unknown" | "active" | "on-hold" | "completed" | "entered-in-error" | "draft" | "revoked";
|
|
1921
1921
|
resourceType: "ServiceRequest";
|
|
1922
1922
|
subject: {
|
|
1923
1923
|
reference: string;
|
|
@@ -1930,27 +1930,6 @@ export declare const ServiceRequestCreateSchema: z.ZodObject<{
|
|
|
1930
1930
|
system: string;
|
|
1931
1931
|
use?: string | undefined;
|
|
1932
1932
|
}[] | undefined;
|
|
1933
|
-
encounter?: {
|
|
1934
|
-
reference: string;
|
|
1935
|
-
type?: string | undefined;
|
|
1936
|
-
display?: string | undefined;
|
|
1937
|
-
} | undefined;
|
|
1938
|
-
category?: {
|
|
1939
|
-
coding?: {
|
|
1940
|
-
code?: string | undefined;
|
|
1941
|
-
system?: string | undefined;
|
|
1942
|
-
display?: string | undefined;
|
|
1943
|
-
}[] | undefined;
|
|
1944
|
-
text?: string | undefined;
|
|
1945
|
-
}[] | undefined;
|
|
1946
|
-
bodySite?: {
|
|
1947
|
-
coding?: {
|
|
1948
|
-
code?: string | undefined;
|
|
1949
|
-
system?: string | undefined;
|
|
1950
|
-
display?: string | undefined;
|
|
1951
|
-
}[] | undefined;
|
|
1952
|
-
text?: string | undefined;
|
|
1953
|
-
}[] | undefined;
|
|
1954
1933
|
note?: {
|
|
1955
1934
|
text: string;
|
|
1956
1935
|
authorReference?: {
|
|
@@ -1961,7 +1940,25 @@ export declare const ServiceRequestCreateSchema: z.ZodObject<{
|
|
|
1961
1940
|
authorString?: string | undefined;
|
|
1962
1941
|
time?: string | undefined;
|
|
1963
1942
|
}[] | undefined;
|
|
1964
|
-
|
|
1943
|
+
category?: {
|
|
1944
|
+
coding?: {
|
|
1945
|
+
code?: string | undefined;
|
|
1946
|
+
system?: string | undefined;
|
|
1947
|
+
display?: string | undefined;
|
|
1948
|
+
}[] | undefined;
|
|
1949
|
+
text?: string | undefined;
|
|
1950
|
+
}[] | undefined;
|
|
1951
|
+
encounter?: {
|
|
1952
|
+
reference: string;
|
|
1953
|
+
type?: string | undefined;
|
|
1954
|
+
display?: string | undefined;
|
|
1955
|
+
} | undefined;
|
|
1956
|
+
supportingInfo?: {
|
|
1957
|
+
reference: string;
|
|
1958
|
+
type?: string | undefined;
|
|
1959
|
+
display?: string | undefined;
|
|
1960
|
+
}[] | undefined;
|
|
1961
|
+
replaces?: {
|
|
1965
1962
|
reference: string;
|
|
1966
1963
|
type?: string | undefined;
|
|
1967
1964
|
display?: string | undefined;
|
|
@@ -1971,6 +1968,11 @@ export declare const ServiceRequestCreateSchema: z.ZodObject<{
|
|
|
1971
1968
|
type?: string | undefined;
|
|
1972
1969
|
display?: string | undefined;
|
|
1973
1970
|
}[] | undefined;
|
|
1971
|
+
occurrenceDateTime?: string | undefined;
|
|
1972
|
+
occurrencePeriod?: {
|
|
1973
|
+
start?: string | undefined;
|
|
1974
|
+
end?: string | undefined;
|
|
1975
|
+
} | undefined;
|
|
1974
1976
|
performer?: {
|
|
1975
1977
|
reference: string;
|
|
1976
1978
|
type?: string | undefined;
|
|
@@ -1989,6 +1991,19 @@ export declare const ServiceRequestCreateSchema: z.ZodObject<{
|
|
|
1989
1991
|
type?: string | undefined;
|
|
1990
1992
|
display?: string | undefined;
|
|
1991
1993
|
}[] | undefined;
|
|
1994
|
+
bodySite?: {
|
|
1995
|
+
coding?: {
|
|
1996
|
+
code?: string | undefined;
|
|
1997
|
+
system?: string | undefined;
|
|
1998
|
+
display?: string | undefined;
|
|
1999
|
+
}[] | undefined;
|
|
2000
|
+
text?: string | undefined;
|
|
2001
|
+
}[] | undefined;
|
|
2002
|
+
specimen?: {
|
|
2003
|
+
reference: string;
|
|
2004
|
+
type?: string | undefined;
|
|
2005
|
+
display?: string | undefined;
|
|
2006
|
+
}[] | undefined;
|
|
1992
2007
|
patientInstruction?: string | undefined;
|
|
1993
2008
|
asNeededBoolean?: boolean | undefined;
|
|
1994
2009
|
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
|
@@ -2013,11 +2028,6 @@ export declare const ServiceRequestCreateSchema: z.ZodObject<{
|
|
|
2013
2028
|
}[] | undefined;
|
|
2014
2029
|
instantiatesCanonical?: string[] | undefined;
|
|
2015
2030
|
instantiatesUri?: string[] | undefined;
|
|
2016
|
-
replaces?: {
|
|
2017
|
-
reference: string;
|
|
2018
|
-
type?: string | undefined;
|
|
2019
|
-
display?: string | undefined;
|
|
2020
|
-
}[] | undefined;
|
|
2021
2031
|
requisition?: {
|
|
2022
2032
|
value?: string | undefined;
|
|
2023
2033
|
system?: string | undefined;
|
|
@@ -2066,11 +2076,6 @@ export declare const ServiceRequestCreateSchema: z.ZodObject<{
|
|
|
2066
2076
|
unit?: string | undefined;
|
|
2067
2077
|
} | undefined;
|
|
2068
2078
|
} | undefined;
|
|
2069
|
-
occurrenceDateTime?: string | undefined;
|
|
2070
|
-
occurrencePeriod?: {
|
|
2071
|
-
start?: string | undefined;
|
|
2072
|
-
end?: string | undefined;
|
|
2073
|
-
} | undefined;
|
|
2074
2079
|
occurrenceTiming?: unknown;
|
|
2075
2080
|
asNeededCodeableConcept?: {
|
|
2076
2081
|
coding?: {
|
|
@@ -2093,11 +2098,6 @@ export declare const ServiceRequestCreateSchema: z.ZodObject<{
|
|
|
2093
2098
|
type?: string | undefined;
|
|
2094
2099
|
display?: string | undefined;
|
|
2095
2100
|
}[] | undefined;
|
|
2096
|
-
supportingInfo?: {
|
|
2097
|
-
reference: string;
|
|
2098
|
-
type?: string | undefined;
|
|
2099
|
-
display?: string | undefined;
|
|
2100
|
-
}[] | undefined;
|
|
2101
2101
|
relevantHistory?: {
|
|
2102
2102
|
reference: string;
|
|
2103
2103
|
type?: string | undefined;
|
|
@@ -2112,7 +2112,7 @@ export declare const ServiceRequestCreateSchema: z.ZodObject<{
|
|
|
2112
2112
|
}[];
|
|
2113
2113
|
text?: string | undefined;
|
|
2114
2114
|
};
|
|
2115
|
-
status: "unknown" | "active" | "
|
|
2115
|
+
status: "unknown" | "active" | "on-hold" | "completed" | "entered-in-error" | "draft" | "revoked";
|
|
2116
2116
|
resourceType: "ServiceRequest";
|
|
2117
2117
|
subject: {
|
|
2118
2118
|
reference: string;
|
|
@@ -2125,27 +2125,6 @@ export declare const ServiceRequestCreateSchema: z.ZodObject<{
|
|
|
2125
2125
|
system: string;
|
|
2126
2126
|
use?: string | undefined;
|
|
2127
2127
|
}[] | undefined;
|
|
2128
|
-
encounter?: {
|
|
2129
|
-
reference: string;
|
|
2130
|
-
type?: string | undefined;
|
|
2131
|
-
display?: string | undefined;
|
|
2132
|
-
} | undefined;
|
|
2133
|
-
category?: {
|
|
2134
|
-
coding?: {
|
|
2135
|
-
code?: string | undefined;
|
|
2136
|
-
system?: string | undefined;
|
|
2137
|
-
display?: string | undefined;
|
|
2138
|
-
}[] | undefined;
|
|
2139
|
-
text?: string | undefined;
|
|
2140
|
-
}[] | undefined;
|
|
2141
|
-
bodySite?: {
|
|
2142
|
-
coding?: {
|
|
2143
|
-
code?: string | undefined;
|
|
2144
|
-
system?: string | undefined;
|
|
2145
|
-
display?: string | undefined;
|
|
2146
|
-
}[] | undefined;
|
|
2147
|
-
text?: string | undefined;
|
|
2148
|
-
}[] | undefined;
|
|
2149
2128
|
note?: {
|
|
2150
2129
|
text: string;
|
|
2151
2130
|
authorReference?: {
|
|
@@ -2156,16 +2135,39 @@ export declare const ServiceRequestCreateSchema: z.ZodObject<{
|
|
|
2156
2135
|
authorString?: string | undefined;
|
|
2157
2136
|
time?: string | undefined;
|
|
2158
2137
|
}[] | undefined;
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2138
|
+
category?: {
|
|
2139
|
+
coding?: {
|
|
2140
|
+
code?: string | undefined;
|
|
2141
|
+
system?: string | undefined;
|
|
2142
|
+
display?: string | undefined;
|
|
2143
|
+
}[] | undefined;
|
|
2144
|
+
text?: string | undefined;
|
|
2145
|
+
}[] | undefined;
|
|
2146
|
+
encounter?: {
|
|
2147
|
+
reference: string;
|
|
2148
|
+
type?: string | undefined;
|
|
2149
|
+
display?: string | undefined;
|
|
2150
|
+
} | undefined;
|
|
2151
|
+
supportingInfo?: {
|
|
2152
|
+
reference: string;
|
|
2153
|
+
type?: string | undefined;
|
|
2154
|
+
display?: string | undefined;
|
|
2155
|
+
}[] | undefined;
|
|
2156
|
+
replaces?: {
|
|
2157
|
+
reference: string;
|
|
2158
|
+
type?: string | undefined;
|
|
2159
|
+
display?: string | undefined;
|
|
2160
|
+
}[] | undefined;
|
|
2164
2161
|
basedOn?: {
|
|
2165
2162
|
reference: string;
|
|
2166
2163
|
type?: string | undefined;
|
|
2167
2164
|
display?: string | undefined;
|
|
2168
2165
|
}[] | undefined;
|
|
2166
|
+
occurrenceDateTime?: string | undefined;
|
|
2167
|
+
occurrencePeriod?: {
|
|
2168
|
+
start?: string | undefined;
|
|
2169
|
+
end?: string | undefined;
|
|
2170
|
+
} | undefined;
|
|
2169
2171
|
performer?: {
|
|
2170
2172
|
reference: string;
|
|
2171
2173
|
type?: string | undefined;
|
|
@@ -2184,6 +2186,19 @@ export declare const ServiceRequestCreateSchema: z.ZodObject<{
|
|
|
2184
2186
|
type?: string | undefined;
|
|
2185
2187
|
display?: string | undefined;
|
|
2186
2188
|
}[] | undefined;
|
|
2189
|
+
bodySite?: {
|
|
2190
|
+
coding?: {
|
|
2191
|
+
code?: string | undefined;
|
|
2192
|
+
system?: string | undefined;
|
|
2193
|
+
display?: string | undefined;
|
|
2194
|
+
}[] | undefined;
|
|
2195
|
+
text?: string | undefined;
|
|
2196
|
+
}[] | undefined;
|
|
2197
|
+
specimen?: {
|
|
2198
|
+
reference: string;
|
|
2199
|
+
type?: string | undefined;
|
|
2200
|
+
display?: string | undefined;
|
|
2201
|
+
}[] | undefined;
|
|
2187
2202
|
patientInstruction?: string | undefined;
|
|
2188
2203
|
asNeededBoolean?: boolean | undefined;
|
|
2189
2204
|
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
|
@@ -2208,11 +2223,6 @@ export declare const ServiceRequestCreateSchema: z.ZodObject<{
|
|
|
2208
2223
|
}[] | undefined;
|
|
2209
2224
|
instantiatesCanonical?: string[] | undefined;
|
|
2210
2225
|
instantiatesUri?: string[] | undefined;
|
|
2211
|
-
replaces?: {
|
|
2212
|
-
reference: string;
|
|
2213
|
-
type?: string | undefined;
|
|
2214
|
-
display?: string | undefined;
|
|
2215
|
-
}[] | undefined;
|
|
2216
2226
|
requisition?: {
|
|
2217
2227
|
value?: string | undefined;
|
|
2218
2228
|
system?: string | undefined;
|
|
@@ -2261,11 +2271,6 @@ export declare const ServiceRequestCreateSchema: z.ZodObject<{
|
|
|
2261
2271
|
unit?: string | undefined;
|
|
2262
2272
|
} | undefined;
|
|
2263
2273
|
} | undefined;
|
|
2264
|
-
occurrenceDateTime?: string | undefined;
|
|
2265
|
-
occurrencePeriod?: {
|
|
2266
|
-
start?: string | undefined;
|
|
2267
|
-
end?: string | undefined;
|
|
2268
|
-
} | undefined;
|
|
2269
2274
|
occurrenceTiming?: unknown;
|
|
2270
2275
|
asNeededCodeableConcept?: {
|
|
2271
2276
|
coding?: {
|
|
@@ -2288,11 +2293,6 @@ export declare const ServiceRequestCreateSchema: z.ZodObject<{
|
|
|
2288
2293
|
type?: string | undefined;
|
|
2289
2294
|
display?: string | undefined;
|
|
2290
2295
|
}[] | undefined;
|
|
2291
|
-
supportingInfo?: {
|
|
2292
|
-
reference: string;
|
|
2293
|
-
type?: string | undefined;
|
|
2294
|
-
display?: string | undefined;
|
|
2295
|
-
}[] | undefined;
|
|
2296
2296
|
relevantHistory?: {
|
|
2297
2297
|
reference: string;
|
|
2298
2298
|
type?: string | undefined;
|
|
@@ -2942,7 +2942,7 @@ export declare const ServiceRequestSchema: z.ZodObject<{
|
|
|
2942
2942
|
}[];
|
|
2943
2943
|
text?: string | undefined;
|
|
2944
2944
|
};
|
|
2945
|
-
status: "unknown" | "active" | "
|
|
2945
|
+
status: "unknown" | "active" | "on-hold" | "completed" | "entered-in-error" | "draft" | "revoked";
|
|
2946
2946
|
resourceType: "ServiceRequest";
|
|
2947
2947
|
id: string;
|
|
2948
2948
|
subject: {
|
|
@@ -2961,27 +2961,6 @@ export declare const ServiceRequestSchema: z.ZodObject<{
|
|
|
2961
2961
|
profile?: string[] | undefined;
|
|
2962
2962
|
versionId?: string | undefined;
|
|
2963
2963
|
} | undefined;
|
|
2964
|
-
encounter?: {
|
|
2965
|
-
reference: string;
|
|
2966
|
-
type?: string | undefined;
|
|
2967
|
-
display?: string | undefined;
|
|
2968
|
-
} | undefined;
|
|
2969
|
-
category?: {
|
|
2970
|
-
coding?: {
|
|
2971
|
-
code?: string | undefined;
|
|
2972
|
-
system?: string | undefined;
|
|
2973
|
-
display?: string | undefined;
|
|
2974
|
-
}[] | undefined;
|
|
2975
|
-
text?: string | undefined;
|
|
2976
|
-
}[] | undefined;
|
|
2977
|
-
bodySite?: {
|
|
2978
|
-
coding?: {
|
|
2979
|
-
code?: string | undefined;
|
|
2980
|
-
system?: string | undefined;
|
|
2981
|
-
display?: string | undefined;
|
|
2982
|
-
}[] | undefined;
|
|
2983
|
-
text?: string | undefined;
|
|
2984
|
-
}[] | undefined;
|
|
2985
2964
|
note?: {
|
|
2986
2965
|
text: string;
|
|
2987
2966
|
authorReference?: {
|
|
@@ -2992,7 +2971,25 @@ export declare const ServiceRequestSchema: z.ZodObject<{
|
|
|
2992
2971
|
authorString?: string | undefined;
|
|
2993
2972
|
time?: string | undefined;
|
|
2994
2973
|
}[] | undefined;
|
|
2995
|
-
|
|
2974
|
+
category?: {
|
|
2975
|
+
coding?: {
|
|
2976
|
+
code?: string | undefined;
|
|
2977
|
+
system?: string | undefined;
|
|
2978
|
+
display?: string | undefined;
|
|
2979
|
+
}[] | undefined;
|
|
2980
|
+
text?: string | undefined;
|
|
2981
|
+
}[] | undefined;
|
|
2982
|
+
encounter?: {
|
|
2983
|
+
reference: string;
|
|
2984
|
+
type?: string | undefined;
|
|
2985
|
+
display?: string | undefined;
|
|
2986
|
+
} | undefined;
|
|
2987
|
+
supportingInfo?: {
|
|
2988
|
+
reference: string;
|
|
2989
|
+
type?: string | undefined;
|
|
2990
|
+
display?: string | undefined;
|
|
2991
|
+
}[] | undefined;
|
|
2992
|
+
replaces?: {
|
|
2996
2993
|
reference: string;
|
|
2997
2994
|
type?: string | undefined;
|
|
2998
2995
|
display?: string | undefined;
|
|
@@ -3002,6 +2999,11 @@ export declare const ServiceRequestSchema: z.ZodObject<{
|
|
|
3002
2999
|
type?: string | undefined;
|
|
3003
3000
|
display?: string | undefined;
|
|
3004
3001
|
}[] | undefined;
|
|
3002
|
+
occurrenceDateTime?: string | undefined;
|
|
3003
|
+
occurrencePeriod?: {
|
|
3004
|
+
start?: string | undefined;
|
|
3005
|
+
end?: string | undefined;
|
|
3006
|
+
} | undefined;
|
|
3005
3007
|
performer?: {
|
|
3006
3008
|
reference: string;
|
|
3007
3009
|
type?: string | undefined;
|
|
@@ -3020,6 +3022,19 @@ export declare const ServiceRequestSchema: z.ZodObject<{
|
|
|
3020
3022
|
type?: string | undefined;
|
|
3021
3023
|
display?: string | undefined;
|
|
3022
3024
|
}[] | undefined;
|
|
3025
|
+
bodySite?: {
|
|
3026
|
+
coding?: {
|
|
3027
|
+
code?: string | undefined;
|
|
3028
|
+
system?: string | undefined;
|
|
3029
|
+
display?: string | undefined;
|
|
3030
|
+
}[] | undefined;
|
|
3031
|
+
text?: string | undefined;
|
|
3032
|
+
}[] | undefined;
|
|
3033
|
+
specimen?: {
|
|
3034
|
+
reference: string;
|
|
3035
|
+
type?: string | undefined;
|
|
3036
|
+
display?: string | undefined;
|
|
3037
|
+
}[] | undefined;
|
|
3023
3038
|
patientInstruction?: string | undefined;
|
|
3024
3039
|
asNeededBoolean?: boolean | undefined;
|
|
3025
3040
|
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
|
@@ -3044,11 +3059,6 @@ export declare const ServiceRequestSchema: z.ZodObject<{
|
|
|
3044
3059
|
}[] | undefined;
|
|
3045
3060
|
instantiatesCanonical?: string[] | undefined;
|
|
3046
3061
|
instantiatesUri?: string[] | undefined;
|
|
3047
|
-
replaces?: {
|
|
3048
|
-
reference: string;
|
|
3049
|
-
type?: string | undefined;
|
|
3050
|
-
display?: string | undefined;
|
|
3051
|
-
}[] | undefined;
|
|
3052
3062
|
requisition?: {
|
|
3053
3063
|
value?: string | undefined;
|
|
3054
3064
|
system?: string | undefined;
|
|
@@ -3097,11 +3107,6 @@ export declare const ServiceRequestSchema: z.ZodObject<{
|
|
|
3097
3107
|
unit?: string | undefined;
|
|
3098
3108
|
} | undefined;
|
|
3099
3109
|
} | undefined;
|
|
3100
|
-
occurrenceDateTime?: string | undefined;
|
|
3101
|
-
occurrencePeriod?: {
|
|
3102
|
-
start?: string | undefined;
|
|
3103
|
-
end?: string | undefined;
|
|
3104
|
-
} | undefined;
|
|
3105
3110
|
occurrenceTiming?: unknown;
|
|
3106
3111
|
asNeededCodeableConcept?: {
|
|
3107
3112
|
coding?: {
|
|
@@ -3124,11 +3129,6 @@ export declare const ServiceRequestSchema: z.ZodObject<{
|
|
|
3124
3129
|
type?: string | undefined;
|
|
3125
3130
|
display?: string | undefined;
|
|
3126
3131
|
}[] | undefined;
|
|
3127
|
-
supportingInfo?: {
|
|
3128
|
-
reference: string;
|
|
3129
|
-
type?: string | undefined;
|
|
3130
|
-
display?: string | undefined;
|
|
3131
|
-
}[] | undefined;
|
|
3132
3132
|
relevantHistory?: {
|
|
3133
3133
|
reference: string;
|
|
3134
3134
|
type?: string | undefined;
|
|
@@ -3143,7 +3143,7 @@ export declare const ServiceRequestSchema: z.ZodObject<{
|
|
|
3143
3143
|
}[];
|
|
3144
3144
|
text?: string | undefined;
|
|
3145
3145
|
};
|
|
3146
|
-
status: "unknown" | "active" | "
|
|
3146
|
+
status: "unknown" | "active" | "on-hold" | "completed" | "entered-in-error" | "draft" | "revoked";
|
|
3147
3147
|
resourceType: "ServiceRequest";
|
|
3148
3148
|
id: string;
|
|
3149
3149
|
subject: {
|
|
@@ -3162,27 +3162,6 @@ export declare const ServiceRequestSchema: z.ZodObject<{
|
|
|
3162
3162
|
profile?: string[] | undefined;
|
|
3163
3163
|
versionId?: string | undefined;
|
|
3164
3164
|
} | undefined;
|
|
3165
|
-
encounter?: {
|
|
3166
|
-
reference: string;
|
|
3167
|
-
type?: string | undefined;
|
|
3168
|
-
display?: string | undefined;
|
|
3169
|
-
} | undefined;
|
|
3170
|
-
category?: {
|
|
3171
|
-
coding?: {
|
|
3172
|
-
code?: string | undefined;
|
|
3173
|
-
system?: string | undefined;
|
|
3174
|
-
display?: string | undefined;
|
|
3175
|
-
}[] | undefined;
|
|
3176
|
-
text?: string | undefined;
|
|
3177
|
-
}[] | undefined;
|
|
3178
|
-
bodySite?: {
|
|
3179
|
-
coding?: {
|
|
3180
|
-
code?: string | undefined;
|
|
3181
|
-
system?: string | undefined;
|
|
3182
|
-
display?: string | undefined;
|
|
3183
|
-
}[] | undefined;
|
|
3184
|
-
text?: string | undefined;
|
|
3185
|
-
}[] | undefined;
|
|
3186
3165
|
note?: {
|
|
3187
3166
|
text: string;
|
|
3188
3167
|
authorReference?: {
|
|
@@ -3193,7 +3172,25 @@ export declare const ServiceRequestSchema: z.ZodObject<{
|
|
|
3193
3172
|
authorString?: string | undefined;
|
|
3194
3173
|
time?: string | undefined;
|
|
3195
3174
|
}[] | undefined;
|
|
3196
|
-
|
|
3175
|
+
category?: {
|
|
3176
|
+
coding?: {
|
|
3177
|
+
code?: string | undefined;
|
|
3178
|
+
system?: string | undefined;
|
|
3179
|
+
display?: string | undefined;
|
|
3180
|
+
}[] | undefined;
|
|
3181
|
+
text?: string | undefined;
|
|
3182
|
+
}[] | undefined;
|
|
3183
|
+
encounter?: {
|
|
3184
|
+
reference: string;
|
|
3185
|
+
type?: string | undefined;
|
|
3186
|
+
display?: string | undefined;
|
|
3187
|
+
} | undefined;
|
|
3188
|
+
supportingInfo?: {
|
|
3189
|
+
reference: string;
|
|
3190
|
+
type?: string | undefined;
|
|
3191
|
+
display?: string | undefined;
|
|
3192
|
+
}[] | undefined;
|
|
3193
|
+
replaces?: {
|
|
3197
3194
|
reference: string;
|
|
3198
3195
|
type?: string | undefined;
|
|
3199
3196
|
display?: string | undefined;
|
|
@@ -3203,6 +3200,11 @@ export declare const ServiceRequestSchema: z.ZodObject<{
|
|
|
3203
3200
|
type?: string | undefined;
|
|
3204
3201
|
display?: string | undefined;
|
|
3205
3202
|
}[] | undefined;
|
|
3203
|
+
occurrenceDateTime?: string | undefined;
|
|
3204
|
+
occurrencePeriod?: {
|
|
3205
|
+
start?: string | undefined;
|
|
3206
|
+
end?: string | undefined;
|
|
3207
|
+
} | undefined;
|
|
3206
3208
|
performer?: {
|
|
3207
3209
|
reference: string;
|
|
3208
3210
|
type?: string | undefined;
|
|
@@ -3221,6 +3223,19 @@ export declare const ServiceRequestSchema: z.ZodObject<{
|
|
|
3221
3223
|
type?: string | undefined;
|
|
3222
3224
|
display?: string | undefined;
|
|
3223
3225
|
}[] | undefined;
|
|
3226
|
+
bodySite?: {
|
|
3227
|
+
coding?: {
|
|
3228
|
+
code?: string | undefined;
|
|
3229
|
+
system?: string | undefined;
|
|
3230
|
+
display?: string | undefined;
|
|
3231
|
+
}[] | undefined;
|
|
3232
|
+
text?: string | undefined;
|
|
3233
|
+
}[] | undefined;
|
|
3234
|
+
specimen?: {
|
|
3235
|
+
reference: string;
|
|
3236
|
+
type?: string | undefined;
|
|
3237
|
+
display?: string | undefined;
|
|
3238
|
+
}[] | undefined;
|
|
3224
3239
|
patientInstruction?: string | undefined;
|
|
3225
3240
|
asNeededBoolean?: boolean | undefined;
|
|
3226
3241
|
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
|
@@ -3245,11 +3260,6 @@ export declare const ServiceRequestSchema: z.ZodObject<{
|
|
|
3245
3260
|
}[] | undefined;
|
|
3246
3261
|
instantiatesCanonical?: string[] | undefined;
|
|
3247
3262
|
instantiatesUri?: string[] | undefined;
|
|
3248
|
-
replaces?: {
|
|
3249
|
-
reference: string;
|
|
3250
|
-
type?: string | undefined;
|
|
3251
|
-
display?: string | undefined;
|
|
3252
|
-
}[] | undefined;
|
|
3253
3263
|
requisition?: {
|
|
3254
3264
|
value?: string | undefined;
|
|
3255
3265
|
system?: string | undefined;
|
|
@@ -3298,11 +3308,6 @@ export declare const ServiceRequestSchema: z.ZodObject<{
|
|
|
3298
3308
|
unit?: string | undefined;
|
|
3299
3309
|
} | undefined;
|
|
3300
3310
|
} | undefined;
|
|
3301
|
-
occurrenceDateTime?: string | undefined;
|
|
3302
|
-
occurrencePeriod?: {
|
|
3303
|
-
start?: string | undefined;
|
|
3304
|
-
end?: string | undefined;
|
|
3305
|
-
} | undefined;
|
|
3306
3311
|
occurrenceTiming?: unknown;
|
|
3307
3312
|
asNeededCodeableConcept?: {
|
|
3308
3313
|
coding?: {
|
|
@@ -3325,11 +3330,6 @@ export declare const ServiceRequestSchema: z.ZodObject<{
|
|
|
3325
3330
|
type?: string | undefined;
|
|
3326
3331
|
display?: string | undefined;
|
|
3327
3332
|
}[] | undefined;
|
|
3328
|
-
supportingInfo?: {
|
|
3329
|
-
reference: string;
|
|
3330
|
-
type?: string | undefined;
|
|
3331
|
-
display?: string | undefined;
|
|
3332
|
-
}[] | undefined;
|
|
3333
3333
|
relevantHistory?: {
|
|
3334
3334
|
reference: string;
|
|
3335
3335
|
type?: string | undefined;
|
|
@@ -4002,7 +4002,7 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4002
4002
|
}[];
|
|
4003
4003
|
text?: string | undefined;
|
|
4004
4004
|
};
|
|
4005
|
-
status: "unknown" | "active" | "
|
|
4005
|
+
status: "unknown" | "active" | "on-hold" | "completed" | "entered-in-error" | "draft" | "revoked";
|
|
4006
4006
|
resourceType: "ServiceRequest";
|
|
4007
4007
|
id: string;
|
|
4008
4008
|
subject: {
|
|
@@ -4021,27 +4021,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4021
4021
|
profile?: string[] | undefined;
|
|
4022
4022
|
versionId?: string | undefined;
|
|
4023
4023
|
} | undefined;
|
|
4024
|
-
encounter?: {
|
|
4025
|
-
reference: string;
|
|
4026
|
-
type?: string | undefined;
|
|
4027
|
-
display?: string | undefined;
|
|
4028
|
-
} | undefined;
|
|
4029
|
-
category?: {
|
|
4030
|
-
coding?: {
|
|
4031
|
-
code?: string | undefined;
|
|
4032
|
-
system?: string | undefined;
|
|
4033
|
-
display?: string | undefined;
|
|
4034
|
-
}[] | undefined;
|
|
4035
|
-
text?: string | undefined;
|
|
4036
|
-
}[] | undefined;
|
|
4037
|
-
bodySite?: {
|
|
4038
|
-
coding?: {
|
|
4039
|
-
code?: string | undefined;
|
|
4040
|
-
system?: string | undefined;
|
|
4041
|
-
display?: string | undefined;
|
|
4042
|
-
}[] | undefined;
|
|
4043
|
-
text?: string | undefined;
|
|
4044
|
-
}[] | undefined;
|
|
4045
4024
|
note?: {
|
|
4046
4025
|
text: string;
|
|
4047
4026
|
authorReference?: {
|
|
@@ -4052,7 +4031,25 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4052
4031
|
authorString?: string | undefined;
|
|
4053
4032
|
time?: string | undefined;
|
|
4054
4033
|
}[] | undefined;
|
|
4055
|
-
|
|
4034
|
+
category?: {
|
|
4035
|
+
coding?: {
|
|
4036
|
+
code?: string | undefined;
|
|
4037
|
+
system?: string | undefined;
|
|
4038
|
+
display?: string | undefined;
|
|
4039
|
+
}[] | undefined;
|
|
4040
|
+
text?: string | undefined;
|
|
4041
|
+
}[] | undefined;
|
|
4042
|
+
encounter?: {
|
|
4043
|
+
reference: string;
|
|
4044
|
+
type?: string | undefined;
|
|
4045
|
+
display?: string | undefined;
|
|
4046
|
+
} | undefined;
|
|
4047
|
+
supportingInfo?: {
|
|
4048
|
+
reference: string;
|
|
4049
|
+
type?: string | undefined;
|
|
4050
|
+
display?: string | undefined;
|
|
4051
|
+
}[] | undefined;
|
|
4052
|
+
replaces?: {
|
|
4056
4053
|
reference: string;
|
|
4057
4054
|
type?: string | undefined;
|
|
4058
4055
|
display?: string | undefined;
|
|
@@ -4062,6 +4059,11 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4062
4059
|
type?: string | undefined;
|
|
4063
4060
|
display?: string | undefined;
|
|
4064
4061
|
}[] | undefined;
|
|
4062
|
+
occurrenceDateTime?: string | undefined;
|
|
4063
|
+
occurrencePeriod?: {
|
|
4064
|
+
start?: string | undefined;
|
|
4065
|
+
end?: string | undefined;
|
|
4066
|
+
} | undefined;
|
|
4065
4067
|
performer?: {
|
|
4066
4068
|
reference: string;
|
|
4067
4069
|
type?: string | undefined;
|
|
@@ -4080,12 +4082,25 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4080
4082
|
type?: string | undefined;
|
|
4081
4083
|
display?: string | undefined;
|
|
4082
4084
|
}[] | undefined;
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4085
|
+
bodySite?: {
|
|
4086
|
+
coding?: {
|
|
4087
|
+
code?: string | undefined;
|
|
4088
|
+
system?: string | undefined;
|
|
4089
|
+
display?: string | undefined;
|
|
4090
|
+
}[] | undefined;
|
|
4091
|
+
text?: string | undefined;
|
|
4092
|
+
}[] | undefined;
|
|
4093
|
+
specimen?: {
|
|
4094
|
+
reference: string;
|
|
4095
|
+
type?: string | undefined;
|
|
4096
|
+
display?: string | undefined;
|
|
4097
|
+
}[] | undefined;
|
|
4098
|
+
patientInstruction?: string | undefined;
|
|
4099
|
+
asNeededBoolean?: boolean | undefined;
|
|
4100
|
+
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
|
4101
|
+
authoredOn?: string | undefined;
|
|
4102
|
+
requester?: {
|
|
4103
|
+
reference: string;
|
|
4089
4104
|
type?: string | undefined;
|
|
4090
4105
|
display?: string | undefined;
|
|
4091
4106
|
} | undefined;
|
|
@@ -4104,11 +4119,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4104
4119
|
}[] | undefined;
|
|
4105
4120
|
instantiatesCanonical?: string[] | undefined;
|
|
4106
4121
|
instantiatesUri?: string[] | undefined;
|
|
4107
|
-
replaces?: {
|
|
4108
|
-
reference: string;
|
|
4109
|
-
type?: string | undefined;
|
|
4110
|
-
display?: string | undefined;
|
|
4111
|
-
}[] | undefined;
|
|
4112
4122
|
requisition?: {
|
|
4113
4123
|
value?: string | undefined;
|
|
4114
4124
|
system?: string | undefined;
|
|
@@ -4157,11 +4167,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4157
4167
|
unit?: string | undefined;
|
|
4158
4168
|
} | undefined;
|
|
4159
4169
|
} | undefined;
|
|
4160
|
-
occurrenceDateTime?: string | undefined;
|
|
4161
|
-
occurrencePeriod?: {
|
|
4162
|
-
start?: string | undefined;
|
|
4163
|
-
end?: string | undefined;
|
|
4164
|
-
} | undefined;
|
|
4165
4170
|
occurrenceTiming?: unknown;
|
|
4166
4171
|
asNeededCodeableConcept?: {
|
|
4167
4172
|
coding?: {
|
|
@@ -4184,11 +4189,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4184
4189
|
type?: string | undefined;
|
|
4185
4190
|
display?: string | undefined;
|
|
4186
4191
|
}[] | undefined;
|
|
4187
|
-
supportingInfo?: {
|
|
4188
|
-
reference: string;
|
|
4189
|
-
type?: string | undefined;
|
|
4190
|
-
display?: string | undefined;
|
|
4191
|
-
}[] | undefined;
|
|
4192
4192
|
relevantHistory?: {
|
|
4193
4193
|
reference: string;
|
|
4194
4194
|
type?: string | undefined;
|
|
@@ -4203,7 +4203,7 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4203
4203
|
}[];
|
|
4204
4204
|
text?: string | undefined;
|
|
4205
4205
|
};
|
|
4206
|
-
status: "unknown" | "active" | "
|
|
4206
|
+
status: "unknown" | "active" | "on-hold" | "completed" | "entered-in-error" | "draft" | "revoked";
|
|
4207
4207
|
resourceType: "ServiceRequest";
|
|
4208
4208
|
id: string;
|
|
4209
4209
|
subject: {
|
|
@@ -4222,27 +4222,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4222
4222
|
profile?: string[] | undefined;
|
|
4223
4223
|
versionId?: string | undefined;
|
|
4224
4224
|
} | undefined;
|
|
4225
|
-
encounter?: {
|
|
4226
|
-
reference: string;
|
|
4227
|
-
type?: string | undefined;
|
|
4228
|
-
display?: string | undefined;
|
|
4229
|
-
} | undefined;
|
|
4230
|
-
category?: {
|
|
4231
|
-
coding?: {
|
|
4232
|
-
code?: string | undefined;
|
|
4233
|
-
system?: string | undefined;
|
|
4234
|
-
display?: string | undefined;
|
|
4235
|
-
}[] | undefined;
|
|
4236
|
-
text?: string | undefined;
|
|
4237
|
-
}[] | undefined;
|
|
4238
|
-
bodySite?: {
|
|
4239
|
-
coding?: {
|
|
4240
|
-
code?: string | undefined;
|
|
4241
|
-
system?: string | undefined;
|
|
4242
|
-
display?: string | undefined;
|
|
4243
|
-
}[] | undefined;
|
|
4244
|
-
text?: string | undefined;
|
|
4245
|
-
}[] | undefined;
|
|
4246
4225
|
note?: {
|
|
4247
4226
|
text: string;
|
|
4248
4227
|
authorReference?: {
|
|
@@ -4253,7 +4232,25 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4253
4232
|
authorString?: string | undefined;
|
|
4254
4233
|
time?: string | undefined;
|
|
4255
4234
|
}[] | undefined;
|
|
4256
|
-
|
|
4235
|
+
category?: {
|
|
4236
|
+
coding?: {
|
|
4237
|
+
code?: string | undefined;
|
|
4238
|
+
system?: string | undefined;
|
|
4239
|
+
display?: string | undefined;
|
|
4240
|
+
}[] | undefined;
|
|
4241
|
+
text?: string | undefined;
|
|
4242
|
+
}[] | undefined;
|
|
4243
|
+
encounter?: {
|
|
4244
|
+
reference: string;
|
|
4245
|
+
type?: string | undefined;
|
|
4246
|
+
display?: string | undefined;
|
|
4247
|
+
} | undefined;
|
|
4248
|
+
supportingInfo?: {
|
|
4249
|
+
reference: string;
|
|
4250
|
+
type?: string | undefined;
|
|
4251
|
+
display?: string | undefined;
|
|
4252
|
+
}[] | undefined;
|
|
4253
|
+
replaces?: {
|
|
4257
4254
|
reference: string;
|
|
4258
4255
|
type?: string | undefined;
|
|
4259
4256
|
display?: string | undefined;
|
|
@@ -4263,6 +4260,11 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4263
4260
|
type?: string | undefined;
|
|
4264
4261
|
display?: string | undefined;
|
|
4265
4262
|
}[] | undefined;
|
|
4263
|
+
occurrenceDateTime?: string | undefined;
|
|
4264
|
+
occurrencePeriod?: {
|
|
4265
|
+
start?: string | undefined;
|
|
4266
|
+
end?: string | undefined;
|
|
4267
|
+
} | undefined;
|
|
4266
4268
|
performer?: {
|
|
4267
4269
|
reference: string;
|
|
4268
4270
|
type?: string | undefined;
|
|
@@ -4281,6 +4283,19 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4281
4283
|
type?: string | undefined;
|
|
4282
4284
|
display?: string | undefined;
|
|
4283
4285
|
}[] | undefined;
|
|
4286
|
+
bodySite?: {
|
|
4287
|
+
coding?: {
|
|
4288
|
+
code?: string | undefined;
|
|
4289
|
+
system?: string | undefined;
|
|
4290
|
+
display?: string | undefined;
|
|
4291
|
+
}[] | undefined;
|
|
4292
|
+
text?: string | undefined;
|
|
4293
|
+
}[] | undefined;
|
|
4294
|
+
specimen?: {
|
|
4295
|
+
reference: string;
|
|
4296
|
+
type?: string | undefined;
|
|
4297
|
+
display?: string | undefined;
|
|
4298
|
+
}[] | undefined;
|
|
4284
4299
|
patientInstruction?: string | undefined;
|
|
4285
4300
|
asNeededBoolean?: boolean | undefined;
|
|
4286
4301
|
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
|
@@ -4305,11 +4320,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4305
4320
|
}[] | undefined;
|
|
4306
4321
|
instantiatesCanonical?: string[] | undefined;
|
|
4307
4322
|
instantiatesUri?: string[] | undefined;
|
|
4308
|
-
replaces?: {
|
|
4309
|
-
reference: string;
|
|
4310
|
-
type?: string | undefined;
|
|
4311
|
-
display?: string | undefined;
|
|
4312
|
-
}[] | undefined;
|
|
4313
4323
|
requisition?: {
|
|
4314
4324
|
value?: string | undefined;
|
|
4315
4325
|
system?: string | undefined;
|
|
@@ -4358,11 +4368,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4358
4368
|
unit?: string | undefined;
|
|
4359
4369
|
} | undefined;
|
|
4360
4370
|
} | undefined;
|
|
4361
|
-
occurrenceDateTime?: string | undefined;
|
|
4362
|
-
occurrencePeriod?: {
|
|
4363
|
-
start?: string | undefined;
|
|
4364
|
-
end?: string | undefined;
|
|
4365
|
-
} | undefined;
|
|
4366
4371
|
occurrenceTiming?: unknown;
|
|
4367
4372
|
asNeededCodeableConcept?: {
|
|
4368
4373
|
coding?: {
|
|
@@ -4385,11 +4390,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4385
4390
|
type?: string | undefined;
|
|
4386
4391
|
display?: string | undefined;
|
|
4387
4392
|
}[] | undefined;
|
|
4388
|
-
supportingInfo?: {
|
|
4389
|
-
reference: string;
|
|
4390
|
-
type?: string | undefined;
|
|
4391
|
-
display?: string | undefined;
|
|
4392
|
-
}[] | undefined;
|
|
4393
4393
|
relevantHistory?: {
|
|
4394
4394
|
reference: string;
|
|
4395
4395
|
type?: string | undefined;
|
|
@@ -4413,7 +4413,7 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4413
4413
|
}[];
|
|
4414
4414
|
text?: string | undefined;
|
|
4415
4415
|
};
|
|
4416
|
-
status: "unknown" | "active" | "
|
|
4416
|
+
status: "unknown" | "active" | "on-hold" | "completed" | "entered-in-error" | "draft" | "revoked";
|
|
4417
4417
|
resourceType: "ServiceRequest";
|
|
4418
4418
|
id: string;
|
|
4419
4419
|
subject: {
|
|
@@ -4432,27 +4432,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4432
4432
|
profile?: string[] | undefined;
|
|
4433
4433
|
versionId?: string | undefined;
|
|
4434
4434
|
} | undefined;
|
|
4435
|
-
encounter?: {
|
|
4436
|
-
reference: string;
|
|
4437
|
-
type?: string | undefined;
|
|
4438
|
-
display?: string | undefined;
|
|
4439
|
-
} | undefined;
|
|
4440
|
-
category?: {
|
|
4441
|
-
coding?: {
|
|
4442
|
-
code?: string | undefined;
|
|
4443
|
-
system?: string | undefined;
|
|
4444
|
-
display?: string | undefined;
|
|
4445
|
-
}[] | undefined;
|
|
4446
|
-
text?: string | undefined;
|
|
4447
|
-
}[] | undefined;
|
|
4448
|
-
bodySite?: {
|
|
4449
|
-
coding?: {
|
|
4450
|
-
code?: string | undefined;
|
|
4451
|
-
system?: string | undefined;
|
|
4452
|
-
display?: string | undefined;
|
|
4453
|
-
}[] | undefined;
|
|
4454
|
-
text?: string | undefined;
|
|
4455
|
-
}[] | undefined;
|
|
4456
4435
|
note?: {
|
|
4457
4436
|
text: string;
|
|
4458
4437
|
authorReference?: {
|
|
@@ -4463,7 +4442,25 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4463
4442
|
authorString?: string | undefined;
|
|
4464
4443
|
time?: string | undefined;
|
|
4465
4444
|
}[] | undefined;
|
|
4466
|
-
|
|
4445
|
+
category?: {
|
|
4446
|
+
coding?: {
|
|
4447
|
+
code?: string | undefined;
|
|
4448
|
+
system?: string | undefined;
|
|
4449
|
+
display?: string | undefined;
|
|
4450
|
+
}[] | undefined;
|
|
4451
|
+
text?: string | undefined;
|
|
4452
|
+
}[] | undefined;
|
|
4453
|
+
encounter?: {
|
|
4454
|
+
reference: string;
|
|
4455
|
+
type?: string | undefined;
|
|
4456
|
+
display?: string | undefined;
|
|
4457
|
+
} | undefined;
|
|
4458
|
+
supportingInfo?: {
|
|
4459
|
+
reference: string;
|
|
4460
|
+
type?: string | undefined;
|
|
4461
|
+
display?: string | undefined;
|
|
4462
|
+
}[] | undefined;
|
|
4463
|
+
replaces?: {
|
|
4467
4464
|
reference: string;
|
|
4468
4465
|
type?: string | undefined;
|
|
4469
4466
|
display?: string | undefined;
|
|
@@ -4473,6 +4470,11 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4473
4470
|
type?: string | undefined;
|
|
4474
4471
|
display?: string | undefined;
|
|
4475
4472
|
}[] | undefined;
|
|
4473
|
+
occurrenceDateTime?: string | undefined;
|
|
4474
|
+
occurrencePeriod?: {
|
|
4475
|
+
start?: string | undefined;
|
|
4476
|
+
end?: string | undefined;
|
|
4477
|
+
} | undefined;
|
|
4476
4478
|
performer?: {
|
|
4477
4479
|
reference: string;
|
|
4478
4480
|
type?: string | undefined;
|
|
@@ -4491,6 +4493,19 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4491
4493
|
type?: string | undefined;
|
|
4492
4494
|
display?: string | undefined;
|
|
4493
4495
|
}[] | undefined;
|
|
4496
|
+
bodySite?: {
|
|
4497
|
+
coding?: {
|
|
4498
|
+
code?: string | undefined;
|
|
4499
|
+
system?: string | undefined;
|
|
4500
|
+
display?: string | undefined;
|
|
4501
|
+
}[] | undefined;
|
|
4502
|
+
text?: string | undefined;
|
|
4503
|
+
}[] | undefined;
|
|
4504
|
+
specimen?: {
|
|
4505
|
+
reference: string;
|
|
4506
|
+
type?: string | undefined;
|
|
4507
|
+
display?: string | undefined;
|
|
4508
|
+
}[] | undefined;
|
|
4494
4509
|
patientInstruction?: string | undefined;
|
|
4495
4510
|
asNeededBoolean?: boolean | undefined;
|
|
4496
4511
|
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
|
@@ -4515,11 +4530,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4515
4530
|
}[] | undefined;
|
|
4516
4531
|
instantiatesCanonical?: string[] | undefined;
|
|
4517
4532
|
instantiatesUri?: string[] | undefined;
|
|
4518
|
-
replaces?: {
|
|
4519
|
-
reference: string;
|
|
4520
|
-
type?: string | undefined;
|
|
4521
|
-
display?: string | undefined;
|
|
4522
|
-
}[] | undefined;
|
|
4523
4533
|
requisition?: {
|
|
4524
4534
|
value?: string | undefined;
|
|
4525
4535
|
system?: string | undefined;
|
|
@@ -4568,11 +4578,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4568
4578
|
unit?: string | undefined;
|
|
4569
4579
|
} | undefined;
|
|
4570
4580
|
} | undefined;
|
|
4571
|
-
occurrenceDateTime?: string | undefined;
|
|
4572
|
-
occurrencePeriod?: {
|
|
4573
|
-
start?: string | undefined;
|
|
4574
|
-
end?: string | undefined;
|
|
4575
|
-
} | undefined;
|
|
4576
4581
|
occurrenceTiming?: unknown;
|
|
4577
4582
|
asNeededCodeableConcept?: {
|
|
4578
4583
|
coding?: {
|
|
@@ -4595,11 +4600,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4595
4600
|
type?: string | undefined;
|
|
4596
4601
|
display?: string | undefined;
|
|
4597
4602
|
}[] | undefined;
|
|
4598
|
-
supportingInfo?: {
|
|
4599
|
-
reference: string;
|
|
4600
|
-
type?: string | undefined;
|
|
4601
|
-
display?: string | undefined;
|
|
4602
|
-
}[] | undefined;
|
|
4603
4603
|
relevantHistory?: {
|
|
4604
4604
|
reference: string;
|
|
4605
4605
|
type?: string | undefined;
|
|
@@ -4620,7 +4620,7 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4620
4620
|
}[];
|
|
4621
4621
|
text?: string | undefined;
|
|
4622
4622
|
};
|
|
4623
|
-
status: "unknown" | "active" | "
|
|
4623
|
+
status: "unknown" | "active" | "on-hold" | "completed" | "entered-in-error" | "draft" | "revoked";
|
|
4624
4624
|
resourceType: "ServiceRequest";
|
|
4625
4625
|
id: string;
|
|
4626
4626
|
subject: {
|
|
@@ -4639,27 +4639,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4639
4639
|
profile?: string[] | undefined;
|
|
4640
4640
|
versionId?: string | undefined;
|
|
4641
4641
|
} | undefined;
|
|
4642
|
-
encounter?: {
|
|
4643
|
-
reference: string;
|
|
4644
|
-
type?: string | undefined;
|
|
4645
|
-
display?: string | undefined;
|
|
4646
|
-
} | undefined;
|
|
4647
|
-
category?: {
|
|
4648
|
-
coding?: {
|
|
4649
|
-
code?: string | undefined;
|
|
4650
|
-
system?: string | undefined;
|
|
4651
|
-
display?: string | undefined;
|
|
4652
|
-
}[] | undefined;
|
|
4653
|
-
text?: string | undefined;
|
|
4654
|
-
}[] | undefined;
|
|
4655
|
-
bodySite?: {
|
|
4656
|
-
coding?: {
|
|
4657
|
-
code?: string | undefined;
|
|
4658
|
-
system?: string | undefined;
|
|
4659
|
-
display?: string | undefined;
|
|
4660
|
-
}[] | undefined;
|
|
4661
|
-
text?: string | undefined;
|
|
4662
|
-
}[] | undefined;
|
|
4663
4642
|
note?: {
|
|
4664
4643
|
text: string;
|
|
4665
4644
|
authorReference?: {
|
|
@@ -4670,7 +4649,25 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4670
4649
|
authorString?: string | undefined;
|
|
4671
4650
|
time?: string | undefined;
|
|
4672
4651
|
}[] | undefined;
|
|
4673
|
-
|
|
4652
|
+
category?: {
|
|
4653
|
+
coding?: {
|
|
4654
|
+
code?: string | undefined;
|
|
4655
|
+
system?: string | undefined;
|
|
4656
|
+
display?: string | undefined;
|
|
4657
|
+
}[] | undefined;
|
|
4658
|
+
text?: string | undefined;
|
|
4659
|
+
}[] | undefined;
|
|
4660
|
+
encounter?: {
|
|
4661
|
+
reference: string;
|
|
4662
|
+
type?: string | undefined;
|
|
4663
|
+
display?: string | undefined;
|
|
4664
|
+
} | undefined;
|
|
4665
|
+
supportingInfo?: {
|
|
4666
|
+
reference: string;
|
|
4667
|
+
type?: string | undefined;
|
|
4668
|
+
display?: string | undefined;
|
|
4669
|
+
}[] | undefined;
|
|
4670
|
+
replaces?: {
|
|
4674
4671
|
reference: string;
|
|
4675
4672
|
type?: string | undefined;
|
|
4676
4673
|
display?: string | undefined;
|
|
@@ -4680,6 +4677,11 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4680
4677
|
type?: string | undefined;
|
|
4681
4678
|
display?: string | undefined;
|
|
4682
4679
|
}[] | undefined;
|
|
4680
|
+
occurrenceDateTime?: string | undefined;
|
|
4681
|
+
occurrencePeriod?: {
|
|
4682
|
+
start?: string | undefined;
|
|
4683
|
+
end?: string | undefined;
|
|
4684
|
+
} | undefined;
|
|
4683
4685
|
performer?: {
|
|
4684
4686
|
reference: string;
|
|
4685
4687
|
type?: string | undefined;
|
|
@@ -4698,6 +4700,19 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4698
4700
|
type?: string | undefined;
|
|
4699
4701
|
display?: string | undefined;
|
|
4700
4702
|
}[] | undefined;
|
|
4703
|
+
bodySite?: {
|
|
4704
|
+
coding?: {
|
|
4705
|
+
code?: string | undefined;
|
|
4706
|
+
system?: string | undefined;
|
|
4707
|
+
display?: string | undefined;
|
|
4708
|
+
}[] | undefined;
|
|
4709
|
+
text?: string | undefined;
|
|
4710
|
+
}[] | undefined;
|
|
4711
|
+
specimen?: {
|
|
4712
|
+
reference: string;
|
|
4713
|
+
type?: string | undefined;
|
|
4714
|
+
display?: string | undefined;
|
|
4715
|
+
}[] | undefined;
|
|
4701
4716
|
patientInstruction?: string | undefined;
|
|
4702
4717
|
asNeededBoolean?: boolean | undefined;
|
|
4703
4718
|
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
|
@@ -4722,11 +4737,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4722
4737
|
}[] | undefined;
|
|
4723
4738
|
instantiatesCanonical?: string[] | undefined;
|
|
4724
4739
|
instantiatesUri?: string[] | undefined;
|
|
4725
|
-
replaces?: {
|
|
4726
|
-
reference: string;
|
|
4727
|
-
type?: string | undefined;
|
|
4728
|
-
display?: string | undefined;
|
|
4729
|
-
}[] | undefined;
|
|
4730
4740
|
requisition?: {
|
|
4731
4741
|
value?: string | undefined;
|
|
4732
4742
|
system?: string | undefined;
|
|
@@ -4775,11 +4785,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4775
4785
|
unit?: string | undefined;
|
|
4776
4786
|
} | undefined;
|
|
4777
4787
|
} | undefined;
|
|
4778
|
-
occurrenceDateTime?: string | undefined;
|
|
4779
|
-
occurrencePeriod?: {
|
|
4780
|
-
start?: string | undefined;
|
|
4781
|
-
end?: string | undefined;
|
|
4782
|
-
} | undefined;
|
|
4783
4788
|
occurrenceTiming?: unknown;
|
|
4784
4789
|
asNeededCodeableConcept?: {
|
|
4785
4790
|
coding?: {
|
|
@@ -4802,11 +4807,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4802
4807
|
type?: string | undefined;
|
|
4803
4808
|
display?: string | undefined;
|
|
4804
4809
|
}[] | undefined;
|
|
4805
|
-
supportingInfo?: {
|
|
4806
|
-
reference: string;
|
|
4807
|
-
type?: string | undefined;
|
|
4808
|
-
display?: string | undefined;
|
|
4809
|
-
}[] | undefined;
|
|
4810
4810
|
relevantHistory?: {
|
|
4811
4811
|
reference: string;
|
|
4812
4812
|
type?: string | undefined;
|
|
@@ -4836,7 +4836,7 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4836
4836
|
}[];
|
|
4837
4837
|
text?: string | undefined;
|
|
4838
4838
|
};
|
|
4839
|
-
status: "unknown" | "active" | "
|
|
4839
|
+
status: "unknown" | "active" | "on-hold" | "completed" | "entered-in-error" | "draft" | "revoked";
|
|
4840
4840
|
resourceType: "ServiceRequest";
|
|
4841
4841
|
id: string;
|
|
4842
4842
|
subject: {
|
|
@@ -4855,27 +4855,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4855
4855
|
profile?: string[] | undefined;
|
|
4856
4856
|
versionId?: string | undefined;
|
|
4857
4857
|
} | undefined;
|
|
4858
|
-
encounter?: {
|
|
4859
|
-
reference: string;
|
|
4860
|
-
type?: string | undefined;
|
|
4861
|
-
display?: string | undefined;
|
|
4862
|
-
} | undefined;
|
|
4863
|
-
category?: {
|
|
4864
|
-
coding?: {
|
|
4865
|
-
code?: string | undefined;
|
|
4866
|
-
system?: string | undefined;
|
|
4867
|
-
display?: string | undefined;
|
|
4868
|
-
}[] | undefined;
|
|
4869
|
-
text?: string | undefined;
|
|
4870
|
-
}[] | undefined;
|
|
4871
|
-
bodySite?: {
|
|
4872
|
-
coding?: {
|
|
4873
|
-
code?: string | undefined;
|
|
4874
|
-
system?: string | undefined;
|
|
4875
|
-
display?: string | undefined;
|
|
4876
|
-
}[] | undefined;
|
|
4877
|
-
text?: string | undefined;
|
|
4878
|
-
}[] | undefined;
|
|
4879
4858
|
note?: {
|
|
4880
4859
|
text: string;
|
|
4881
4860
|
authorReference?: {
|
|
@@ -4886,7 +4865,25 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4886
4865
|
authorString?: string | undefined;
|
|
4887
4866
|
time?: string | undefined;
|
|
4888
4867
|
}[] | undefined;
|
|
4889
|
-
|
|
4868
|
+
category?: {
|
|
4869
|
+
coding?: {
|
|
4870
|
+
code?: string | undefined;
|
|
4871
|
+
system?: string | undefined;
|
|
4872
|
+
display?: string | undefined;
|
|
4873
|
+
}[] | undefined;
|
|
4874
|
+
text?: string | undefined;
|
|
4875
|
+
}[] | undefined;
|
|
4876
|
+
encounter?: {
|
|
4877
|
+
reference: string;
|
|
4878
|
+
type?: string | undefined;
|
|
4879
|
+
display?: string | undefined;
|
|
4880
|
+
} | undefined;
|
|
4881
|
+
supportingInfo?: {
|
|
4882
|
+
reference: string;
|
|
4883
|
+
type?: string | undefined;
|
|
4884
|
+
display?: string | undefined;
|
|
4885
|
+
}[] | undefined;
|
|
4886
|
+
replaces?: {
|
|
4890
4887
|
reference: string;
|
|
4891
4888
|
type?: string | undefined;
|
|
4892
4889
|
display?: string | undefined;
|
|
@@ -4896,6 +4893,11 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4896
4893
|
type?: string | undefined;
|
|
4897
4894
|
display?: string | undefined;
|
|
4898
4895
|
}[] | undefined;
|
|
4896
|
+
occurrenceDateTime?: string | undefined;
|
|
4897
|
+
occurrencePeriod?: {
|
|
4898
|
+
start?: string | undefined;
|
|
4899
|
+
end?: string | undefined;
|
|
4900
|
+
} | undefined;
|
|
4899
4901
|
performer?: {
|
|
4900
4902
|
reference: string;
|
|
4901
4903
|
type?: string | undefined;
|
|
@@ -4914,6 +4916,19 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4914
4916
|
type?: string | undefined;
|
|
4915
4917
|
display?: string | undefined;
|
|
4916
4918
|
}[] | undefined;
|
|
4919
|
+
bodySite?: {
|
|
4920
|
+
coding?: {
|
|
4921
|
+
code?: string | undefined;
|
|
4922
|
+
system?: string | undefined;
|
|
4923
|
+
display?: string | undefined;
|
|
4924
|
+
}[] | undefined;
|
|
4925
|
+
text?: string | undefined;
|
|
4926
|
+
}[] | undefined;
|
|
4927
|
+
specimen?: {
|
|
4928
|
+
reference: string;
|
|
4929
|
+
type?: string | undefined;
|
|
4930
|
+
display?: string | undefined;
|
|
4931
|
+
}[] | undefined;
|
|
4917
4932
|
patientInstruction?: string | undefined;
|
|
4918
4933
|
asNeededBoolean?: boolean | undefined;
|
|
4919
4934
|
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
|
@@ -4938,11 +4953,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4938
4953
|
}[] | undefined;
|
|
4939
4954
|
instantiatesCanonical?: string[] | undefined;
|
|
4940
4955
|
instantiatesUri?: string[] | undefined;
|
|
4941
|
-
replaces?: {
|
|
4942
|
-
reference: string;
|
|
4943
|
-
type?: string | undefined;
|
|
4944
|
-
display?: string | undefined;
|
|
4945
|
-
}[] | undefined;
|
|
4946
4956
|
requisition?: {
|
|
4947
4957
|
value?: string | undefined;
|
|
4948
4958
|
system?: string | undefined;
|
|
@@ -4991,11 +5001,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
4991
5001
|
unit?: string | undefined;
|
|
4992
5002
|
} | undefined;
|
|
4993
5003
|
} | undefined;
|
|
4994
|
-
occurrenceDateTime?: string | undefined;
|
|
4995
|
-
occurrencePeriod?: {
|
|
4996
|
-
start?: string | undefined;
|
|
4997
|
-
end?: string | undefined;
|
|
4998
|
-
} | undefined;
|
|
4999
5004
|
occurrenceTiming?: unknown;
|
|
5000
5005
|
asNeededCodeableConcept?: {
|
|
5001
5006
|
coding?: {
|
|
@@ -5018,11 +5023,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
5018
5023
|
type?: string | undefined;
|
|
5019
5024
|
display?: string | undefined;
|
|
5020
5025
|
}[] | undefined;
|
|
5021
|
-
supportingInfo?: {
|
|
5022
|
-
reference: string;
|
|
5023
|
-
type?: string | undefined;
|
|
5024
|
-
display?: string | undefined;
|
|
5025
|
-
}[] | undefined;
|
|
5026
5026
|
relevantHistory?: {
|
|
5027
5027
|
reference: string;
|
|
5028
5028
|
type?: string | undefined;
|
|
@@ -5052,7 +5052,7 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
5052
5052
|
}[];
|
|
5053
5053
|
text?: string | undefined;
|
|
5054
5054
|
};
|
|
5055
|
-
status: "unknown" | "active" | "
|
|
5055
|
+
status: "unknown" | "active" | "on-hold" | "completed" | "entered-in-error" | "draft" | "revoked";
|
|
5056
5056
|
resourceType: "ServiceRequest";
|
|
5057
5057
|
id: string;
|
|
5058
5058
|
subject: {
|
|
@@ -5071,27 +5071,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
5071
5071
|
profile?: string[] | undefined;
|
|
5072
5072
|
versionId?: string | undefined;
|
|
5073
5073
|
} | undefined;
|
|
5074
|
-
encounter?: {
|
|
5075
|
-
reference: string;
|
|
5076
|
-
type?: string | undefined;
|
|
5077
|
-
display?: string | undefined;
|
|
5078
|
-
} | undefined;
|
|
5079
|
-
category?: {
|
|
5080
|
-
coding?: {
|
|
5081
|
-
code?: string | undefined;
|
|
5082
|
-
system?: string | undefined;
|
|
5083
|
-
display?: string | undefined;
|
|
5084
|
-
}[] | undefined;
|
|
5085
|
-
text?: string | undefined;
|
|
5086
|
-
}[] | undefined;
|
|
5087
|
-
bodySite?: {
|
|
5088
|
-
coding?: {
|
|
5089
|
-
code?: string | undefined;
|
|
5090
|
-
system?: string | undefined;
|
|
5091
|
-
display?: string | undefined;
|
|
5092
|
-
}[] | undefined;
|
|
5093
|
-
text?: string | undefined;
|
|
5094
|
-
}[] | undefined;
|
|
5095
5074
|
note?: {
|
|
5096
5075
|
text: string;
|
|
5097
5076
|
authorReference?: {
|
|
@@ -5102,7 +5081,25 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
5102
5081
|
authorString?: string | undefined;
|
|
5103
5082
|
time?: string | undefined;
|
|
5104
5083
|
}[] | undefined;
|
|
5105
|
-
|
|
5084
|
+
category?: {
|
|
5085
|
+
coding?: {
|
|
5086
|
+
code?: string | undefined;
|
|
5087
|
+
system?: string | undefined;
|
|
5088
|
+
display?: string | undefined;
|
|
5089
|
+
}[] | undefined;
|
|
5090
|
+
text?: string | undefined;
|
|
5091
|
+
}[] | undefined;
|
|
5092
|
+
encounter?: {
|
|
5093
|
+
reference: string;
|
|
5094
|
+
type?: string | undefined;
|
|
5095
|
+
display?: string | undefined;
|
|
5096
|
+
} | undefined;
|
|
5097
|
+
supportingInfo?: {
|
|
5098
|
+
reference: string;
|
|
5099
|
+
type?: string | undefined;
|
|
5100
|
+
display?: string | undefined;
|
|
5101
|
+
}[] | undefined;
|
|
5102
|
+
replaces?: {
|
|
5106
5103
|
reference: string;
|
|
5107
5104
|
type?: string | undefined;
|
|
5108
5105
|
display?: string | undefined;
|
|
@@ -5112,6 +5109,11 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
5112
5109
|
type?: string | undefined;
|
|
5113
5110
|
display?: string | undefined;
|
|
5114
5111
|
}[] | undefined;
|
|
5112
|
+
occurrenceDateTime?: string | undefined;
|
|
5113
|
+
occurrencePeriod?: {
|
|
5114
|
+
start?: string | undefined;
|
|
5115
|
+
end?: string | undefined;
|
|
5116
|
+
} | undefined;
|
|
5115
5117
|
performer?: {
|
|
5116
5118
|
reference: string;
|
|
5117
5119
|
type?: string | undefined;
|
|
@@ -5130,6 +5132,19 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
5130
5132
|
type?: string | undefined;
|
|
5131
5133
|
display?: string | undefined;
|
|
5132
5134
|
}[] | undefined;
|
|
5135
|
+
bodySite?: {
|
|
5136
|
+
coding?: {
|
|
5137
|
+
code?: string | undefined;
|
|
5138
|
+
system?: string | undefined;
|
|
5139
|
+
display?: string | undefined;
|
|
5140
|
+
}[] | undefined;
|
|
5141
|
+
text?: string | undefined;
|
|
5142
|
+
}[] | undefined;
|
|
5143
|
+
specimen?: {
|
|
5144
|
+
reference: string;
|
|
5145
|
+
type?: string | undefined;
|
|
5146
|
+
display?: string | undefined;
|
|
5147
|
+
}[] | undefined;
|
|
5133
5148
|
patientInstruction?: string | undefined;
|
|
5134
5149
|
asNeededBoolean?: boolean | undefined;
|
|
5135
5150
|
priority?: "routine" | "urgent" | "asap" | "stat" | undefined;
|
|
@@ -5154,11 +5169,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
5154
5169
|
}[] | undefined;
|
|
5155
5170
|
instantiatesCanonical?: string[] | undefined;
|
|
5156
5171
|
instantiatesUri?: string[] | undefined;
|
|
5157
|
-
replaces?: {
|
|
5158
|
-
reference: string;
|
|
5159
|
-
type?: string | undefined;
|
|
5160
|
-
display?: string | undefined;
|
|
5161
|
-
}[] | undefined;
|
|
5162
5172
|
requisition?: {
|
|
5163
5173
|
value?: string | undefined;
|
|
5164
5174
|
system?: string | undefined;
|
|
@@ -5207,11 +5217,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
5207
5217
|
unit?: string | undefined;
|
|
5208
5218
|
} | undefined;
|
|
5209
5219
|
} | undefined;
|
|
5210
|
-
occurrenceDateTime?: string | undefined;
|
|
5211
|
-
occurrencePeriod?: {
|
|
5212
|
-
start?: string | undefined;
|
|
5213
|
-
end?: string | undefined;
|
|
5214
|
-
} | undefined;
|
|
5215
5220
|
occurrenceTiming?: unknown;
|
|
5216
5221
|
asNeededCodeableConcept?: {
|
|
5217
5222
|
coding?: {
|
|
@@ -5234,11 +5239,6 @@ export declare const ServiceRequestBundleSchema: z.ZodObject<{
|
|
|
5234
5239
|
type?: string | undefined;
|
|
5235
5240
|
display?: string | undefined;
|
|
5236
5241
|
}[] | undefined;
|
|
5237
|
-
supportingInfo?: {
|
|
5238
|
-
reference: string;
|
|
5239
|
-
type?: string | undefined;
|
|
5240
|
-
display?: string | undefined;
|
|
5241
|
-
}[] | undefined;
|
|
5242
5242
|
relevantHistory?: {
|
|
5243
5243
|
reference: string;
|
|
5244
5244
|
type?: string | undefined;
|