@medplum/definitions 5.1.2 → 5.1.4

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.
@@ -4977,6 +4977,21 @@
4977
4977
  "min" : 0,
4978
4978
  "max" : "1"
4979
4979
  }
4980
+ },
4981
+ {
4982
+ "id" : "SmartAppLaunch.fhirContext",
4983
+ "path" : "SmartAppLaunch.fhirContext",
4984
+ "definition" : "Optional FHIR context indicating the resources that were included when the app was launched.",
4985
+ "min" : 0,
4986
+ "max" : "*",
4987
+ "type" : [{
4988
+ "code" : "Reference"
4989
+ }],
4990
+ "base" : {
4991
+ "path" : "SmartAppLaunch.fhirContext",
4992
+ "min" : 0,
4993
+ "max" : "*"
4994
+ }
4980
4995
  }
4981
4996
  ]
4982
4997
  }
@@ -5164,6 +5179,21 @@
5164
5179
  "min" : 0,
5165
5180
  "max" : "1"
5166
5181
  }
5182
+ },
5183
+ {
5184
+ "id" : "DomainConfiguration.allowedPostLoginRedirectUrls",
5185
+ "path" : "DomainConfiguration.allowedPostLoginRedirectUrls",
5186
+ "definition" : "List of allowed post-login redirect URLs for this domain configuration.",
5187
+ "min" : 0,
5188
+ "max" : "*",
5189
+ "type" : [{
5190
+ "code" : "uri"
5191
+ }],
5192
+ "base" : {
5193
+ "path" : "DomainConfiguration.allowedPostLoginRedirectUrls",
5194
+ "min" : 0,
5195
+ "max" : "*"
5196
+ }
5167
5197
  }
5168
5198
  ]
5169
5199
  }
@@ -7751,5 +7781,767 @@
7751
7781
  }]
7752
7782
  }
7753
7783
  }
