@medplum/core 0.9.6 → 0.9.9
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 +3 -23
- package/cody-pdf-test.js +32 -0
- package/dist/cjs/index.js +2977 -237
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.min.js +1 -1
- package/dist/cjs/index.min.js.map +1 -1
- package/dist/cjs/package.json +1 -0
- package/dist/esm/index.js +2972 -236
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +1 -1
- package/dist/esm/index.min.js.map +1 -1
- package/dist/esm/package.json +1 -0
- package/dist/types/cache.d.ts +22 -0
- package/dist/types/client.d.ts +157 -79
- package/dist/types/fhirpath/atoms.d.ts +148 -0
- package/dist/types/fhirpath/date.d.ts +1 -0
- package/dist/types/fhirpath/functions.d.ts +5 -0
- package/dist/types/fhirpath/index.d.ts +2 -0
- package/dist/types/fhirpath/parse.d.ts +17 -0
- package/dist/types/fhirpath/tokenize.d.ts +5 -0
- package/dist/types/fhirpath/utils.d.ts +84 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/pdf.d.ts +5 -0
- package/dist/types/utils.d.ts +12 -0
- package/document.pdf +0 -0
- package/package.json +10 -4
- package/test.pdf +1 -0
- package/test2.pdf +1 -0
- package/test3.pdf.txt +1 -0
- package/test4.pdf +1 -0
- package/test5.pdf +0 -0
- package/test7-2.pdf +1 -0
- package/test7.pdf +1 -0
- package/test8-2.pdf +0 -0
- package/{dist/types/fix-ro-iddentifiers.d.ts → test8.pdf} +0 -0
- package/test9-2.pdf +0 -0
- package/test9-3.pdf +0 -0
- package/test9-4.pdf +0 -0
- package/test9.pdf +0 -0
- package/wget-log +6 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { Period, Quantity } from '@medplum/fhirtypes';
|
|
2
|
+
import { TypedValue } from './atoms';
|
|
3
|
+
/**
|
|
4
|
+
* Returns a single element array with a typed boolean value.
|
|
5
|
+
* @param value The primitive boolean value.
|
|
6
|
+
* @returns Single element array with a typed boolean value.
|
|
7
|
+
*/
|
|
8
|
+
export declare function booleanToTypedValue(value: boolean): [TypedValue];
|
|
9
|
+
/**
|
|
10
|
+
* Returns a "best guess" TypedValue for a given value.
|
|
11
|
+
* @param value The unknown value to check.
|
|
12
|
+
* @returns A "best guess" TypedValue for the given value.
|
|
13
|
+
*/
|
|
14
|
+
export declare function toTypedValue(value: unknown): TypedValue;
|
|
15
|
+
/**
|
|
16
|
+
* Converts unknown object into a JavaScript boolean.
|
|
17
|
+
* Note that this is different than the FHIRPath "toBoolean",
|
|
18
|
+
* which has particular semantics around arrays, empty arrays, and type conversions.
|
|
19
|
+
* @param obj Any value or array of values.
|
|
20
|
+
* @returns The converted boolean value according to FHIRPath rules.
|
|
21
|
+
*/
|
|
22
|
+
export declare function toJsBoolean(obj: TypedValue[]): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Removes duplicates in array using FHIRPath equality rules.
|
|
25
|
+
* @param arr The input array.
|
|
26
|
+
* @returns The result array with duplicates removed.
|
|
27
|
+
*/
|
|
28
|
+
export declare function removeDuplicates(arr: TypedValue[]): TypedValue[];
|
|
29
|
+
/**
|
|
30
|
+
* Returns a negated FHIRPath boolean expression.
|
|
31
|
+
* @param input The input array.
|
|
32
|
+
* @returns The negated type value array.
|
|
33
|
+
*/
|
|
34
|
+
export declare function fhirPathNot(input: TypedValue[]): TypedValue[];
|
|
35
|
+
/**
|
|
36
|
+
* Determines if two arrays are equal according to FHIRPath equality rules.
|
|
37
|
+
* @param x The first array.
|
|
38
|
+
* @param y The second array.
|
|
39
|
+
* @returns FHIRPath true if the arrays are equal.
|
|
40
|
+
*/
|
|
41
|
+
export declare function fhirPathArrayEquals(x: TypedValue[], y: TypedValue[]): TypedValue[];
|
|
42
|
+
/**
|
|
43
|
+
* Determines if two values are equal according to FHIRPath equality rules.
|
|
44
|
+
* @param x The first value.
|
|
45
|
+
* @param y The second value.
|
|
46
|
+
* @returns True if equal.
|
|
47
|
+
*/
|
|
48
|
+
export declare function fhirPathEquals(x: TypedValue, y: TypedValue): TypedValue[];
|
|
49
|
+
/**
|
|
50
|
+
* Determines if two arrays are equivalent according to FHIRPath equality rules.
|
|
51
|
+
* @param x The first array.
|
|
52
|
+
* @param y The second array.
|
|
53
|
+
* @returns FHIRPath true if the arrays are equivalent.
|
|
54
|
+
*/
|
|
55
|
+
export declare function fhirPathArrayEquivalent(x: TypedValue[], y: TypedValue[]): TypedValue[];
|
|
56
|
+
/**
|
|
57
|
+
* Determines if two values are equivalent according to FHIRPath equality rules.
|
|
58
|
+
* @param x The first value.
|
|
59
|
+
* @param y The second value.
|
|
60
|
+
* @returns True if equivalent.
|
|
61
|
+
*/
|
|
62
|
+
export declare function fhirPathEquivalent(x: TypedValue, y: TypedValue): TypedValue[];
|
|
63
|
+
/**
|
|
64
|
+
* Determines if the typed value is the desired type.
|
|
65
|
+
* @param typedValue The typed value to check.
|
|
66
|
+
* @param desiredType The desired type name.
|
|
67
|
+
* @returns True if the typed value is of the desired type.
|
|
68
|
+
*/
|
|
69
|
+
export declare function fhirPathIs(typedValue: TypedValue, desiredType: string): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Determines if the input is a Period object.
|
|
72
|
+
* This is heuristic based, as we do not have strong typing at runtime.
|
|
73
|
+
* @param input The input value.
|
|
74
|
+
* @returns True if the input is a period.
|
|
75
|
+
*/
|
|
76
|
+
export declare function isPeriod(input: unknown): input is Period;
|
|
77
|
+
/**
|
|
78
|
+
* Determines if the input is a Quantity object.
|
|
79
|
+
* This is heuristic based, as we do not have strong typing at runtime.
|
|
80
|
+
* @param input The input value.
|
|
81
|
+
* @returns True if the input is a quantity.
|
|
82
|
+
*/
|
|
83
|
+
export declare function isQuantity(input: unknown): input is Quantity;
|
|
84
|
+
export declare function isQuantityEquivalent(x: Quantity, y: Quantity): boolean;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** @ts-ignore */
|
|
2
|
+
import type { CustomTableLayout, TDocumentDefinitions, TFontDictionary } from 'pdfmake/interfaces';
|
|
3
|
+
export declare function generatePdf(docDefinition: TDocumentDefinitions, tableLayouts?: {
|
|
4
|
+
[name: string]: CustomTableLayout;
|
|
5
|
+
}, fonts?: TFontDictionary): Promise<Blob | Uint8Array>;
|
package/dist/types/utils.d.ts
CHANGED
|
@@ -71,6 +71,18 @@ export declare function calculateAgeString(birthDateStr: string, endDateStr?: st
|
|
|
71
71
|
* @returns Questionnaire answers mapped by link ID.
|
|
72
72
|
*/
|
|
73
73
|
export declare function getQuestionnaireAnswers(response: QuestionnaireResponse): Record<string, QuestionnaireResponseItemAnswer>;
|
|
74
|
+
/**
|
|
75
|
+
* Returns the resource identifier for the given system.
|
|
76
|
+
*
|
|
77
|
+
* If multiple identifiers exist with the same system, the first one is returned.
|
|
78
|
+
*
|
|
79
|
+
* If the system is not found, then returns undefined.
|
|
80
|
+
*
|
|
81
|
+
* @param resource The resource to check.
|
|
82
|
+
* @param system The identifier system.
|
|
83
|
+
* @returns The identifier value if found; otherwise undefined.
|
|
84
|
+
*/
|
|
85
|
+
export declare function getIdentifier(resource: Resource, system: string): string | undefined;
|
|
74
86
|
/**
|
|
75
87
|
* Returns an extension value by extension URLs.
|
|
76
88
|
* @param resource The base resource.
|
package/document.pdf
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medplum/core",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.9",
|
|
4
4
|
"description": "Medplum TS/JS Library",
|
|
5
5
|
"author": "Medplum <hello@medplum.com>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -17,9 +17,15 @@
|
|
|
17
17
|
"test": "jest"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@medplum/fhirtypes": "0.9.
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
"@medplum/fhirtypes": "0.9.9"
|
|
21
|
+
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"pdfmake": "0.2.5"
|
|
24
|
+
},
|
|
25
|
+
"peerDependenciesMeta": {
|
|
26
|
+
"pdfmake": {
|
|
27
|
+
"optional": true
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
"main": "dist/cjs/index.js",
|
|
25
31
|
"module": "dist/esm/index.js",
|
package/test.pdf
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"Buffer","data":[37,80,68,70,45,49,46,51,10,37,255,255,255,255,10,56,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,69,120,116,71,83,116,97,116,101,10,47,99,97,32,49,10,47,67,65,32,49,10,62,62,10,101,110,100,111,98,106,10,55,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,80,97,103,101,10,47,80,97,114,101,110,116,32,49,32,48,32,82,10,47,77,101,100,105,97,66,111,120,32,91,48,32,48,32,54,49,50,32,55,57,50,93,10,47,67,111,110,116,101,110,116,115,32,53,32,48,32,82,10,47,82,101,115,111,117,114,99,101,115,32,54,32,48,32,82,10,62,62,10,101,110,100,111,98,106,10,54,32,48,32,111,98,106,10,60,60,10,47,80,114,111,99,83,101,116,32,91,47,80,68,70,32,47,84,101,120,116,32,47,73,109,97,103,101,66,32,47,73,109,97,103,101,67,32,47,73,109,97,103,101,73,93,10,47,69,120,116,71,83,116,97,116,101,32,60,60,10,47,71,115,49,32,56,32,48,32,82,10,62,62,10,47,70,111,110,116,32,60,60,10,47,70,49,32,57,32,48,32,82,10,62,62,10,62,62,10,101,110,100,111,98,106,10,53,32,48,32,111,98,106,10,60,60,10,47,76,101,110,103,116,104,32,49,52,49,10,47,70,105,108,116,101,114,32,47,70,108,97,116,101,68,101,99,111,100,101,10,62,62,10,115,116,114,101,97,109,10,120,156,165,78,65,10,2,49,12,188,231,21,249,128,187,73,109,211,10,75,15,139,186,224,77,233,77,60,133,173,120,80,144,130,239,55,136,23,17,79,50,48,132,97,50,51,140,100,88,176,81,92,57,212,43,244,83,99,60,55,232,215,243,227,162,243,97,26,81,27,208,203,215,244,6,21,238,192,95,95,99,121,139,140,98,162,243,29,147,195,98,113,91,70,102,44,21,142,131,79,18,68,13,213,81,70,58,97,217,193,166,192,254,255,206,148,58,102,249,213,27,98,198,37,225,32,53,186,108,17,193,78,21,255,49,225,9,162,128,58,19,10,101,110,100,115,116,114,101,97,109,10,101,110,100,111,98,106,10,49,49,32,48,32,111,98,106,10,40,112,100,102,109,97,107,101,41,10,101,110,100,111,98,106,10,49,50,32,48,32,111,98,106,10,40,112,100,102,109,97,107,101,41,10,101,110,100,111,98,106,10,49,51,32,48,32,111,98,106,10,40,68,58,50,48,50,50,48,54,48,55,50,49,52,53,48,49,90,41,10,101,110,100,111,98,106,10,49,48,32,48,32,111,98,106,10,60,60,10,47,80,114,111,100,117,99,101,114,32,49,49,32,48,32,82,10,47,67,114,101,97,116,111,114,32,49,50,32,48,32,82,10,47,67,114,101,97,116,105,111,110,68,97,116,101,32,49,51,32,48,32,82,10,62,62,10,101,110,100,111,98,106,10,57,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,70,111,110,116,10,47,66,97,115,101,70,111,110,116,32,47,72,101,108,118,101,116,105,99,97,10,47,83,117,98,116,121,112,101,32,47,84,121,112,101,49,10,47,69,110,99,111,100,105,110,103,32,47,87,105,110,65,110,115,105,69,110,99,111,100,105,110,103,10,62,62,10,101,110,100,111,98,106,10,52,32,48,32,111,98,106,10,60,60,10,62,62,10,101,110,100,111,98,106,10,51,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,67,97,116,97,108,111,103,10,47,80,97,103,101,115,32,49,32,48,32,82,10,47,78,97,109,101,115,32,50,32,48,32,82,10,62,62,10,101,110,100,111,98,106,10,49,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,80,97,103,101,115,10,47,67,111,117,110,116,32,49,10,47,75,105,100,115,32,91,55,32,48,32,82,93,10,62,62,10,101,110,100,111,98,106,10,50,32,48,32,111,98,106,10,60,60,10,47,68,101,115,116,115,32,60,60,10,32,32,47,78,97,109,101,115,32,91,10,93,10,62,62,10,62,62,10,101,110,100,111,98,106,10,120,114,101,102,10,48,32,49,52,10,48,48,48,48,48,48,48,48,48,48,32,54,53,53,51,53,32,102,32,10,48,48,48,48,48,48,48,56,52,51,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,57,48,48,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,55,56,49,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,55,54,48,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,50,56,54,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,49,54,57,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,48,54,53,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,48,49,53,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,54,54,51,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,53,56,55,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,52,57,57,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,53,50,53,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,53,53,49,32,48,48,48,48,48,32,110,32,10,116,114,97,105,108,101,114,10,60,60,10,47,83,105,122,101,32,49,52,10,47,82,111,111,116,32,51,32,48,32,82,10,47,73,110,102,111,32,49,48,32,48,32,82,10,47,73,68,32,91,60,56,54,98,53,49,100,55,49,52,102,55,55,97,48,98,99,48,53,50,51,52,55,50,100,97,57,97,102,56,48,101,55,62,32,60,56,54,98,53,49,100,55,49,52,102,55,55,97,48,98,99,48,53,50,51,52,55,50,100,97,57,97,102,56,48,101,55,62,93,10,62,62,10,115,116,97,114,116,120,114,101,102,10,57,52,55,10,37,37,69,79,70,10]}
|
package/test2.pdf
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"Buffer","data":[37,80,68,70,45,49,46,51,10,37,255,255,255,255,10,56,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,69,120,116,71,83,116,97,116,101,10,47,99,97,32,49,10,47,67,65,32,49,10,62,62,10,101,110,100,111,98,106,10,55,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,80,97,103,101,10,47,80,97,114,101,110,116,32,49,32,48,32,82,10,47,77,101,100,105,97,66,111,120,32,91,48,32,48,32,54,49,50,32,55,57,50,93,10,47,67,111,110,116,101,110,116,115,32,53,32,48,32,82,10,47,82,101,115,111,117,114,99,101,115,32,54,32,48,32,82,10,62,62,10,101,110,100,111,98,106,10,54,32,48,32,111,98,106,10,60,60,10,47,80,114,111,99,83,101,116,32,91,47,80,68,70,32,47,84,101,120,116,32,47,73,109,97,103,101,66,32,47,73,109,97,103,101,67,32,47,73,109,97,103,101,73,93,10,47,69,120,116,71,83,116,97,116,101,32,60,60,10,47,71,115,49,32,56,32,48,32,82,10,62,62,10,47,70,111,110,116,32,60,60,10,47,70,49,32,57,32,48,32,82,10,62,62,10,62,62,10,101,110,100,111,98,106,10,53,32,48,32,111,98,106,10,60,60,10,47,76,101,110,103,116,104,32,52,48,54,10,47,70,105,108,116,101,114,32,47,70,108,97,116,101,68,101,99,111,100,101,10,62,62,10,115,116,114,101,97,109,10,120,156,189,150,207,74,4,49,12,198,239,125,138,190,128,217,36,77,147,22,150,61,44,234,130,55,101,110,226,197,113,71,60,40,200,130,207,111,70,87,68,150,46,130,93,25,152,25,58,127,126,253,190,38,105,40,162,31,103,228,39,171,28,199,231,176,216,236,40,62,238,194,226,124,251,246,52,110,111,54,235,56,238,2,126,188,183,27,95,194,20,94,3,29,124,181,30,246,131,20,213,7,89,128,144,227,224,191,187,164,72,20,135,41,220,46,69,181,26,91,50,97,92,69,188,139,195,85,184,24,194,245,223,153,69,64,132,91,92,67,37,227,85,36,140,75,37,181,207,187,239,17,127,94,250,206,103,246,0,19,88,62,244,128,116,171,147,137,22,205,198,189,125,32,36,200,165,197,254,141,15,60,118,159,83,54,200,40,205,73,205,86,84,75,221,177,102,160,214,246,66,180,234,131,230,222,88,158,87,128,114,11,171,212,29,72,8,90,106,19,56,186,185,226,106,199,19,104,77,9,18,182,181,242,140,238,14,21,131,106,199,244,78,158,97,118,138,236,226,66,160,168,71,66,106,234,142,172,9,74,106,70,177,71,48,233,253,202,163,206,243,183,251,250,38,78,144,141,154,122,147,185,201,154,189,124,228,184,236,95,56,82,70,168,100,255,93,56,146,17,96,109,170,158,19,202,3,172,191,217,149,192,205,108,170,53,199,142,218,221,100,193,10,249,136,90,238,175,84,124,151,46,165,141,244,202,108,222,41,248,53,107,247,242,33,202,96,165,25,84,243,218,158,34,143,165,204,169,212,198,82,255,66,41,53,67,193,99,133,50,59,246,4,205,88,102,246,4,106,130,125,55,218,119,30,253,109,246,190,75,221,105,57,236,1,191,210,214,210,15,226,59,215,156,107,120,10,101,110,100,115,116,114,101,97,109,10,101,110,100,111,98,106,10,49,49,32,48,32,111,98,106,10,40,112,100,102,109,97,107,101,41,10,101,110,100,111,98,106,10,49,50,32,48,32,111,98,106,10,40,112,100,102,109,97,107,101,41,10,101,110,100,111,98,106,10,49,51,32,48,32,111,98,106,10,40,68,58,50,48,50,50,48,54,48,55,50,49,53,50,48,51,90,41,10,101,110,100,111,98,106,10,49,48,32,48,32,111,98,106,10,60,60,10,47,80,114,111,100,117,99,101,114,32,49,49,32,48,32,82,10,47,67,114,101,97,116,111,114,32,49,50,32,48,32,82,10,47,67,114,101,97,116,105,111,110,68,97,116,101,32,49,51,32,48,32,82,10,62,62,10,101,110,100,111,98,106,10,57,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,70,111,110,116,10,47,66,97,115,101,70,111,110,116,32,47,72,101,108,118,101,116,105,99,97,10,47,83,117,98,116,121,112,101,32,47,84,121,112,101,49,10,47,69,110,99,111,100,105,110,103,32,47,87,105,110,65,110,115,105,69,110,99,111,100,105,110,103,10,62,62,10,101,110,100,111,98,106,10,52,32,48,32,111,98,106,10,60,60,10,62,62,10,101,110,100,111,98,106,10,51,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,67,97,116,97,108,111,103,10,47,80,97,103,101,115,32,49,32,48,32,82,10,47,78,97,109,101,115,32,50,32,48,32,82,10,62,62,10,101,110,100,111,98,106,10,49,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,80,97,103,101,115,10,47,67,111,117,110,116,32,49,10,47,75,105,100,115,32,91,55,32,48,32,82,93,10,62,62,10,101,110,100,111,98,106,10,50,32,48,32,111,98,106,10,60,60,10,47,68,101,115,116,115,32,60,60,10,32,32,47,78,97,109,101,115,32,91,10,93,10,62,62,10,62,62,10,101,110,100,111,98,106,10,120,114,101,102,10,48,32,49,52,10,48,48,48,48,48,48,48,48,48,48,32,54,53,53,51,53,32,102,32,10,48,48,48,48,48,48,49,49,48,56,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,49,49,54,53,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,49,48,52,54,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,49,48,50,53,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,50,56,54,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,49,54,57,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,48,54,53,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,48,49,53,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,57,50,56,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,56,53,50,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,55,54,52,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,55,57,48,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,56,49,54,32,48,48,48,48,48,32,110,32,10,116,114,97,105,108,101,114,10,60,60,10,47,83,105,122,101,32,49,52,10,47,82,111,111,116,32,51,32,48,32,82,10,47,73,110,102,111,32,49,48,32,48,32,82,10,47,73,68,32,91,60,54,98,49,53,50,51,49,56,56,98,50,54,99,102,100,49,101,97,97,55,51,51,48,56,52,52,51,57,51,53,51,102,62,32,60,54,98,49,53,50,51,49,56,56,98,50,54,99,102,100,49,101,97,97,55,51,51,48,56,52,52,51,57,51,53,51,102,62,93,10,62,62,10,115,116,97,114,116,120,114,101,102,10,49,50,49,50,10,37,37,69,79,70,10]}
|
package/test3.pdf.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"Buffer","data":[37,80,68,70,45,49,46,51,10,37,255,255,255,255,10,56,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,69,120,116,71,83,116,97,116,101,10,47,99,97,32,49,10,47,67,65,32,49,10,62,62,10,101,110,100,111,98,106,10,55,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,80,97,103,101,10,47,80,97,114,101,110,116,32,49,32,48,32,82,10,47,77,101,100,105,97,66,111,120,32,91,48,32,48,32,54,49,50,32,55,57,50,93,10,47,67,111,110,116,101,110,116,115,32,53,32,48,32,82,10,47,82,101,115,111,117,114,99,101,115,32,54,32,48,32,82,10,62,62,10,101,110,100,111,98,106,10,54,32,48,32,111,98,106,10,60,60,10,47,80,114,111,99,83,101,116,32,91,47,80,68,70,32,47,84,101,120,116,32,47,73,109,97,103,101,66,32,47,73,109,97,103,101,67,32,47,73,109,97,103,101,73,93,10,47,69,120,116,71,83,116,97,116,101,32,60,60,10,47,71,115,49,32,56,32,48,32,82,10,62,62,10,47,70,111,110,116,32,60,60,10,47,70,49,32,57,32,48,32,82,10,62,62,10,62,62,10,101,110,100,111,98,106,10,53,32,48,32,111,98,106,10,60,60,10,47,76,101,110,103,116,104,32,52,48,54,10,47,70,105,108,116,101,114,32,47,70,108,97,116,101,68,101,99,111,100,101,10,62,62,10,115,116,114,101,97,109,10,120,156,189,150,207,74,4,49,12,198,239,125,138,190,128,217,36,77,147,22,150,61,44,234,130,55,101,110,226,197,113,71,60,40,200,130,207,111,70,87,68,150,46,130,93,25,152,25,58,127,126,253,190,38,105,40,162,31,103,228,39,171,28,199,231,176,216,236,40,62,238,194,226,124,251,246,52,110,111,54,235,56,238,2,126,188,183,27,95,194,20,94,3,29,124,181,30,246,131,20,213,7,89,128,144,227,224,191,187,164,72,20,135,41,220,46,69,181,26,91,50,97,92,69,188,139,195,85,184,24,194,245,223,153,69,64,132,91,92,67,37,227,85,36,140,75,37,181,207,187,239,17,127,94,250,206,103,246,0,19,88,62,244,128,116,171,147,137,22,205,198,189,125,32,36,200,165,197,254,141,15,60,118,159,83,54,200,40,205,73,205,86,84,75,221,177,102,160,214,246,66,180,234,131,230,222,88,158,87,128,114,11,171,212,29,72,8,90,106,19,56,186,185,226,106,199,19,104,77,9,18,182,181,242,140,238,14,21,131,106,199,244,78,158,97,118,138,236,226,66,160,168,71,66,106,234,142,172,9,74,106,70,177,71,48,233,253,202,163,206,243,183,251,250,38,78,144,141,154,122,147,185,201,154,189,124,228,184,236,95,56,82,70,168,100,255,93,56,146,17,96,109,170,158,19,202,3,172,191,217,149,192,205,108,170,53,199,142,218,221,100,193,10,249,136,90,238,175,84,124,151,46,165,141,244,202,108,222,41,248,53,107,247,242,33,202,96,165,25,84,243,218,158,34,143,165,204,169,212,198,82,255,66,41,53,67,193,99,133,50,59,246,4,205,88,102,246,4,106,130,125,55,218,119,30,253,109,246,190,75,221,105,57,236,1,191,210,214,210,15,226,59,215,156,107,120,10,101,110,100,115,116,114,101,97,109,10,101,110,100,111,98,106,10,49,49,32,48,32,111,98,106,10,40,112,100,102,109,97,107,101,41,10,101,110,100,111,98,106,10,49,50,32,48,32,111,98,106,10,40,112,100,102,109,97,107,101,41,10,101,110,100,111,98,106,10,49,51,32,48,32,111,98,106,10,40,68,58,50,48,50,50,48,54,48,55,50,50,48,52,52,56,90,41,10,101,110,100,111,98,106,10,49,48,32,48,32,111,98,106,10,60,60,10,47,80,114,111,100,117,99,101,114,32,49,49,32,48,32,82,10,47,67,114,101,97,116,111,114,32,49,50,32,48,32,82,10,47,67,114,101,97,116,105,111,110,68,97,116,101,32,49,51,32,48,32,82,10,62,62,10,101,110,100,111,98,106,10,57,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,70,111,110,116,10,47,66,97,115,101,70,111,110,116,32,47,72,101,108,118,101,116,105,99,97,10,47,83,117,98,116,121,112,101,32,47,84,121,112,101,49,10,47,69,110,99,111,100,105,110,103,32,47,87,105,110,65,110,115,105,69,110,99,111,100,105,110,103,10,62,62,10,101,110,100,111,98,106,10,52,32,48,32,111,98,106,10,60,60,10,62,62,10,101,110,100,111,98,106,10,51,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,67,97,116,97,108,111,103,10,47,80,97,103,101,115,32,49,32,48,32,82,10,47,78,97,109,101,115,32,50,32,48,32,82,10,62,62,10,101,110,100,111,98,106,10,49,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,80,97,103,101,115,10,47,67,111,117,110,116,32,49,10,47,75,105,100,115,32,91,55,32,48,32,82,93,10,62,62,10,101,110,100,111,98,106,10,50,32,48,32,111,98,106,10,60,60,10,47,68,101,115,116,115,32,60,60,10,32,32,47,78,97,109,101,115,32,91,10,93,10,62,62,10,62,62,10,101,110,100,111,98,106,10,120,114,101,102,10,48,32,49,52,10,48,48,48,48,48,48,48,48,48,48,32,54,53,53,51,53,32,102,32,10,48,48,48,48,48,48,49,49,48,56,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,49,49,54,53,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,49,48,52,54,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,49,48,50,53,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,50,56,54,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,49,54,57,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,48,54,53,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,48,49,53,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,57,50,56,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,56,53,50,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,55,54,52,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,55,57,48,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,56,49,54,32,48,48,48,48,48,32,110,32,10,116,114,97,105,108,101,114,10,60,60,10,47,83,105,122,101,32,49,52,10,47,82,111,111,116,32,51,32,48,32,82,10,47,73,110,102,111,32,49,48,32,48,32,82,10,47,73,68,32,91,60,51,48,51,57,100,51,48,100,51,52,98,54,54,51,48,102,48,57,97,102,51,56,54,56,48,101,101,55,51,54,52,57,62,32,60,51,48,51,57,100,51,48,100,51,52,98,54,54,51,48,102,48,57,97,102,51,56,54,56,48,101,101,55,51,54,52,57,62,93,10,62,62,10,115,116,97,114,116,120,114,101,102,10,49,50,49,50,10,37,37,69,79,70,10]}
|
package/test4.pdf
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"Buffer","data":[37,80,68,70,45,49,46,51,10,37,255,255,255,255,10,56,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,69,120,116,71,83,116,97,116,101,10,47,99,97,32,49,10,47,67,65,32,49,10,62,62,10,101,110,100,111,98,106,10,55,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,80,97,103,101,10,47,80,97,114,101,110,116,32,49,32,48,32,82,10,47,77,101,100,105,97,66,111,120,32,91,48,32,48,32,54,49,50,32,55,57,50,93,10,47,67,111,110,116,101,110,116,115,32,53,32,48,32,82,10,47,82,101,115,111,117,114,99,101,115,32,54,32,48,32,82,10,62,62,10,101,110,100,111,98,106,10,54,32,48,32,111,98,106,10,60,60,10,47,80,114,111,99,83,101,116,32,91,47,80,68,70,32,47,84,101,120,116,32,47,73,109,97,103,101,66,32,47,73,109,97,103,101,67,32,47,73,109,97,103,101,73,93,10,47,69,120,116,71,83,116,97,116,101,32,60,60,10,47,71,115,49,32,56,32,48,32,82,10,62,62,10,47,70,111,110,116,32,60,60,10,47,70,49,32,57,32,48,32,82,10,62,62,10,62,62,10,101,110,100,111,98,106,10,53,32,48,32,111,98,106,10,60,60,10,47,76,101,110,103,116,104,32,52,48,54,10,47,70,105,108,116,101,114,32,47,70,108,97,116,101,68,101,99,111,100,101,10,62,62,10,115,116,114,101,97,109,10,120,156,189,150,207,74,4,49,12,198,239,125,138,190,128,217,36,77,147,22,150,61,44,234,130,55,101,110,226,197,113,71,60,40,200,130,207,111,70,87,68,150,46,130,93,25,152,25,58,127,126,253,190,38,105,40,162,31,103,228,39,171,28,199,231,176,216,236,40,62,238,194,226,124,251,246,52,110,111,54,235,56,238,2,126,188,183,27,95,194,20,94,3,29,124,181,30,246,131,20,213,7,89,128,144,227,224,191,187,164,72,20,135,41,220,46,69,181,26,91,50,97,92,69,188,139,195,85,184,24,194,245,223,153,69,64,132,91,92,67,37,227,85,36,140,75,37,181,207,187,239,17,127,94,250,206,103,246,0,19,88,62,244,128,116,171,147,137,22,205,198,189,125,32,36,200,165,197,254,141,15,60,118,159,83,54,200,40,205,73,205,86,84,75,221,177,102,160,214,246,66,180,234,131,230,222,88,158,87,128,114,11,171,212,29,72,8,90,106,19,56,186,185,226,106,199,19,104,77,9,18,182,181,242,140,238,14,21,131,106,199,244,78,158,97,118,138,236,226,66,160,168,71,66,106,234,142,172,9,74,106,70,177,71,48,233,253,202,163,206,243,183,251,250,38,78,144,141,154,122,147,185,201,154,189,124,228,184,236,95,56,82,70,168,100,255,93,56,146,17,96,109,170,158,19,202,3,172,191,217,149,192,205,108,170,53,199,142,218,221,100,193,10,249,136,90,238,175,84,124,151,46,165,141,244,202,108,222,41,248,53,107,247,242,33,202,96,165,25,84,243,218,158,34,143,165,204,169,212,198,82,255,66,41,53,67,193,99,133,50,59,246,4,205,88,102,246,4,106,130,125,55,218,119,30,253,109,246,190,75,221,105,57,236,1,191,210,214,210,15,226,59,215,156,107,120,10,101,110,100,115,116,114,101,97,109,10,101,110,100,111,98,106,10,49,49,32,48,32,111,98,106,10,40,112,100,102,109,97,107,101,41,10,101,110,100,111,98,106,10,49,50,32,48,32,111,98,106,10,40,112,100,102,109,97,107,101,41,10,101,110,100,111,98,106,10,49,51,32,48,32,111,98,106,10,40,68,58,50,48,50,50,48,54,48,55,50,50,48,52,52,56,90,41,10,101,110,100,111,98,106,10,49,48,32,48,32,111,98,106,10,60,60,10,47,80,114,111,100,117,99,101,114,32,49,49,32,48,32,82,10,47,67,114,101,97,116,111,114,32,49,50,32,48,32,82,10,47,67,114,101,97,116,105,111,110,68,97,116,101,32,49,51,32,48,32,82,10,62,62,10,101,110,100,111,98,106,10,57,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,70,111,110,116,10,47,66,97,115,101,70,111,110,116,32,47,72,101,108,118,101,116,105,99,97,10,47,83,117,98,116,121,112,101,32,47,84,121,112,101,49,10,47,69,110,99,111,100,105,110,103,32,47,87,105,110,65,110,115,105,69,110,99,111,100,105,110,103,10,62,62,10,101,110,100,111,98,106,10,52,32,48,32,111,98,106,10,60,60,10,62,62,10,101,110,100,111,98,106,10,51,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,67,97,116,97,108,111,103,10,47,80,97,103,101,115,32,49,32,48,32,82,10,47,78,97,109,101,115,32,50,32,48,32,82,10,62,62,10,101,110,100,111,98,106,10,49,32,48,32,111,98,106,10,60,60,10,47,84,121,112,101,32,47,80,97,103,101,115,10,47,67,111,117,110,116,32,49,10,47,75,105,100,115,32,91,55,32,48,32,82,93,10,62,62,10,101,110,100,111,98,106,10,50,32,48,32,111,98,106,10,60,60,10,47,68,101,115,116,115,32,60,60,10,32,32,47,78,97,109,101,115,32,91,10,93,10,62,62,10,62,62,10,101,110,100,111,98,106,10,120,114,101,102,10,48,32,49,52,10,48,48,48,48,48,48,48,48,48,48,32,54,53,53,51,53,32,102,32,10,48,48,48,48,48,48,49,49,48,56,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,49,49,54,53,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,49,48,52,54,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,49,48,50,53,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,50,56,54,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,49,54,57,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,48,54,53,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,48,49,53,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,57,50,56,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,56,53,50,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,55,54,52,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,55,57,48,32,48,48,48,48,48,32,110,32,10,48,48,48,48,48,48,48,56,49,54,32,48,48,48,48,48,32,110,32,10,116,114,97,105,108,101,114,10,60,60,10,47,83,105,122,101,32,49,52,10,47,82,111,111,116,32,51,32,48,32,82,10,47,73,110,102,111,32,49,48,32,48,32,82,10,47,73,68,32,91,60,51,48,51,57,100,51,48,100,51,52,98,54,54,51,48,102,48,57,97,102,51,56,54,56,48,101,101,55,51,54,52,57,62,32,60,51,48,51,57,100,51,48,100,51,52,98,54,54,51,48,102,48,57,97,102,51,56,54,56,48,101,101,55,51,54,52,57,62,93,10,62,62,10,115,116,97,114,116,120,114,101,102,10,49,50,49,50,10,37,37,69,79,70,10]}
|
package/test5.pdf
ADDED
|
Binary file
|
package/test7-2.pdf
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
package/test7.pdf
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
package/test8-2.pdf
ADDED
|
Binary file
|
|
File without changes
|
package/test9-2.pdf
ADDED
|
File without changes
|
package/test9-3.pdf
ADDED
|
File without changes
|
package/test9-4.pdf
ADDED
|
Binary file
|
package/test9.pdf
ADDED
|
File without changes
|
package/wget-log
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
--2022-06-07 14:46:15-- https://storage.medplum.com/binary/1edc2089-033f-4178-a829-ba8d28cc510b/09f34af8-9e37-4960-9c1c-6213706131f4?Expires=1654641902
|
|
2
|
+
Resolving storage.medplum.com (storage.medplum.com)... 52.84.162.127, 52.84.162.94, 52.84.162.128, ...
|
|
3
|
+
Connecting to storage.medplum.com (storage.medplum.com)|52.84.162.127|:443... connected.
|
|
4
|
+
HTTP request sent, awaiting response... 403 Forbidden
|
|
5
|
+
2022-06-07 14:46:15 ERROR 403: Forbidden.
|
|
6
|
+
|