@medplum/core 0.9.7 → 0.9.8
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/cody-pdf-test.js +32 -0
- package/dist/cjs/index.js +1856 -1737
- 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/esm/index.js +1856 -1737
- 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/types/cache.d.ts +22 -0
- package/dist/types/client.d.ts +23 -43
- package/dist/types/fhirpath/atoms.d.ts +36 -38
- package/dist/types/fhirpath/functions.d.ts +5 -964
- package/dist/types/fhirpath/utils.d.ts +42 -23
- package/dist/types/pdf.d.ts +5 -0
- package/document.pdf +0 -0
- package/package.json +10 -2
- 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/test8.pdf +0 -0
- package/wget-log +6 -0
|
@@ -1,24 +1,17 @@
|
|
|
1
1
|
import { Period, Quantity } from '@medplum/fhirtypes';
|
|
2
|
+
import { TypedValue } from './atoms';
|
|
2
3
|
/**
|
|
3
|
-
*
|
|
4
|
-
* @param
|
|
5
|
-
* @returns
|
|
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.
|
|
6
7
|
*/
|
|
7
|
-
export declare function
|
|
8
|
+
export declare function booleanToTypedValue(value: boolean): [TypedValue];
|
|
8
9
|
/**
|
|
9
|
-
*
|
|
10
|
-
* @param
|
|
11
|
-
* @
|
|
12
|
-
* @returns The result of the function.
|
|
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
13
|
*/
|
|
14
|
-
export declare function
|
|
15
|
-
/**
|
|
16
|
-
* Determines if the input is an empty array.
|
|
17
|
-
* @param obj Any value or array of values.
|
|
18
|
-
* @returns True if the input is an empty array.
|
|
19
|
-
*/
|
|
20
|
-
export declare function isEmptyArray(obj: unknown): boolean;
|
|
21
|
-
export declare function isFalsy(obj: unknown): boolean;
|
|
14
|
+
export declare function toTypedValue(value: unknown): TypedValue;
|
|
22
15
|
/**
|
|
23
16
|
* Converts unknown object into a JavaScript boolean.
|
|
24
17
|
* Note that this is different than the FHIRPath "toBoolean",
|
|
@@ -26,28 +19,54 @@ export declare function isFalsy(obj: unknown): boolean;
|
|
|
26
19
|
* @param obj Any value or array of values.
|
|
27
20
|
* @returns The converted boolean value according to FHIRPath rules.
|
|
28
21
|
*/
|
|
29
|
-
export declare function toJsBoolean(obj:
|
|
22
|
+
export declare function toJsBoolean(obj: TypedValue[]): boolean;
|
|
30
23
|
/**
|
|
31
24
|
* Removes duplicates in array using FHIRPath equality rules.
|
|
32
25
|
* @param arr The input array.
|
|
33
26
|
* @returns The result array with duplicates removed.
|
|
34
27
|
*/
|
|
35
|
-
export declare function removeDuplicates(arr:
|
|
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[];
|
|
36
42
|
/**
|
|
37
43
|
* Determines if two values are equal according to FHIRPath equality rules.
|
|
38
44
|
* @param x The first value.
|
|
39
45
|
* @param y The second value.
|
|
40
46
|
* @returns True if equal.
|
|
41
47
|
*/
|
|
42
|
-
export declare function fhirPathEquals(x:
|
|
48
|
+
export declare function fhirPathEquals(x: TypedValue, y: TypedValue): TypedValue[];
|
|
43
49
|
/**
|
|
44
|
-
* Determines if two
|
|
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.
|
|
45
58
|
* @param x The first value.
|
|
46
59
|
* @param y The second value.
|
|
47
|
-
* @returns True if
|
|
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.
|
|
48
68
|
*/
|
|
49
|
-
export declare function
|
|
50
|
-
export declare function fhirPathIs(value: unknown, desiredType: unknown): boolean;
|
|
69
|
+
export declare function fhirPathIs(typedValue: TypedValue, desiredType: string): boolean;
|
|
51
70
|
/**
|
|
52
71
|
* Determines if the input is a Period object.
|
|
53
72
|
* This is heuristic based, as we do not have strong typing at runtime.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
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 | Buffer>;
|
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.8",
|
|
4
4
|
"description": "Medplum TS/JS Library",
|
|
5
5
|
"author": "Medplum <hello@medplum.com>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -17,7 +17,15 @@
|
|
|
17
17
|
"test": "jest"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@medplum/fhirtypes": "0.9.
|
|
20
|
+
"@medplum/fhirtypes": "0.9.8"
|
|
21
|
+
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"pdfmake": "0.2.5"
|
|
24
|
+
},
|
|
25
|
+
"peerDependenciesMeta": {
|
|
26
|
+
"pdfmake": {
|
|
27
|
+
"optional": true
|
|
28
|
+
}
|
|
21
29
|
},
|
|
22
30
|
"main": "dist/cjs/index.js",
|
|
23
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
|
package/test8.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
|
+
|