7784
+ },
7785
+ {
7786
+ "fullUrl" : "https://medplum.com/fhir/StructureDefinition/Package",
7787
+ "resource" : {
7788
+ "resourceType" : "StructureDefinition",
7789
+ "id" : "Package",
7790
+ "name" : "Package",
7791
+ "url" : "https://medplum.com/fhir/StructureDefinition/Package",
7792
+ "status" : "active",
7793
+ "kind" : "resource",
7794
+ "abstract" : false,
7795
+ "type" : "Package",
7796
+ "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/DomainResource",
7797
+ "description" : "Definition of a marketplace package, which represents a set of automated actions that can be taken by a system, such as a subscription or a workflow.",
7798
+ "snapshot" : {
7799
+ "element" : [
7800
+ {
7801
+ "id" : "Package",
7802
+ "path" : "Package",
7803
+ "short" : "Definition of a marketplace package.",
7804
+ "definition" : "Definition of a marketplace package, which represents a set of automated actions that can be taken by a system, such as a subscription or a workflow.",
7805
+ "min" : 0,
7806
+ "max" : "*",
7807
+ "base" : {
7808
+ "path" : "Package",
7809
+ "min" : 0,
7810
+ "max" : "*"
7811
+ }
7812
+ },
7813
+ {
7814
+ "id" : "Package.id",
7815
+ "path" : "Package.id",
7816
+ "short" : "Logical id of this artifact",
7817
+ "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
7818
+ "min" : 0,
7819
+ "max" : "1",
7820
+ "base" : {
7821
+ "path" : "Resource.id",
7822
+ "min" : 0,
7823
+ "max" : "1"
7824
+ },
7825
+ "type" : [{
7826
+ "code" : "string"
7827
+ }]
7828
+ },
7829
+ {
7830
+ "id" : "Package.meta",
7831
+ "path" : "Package.meta",
7832
+ "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.",
7833
+ "min" : 0,
7834
+ "max" : "1",
7835
+ "base" : {
7836
+ "path" : "Resource.meta",
7837
+ "min" : 0,
7838
+ "max" : "1"
7839
+ },
7840
+ "type" : [{
7841
+ "code" : "Meta"
7842
+ }]
7843
+ },
7844
+ {
7845
+ "id" : "Package.implicitRules",
7846
+ "path" : "Package.implicitRules",
7847
+ "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.",
7848
+ "min" : 0,
7849
+ "max" : "1",
7850
+ "base" : {
7851
+ "path" : "Resource.implicitRules",
7852
+ "min" : 0,
7853
+ "max" : "1"
7854
+ },
7855
+ "type" : [{
7856
+ "code" : "uri"
7857
+ }]
7858
+ },
7859
+ {
7860
+ "id" : "Package.language",
7861
+ "path" : "Package.language",
7862
+ "definition" : "The base language in which the resource is written.",
7863
+ "min" : 0,
7864
+ "max" : "1",
7865
+ "base" : {
7866
+ "path" : "Resource.language",
7867
+ "min" : 0,
7868
+ "max" : "1"
7869
+ },
7870
+ "type" : [{
7871
+ "code" : "code"
7872
+ }]
7873
+ },
7874
+ {
7875
+ "id" : "Package.text",
7876
+ "path" : "Package.text",
7877
+ "short" : "Text summary of the resource, for human interpretation",
7878
+ "definition" : "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
7879
+ "min" : 0,
7880
+ "max" : "1",
7881
+ "base" : {
7882
+ "path" : "DomainResource.text",
7883
+ "min" : 0,
7884
+ "max" : "1"
7885
+ },
7886
+ "type" : [{
7887
+ "code" : "Narrative"
7888
+ }]
7889
+ },
7890
+ {
7891
+ "id" : "Package.contained",
7892
+ "path" : "Package.contained",
7893
+ "short" : "Contained, inline Resources",
7894
+ "definition" : "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
7895
+ "min" : 0,
7896
+ "max" : "*",
7897
+ "base" : {
7898
+ "path" : "DomainResource.contained",
7899
+ "min" : 0,
7900
+ "max" : "*"
7901
+ },
7902
+ "type" : [{
7903
+ "code" : "Resource"
7904
+ }]
7905
+ },
7906
+ {
7907
+ "id" : "Package.extension",
7908
+ "path" : "Package.extension",
7909
+ "short" : "Additional content defined by implementations",
7910
+ "definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
7911
+ "min" : 0,
7912
+ "max" : "*",
7913
+ "base" : {
7914
+ "path" : "DomainResource.extension",
7915
+ "min" : 0,
7916
+ "max" : "*"
7917
+ },
7918
+ "type" : [{
7919
+ "code" : "Extension"
7920
+ }]
7921
+ },
7922
+ {
7923
+ "id" : "Package.modifierExtension",
7924
+ "path" : "Package.modifierExtension",
7925
+ "short" : "Extensions that cannot be ignored",
7926
+ "definition" : "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
7927
+ "min" : 0,
7928
+ "max" : "*",
7929
+ "base" : {
7930
+ "path" : "DomainResource.modifierExtension",
7931
+ "min" : 0,
7932
+ "max" : "*"
7933
+ },
7934
+ "type" : [{
7935
+ "code" : "Extension"
7936
+ }]
7937
+ },
7938
+ {
7939
+ "id" : "Package.identifier",
7940
+ "path" : "Package.identifier",
7941
+ "short" : "An identifier for this package",
7942
+ "definition" : "An identifier for this package.",
7943
+ "min" : 0,
7944
+ "max" : "*",
7945
+ "type" : [{
7946
+ "code" : "Identifier"
7947
+ }],
7948
+ "base" : {
7949
+ "path" : "Package.identifier",
7950
+ "min" : 0,
7951
+ "max" : "*"
7952
+ }
7953
+ },
7954
+ {
7955
+ "id" : "Package.status",
7956
+ "path" : "Package.status",
7957
+ "definition" : "The status of the package.",
7958
+ "min" : 1,
7959
+ "max" : "1",
7960
+ "type" : [{
7961
+ "code" : "code"
7962
+ }],
7963
+ "base" : {
7964
+ "path" : "Package.status",
7965
+ "min" : 1,
7966
+ "max" : "1"
7967
+ },
7968
+ "binding" : {
7969
+ "strength" : "required",
7970
+ "valueSet" : "https://medplum.com/fhir/ValueSet/package-status|4.0.1"
7971
+ }
7972
+ },
7973
+ {
7974
+ "id" : "Package.name",
7975
+ "path" : "Package.name",
7976
+ "definition" : "A name associated with the Package.",
7977
+ "min" : 1,
7978
+ "max" : "1",
7979
+ "type" : [{
7980
+ "code" : "string"
7981
+ }],
7982
+ "base" : {
7983
+ "path" : "Package.name",
7984
+ "min" : 1,
7985
+ "max" : "1"
7986
+ }
7987
+ },
7988
+ {
7989
+ "id" : "Package.description",
7990
+ "path" : "Package.description",
7991
+ "definition" : "A summary, characterization or explanation of the Package.",
7992
+ "min" : 0,
7993
+ "max" : "1",
7994
+ "type" : [{
7995
+ "code" : "markdown"
7996
+ }],
7997
+ "base" : {
7998
+ "path" : "Package.description",
7999
+ "min" : 0,
8000
+ "max" : "1"
8001
+ }
8002
+ },
8003
+ {
8004
+ "id" : "Package.category",
8005
+ "path" : "Package.category",
8006
+ "short" : "Classification of service",
8007
+ "definition" : "A code that classifies the service for searching, sorting and display purposes (e.g. \"Surgical Procedure\").",
8008
+ "comment" : "There may be multiple axis of categorization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.",
8009
+ "min" : 0,
8010
+ "max" : "*",
8011
+ "type" : [{
8012
+ "code" : "CodeableConcept"
8013
+ }],
8014
+ "base" : {
8015
+ "path" : "Package.category",
8016
+ "min" : 0,
8017
+ "max" : "*"
8018
+ }
8019
+ },
8020
+ {
8021
+ "id" : "Package.author",
8022
+ "path" : "Package.author",
8023
+ "definition" : "Reference to the resource that represents the author of the package.",
8024
+ "min" : 1,
8025
+ "max" : "1",
8026
+ "type" : [{
8027
+ "code" : "Reference",
8028
+ "targetProfile" : [
8029
+ "http://hl7.org/fhir/StructureDefinition/Organization",
8030
+ "http://hl7.org/fhir/StructureDefinition/Practitioner"]
8031
+ }],
8032
+ "base": {
8033
+ "path" : "Package.author",
8034
+ "min" : 1,
8035
+ "max" : "1"
8036
+ }
8037
+ }
8038
+ ]
8039
+ }
8040
+ }
8041
+ },
8042
+ {
8043
+ "fullUrl" : "https://medplum.com/fhir/StructureDefinition/PackageRelease",
8044
+ "resource" : {
8045
+ "resourceType" : "StructureDefinition",
8046
+ "id" : "PackageRelease",
8047
+ "name" : "PackageRelease",
8048
+ "url" : "https://medplum.com/fhir/StructureDefinition/PackageRelease",
8049
+ "status" : "active",
8050
+ "kind" : "resource",
8051
+ "abstract" : false,
8052
+ "type" : "PackageRelease",
8053
+ "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/DomainResource",
8054
+ "description" : "Definition of a marketplace package release, which represents a specific release of a package that can be installed and used by a system.",
8055
+ "snapshot" : {
8056
+ "element" : [
8057
+ {
8058
+ "id" : "PackageRelease",
8059
+ "path" : "PackageRelease",
8060
+ "short" : "Definition of a marketplace package release.",
8061
+ "definition" : "Definition of a marketplace package release, which represents a specific release of a package that can be installed and used by a system.",
8062
+ "min" : 0,
8063
+ "max" : "*",
8064
+ "base" : {
8065
+ "path" : "PackageRelease",
8066
+ "min" : 0,
8067
+ "max" : "*"
8068
+ }
8069
+ },
8070
+ {
8071
+ "id" : "PackageRelease.id",
8072
+ "path" : "PackageRelease.id",
8073
+ "short" : "Logical id of this artifact",
8074
+ "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
8075
+ "min" : 0,
8076
+ "max" : "1",
8077
+ "base" : {
8078
+ "path" : "Resource.id",
8079
+ "min" : 0,
8080
+ "max" : "1"
8081
+ },
8082
+ "type" : [{
8083
+ "code" : "string"
8084
+ }]
8085
+ },
8086
+ {
8087
+ "id" : "PackageRelease.meta",
8088
+ "path" : "PackageRelease.meta",
8089
+ "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.",
8090
+ "min" : 0,
8091
+ "max" : "1",
8092
+ "base" : {
8093
+ "path" : "Resource.meta",
8094
+ "min" : 0,
8095
+ "max" : "1"
8096
+ },
8097
+ "type" : [{
8098
+ "code" : "Meta"
8099
+ }]
8100
+ },
8101
+ {
8102
+ "id" : "PackageRelease.implicitRules",
8103
+ "path" : "PackageRelease.implicitRules",
8104
+ "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.",
8105
+ "min" : 0,
8106
+ "max" : "1",
8107
+ "base" : {
8108
+ "path" : "Resource.implicitRules",
8109
+ "min" : 0,
8110
+ "max" : "1"
8111
+ },
8112
+ "type" : [{
8113
+ "code" : "uri"
8114
+ }]
8115
+ },
8116
+ {
8117
+ "id" : "PackageRelease.language",
8118
+ "path" : "PackageRelease.language",
8119
+ "definition" : "The base language in which the resource is written.",
8120
+ "min" : 0,
8121
+ "max" : "1",
8122
+ "base" : {
8123
+ "path" : "Resource.language",
8124
+ "min" : 0,
8125
+ "max" : "1"
8126
+ },
8127
+ "type" : [{
8128
+ "code" : "code"
8129
+ }]
8130
+ },
8131
+ {
8132
+ "id" : "PackageRelease.text",
8133
+ "path" : "PackageRelease.text",
8134
+ "short" : "Text summary of the resource, for human interpretation",
8135
+ "definition" : "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
8136
+ "min" : 0,
8137
+ "max" : "1",
8138
+ "base" : {
8139
+ "path" : "DomainResource.text",
8140
+ "min" : 0,
8141
+ "max" : "1"
8142
+ },
8143
+ "type" : [{
8144
+ "code" : "Narrative"
8145
+ }]
8146
+ },
8147
+ {
8148
+ "id" : "PackageRelease.contained",
8149
+ "path" : "PackageRelease.contained",
8150
+ "short" : "Contained, inline Resources",
8151
+ "definition" : "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
8152
+ "min" : 0,
8153
+ "max" : "*",
8154
+ "base" : {
8155
+ "path" : "DomainResource.contained",
8156
+ "min" : 0,
8157
+ "max" : "*"
8158
+ },
8159
+ "type" : [{
8160
+ "code" : "Resource"
8161
+ }]
8162
+ },
8163
+ {
8164
+ "id" : "PackageRelease.extension",
8165
+ "path" : "PackageRelease.extension",
8166
+ "short" : "Additional content defined by implementations",
8167
+ "definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
8168
+ "min" : 0,
8169
+ "max" : "*",
8170
+ "base" : {
8171
+ "path" : "DomainResource.extension",
8172
+ "min" : 0,
8173
+ "max" : "*"
8174
+ },
8175
+ "type" : [{
8176
+ "code" : "Extension"
8177
+ }]
8178
+ },
8179
+ {
8180
+ "id" : "PackageRelease.modifierExtension",
8181
+ "path" : "PackageRelease.modifierExtension",
8182
+ "short" : "Extensions that cannot be ignored",
8183
+ "definition" : "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
8184
+ "min" : 0,
8185
+ "max" : "*",
8186
+ "base" : {
8187
+ "path" : "DomainResource.modifierExtension",
8188
+ "min" : 0,
8189
+ "max" : "*"
8190
+ },
8191
+ "type" : [{
8192
+ "code" : "Extension"
8193
+ }]
8194
+ },
8195
+ {
8196
+ "id" : "PackageRelease.identifier",
8197
+ "path" : "PackageRelease.identifier",
8198
+ "short" : "An identifier for this package release",
8199
+ "definition" : "An identifier for this package release.",
8200
+ "min" : 0,
8201
+ "max" : "*",
8202
+ "type" : [{
8203
+ "code" : "Identifier"
8204
+ }],
8205
+ "base" : {
8206
+ "path" : "PackageRelease.identifier",
8207
+ "min" : 0,
8208
+ "max" : "*"
8209
+ }
8210
+ },
8211
+ {
8212
+ "id" : "PackageRelease.package",
8213
+ "path" : "PackageRelease.package",
8214
+ "definition" : "The Package of this release.",
8215
+ "min" : 1,
8216
+ "max" : "1",
8217
+ "type" : [{
8218
+ "code" : "Reference",
8219
+ "targetProfile" : ["https://medplum.com/fhir/StructureDefinition/Package"]
8220
+ }],
8221
+ "base" : {
8222
+ "path" : "PackageRelease.package",
8223
+ "min" : 1,
8224
+ "max" : "1"
8225
+ }
8226
+ },
8227
+ {
8228
+ "id" : "PackageRelease.version",
8229
+ "path" : "PackageRelease.version",
8230
+ "definition" : "The version of the PackageRelease.",
8231
+ "min" : 1,
8232
+ "max" : "1",
8233
+ "type" : [{
8234
+ "code" : "string"
8235
+ }],
8236
+ "base" : {
8237
+ "path" : "PackageRelease.version",
8238
+ "min" : 1,
8239
+ "max" : "1"
8240
+ },
8241
+ "constraint" : [{
8242
+ "key": "package-release-version-semver",
8243
+ "severity": "error",
8244
+ "human": "Version must be in semantic versioning format (x.y.z)",
8245
+ "expression": "matches('^(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)(-[0-9A-Za-z-]+(\\\\.[0-9A-Za-z-]+)*)?(\\\\+[0-9A-Za-z-]+(\\\\.[0-9A-Za-z-]+)*)?$')"
8246
+ }]
8247
+ },
8248
+ {
8249
+ "id" : "PackageRelease.description",
8250
+ "path" : "PackageRelease.description",
8251
+ "definition" : "A summary, characterization or explanation of the PackageRelease.",
8252
+ "min" : 0,
8253
+ "max" : "1",
8254
+ "type" : [{
8255
+ "code" : "markdown"
8256
+ }],
8257
+ "base" : {
8258
+ "path" : "PackageRelease.description",
8259
+ "min" : 0,
8260
+ "max" : "1"
8261
+ }
8262
+ },
8263
+ {
8264
+ "id" : "PackageRelease.content",
8265
+ "path" : "PackageRelease.content",
8266
+ "definition" : "The actual content of the package release.",
8267
+ "min" : 1,
8268
+ "max" : "1",
8269
+ "base" : {
8270
+ "path" : "PackageRelease.content",
8271
+ "min" : 1,
8272
+ "max" : "1"
8273
+ },
8274
+ "type" : [{
8275
+ "code" : "Attachment"
8276
+ }]
8277
+ }
8278
+ ]
8279
+ }
8280
+ }
8281
+ },
8282
+ {
8283
+ "fullUrl" : "https://medplum.com/fhir/StructureDefinition/PackageInstallation",
8284
+ "resource" : {
8285
+ "resourceType" : "StructureDefinition",
8286
+ "id" : "PackageInstallation",
8287
+ "name" : "PackageInstallation",
8288
+ "url" : "https://medplum.com/fhir/StructureDefinition/PackageInstallation",
8289
+ "status" : "active",
8290
+ "kind" : "resource",
8291
+ "abstract" : false,
8292
+ "type" : "PackageInstallation",
8293
+ "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/DomainResource",
8294
+ "description" : "Definition of a marketplace package installation, which represents the installation of a specific package release in a system.",
8295
+ "snapshot" : {
8296
+ "element" : [
8297
+ {
8298
+ "id" : "PackageInstallation",
8299
+ "path" : "PackageInstallation",
8300
+ "short" : "Definition of a marketplace package installation.",
8301
+ "definition" : "Definition of a marketplace package installation, which represents the installation of a specific package release in a system.",
8302
+ "min" : 0,
8303
+ "max" : "*",
8304
+ "base" : {
8305
+ "path" : "PackageInstallation",
8306
+ "min" : 0,
8307
+ "max" : "*"
8308
+ }
8309
+ },
8310
+ {
8311
+ "id" : "PackageInstallation.id",
8312
+ "path" : "PackageInstallation.id",
8313
+ "short" : "Logical id of this artifact",
8314
+ "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
8315
+ "min" : 0,
8316
+ "max" : "1",
8317
+ "base" : {
8318
+ "path" : "Resource.id",
8319
+ "min" : 0,
8320
+ "max" : "1"
8321
+ },
8322
+ "type" : [{
8323
+ "code" : "string"
8324
+ }]
8325
+ },
8326
+ {
8327
+ "id" : "PackageInstallation.meta",
8328
+ "path" : "PackageInstallation.meta",
8329
+ "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.",
8330
+ "min" : 0,
8331
+ "max" : "1",
8332
+ "base" : {
8333
+ "path" : "Resource.meta",
8334
+ "min" : 0,
8335
+ "max" : "1"
8336
+ },
8337
+ "type" : [{
8338
+ "code" : "Meta"
8339
+ }]
8340
+ },
8341
+ {
8342
+ "id" : "PackageInstallation.implicitRules",
8343
+ "path" : "PackageInstallation.implicitRules",
8344
+ "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.",
8345
+ "min" : 0,
8346
+ "max" : "1",
8347
+ "base" : {
8348
+ "path" : "Resource.implicitRules",
8349
+ "min" : 0,
8350
+ "max" : "1"
8351
+ },
8352
+ "type" : [{
8353
+ "code" : "uri"
8354
+ }]
8355
+ },
8356
+ {
8357
+ "id" : "PackageInstallation.language",
8358
+ "path" : "PackageInstallation.language",
8359
+ "definition" : "The base language in which the resource is written.",
8360
+ "min" : 0,
8361
+ "max" : "1",
8362
+ "base" : {
8363
+ "path" : "Resource.language",
8364
+ "min" : 0,
8365
+ "max" : "1"
8366
+ },
8367
+ "type" : [{
8368
+ "code" : "code"
8369
+ }]
8370
+ },
8371
+ {
8372
+ "id" : "PackageInstallation.text",
8373
+ "path" : "PackageInstallation.text",
8374
+ "short" : "Text summary of the resource, for human interpretation",
8375
+ "definition" : "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
8376
+ "min" : 0,
8377
+ "max" : "1",
8378
+ "base" : {
8379
+ "path" : "DomainResource.text",
8380
+ "min" : 0,
8381
+ "max" : "1"
8382
+ },
8383
+ "type" : [{
8384
+ "code" : "Narrative"
8385
+ }]
8386
+ },
8387
+ {
8388
+ "id" : "PackageInstallation.contained",
8389
+ "path" : "PackageInstallation.contained",
8390
+ "short" : "Contained, inline Resources",
8391
+ "definition" : "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
8392
+ "min" : 0,
8393
+ "max" : "*",
8394
+ "base" : {
8395
+ "path" : "DomainResource.contained",
8396
+ "min" : 0,
8397
+ "max" : "*"
8398
+ },
8399
+ "type" : [{
8400
+ "code" : "Resource"
8401
+ }]
8402
+ },
8403
+ {
8404
+ "id" : "PackageInstallation.extension",
8405
+ "path" : "PackageInstallation.extension",
8406
+ "short" : "Additional content defined by implementations",
8407
+ "definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
8408
+ "min" : 0,
8409
+ "max" : "*",
8410
+ "base" : {
8411
+ "path" : "DomainResource.extension",
8412
+ "min" : 0,
8413
+ "max" : "*"
8414
+ },
8415
+ "type" : [{
8416
+ "code" : "Extension"
8417
+ }]
8418
+ },
8419
+ {
8420
+ "id" : "PackageInstallation.modifierExtension",
8421
+ "path" : "PackageInstallation.modifierExtension",
8422
+ "short" : "Extensions that cannot be ignored",
8423
+ "definition" : "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
8424
+ "min" : 0,
8425
+ "max" : "*",
8426
+ "base" : {
8427
+ "path" : "DomainResource.modifierExtension",
8428
+ "min" : 0,
8429
+ "max" : "*"
8430
+ },
8431
+ "type" : [{
8432
+ "code" : "Extension"
8433
+ }]
8434
+ },
8435
+ {
8436
+ "id" : "PackageInstallation.identifier",
8437
+ "path" : "PackageInstallation.identifier",
8438
+ "short" : "An identifier for this package installation",
8439
+ "definition" : "An identifier for this package installation.",
8440
+ "min" : 0,
8441
+ "max" : "*",
8442
+ "type" : [{
8443
+ "code" : "Identifier"
8444
+ }],
8445
+ "base" : {
8446
+ "path" : "PackageInstallation.identifier",
8447
+ "min" : 0,
8448
+ "max" : "*"
8449
+ }
8450
+ },
8451
+ {
8452
+ "id" : "PackageInstallation.package",
8453
+ "path" : "PackageInstallation.package",
8454
+ "definition" : "The Package of this installation.",
8455
+ "min" : 1,
8456
+ "max" : "1",
8457
+ "type" : [{
8458
+ "code" : "Reference",
8459
+ "targetProfile" : ["https://medplum.com/fhir/StructureDefinition/Package"]
8460
+ }],
8461
+ "base" : {
8462
+ "path" : "PackageInstallation.package",
8463
+ "min" : 1,
8464
+ "max" : "1"
8465
+ }
8466
+ },
8467
+ {
8468
+ "id" : "PackageInstallation.packageRelease",
8469
+ "path" : "PackageInstallation.packageRelease",
8470
+ "definition" : "The PackageRelease of this installation.",
8471
+ "min" : 1,
8472
+ "max" : "1",
8473
+ "type" : [{
8474
+ "code" : "Reference",
8475
+ "targetProfile" : ["https://medplum.com/fhir/StructureDefinition/PackageRelease"]
8476
+ }],
8477
+ "base" : {
8478
+ "path" : "PackageInstallation.packageRelease",
8479
+ "min" : 1,
8480
+ "max" : "1"
8481
+ }
8482
+ },
8483
+ {
8484
+ "id" : "PackageInstallation.version",
8485
+ "path" : "PackageInstallation.version",
8486
+ "definition" : "The version of the PackageInstallation.",
8487
+ "min" : 1,
8488
+ "max" : "1",
8489
+ "type" : [{
8490
+ "code" : "string"
8491
+ }],
8492
+ "base" : {
8493
+ "path" : "PackageInstallation.version",
8494
+ "min" : 1,
8495
+ "max" : "1"
8496
+ },
8497
+ "constraint" : [{
8498
+ "key": "package-installation-version-semver",
8499
+ "severity": "error",
8500
+ "human": "Version must be in semantic versioning format (x.y.z)",
8501
+ "expression": "matches('^(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)(-[0-9A-Za-z-]+(\\\\.[0-9A-Za-z-]+)*)?(\\\\+[0-9A-Za-z-]+(\\\\.[0-9A-Za-z-]+)*)?$')"
8502
+ }]
8503
+ },
8504
+ {
8505
+ "id" : "PackageInstallation.status",
8506
+ "path" : "PackageInstallation.status",
8507
+ "definition" : "The status of the package installation.",
8508
+ "min" : 1,
8509
+ "max" : "1",
8510
+ "type" : [{
8511
+ "code" : "code"
8512
+ }],
8513
+ "base" : {
8514
+ "path" : "PackageInstallation.status",
8515
+ "min" : 1,
8516
+ "max" : "1"
8517
+ },
8518
+ "binding" : {
8519
+ "strength" : "required",
8520
+ "valueSet" : "https://medplum.com/fhir/ValueSet/package-installation-status|4.0.1"
8521
+ }
8522
+ },
8523
+ {
8524
+ "id" : "PackageInstallation.installedBy",
8525
+ "path" : "PackageInstallation.installedBy",
8526
+ "definition" : "Reference to the resource that represents the installer of the package.",
8527
+ "min" : 1,
8528
+ "max" : "1",
8529
+ "type" : [{
8530
+ "code" : "Reference",
8531
+ "targetProfile" : ["https://medplum.com/fhir/StructureDefinition/Bot",
8532
+ "https://medplum.com/fhir/StructureDefinition/ClientApplication",
8533
+ "http://hl7.org/fhir/StructureDefinition/Patient",
8534
+ "http://hl7.org/fhir/StructureDefinition/Practitioner",
8535
+ "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
8536
+ }],
8537
+ "base": {
8538
+ "path" : "PackageInstallation.installedBy",
8539
+ "min" : 1,
8540
+ "max" : "1"
8541
+ }
8542
+ }
8543
+ ]
8544
+ }
8545
+ }
7754
8546
  }]
