@medplum/definitions 3.1.8 → 3.1.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 CHANGED
@@ -16,4 +16,4 @@ Medplum is a healthcare platform that helps you quickly develop high-quality com
16
16
 
17
17
  ## License
18
18
 
19
- Apache 2.0. Copyright © Medplum 2023
19
+ Apache 2.0. Copyright © Medplum 2024
@@ -167,7 +167,8 @@
167
167
  "AsyncJob": "#/definitions/AsyncJob",
168
168
  "Agent": "#/definitions/Agent",
169
169
  "IdentityProvider": "#/definitions/IdentityProvider",
170
- "UserSecurityRequest": "#/definitions/UserSecurityRequest"
170
+ "UserSecurityRequest": "#/definitions/UserSecurityRequest",
171
+ "ViewDefinition": "#/definitions/ViewDefinition"
171
172
  }
172
173
  },
173
174
  "oneOf": [
@@ -659,6 +660,9 @@
659
660
  },
660
661
  {
661
662
  "$ref": "#/definitions/UserSecurityRequest"
663
+ },
664
+ {
665
+ "$ref": "#/definitions/ViewDefinition"
662
666
  }
663
667
  ],
664
668
  "definitions": {
@@ -1152,6 +1156,9 @@
1152
1156
  },
1153
1157
  {
1154
1158
  "$ref": "#/definitions/UserSecurityRequest"
1159
+ },
1160
+ {
1161
+ "$ref": "#/definitions/ViewDefinition"
1155
1162
  }
1156
1163
  ]
1157
1164
  },
@@ -59318,7 +59325,7 @@
59318
59325
  "$ref": "#/definitions/boolean"
59319
59326
  },
59320
59327
  "strictMode": {
59321
- "description": "Whether this project uses strict FHIR validation.",
59328
+ "description": "Whether this project uses strict FHIR validation. This setting has been deprecated, and can only be set by a super admin.",
59322
59329
  "$ref": "#/definitions/boolean"
59323
59330
  },
59324
59331
  "checkReferencesOnWrite": {
@@ -59633,6 +59640,10 @@
59633
59640
  "identityProvider": {
59634
59641
  "description": "Optional external Identity Provider (IdP) for the client application.",
59635
59642
  "$ref": "#/definitions/IdentityProvider"
59643
+ },
59644
+ "refreshTokenLifetime": {
59645
+ "description": "Optional configuration to set the refresh token duration",
59646
+ "$ref": "#/definitions/string"
59636
59647
  }
59637
59648
  },
59638
59649
  "additionalProperties": false,
@@ -61103,6 +61114,271 @@
61103
61114
  },
61104
61115
  "additionalProperties": false,
61105
61116
  "required": ["resourceType", "user", "secret"]
