@medplum/definitions 2.0.19 → 2.0.20
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.
|
@@ -163,7 +163,8 @@
|
|
|
163
163
|
"UserConfiguration": "#/definitions/UserConfiguration",
|
|
164
164
|
"BulkDataExport": "#/definitions/BulkDataExport",
|
|
165
165
|
"SmartAppLaunch": "#/definitions/SmartAppLaunch",
|
|
166
|
-
"DomainConfiguration": "#/definitions/DomainConfiguration"
|
|
166
|
+
"DomainConfiguration": "#/definitions/DomainConfiguration",
|
|
167
|
+
"AsyncJob": "#/definitions/AsyncJob"
|
|
167
168
|
}
|
|
168
169
|
},
|
|
169
170
|
"oneOf": [
|
|
@@ -643,6 +644,9 @@
|
|
|
643
644
|
},
|
|
644
645
|
{
|
|
645
646
|
"$ref": "#/definitions/DomainConfiguration"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"$ref": "#/definitions/AsyncJob"
|
|
646
650
|
}
|
|
647
651
|
],
|
|
648
652
|
"definitions": {
|
|
@@ -1124,6 +1128,9 @@
|
|
|
1124
1128
|
},
|
|
1125
1129
|
{
|
|
1126
1130
|
"$ref": "#/definitions/DomainConfiguration"
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
"$ref": "#/definitions/AsyncJob"
|
|
1127
1134
|
}
|
|
1128
1135
|
]
|
|
1129
1136
|
},
|
|
@@ -62306,6 +62313,54 @@
|
|
|
62306
62313
|
"value",
|
|
62307
62314
|
"action"
|
|
62308
62315
|
]
|
|
62316
|
+
},
|
|
62317
|
+
"AsyncJob": {
|
|
62318
|
+
"description": "Contains details of long running asynchronous/background jobs.",
|
|
62319
|
+
"properties": {
|
|
62320
|
+
"resourceType": {
|
|
62321
|
+
"description": "This is a AsyncJob resource",
|
|
62322
|
+
"const": "AsyncJob"
|
|
62323
|
+
},
|
|
62324
|
+
"id": {
|
|
62325
|
+
"description": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
|
|
62326
|
+
"$ref": "#/definitions/id"
|
|
62327
|
+
},
|
|
62328
|
+
"meta": {
|
|
62329
|
+
"description": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
|
|
62330
|
+
"$ref": "#/definitions/Meta"
|
|
62331
|
+
},
|
|
62332
|
+
"implicitRules": {
|
|
62333
|
+
"description": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
|
|
62334
|
+
"$ref": "#/definitions/uri"
|
|
62335
|
+
},
|
|
62336
|
+
"language": {
|
|
62337
|
+
"description": "The base language in which the resource is written.",
|
|
62338
|
+
"$ref": "#/definitions/code"
|
|
62339
|
+
},
|
|
62340
|
+
"status": {
|
|
62341
|
+
"description": "The status of the request.",
|
|
62342
|
+
"$ref": "#/definitions/code"
|
|
62343
|
+
},
|
|
62344
|
+
"requestTime": {
|
|
62345
|
+
"description": "Indicates the server\u0027s time when the query is requested.",
|
|
62346
|
+
"$ref": "#/definitions/instant"
|
|
62347
|
+
},
|
|
62348
|
+
"transactionTime": {
|
|
62349
|
+
"description": "Indicates the server\u0027s time when the query is run. The response SHOULD NOT include any resources modified after this instant, and SHALL include any matching resources modified up to and including this instant.",
|
|
62350
|
+
"$ref": "#/definitions/instant"
|
|
62351
|
+
},
|
|
62352
|
+
"request": {
|
|
62353
|
+
"description": "The full URL of the original kick-off request. In the case of a POST request, this URL will not include the request parameters.",
|
|
62354
|
+
"$ref": "#/definitions/uri"
|
|
62355
|
+
}
|
|
62356
|
+
},
|
|
62357
|
+
"additionalProperties": false,
|
|
62358
|
+
"required": [
|
|
62359
|
+
"resourceType",
|
|
62360
|
+
"status",
|
|
62361
|
+
"requestTime",
|
|
62362
|
+
"request"
|
|
62363
|
+
]
|
|
62309
62364
|
}
|
|
62310
62365
|
}
|
|
62311
62366
|
}
|
|
@@ -2803,5 +2803,139 @@
|
|
|
2803
2803
|
]
|
|
2804
2804
|
}
|
|
2805
2805
|
}
|
|
2806
|
+
},
|
|
2807
|
+
{
|
|
2808
|
+
"fullUrl" : "https://medplum.com/fhir/StructureDefinition/AsyncJob",
|
|
2809
|
+
"resource" : {
|
|
2810
|
+
"resourceType" : "StructureDefinition",
|
|
2811
|
+
"id" : "AsyncJob",
|
|
2812
|
+
"name" : "AsyncJob",
|
|
2813
|
+
"url" : "https://medplum.com/fhir/StructureDefinition/AsyncJob",
|
|
2814
|
+
"status" : "active",
|
|
2815
|
+
"kind" : "resource",
|
|
2816
|
+
"abstract" : false,
|
|
2817
|
+
"type" : "AsyncJob",
|
|
2818
|
+
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/DomainResource",
|
|
2819
|
+
"description" : "Contains details of long running asynchronous/background jobs.",
|
|
2820
|
+
"snapshot" : {
|
|
2821
|
+
"element" : [
|
|
2822
|
+
{
|
|
2823
|
+
"id" : "AsyncJob",
|
|
2824
|
+
"path" : "AsyncJob",
|
|
2825
|
+
"short" : "Contains details of long running asynchronous/background jobs.",
|
|
2826
|
+
"definition" : "Contains details of long running asynchronous/background jobs.",
|
|
2827
|
+
"min" : 0,
|
|
2828
|
+
"max" : "*"
|
|
2829
|
+
},
|
|
2830
|
+
{
|
|
2831
|
+
"id" : "AsyncJob.id",
|
|
2832
|
+
"path" : "AsyncJob.id",
|
|
2833
|
+
"short" : "Logical id of this artifact",
|
|
2834
|
+
"definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
|
|
2835
|
+
"min" : 0,
|
|
2836
|
+
"max" : "1",
|
|
2837
|
+
"base" : {
|
|
2838
|
+
"path" : "Resource.id",
|
|
2839
|
+
"min" : 0,
|
|
2840
|
+
"max" : "1"
|
|
2841
|
+
},
|
|
2842
|
+
"type" : [{
|
|
2843
|
+
"code" : "string"
|
|
2844
|
+
}]
|
|
2845
|
+
},
|
|
2846
|
+
{
|
|
2847
|
+
"id" : "AsyncJob.meta",
|
|
2848
|
+
"path" : "AsyncJob.meta",
|
|
2849
|
+
"definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
|
|
2850
|
+
"min" : 0,
|
|
2851
|
+
"max" : "1",
|
|
2852
|
+
"base" : {
|
|
2853
|
+
"path" : "Resource.meta",
|
|
2854
|
+
"min" : 0,
|
|
2855
|
+
"max" : "1"
|
|
2856
|
+
},
|
|
2857
|
+
"type" : [{
|
|
2858
|
+
"code" : "Meta"
|
|
2859
|
+
}]
|
|
2860
|
+
},
|
|
2861
|
+
{
|
|
2862
|
+
"id" : "AsyncJob.implicitRules",
|
|
2863
|
+
"path" : "AsyncJob.implicitRules",
|
|
2864
|
+
"definition" : "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
|
|
2865
|
+
"min" : 0,
|
|
2866
|
+
"max" : "1",
|
|
2867
|
+
"base" : {
|
|
2868
|
+
"path" : "Resource.implicitRules",
|
|
2869
|
+
"min" : 0,
|
|
2870
|
+
"max" : "1"
|
|
2871
|
+
},
|
|
2872
|
+
"type" : [{
|
|
2873
|
+
"code" : "uri"
|
|
2874
|
+
}]
|
|
2875
|
+
},
|
|
2876
|
+
{
|
|
2877
|
+
"id" : "AsyncJob.language",
|
|
2878
|
+
"path" : "AsyncJob.language",
|
|
2879
|
+
"definition" : "The base language in which the resource is written.",
|
|
2880
|
+
"min" : 0,
|
|
2881
|
+
"max" : "1",
|
|
2882
|
+
"base" : {
|
|
2883
|
+
"path" : "Resource.language",
|
|
2884
|
+
"min" : 0,
|
|
2885
|
+
"max" : "1"
|
|
2886
|
+
},
|
|
2887
|
+
"type" : [{
|
|
2888
|
+
"code" : "code"
|
|
2889
|
+
}]
|
|
2890
|
+
},
|
|
2891
|
+
{
|
|
2892
|
+
"id" : "AsyncJob.status",
|
|
2893
|
+
"path" : "AsyncJob.status",
|
|
2894
|
+
"short" : "accepted | error | completed",
|
|
2895
|
+
"definition" : "The status of the request.",
|
|
2896
|
+
"min" : 1,
|
|
2897
|
+
"max" : "1",
|
|
2898
|
+
"base" : {
|
|
2899
|
+
"path" : "ServiceRequest.status",
|
|
2900
|
+
"min" : 1,
|
|
2901
|
+
"max" : "1"
|
|
2902
|
+
},
|
|
2903
|
+
"type" : [{
|
|
2904
|
+
"code" : "code"
|
|
2905
|
+
}]
|
|
2906
|
+
},
|
|
2907
|
+
{
|
|
2908
|
+
"id" : "AsyncJob.requestTime",
|
|
2909
|
+
"path" : "AsyncJob.requestTime",
|
|
2910
|
+
"definition" : "Indicates the server's time when the query is requested.",
|
|
2911
|
+
"min" : 1,
|
|
2912
|
+
"max" : "1",
|
|
2913
|
+
"type" : [{
|
|
2914
|
+
"code" : "instant"
|
|
2915
|
+
}]
|
|
2916
|
+
},
|
|
2917
|
+
{
|
|
2918
|
+
"id" : "AsyncJob.transactionTime",
|
|
2919
|
+
"path" : "AsyncJob.transactionTime",
|
|
2920
|
+
"definition" : "Indicates the server's time when the query is run. The response SHOULD NOT include any resources modified after this instant, and SHALL include any matching resources modified up to and including this instant.",
|
|
2921
|
+
"min" : 0,
|
|
2922
|
+
"max" : "1",
|
|
2923
|
+
"type" : [{
|
|
2924
|
+
"code" : "instant"
|
|
2925
|
+
}]
|
|
2926
|
+
},
|
|
2927
|
+
{
|
|
2928
|
+
"id" : "AsyncJob.request",
|
|
2929
|
+
"path" : "AsyncJob.request",
|
|
2930
|
+
"definition" : "The full URL of the original kick-off request. In the case of a POST request, this URL will not include the request parameters.",
|
|
2931
|
+
"min" : 1,
|
|
2932
|
+
"max" : "1",
|
|
2933
|
+
"type" : [{
|
|
2934
|
+
"code" : "uri"
|
|
2935
|
+
}]
|
|
2936
|
+
}
|
|
2937
|
+
]
|
|
2938
|
+
}
|
|
2939
|
+
}
|
|
2806
2940
|
}]
|
|
2807
2941
|
}
|
package/package.json
CHANGED
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,2BAAkC;AAClC,+BAA+B;AAE/B,SAAgB,QAAQ,CAAC,QAAgB;IACvC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAA,iBAAY,EAAC,IAAA,cAAO,EAAC,SAAS,EAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;AACxE,CAAC;AAFD,4BAEC","sourcesContent":["import { readFileSync } from 'fs';\nimport { resolve } from 'path';\n\nexport function readJson(filename: string): any {\n return JSON.parse(readFileSync(resolve(__dirname, filename), 'utf8'));\n}\n"]}
|