7755
8547
  }
@@ -1717,6 +1717,144 @@
1717
1717
  "type": "token",
1718
1718
  "expression": "ProjectMembership.active"
1719
1719
  }
1720
+ },
1721
+ {
1722
+ "fullUrl": "https://medplum.com/fhir/SearchParameter/Package-name",
1723
+ "resource": {
1724
+ "resourceType": "SearchParameter",
1725
+ "id": "Package-name",
1726
+ "url": "https://medplum.com/fhir/SearchParameter/Package-name",
1727
+ "version": "4.0.1",
1728
+ "name": "name",
1729
+ "status": "draft",
1730
+ "publisher": "Medplum",
1731
+ "description": "The name of the package",
1732
+ "code": "name",
1733
+ "base": ["Package"],
1734
+ "type": "string",
1735
+ "expression": "Package.name"
1736
+ }
1737
+ },
1738
+ {
1739
+ "fullUrl": "https://medplum.com/fhir/SearchParameter/Package-status",
1740
+ "resource": {
1741
+ "resourceType": "SearchParameter",
1742
+ "id": "Package-status",
1743
+ "url": "https://medplum.com/fhir/SearchParameter/Package-status",
1744
+ "version": "4.0.1",
1745
+ "name": "status",
1746
+ "status": "draft",
1747
+ "publisher": "Medplum",
1748
+ "description": "The status of the package",
1749
+ "code": "status",
1750
+ "base": ["Package"],
1751
+ "type": "token",
1752
+ "expression": "Package.status"
1753
+ }
1754
+ },
1755
+ {
1756
+ "fullUrl": "https://medplum.com/fhir/SearchParameter/Package-category",
1757
+ "resource": {
1758
+ "resourceType": "SearchParameter",
1759
+ "id": "Package-category",
1760
+ "url": "https://medplum.com/fhir/SearchParameter/Package-category",
1761
+ "version": "4.0.1",
1762
+ "name": "category",
1763
+ "status": "draft",
1764
+ "publisher": "Medplum",
1765
+ "description": "The category of the package",
1766
+ "code": "category",
1767
+ "base": ["Package"],
1768
+ "type": "token",
1769
+ "expression": "Package.category"
1770
+ }
1771
+ },
1772
+ {
1773
+ "fullUrl": "https://medplum.com/fhir/SearchParameter/PackageRelease-package",
1774
+ "resource": {
1775
+ "resourceType": "SearchParameter",
1776
+ "id": "PackageRelease-package",
1777
+ "url": "https://medplum.com/fhir/SearchParameter/PackageRelease-package",
1778
+ "version": "4.0.1",
1779
+ "name": "package",
1780
+ "status": "draft",
1781
+ "publisher": "Medplum",
1782
+ "description": "The Package of the package release",
1783
+ "code": "package",
1784
+ "base": ["PackageRelease"],
1785
+ "type": "reference",
1786
+ "expression": "PackageRelease.package",
1787
+ "target": ["Package"]
1788
+ }
1789
+ },
1790
+ {
1791
+ "fullUrl": "https://medplum.com/fhir/SearchParameter/PackageRelease-version",
1792
+ "resource": {
1793
+ "resourceType": "SearchParameter",
1794
+ "id": "PackageRelease-version",
1795
+ "url": "https://medplum.com/fhir/SearchParameter/PackageRelease-version",
1796
+ "version": "4.0.1",
1797
+ "name": "version",
1798
+ "status": "draft",
1799
+ "publisher": "Medplum",
1800
+ "description": "The version of the package release",
1801
+ "code": "version",
1802
+ "base": ["PackageRelease"],
1803
+ "type": "token",
1804
+ "expression": "PackageRelease.version"
1805
+ }
1806
+ },
1807
+ {
1808
+ "fullUrl": "https://medplum.com/fhir/SearchParameter/PackageInstallation-package",
1809
+ "resource": {
1810
+ "resourceType": "SearchParameter",
1811
+ "id": "PackageInstallation-package",
1812
+ "url": "https://medplum.com/fhir/SearchParameter/PackageInstallation-package",
1813
+ "version": "4.0.1",
1814
+ "name": "package",
1815
+ "status": "draft",
1816
+ "publisher": "Medplum",
1817
+ "description": "The Package of the package installation",
1818
+ "code": "package",
1819
+ "base": ["PackageInstallation"],
1820
+ "type": "reference",
1821
+ "expression": "PackageInstallation.package",
1822
+ "target": ["Package"]
1823
+ }
1824
+ },
1825
+ {
1826
+ "fullUrl": "https://medplum.com/fhir/SearchParameter/PackageInstallation-status",
1827
+ "resource": {
1828
+ "resourceType": "SearchParameter",
1829
+ "id": "PackageInstallation-status",
1830
+ "url": "https://medplum.com/fhir/SearchParameter/PackageInstallation-status",
1831
+ "version": "4.0.1",
1832
+ "name": "status",
1833
+ "status": "draft",
1834
+ "publisher": "Medplum",
1835
+ "description": "The status of the package installation",
1836
+ "code": "status",
1837
+ "base": ["PackageInstallation"],
1838
+ "type": "token",
1839
+ "expression": "PackageInstallation.status"
1840
+ }
1841
+ },
1842
+ {
1843
+ "fullUrl": "https://medplum.com/fhir/SearchParameter/PackageInstallation-version",
1844
+ "resource": {
1845
+ "resourceType": "SearchParameter",
1846
+ "id": "PackageInstallation-version",
1847
+ "url": "https://medplum.com/fhir/SearchParameter/PackageInstallation-version",
1848
+ "version": "4.0.1",
1849
+ "name": "version",
1850
+ "status": "draft",
1851
+ "publisher": "Medplum",
1852
+ "description": "The version of the package installation",
1853
+ "code": "version",
1854
+ "base": ["PackageInstallation"],
1855
+ "type": "token",
1856
+ "expression": "PackageInstallation.version"
1857
+ }
1720
1858
  }