61117
+ },
61118
+ "ViewDefinition": {
61119
+ "description": "View definitions represent a tabular projection of a FHIR resource, where the columns and inclusion \ncriteria are defined by FHIRPath expressions. ",
61120
+ "properties": {
61121
+ "url": {
61122
+ "description": "Canonical identifier for this view definition, represented as a URI (globally unique)",
61123
+ "$ref": "#/definitions/uri"
61124
+ },
61125
+ "identifier": {
61126
+ "description": "Additional identifier for the view definition",
61127
+ "$ref": "#/definitions/Identifier"
61128
+ },
61129
+ "name": {
61130
+ "description": "Name of the view definition, must be in a database-friendly format.",
61131
+ "$ref": "#/definitions/string"
61132
+ },
61133
+ "title": {
61134
+ "description": "A optional human-readable description of the view.",
61135
+ "$ref": "#/definitions/string"
61136
+ },
61137
+ "meta": {
61138
+ "description": "Metadata about the view definition",
61139
+ "$ref": "#/definitions/Meta"
61140
+ },
61141
+ "status": {
61142
+ "description": "draft | active | retired | unknown",
61143
+ "enum": ["draft", "active", "retired", "unknown"]
61144
+ },
61145
+ "experimental": {
61146
+ "description": "For testing purposes, not real usage",
61147
+ "$ref": "#/definitions/boolean"
61148
+ },
61149
+ "publisher": {
61150
+ "description": "Name of the publisher/steward (organization or individual)",
61151
+ "$ref": "#/definitions/string"
61152
+ },
61153
+ "contact": {
61154
+ "description": "Contact details for the publisher",
61155
+ "items": {
61156
+ "$ref": "#/definitions/ContactDetail"
61157
+ },
61158
+ "type": "array"
61159
+ },
61160
+ "description": {
61161
+ "description": "Natural language description of the view definition",
61162
+ "$ref": "#/definitions/markdown"
61163
+ },
61164
+ "useContext": {
61165
+ "description": "The context that the content is intended to support",
61166
+ "items": {
61167
+ "$ref": "#/definitions/UsageContext"
61168
+ },
61169
+ "type": "array"
61170
+ },
61171
+ "copyright": {
61172
+ "description": "Use and/or publishing restrictions",
61173
+ "$ref": "#/definitions/markdown"
61174
+ },
61175
+ "resource": {
61176
+ "description": "The FHIR resource that the view is based upon, e.g. \u0027Patient\u0027 or \u0027Observation\u0027.",
61177
+ "enum": [
61178
+ "Account",
61179
+ "ActivityDefinition",
61180
+ "AdverseEvent",
61181
+ "AllergyIntolerance",
61182
+ "Appointment",
61183
+ "AppointmentResponse",
61184
+ "AuditEvent",
61185
+ "Basic",
61186
+ "Binary",
61187
+ "BiologicallyDerivedProduct",
61188
+ "BodyStructure",
61189
+ "Bundle",
61190
+ "CapabilityStatement",
61191
+ "CarePlan",
61192
+ "CareTeam",
61193
+ "CatalogEntry",
61194
+ "ChargeItem",
61195
+ "ChargeItemDefinition",
61196
+ "Claim",
61197
+ "ClaimResponse",
61198
+ "ClinicalImpression",
61199
+ "CodeSystem",
61200
+ "Communication",
61201
+ "CommunicationRequest",
61202
+ "CompartmentDefinition",
61203
+ "Composition",
61204
+ "ConceptMap",
61205
+ "Condition",
61206
+ "Consent",
61207
+ "Contract",
61208
+ "Coverage",
61209
+ "CoverageEligibilityRequest",
61210
+ "CoverageEligibilityResponse",
61211
+ "DetectedIssue",
61212
+ "Device",
61213
+ "DeviceDefinition",
61214
+ "DeviceMetric",
61215
+ "DeviceRequest",
61216
+ "DeviceUseStatement",
61217
+ "DiagnosticReport",
61218
+ "DocumentManifest",
61219
+ "DocumentReference",
61220
+ "DomainResource",
61221
+ "EffectEvidenceSynthesis",
61222
+ "Encounter",
61223
+ "Endpoint",
61224
+ "EnrollmentRequest",
61225
+ "EnrollmentResponse",
61226
+ "EpisodeOfCare",
61227
+ "EventDefinition",
61228
+ "Evidence",
61229
+ "EvidenceVariable",
61230
+ "ExampleScenario",
61231
+ "ExplanationOfBenefit",
61232
+ "FamilyMemberHistory",
61233
+ "Flag",
61234
+ "Goal",
61235
+ "GraphDefinition",
61236
+ "Group",
61237
+ "GuidanceResponse",
61238
+ "HealthcareService",
61239
+ "ImagingStudy",
61240
+ "Immunization",
61241
+ "ImmunizationEvaluation",
61242
+ "ImmunizationRecommendation",
61243
+ "ImplementationGuide",
61244
+ "InsurancePlan",
61245
+ "Invoice",
61246
+ "Library",
61247
+ "Linkage",
61248
+ "List",
61249
+ "Location",
61250
+ "Measure",
61251
+ "MeasureReport",
61252
+ "Media",
61253
+ "Medication",
61254
+ "MedicationAdministration",
61255
+ "MedicationDispense",
61256
+ "MedicationKnowledge",
61257
+ "MedicationRequest",
61258
+ "MedicationStatement",
61259
+ "MedicinalProduct",
61260
+ "MedicinalProductAuthorization",
61261
+ "MedicinalProductContraindication",
61262
+ "MedicinalProductIndication",
61263
+ "MedicinalProductIngredient",
61264
+ "MedicinalProductInteraction",
61265
+ "MedicinalProductManufactured",
61266
+ "MedicinalProductPackaged",
61267
+ "MedicinalProductPharmaceutical",
61268
+ "MedicinalProductUndesirableEffect",
61269
+ "MessageDefinition",
61270
+ "MessageHeader",
61271
+ "MolecularSequence",
61272
+ "NamingSystem",
61273
+ "NutritionOrder",
61274
+ "Observation",
61275
+ "ObservationDefinition",
61276
+ "OperationDefinition",
61277
+ "OperationOutcome",
61278
+ "Organization",
61279
+ "OrganizationAffiliation",
61280
+ "Parameters",
61281
+ "Patient",
61282
+ "PaymentNotice",
61283
+ "PaymentReconciliation",
61284
+ "Person",
61285
+ "PlanDefinition",
61286
+ "Practitioner",
61287
+ "PractitionerRole",
61288
+ "Procedure",
61289
+ "Provenance",
61290
+ "Questionnaire",
61291
+ "QuestionnaireResponse",
61292
+ "RelatedPerson",
61293
+ "RequestGroup",
61294
+ "ResearchDefinition",
61295
+ "ResearchElementDefinition",
61296
+ "ResearchStudy",
61297
+ "ResearchSubject",
61298
+ "Resource",
61299
+ "RiskAssessment",
61300
+ "RiskEvidenceSynthesis",
61301
+ "Schedule",
61302
+ "SearchParameter",
61303
+ "ServiceRequest",
61304
+ "Slot",
61305
+ "Specimen",
61306
+ "SpecimenDefinition",
61307
+ "StructureDefinition",
61308
+ "StructureMap",
61309
+ "Subscription",
61310
+ "Substance",
61311
+ "SubstanceNucleicAcid",
61312
+ "SubstancePolymer",
61313
+ "SubstanceProtein",
61314
+ "SubstanceReferenceInformation",
61315
+ "SubstanceSourceMaterial",
61316
+ "SubstanceSpecification",
61317
+ "SupplyDelivery",
61318
+ "SupplyRequest",
61319
+ "Task",
61320
+ "TerminologyCapabilities",
61321
+ "TestReport",
61322
+ "TestScript",
61323
+ "ValueSet",
61324
+ "VerificationResult",
61325
+ "VisionPrescription"
61326
+ ]
61327
+ },
61328
+ "fhirVersion": {
61329
+ "description": "The FHIR version(s) for the FHIR resource. The value of this element is the\nformal version of the specification, without the revision number, e.g.\n[publication].[major].[minor].",
61330
+ "items": {
61331
+ "enum": [
61332
+ "0.01",
61333
+ "0.05",
61334
+ "0.06",
61335
+ "0.11",
61336
+ "0.0.80",
61337
+ "0.0.81",
61338
+ "0.0.82",
61339
+ "0.4.0",
61340
+ "0.5.0",
61341
+ "1.0.0",
61342
+ "1.0.1",
61343
+ "1.0.2",
61344
+ "1.1.0",
61345
+ "1.4.0",
61346
+ "1.6.0",
61347
+ "1.8.0",
61348
+ "3.0.0",
61349
+ "3.0.1",
61350
+ "3.3.0",
61351
+ "3.5.0",
61352
+ "4.0.0",
61353
+ "4.0.1"
61354
+ ]
61355
+ },
61356
+ "type": "array"
61357
+ },
61358
+ "constant": {
61359
+ "description": "A constant is a value that is injected into a FHIRPath expression through the use of a FHIRPath\nexternal constant with the same name.",
61360
+ "items": {
61361
+ "$ref": "#/definitions/ViewDefinitionConstant"
61362
+ },
61363
+ "type": "array"
61364
+ },
61365
+ "select": {
61366
+ "description": "The select structure defines the columns to be used in the resulting view. These are expressed\nin the `column` structure below, or in nested `select`s for nested resources.",
61367
+ "items": {
61368
+ "$ref": "#/definitions/ViewDefinitionSelect"
61369
+ },
61370
+ "type": "array"
61371
+ },
61372
+ "where": {
61373
+ "description": "A series of zero or more FHIRPath constraints to filter resources for the view. Every constraint\nmust evaluate to true for the resource to be included in the view.",
61374
+ "items": {
61375
+ "$ref": "#/definitions/ViewDefinitionWhere"
61376
+ },
61377
+ "type": "array"
61378
+ }
61379
+ },
61380
+ "additionalProperties": false,
61381
+ "required": ["status", "resource", "select"]
61106
61382
  }
61107
61383
  }
61108
61384
  }