1721
1859
  ]
1722
1860
  }
@@ -3652,6 +3652,99 @@
3652
3652
  ]
3653
3653
  }
3654
3654
  }
3655
+ },
3656
+ {
3657
+ "fullUrl": "https://medplum.com/fhir/CodeSystem/package-status",
3658
+ "resource": {
3659
+ "resourceType": "CodeSystem",
3660
+ "id": "package-status",
3661
+ "url": "https://medplum.com/fhir/CodeSystem/package-status",
3662
+ "status": "active",
3663
+ "valueSet": "https://medplum.com/fhir/ValueSet/package-status",
3664
+ "content": "complete",
3665
+ "concept": [
3666
+ {
3667
+ "code": "pending",
3668
+ "display": "Pending",
3669
+ "definition": "The package is pending system review and cannot be installed"
3670
+ },
3671
+ {
3672
+ "code": "active",
3673
+ "display": "Active",
3674
+ "definition": "The package is active and can be installed"
3675
+ },
3676
+ {
3677
+ "code": "end-of-life",
3678
+ "display": "End of Life",
3679
+ "definition": "The package is no longer supported and cannot be installed"
3680
+ }
3681
+ ]
3682
+ }
3683
+ },
3684
+ {
3685
+ "fullUrl": "https://medplum.com/fhir/ValueSet/package-status",
3686
+ "resource": {
3687
+ "resourceType": "ValueSet",
3688
+ "id": "package-status",
3689
+ "url": "https://medplum.com/fhir/ValueSet/package-status",
3690
+ "status": "active",
3691
+ "compose": {
3692
+ "include": [
3693
+ {
3694
+ "system": "https://medplum.com/fhir/CodeSystem/package-status"
3695
+ }
3696
+ ]
3697
+ }
3698
+ }
3699
+ },
3700
+ {
3701
+ "fullUrl": "https://medplum.com/fhir/CodeSystem/package-installation-status",
3702
+ "resource": {
3703
+ "resourceType": "CodeSystem",
3704
+ "id": "package-installation-status",
3705
+ "url": "https://medplum.com/fhir/CodeSystem/package-installation-status",
3706
+ "status": "active",
3707
+ "valueSet": "https://medplum.com/fhir/ValueSet/package-installation-status",
3708
+ "content": "complete",
3709
+ "concept": [
3710
+ {
3711
+ "code": "requested",
3712
+ "display": "Requested",
3713
+ "definition": "The package installation has been requested"
3714
+ },
3715
+ {
3716
+ "code": "installing",
3717
+ "display": "Installing",
3718
+ "definition": "The package is currently being installed"
3719
+ },
3720
+ {
3721
+ "code": "installed",
3722
+ "display": "Installed",
3723
+ "definition": "The package has been successfully installed"
3724
+ },
3725
+ {
3726
+ "code": "error",
3727
+ "display": "Error",
3728
+ "definition": "The package installation encountered an error"
3729
+ }
3730
+ ]
3731
+ }
3732
+ },
3733
+ {
3734
+ "fullUrl": "https://medplum.com/fhir/ValueSet/package-installation-status",
3735
+ "resource": {
3736
+ "resourceType": "ValueSet",
3737
+ "id": "package-installation-status",
3738
+ "url": "https://medplum.com/fhir/ValueSet/package-installation-status",
3739
+ "status": "active",
3740
+ "compose": {
3741
+ "include": [
3742
+ {
3743
+ "system": "https://medplum.com/fhir/CodeSystem/package-installation-status"
3744
+ }
3745
+ ]
3746
+ }
3747
+ }
3655
3748
  }
3656
3749
  ]
3657
3750
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/definitions",
3
- "version": "5.1.2",
3
+ "version": "5.1.4",
4
4
  "description": "Medplum Data Definitions",
5
5
  "keywords": [
6
6
  "medplum",