@medplum/fhirtypes 2.2.7 → 3.0.0

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.
Files changed (160) hide show
  1. package/dist/AccessPolicy.d.ts +3 -3
  2. package/dist/Account.d.ts +3 -3
  3. package/dist/ActivityDefinition.d.ts +4 -4
  4. package/dist/AdverseEvent.d.ts +3 -3
  5. package/dist/Agent.d.ts +5 -5
  6. package/dist/AllergyIntolerance.d.ts +2 -2
  7. package/dist/Annotation.d.ts +1 -1
  8. package/dist/Appointment.d.ts +3 -3
  9. package/dist/AppointmentResponse.d.ts +2 -2
  10. package/dist/AsyncJob.d.ts +3 -3
  11. package/dist/AuditEvent.d.ts +7 -7
  12. package/dist/Basic.d.ts +1 -1
  13. package/dist/Binary.d.ts +1 -1
  14. package/dist/BodyStructure.d.ts +1 -1
  15. package/dist/BulkDataExport.d.ts +9 -9
  16. package/dist/Bundle.d.ts +6 -6
  17. package/dist/CapabilityStatement.d.ts +21 -21
  18. package/dist/CarePlan.d.ts +4 -4
  19. package/dist/CatalogEntry.d.ts +5 -5
  20. package/dist/ChargeItem.d.ts +4 -4
  21. package/dist/ChargeItemDefinition.d.ts +3 -3
  22. package/dist/Claim.d.ts +25 -25
  23. package/dist/ClaimResponse.d.ts +28 -28
  24. package/dist/ClientApplication.d.ts +8 -0
  25. package/dist/ClinicalImpression.d.ts +3 -3
  26. package/dist/CodeSystem.d.ts +10 -10
  27. package/dist/Communication.d.ts +1 -1
  28. package/dist/CommunicationRequest.d.ts +1 -1
  29. package/dist/CompartmentDefinition.d.ts +6 -6
  30. package/dist/Composition.d.ts +7 -7
  31. package/dist/ConceptMap.d.ts +6 -6
  32. package/dist/Condition.d.ts +1 -1
  33. package/dist/Consent.d.ts +8 -8
  34. package/dist/Contract.d.ts +13 -13
  35. package/dist/Contributor.d.ts +2 -2
  36. package/dist/Coverage.d.ts +6 -6
  37. package/dist/CoverageEligibilityRequest.d.ts +8 -8
  38. package/dist/CoverageEligibilityResponse.d.ts +10 -10
  39. package/dist/DataRequirement.d.ts +3 -3
  40. package/dist/DetectedIssue.d.ts +2 -2
  41. package/dist/Device.d.ts +5 -5
  42. package/dist/DeviceDefinition.d.ts +10 -10
  43. package/dist/DeviceMetric.d.ts +2 -2
  44. package/dist/DeviceRequest.d.ts +2 -2
  45. package/dist/DeviceUseStatement.d.ts +3 -3
  46. package/dist/DiagnosticReport.d.ts +3 -3
  47. package/dist/DocumentManifest.d.ts +2 -2
  48. package/dist/DocumentReference.d.ts +5 -5
  49. package/dist/DomainConfiguration.d.ts +1 -1
  50. package/dist/EffectEvidenceSynthesis.d.ts +6 -6
  51. package/dist/ElementDefinition.d.ts +15 -15
  52. package/dist/Encounter.d.ts +8 -8
  53. package/dist/Endpoint.d.ts +4 -4
  54. package/dist/EpisodeOfCare.d.ts +5 -5
  55. package/dist/EventDefinition.d.ts +2 -2
  56. package/dist/Evidence.d.ts +2 -2
  57. package/dist/EvidenceVariable.d.ts +2 -2
  58. package/dist/ExampleScenario.d.ts +11 -11
  59. package/dist/ExplanationOfBenefit.d.ts +31 -31
  60. package/dist/Expression.d.ts +1 -1
  61. package/dist/Extension.d.ts +1 -1
  62. package/dist/FamilyMemberHistory.d.ts +4 -4
  63. package/dist/Flag.d.ts +3 -3
  64. package/dist/Goal.d.ts +3 -3
  65. package/dist/GraphDefinition.d.ts +7 -7
  66. package/dist/Group.d.ts +5 -5
  67. package/dist/GuidanceResponse.d.ts +1 -1
  68. package/dist/HealthcareService.d.ts +1 -1
  69. package/dist/IdentityProvider.d.ts +5 -5
  70. package/dist/ImagingStudy.d.ts +7 -7
  71. package/dist/Immunization.d.ts +4 -4
  72. package/dist/ImmunizationEvaluation.d.ts +5 -5
  73. package/dist/ImmunizationRecommendation.d.ts +6 -6
  74. package/dist/ImplementationGuide.d.ts +20 -20
  75. package/dist/InsurancePlan.d.ts +6 -6
  76. package/dist/Invoice.d.ts +3 -3
  77. package/dist/Library.d.ts +2 -2
  78. package/dist/Linkage.d.ts +3 -3
  79. package/dist/List.d.ts +3 -3
  80. package/dist/Location.d.ts +2 -2
  81. package/dist/Login.d.ts +3 -3
  82. package/dist/MarketingStatus.d.ts +3 -3
  83. package/dist/Measure.d.ts +4 -4
  84. package/dist/MeasureReport.d.ts +6 -6
  85. package/dist/Media.d.ts +2 -2
  86. package/dist/MedicationAdministration.d.ts +3 -3
  87. package/dist/MedicationDispense.d.ts +3 -3
  88. package/dist/MedicationKnowledge.d.ts +12 -12
  89. package/dist/MedicationRequest.d.ts +3 -3
  90. package/dist/MedicationStatement.d.ts +2 -2
  91. package/dist/MedicinalProduct.d.ts +6 -6
  92. package/dist/MedicinalProductAuthorization.d.ts +1 -1
  93. package/dist/MedicinalProductContraindication.d.ts +1 -1
  94. package/dist/MedicinalProductIndication.d.ts +1 -1
  95. package/dist/MedicinalProductIngredient.d.ts +6 -6
  96. package/dist/MedicinalProductManufactured.d.ts +2 -2
  97. package/dist/MedicinalProductPackaged.d.ts +4 -4
  98. package/dist/MedicinalProductPharmaceutical.d.ts +7 -7
  99. package/dist/MessageDefinition.d.ts +5 -5
  100. package/dist/MessageHeader.d.ts +5 -5
  101. package/dist/MolecularSequence.d.ts +3 -3
  102. package/dist/NamingSystem.d.ts +7 -7
  103. package/dist/Narrative.d.ts +2 -2
  104. package/dist/NutritionOrder.d.ts +4 -4
  105. package/dist/Observation.d.ts +3 -3
  106. package/dist/ObservationDefinition.d.ts +1 -1
  107. package/dist/OperationDefinition.d.ts +14 -14
  108. package/dist/OperationOutcome.d.ts +3 -3
  109. package/dist/ParameterDefinition.d.ts +2 -2
  110. package/dist/Parameters.d.ts +1 -1
  111. package/dist/PasswordChangeRequest.d.ts +2 -2
  112. package/dist/Patient.d.ts +3 -3
  113. package/dist/PaymentNotice.d.ts +5 -5
  114. package/dist/PaymentReconciliation.d.ts +5 -5
  115. package/dist/Person.d.ts +1 -1
  116. package/dist/PlanDefinition.d.ts +6 -6
  117. package/dist/Practitioner.d.ts +1 -1
  118. package/dist/PractitionerRole.d.ts +1 -1
  119. package/dist/Procedure.d.ts +4 -4
  120. package/dist/ProductShelfLife.d.ts +2 -2
  121. package/dist/Project.d.ts +3 -3
  122. package/dist/ProjectMembership.d.ts +5 -5
  123. package/dist/Provenance.d.ts +6 -6
  124. package/dist/Questionnaire.d.ts +6 -6
  125. package/dist/QuestionnaireResponse.d.ts +2 -2
  126. package/dist/RelatedArtifact.d.ts +1 -1
  127. package/dist/RelatedPerson.d.ts +2 -2
  128. package/dist/RequestGroup.d.ts +5 -5
  129. package/dist/ResearchDefinition.d.ts +2 -2
  130. package/dist/ResearchElementDefinition.d.ts +3 -3
  131. package/dist/ResearchStudy.d.ts +2 -2
  132. package/dist/ResearchSubject.d.ts +3 -3
  133. package/dist/RiskAssessment.d.ts +2 -2
  134. package/dist/RiskEvidenceSynthesis.d.ts +3 -3
  135. package/dist/SampledData.d.ts +3 -3
  136. package/dist/Schedule.d.ts +1 -1
  137. package/dist/SearchParameter.d.ts +9 -9
  138. package/dist/ServiceRequest.d.ts +3 -3
  139. package/dist/Signature.d.ts +3 -3
  140. package/dist/Slot.d.ts +4 -4
  141. package/dist/SpecimenDefinition.d.ts +1 -1
  142. package/dist/StructureDefinition.d.ts +11 -11
  143. package/dist/StructureMap.d.ts +17 -17
  144. package/dist/Subscription.d.ts +5 -5
  145. package/dist/SubscriptionStatus.d.ts +3 -3
  146. package/dist/Substance.d.ts +1 -1
  147. package/dist/SubstanceSpecification.d.ts +1 -1
  148. package/dist/SupplyRequest.d.ts +1 -1
  149. package/dist/Task.d.ts +4 -4
  150. package/dist/TerminologyCapabilities.d.ts +10 -10
  151. package/dist/TestReport.d.ts +11 -11
  152. package/dist/TestScript.d.ts +23 -23
  153. package/dist/TriggerDefinition.d.ts +1 -1
  154. package/dist/UsageContext.d.ts +1 -1
  155. package/dist/User.d.ts +2 -2
  156. package/dist/UserConfiguration.d.ts +6 -6
  157. package/dist/ValueSet.d.ts +9 -9
  158. package/dist/VerificationResult.d.ts +2 -2
  159. package/dist/VisionPrescription.d.ts +10 -10
  160. package/package.json +1 -1
@@ -113,7 +113,7 @@ export interface Substance {
113
113
  /**
114
114
  * A code (or set of codes) that identify this substance.
115
115
  */
116
- code?: CodeableConcept;
116
+ code: CodeableConcept;
117
117
 
118
118
  /**
119
119
  * A description of the substance - its appearance, handling
@@ -394,7 +394,7 @@ export interface SubstanceSpecificationName {
394
394
  /**
395
395
  * The actual name.
396
396
  */
397
- name?: string;
397
+ name: string;
398
398
 
399
399
  /**
400
400
  * Name type.
@@ -152,7 +152,7 @@ export interface SupplyRequest {
152
152
  /**
153
153
  * The amount that is being ordered of the indicated item.
154
154
  */
155
- quantity?: Quantity;
155
+ quantity: Quantity;
156
156
 
157
157
  /**
158
158
  * Specific parameters for the ordered item. For example, the size of
package/dist/Task.d.ts CHANGED
@@ -176,7 +176,7 @@ export interface Task {
176
176
  /**
177
177
  * The current status of the task.
178
178
  */
179
- status?: 'draft' | 'requested' | 'received' | 'accepted' | 'rejected' | 'ready' | 'cancelled' | 'in-progress' |
179
+ status: 'draft' | 'requested' | 'received' | 'accepted' | 'rejected' | 'ready' | 'cancelled' | 'in-progress' |
180
180
  'on-hold' | 'failed' | 'completed' | 'entered-in-error';
181
181
 
182
182
  /**
@@ -194,7 +194,7 @@ export interface Task {
194
194
  * i+R[9]Cs this a proposed task, a planned task, an actionable task,
195
195
  * etc.
196
196
  */
197
- intent?: 'unknown' | 'proposal' | 'plan' | 'order' | 'original-order' | 'reflex-order' | 'filler-order' | 'instance-order' | 'option';
197
+ intent: 'unknown' | 'proposal' | 'plan' | 'order' | 'original-order' | 'reflex-order' | 'filler-order' | 'instance-order' | 'option';
198
198
 
199
199
  /**
200
200
  * Indicates how quickly the Task should be addressed with respect to
@@ -361,7 +361,7 @@ export interface TaskInput {
361
361
  * A code or description indicating how the input is intended to be used
362
362
  * as part of the task execution.
363
363
  */
364
- type?: CodeableConcept;
364
+ type: CodeableConcept;
365
365
 
366
366
  /**
367
367
  * The value of the input parameter as a basic type.
@@ -657,7 +657,7 @@ export interface TaskOutput {
657
657
  /**
658
658
  * The name of the Output parameter.
659
659
  */
660
- type?: CodeableConcept;
660
+ type: CodeableConcept;
661
661
 
662
662
  /**
663
663
  * The value of the Output parameter as a basic type.
@@ -135,7 +135,7 @@ export interface TerminologyCapabilities {
135
135
  * The status of this terminology capabilities. Enables tracking the
136
136
  * life-cycle of the content.
137
137
  */
138
- status?: 'draft' | 'active' | 'retired' | 'unknown';
138
+ status: 'draft' | 'active' | 'retired' | 'unknown';
139
139
 
140
140
  /**
141
141
  * A Boolean value to indicate that this terminology capabilities is
@@ -151,7 +151,7 @@ export interface TerminologyCapabilities {
151
151
  * change when the substantive content of the terminology capabilities
152
152
  * changes.
153
153
  */
154
- date?: string;
154
+ date: string;
155
155
 
156
156
  /**
157
157
  * The name of the organization or individual that published the
@@ -209,7 +209,7 @@ export interface TerminologyCapabilities {
209
209
  * instance of software) or a class of implementation (e.g. a desired
210
210
  * purchase).
211
211
  */
212
- kind?: 'instance' | 'capability' | 'requirements';
212
+ kind: 'instance' | 'capability' | 'requirements';
213
213
 
214
214
  /**
215
215
  * Software that is covered by this terminology capability statement. It
@@ -490,12 +490,12 @@ export interface TerminologyCapabilitiesCodeSystemVersionFilter {
490
490
  /**
491
491
  * Code of the property supported.
492
492
  */
493
- code?: string;
493
+ code: string;
494
494
 
495
495
  /**
496
496
  * Operations supported for the property.
497
497
  */
498
- op?: string[];
498
+ op: string[];
499
499
  }
500
500
 
501
501
  /**
@@ -608,7 +608,7 @@ export interface TerminologyCapabilitiesExpansionParameter {
608
608
  /**
609
609
  * Expansion Parameter name.
610
610
  */
611
- name?: string;
611
+ name: string;
612
612
 
613
613
  /**
614
614
  * Description of support for parameter.
@@ -662,7 +662,7 @@ export interface TerminologyCapabilitiesImplementation {
662
662
  * Information about the specific installation that this terminology
663
663
  * capability statement relates to.
664
664
  */
665
- description?: string;
665
+ description: string;
666
666
 
667
667
  /**
668
668
  * An absolute base URL for the implementation.
@@ -715,7 +715,7 @@ export interface TerminologyCapabilitiesSoftware {
715
715
  /**
716
716
  * Name the software is known by.
717
717
  */
718
- name?: string;
718
+ name: string;
719
719
 
720
720
  /**
721
721
  * The version identifier for the software covered by this statement.
@@ -768,7 +768,7 @@ export interface TerminologyCapabilitiesTranslation {
768
768
  /**
769
769
  * Whether the client must identify the map.
770
770
  */
771
- needsMap?: boolean;
771
+ needsMap: boolean;
772
772
  }
773
773
 
774
774
  /**
@@ -816,5 +816,5 @@ export interface TerminologyCapabilitiesValidateCode {
816
816
  /**
817
817
  * Whether translations are validated.
818
818
  */
819
- translations?: boolean;
819
+ translations: boolean;
820
820
  }
@@ -107,19 +107,19 @@ export interface TestReport {
107
107
  /**
108
108
  * The current state of this test report.
109
109
  */
110
- status?: 'completed' | 'in-progress' | 'waiting' | 'stopped' | 'entered-in-error';
110
+ status: 'completed' | 'in-progress' | 'waiting' | 'stopped' | 'entered-in-error';
111
111
 
112
112
  /**
113
113
  * Ideally this is an absolute URL that is used to identify the
114
114
  * version-specific TestScript that was executed, matching the
115
115
  * `TestScript.url`.
116
116
  */
117
- testScript?: Reference<TestScript>;
117
+ testScript: Reference<TestScript>;
118
118
 
119
119
  /**
120
120
  * The overall result from the execution of the TestScript.
121
121
  */
122
- result?: 'pass' | 'fail' | 'pending';
122
+ result: 'pass' | 'fail' | 'pending';
123
123
 
124
124
  /**
125
125
  * The final score (percentage of tests passed) resulting from the
@@ -205,12 +205,12 @@ export interface TestReportParticipant {
205
205
  /**
206
206
  * The type of participant.
207
207
  */
208
- type?: 'test-engine' | 'client' | 'server';
208
+ type: 'test-engine' | 'client' | 'server';
209
209
 
210
210
  /**
211
211
  * The uri of the participant. An absolute URL is preferred.
212
212
  */
213
- uri?: string;
213
+ uri: string;
214
214
 
215
215
  /**
216
216
  * The display name of the participant.
@@ -262,7 +262,7 @@ export interface TestReportSetup {
262
262
  /**
263
263
  * Action would contain either an operation or an assertion.
264
264
  */
265
- action?: TestReportSetupAction[];
265
+ action: TestReportSetupAction[];
266
266
  }
267
267
 
268
268
  /**
@@ -359,7 +359,7 @@ export interface TestReportSetupActionAssert {
359
359
  /**
360
360
  * The result of this assertion.
361
361
  */
362
- result?: 'pass' | 'skip' | 'fail' | 'warning' | 'error';
362
+ result: 'pass' | 'skip' | 'fail' | 'warning' | 'error';
363
363
 
364
364
  /**
365
365
  * An explanatory message associated with the result.
@@ -415,7 +415,7 @@ export interface TestReportSetupActionOperation {
415
415
  /**
416
416
  * The result of this operation.
417
417
  */
418
- result?: 'pass' | 'skip' | 'fail' | 'warning' | 'error';
418
+ result: 'pass' | 'skip' | 'fail' | 'warning' | 'error';
419
419
 
420
420
  /**
421
421
  * An explanatory message associated with the result.
@@ -472,7 +472,7 @@ export interface TestReportTeardown {
472
472
  /**
473
473
  * The teardown action will only contain an operation.
474
474
  */
475
- action?: TestReportTeardownAction[];
475
+ action: TestReportTeardownAction[];
476
476
  }
477
477
 
478
478
  /**
@@ -518,7 +518,7 @@ export interface TestReportTeardownAction {
518
518
  /**
519
519
  * An operation would involve a REST request to a server.
520
520
  */
521
- operation?: TestReportSetupActionOperation;
521
+ operation: TestReportSetupActionOperation;
522
522
  }
523
523
 
524
524
  /**
@@ -576,7 +576,7 @@ export interface TestReportTest {
576
576
  /**
577
577
  * Action would contain either an operation or an assertion.
578
578
  */
579
- action?: TestReportTestAction[];
579
+ action: TestReportTestAction[];
580
580
  }
581
581
 
582
582
  /**
@@ -105,7 +105,7 @@ export interface TestScript {
105
105
  * be the target of a canonical reference. It SHALL remain the same when
106
106
  * the test script is stored on different servers.
107
107
  */
108
- url?: string;
108
+ url: string;
109
109
 
110
110
  /**
111
111
  * A formal identifier that is used to identify this test script when it
@@ -130,7 +130,7 @@ export interface TestScript {
130
130
  * be usable as an identifier for the module by machine processing
131
131
  * applications such as code generation.
132
132
  */
133
- name?: string;
133
+ name: string;
134
134
 
135
135
  /**
136
136
  * A short, descriptive, user-friendly title for the test script.
@@ -141,7 +141,7 @@ export interface TestScript {
141
141
  * The status of this test script. Enables tracking the life-cycle of the
142
142
  * content.
143
143
  */
144
- status?: 'draft' | 'active' | 'retired' | 'unknown';
144
+ status: 'draft' | 'active' | 'retired' | 'unknown';
145
145
 
146
146
  /**
147
147
  * A Boolean value to indicate that this test script is authored for
@@ -301,12 +301,12 @@ export interface TestScriptDestination {
301
301
  * Abstract name given to a destination server in this test script. The
302
302
  * name is provided as a number starting at 1.
303
303
  */
304
- index?: number;
304
+ index: number;
305
305
 
306
306
  /**
307
307
  * The type of destination profile the test system supports.
308
308
  */
309
- profile?: Coding;
309
+ profile: Coding;
310
310
  }
311
311
 
312
312
  /**
@@ -356,7 +356,7 @@ export interface TestScriptFixture {
356
356
  * during setup, therefore no create operation is required for this
357
357
  * fixture in the TestScript.setup section.
358
358
  */
359
- autocreate?: boolean;
359
+ autocreate: boolean;
360
360
 
361
361
  /**
362
362
  * Whether or not to implicitly delete the fixture during teardown. If
@@ -364,7 +364,7 @@ export interface TestScriptFixture {
364
364
  * during teardown, therefore no delete operation is required for this
365
365
  * fixture in the TestScript.teardown section.
366
366
  */
367
- autodelete?: boolean;
367
+ autodelete: boolean;
368
368
 
369
369
  /**
370
370
  * Reference to the resource (containing the contents of the resource
@@ -423,7 +423,7 @@ export interface TestScriptMetadata {
423
423
  * Capabilities that must exist and are assumed to function correctly on
424
424
  * the FHIR server being tested.
425
425
  */
426
- capability?: TestScriptMetadataCapability[];
426
+ capability: TestScriptMetadataCapability[];
427
427
  }
428
428
 
429
429
  /**
@@ -471,13 +471,13 @@ export interface TestScriptMetadataCapability {
471
471
  * Whether or not the test execution will require the given capabilities
472
472
  * of the server in order for this test script to execute.
473
473
  */
474
- required?: boolean;
474
+ required: boolean;
475
475
 
476
476
  /**
477
477
  * Whether or not the test execution will validate the given capabilities
478
478
  * of the server in order for this test script to execute.
479
479
  */
480
- validated?: boolean;
480
+ validated: boolean;
481
481
 
482
482
  /**
483
483
  * Description of the capabilities that this test script is requiring the
@@ -506,7 +506,7 @@ export interface TestScriptMetadataCapability {
506
506
  * successfully. If server does not meet at a minimum the referenced
507
507
  * capability statement, then all tests in this script are skipped.
508
508
  */
509
- capabilities?: string;
509
+ capabilities: string;
510
510
  }
511
511
 
512
512
  /**
@@ -553,7 +553,7 @@ export interface TestScriptMetadataLink {
553
553
  * URL to a particular requirement or feature within the FHIR
554
554
  * specification.
555
555
  */
556
- url?: string;
556
+ url: string;
557
557
 
558
558
  /**
559
559
  * Short description of the link.
@@ -606,12 +606,12 @@ export interface TestScriptOrigin {
606
606
  * Abstract name given to an origin server in this test script. The name
607
607
  * is provided as a number starting at 1.
608
608
  */
609
- index?: number;
609
+ index: number;
610
610
 
611
611
  /**
612
612
  * The type of origin profile the test system supports.
613
613
  */
614
- profile?: Coding;
614
+ profile: Coding;
615
615
  }
616
616
 
617
617
  /**
@@ -657,7 +657,7 @@ export interface TestScriptSetup {
657
657
  /**
658
658
  * Action would contain either an operation or an assertion.
659
659
  */
660
- action?: TestScriptSetupAction[];
660
+ action: TestScriptSetupAction[];
661
661
  }
662
662
 
663
663
  /**
@@ -880,7 +880,7 @@ export interface TestScriptSetupActionAssert {
880
880
  * Whether or not the test execution will produce a warning only on error
881
881
  * for this assert.
882
882
  */
883
- warningOnly?: boolean;
883
+ warningOnly: boolean;
884
884
  }
885
885
 
886
886
  /**
@@ -968,7 +968,7 @@ export interface TestScriptSetupActionOperation {
968
968
  * to false when communicating with a server that does not support
969
969
  * encoded url paths.
970
970
  */
971
- encodeRequestUrl?: boolean;
971
+ encodeRequestUrl: boolean;
972
972
 
973
973
  /**
974
974
  * The HTTP method the test engine MUST use for this operation regardless
@@ -1063,12 +1063,12 @@ export interface TestScriptSetupActionOperationRequestHeader {
1063
1063
  /**
1064
1064
  * The HTTP header field e.g. &quot;Accept&quot;.
1065
1065
  */
1066
- field?: string;
1066
+ field: string;
1067
1067
 
1068
1068
  /**
1069
1069
  * The value of the header e.g. &quot;application/fhir+xml&quot;.
1070
1070
  */
1071
- value?: string;
1071
+ value: string;
1072
1072
  }
1073
1073
 
1074
1074
  /**
@@ -1115,7 +1115,7 @@ export interface TestScriptTeardown {
1115
1115
  /**
1116
1116
  * The teardown action will only contain an operation.
1117
1117
  */
1118
- action?: TestScriptTeardownAction[];
1118
+ action: TestScriptTeardownAction[];
1119
1119
  }
1120
1120
 
1121
1121
  /**
@@ -1161,7 +1161,7 @@ export interface TestScriptTeardownAction {
1161
1161
  /**
1162
1162
  * An operation would involve a REST request to a server.
1163
1163
  */
1164
- operation?: TestScriptSetupActionOperation;
1164
+ operation: TestScriptSetupActionOperation;
1165
1165
  }
1166
1166
 
1167
1167
  /**
@@ -1219,7 +1219,7 @@ export interface TestScriptTest {
1219
1219
  /**
1220
1220
  * Action would contain either an operation or an assertion.
1221
1221
  */
1222
- action?: TestScriptTestAction[];
1222
+ action: TestScriptTestAction[];
1223
1223
  }
1224
1224
 
1225
1225
  /**
@@ -1318,7 +1318,7 @@ export interface TestScriptVariable {
1318
1318
  /**
1319
1319
  * Descriptive name for this variable.
1320
1320
  */
1321
- name?: string;
1321
+ name: string;
1322
1322
 
1323
1323
  /**
1324
1324
  * A default, hard-coded, or user-defined value for this variable.
@@ -35,7 +35,7 @@ export interface TriggerDefinition {
35
35
  /**
36
36
  * The type of triggering event.
37
37
  */
38
- type?: 'named-event' | 'periodic' | 'data-changed' | 'data-added' | 'data-modified' | 'data-removed' | 'data-accessed' | 'data-access-ended';
38
+ type: 'named-event' | 'periodic' | 'data-changed' | 'data-added' | 'data-modified' | 'data-removed' | 'data-accessed' | 'data-access-ended';
39
39
 
40
40
  /**
41
41
  * A formal name for the event. This may be an absolute URI that
@@ -46,7 +46,7 @@ export interface UsageContext {
46
46
  * A code that identifies the type of context being specified by this
47
47
  * usage context.
48
48
  */
49
- code?: Coding;
49
+ code: Coding;
50
50
 
51
51
  /**
52
52
  * A value that defines the context specified in this context of use. The
package/dist/User.d.ts CHANGED
@@ -47,13 +47,13 @@ export interface User {
47
47
  * The first name or given name of the user. This is the value as entered
48
48
  * when the user is created. It is used to populate the profile resource.
49
49
  */
50
- firstName?: string;
50
+ firstName: string;
51
51
 
52
52
  /**
53
53
  * The last name or family name of the user. This is the value as entered
54
54
  * when the user is created. It is used to populate the profile resource.
55
55
  */
56
- lastName?: string;
56
+ lastName: string;
57
57
 
58
58
  /**
59
59
  * DEPRECATED Replaced by ProjectMembership.externalId.
@@ -70,7 +70,7 @@ export interface UserConfigurationMenu {
70
70
  /**
71
71
  * Title of the menu.
72
72
  */
73
- title?: string;
73
+ title: string;
74
74
 
75
75
  /**
76
76
  * Shortcut links to URLs.
@@ -86,12 +86,12 @@ export interface UserConfigurationMenuLink {
86
86
  /**
87
87
  * The human friendly name of the link.
88
88
  */
89
- name?: string;
89
+ name: string;
90
90
 
91
91
  /**
92
92
  * The URL target of the link.
93
93
  */
94
- target?: string;
94
+ target: string;
95
95
  }
96
96
 
97
97
  /**
@@ -102,7 +102,7 @@ export interface UserConfigurationOption {
102
102
  /**
103
103
  * The unique identifier of the option.
104
104
  */
105
- id?: string;
105
+ id: string;
106
106
 
107
107
  /**
108
108
  * Value of option - must be one of a constrained set of the data types
@@ -143,11 +143,11 @@ export interface UserConfigurationSearch {
143
143
  /**
144
144
  * The human friendly name of the link.
145
145
  */
146
- name?: string;
146
+ name: string;
147
147
 
148
148
  /**
149
149
  * The rules that the server should use to determine which resources to
150
150
  * return.
151
151
  */
152
- criteria?: string;
152
+ criteria: string;
153
153
  }
@@ -144,7 +144,7 @@ export interface ValueSet {
144
144
  * definition (ValueSet.compose) and the associated ValueSet metadata.
145
145
  * Expansions do not have a state.
146
146
  */
147
- status?: 'draft' | 'active' | 'retired' | 'unknown';
147
+ status: 'draft' | 'active' | 'retired' | 'unknown';
148
148
 
149
149
  /**
150
150
  * A Boolean value to indicate that this value set is authored for
@@ -295,7 +295,7 @@ export interface ValueSetCompose {
295
295
  /**
296
296
  * Include one or more codes from a code system or other value set(s).
297
297
  */
298
- include?: ValueSetComposeInclude[];
298
+ include: ValueSetComposeInclude[];
299
299
 
300
300
  /**
301
301
  * Exclude one or more codes from the value set based on code system
@@ -421,7 +421,7 @@ export interface ValueSetComposeIncludeConcept {
421
421
  /**
422
422
  * Specifies a code for the concept to be included or excluded.
423
423
  */
424
- code?: string;
424
+ code: string;
425
425
 
426
426
  /**
427
427
  * The text to display to the user for this concept in the context of
@@ -493,7 +493,7 @@ export interface ValueSetComposeIncludeConceptDesignation {
493
493
  /**
494
494
  * The text value for this designation.
495
495
  */
496
- value?: string;
496
+ value: string;
497
497
  }
498
498
 
499
499
  /**
@@ -543,12 +543,12 @@ export interface ValueSetComposeIncludeFilter {
543
543
  * A code that identifies a property or a filter defined in the code
544
544
  * system.
545
545
  */
546
- property?: string;
546
+ property: string;
547
547
 
548
548
  /**
549
549
  * The kind of operation to perform as a part of the filter criteria.
550
550
  */
551
- op?: '=' | 'is-a' | 'descendent-of' | 'is-not-a' | 'regex' | 'in' | 'not-in' | 'generalizes' | 'exists';
551
+ op: '=' | 'is-a' | 'descendent-of' | 'is-not-a' | 'regex' | 'in' | 'not-in' | 'generalizes' | 'exists';
552
552
 
553
553
  /**
554
554
  * The match value may be either a code defined by the system, or a
@@ -558,7 +558,7 @@ export interface ValueSetComposeIncludeFilter {
558
558
  * filter defined in CodeSystem) when the operation is 'regex', or one of
559
559
  * the values (true and false), when the operation is 'exists'.
560
560
  */
561
- value?: string;
561
+ value: string;
562
562
  }
563
563
 
564
564
  /**
@@ -616,7 +616,7 @@ export interface ValueSetExpansion {
616
616
  /**
617
617
  * The time at which the expansion was produced by the expanding system.
618
618
  */
619
- timestamp?: string;
619
+ timestamp: string;
620
620
 
621
621
  /**
622
622
  * The total number of concepts in the expansion. If the number of
@@ -791,7 +791,7 @@ export interface ValueSetExpansionParameter {
791
791
  * server-assigned name for additional default or other server-supplied
792
792
  * parameters used to control the expansion process.
793
793
  */
794
- name?: string;
794
+ name: string;
795
795
 
796
796
  /**
797
797
  * The value of the parameter.
@@ -117,7 +117,7 @@ export interface VerificationResult {
117
117
  * The validation status of the target (attested; validated; in process;
118
118
  * requires revalidation; validation failed; revalidation failed).
119
119
  */
120
- status?: 'attested' | 'validated' | 'in-process' | 'req-revalid' | 'val-fail' | 'reval-fail';
120
+ status: 'attested' | 'validated' | 'in-process' | 'req-revalid' | 'val-fail' | 'reval-fail';
121
121
 
122
122
  /**
123
123
  * When the validation status was updated.
@@ -384,7 +384,7 @@ export interface VerificationResultValidator {
384
384
  /**
385
385
  * Reference to the organization validating information.
386
386
  */
387
- organization?: Reference<Organization>;
387
+ organization: Reference<Organization>;
388
388
 
389
389
  /**
390
390
  * A digital identity certificate associated with the validator.
@@ -107,18 +107,18 @@ export interface VisionPrescription {
107
107
  /**
108
108
  * The status of the resource instance.
109
109
  */
110
- status?: 'active' | 'cancelled' | 'draft' | 'entered-in-error';
110
+ status: 'active' | 'cancelled' | 'draft' | 'entered-in-error';
111
111
 
112
112
  /**
113
113
  * The date this resource was created.
114
114
  */
115
- created?: string;
115
+ created: string;
116
116
 
117
117
  /**
118
118
  * A resource reference to the person to whom the vision prescription
119
119
  * applies.
120
120
  */
121
- patient?: Reference<Patient>;
121
+ patient: Reference<Patient>;
122
122
 
123
123
  /**
124
124
  * A reference to a resource that identifies the particular occurrence of
@@ -130,19 +130,19 @@ export interface VisionPrescription {
130
130
  /**
131
131
  * The date (and perhaps time) when the prescription was written.
132
132
  */
133
- dateWritten?: string;
133
+ dateWritten: string;
134
134
 
135
135
  /**
136
136
  * The healthcare professional responsible for authorizing the
137
137
  * prescription.
138
138
  */
139
- prescriber?: Reference<Practitioner | PractitionerRole>;
139
+ prescriber: Reference<Practitioner | PractitionerRole>;
140
140
 
141
141
  /**
142
142
  * Contain the details of the individual lens specifications and serves
143
143
  * as the authorization for the fullfillment by certified professionals.
144
144
  */
145
- lensSpecification?: VisionPrescriptionLensSpecification[];
145
+ lensSpecification: VisionPrescriptionLensSpecification[];
146
146
  }
147
147
 
148
148
  /**
@@ -190,12 +190,12 @@ export interface VisionPrescriptionLensSpecification {
190
190
  * Identifies the type of vision correction product which is required for
191
191
  * the patient.
192
192
  */
193
- product?: CodeableConcept;
193
+ product: CodeableConcept;
194
194
 
195
195
  /**
196
196
  * The eye for which the lens specification applies.
197
197
  */
198
- eye?: 'right' | 'left';
198
+ eye: 'right' | 'left';
199
199
 
200
200
  /**
201
201
  * Lens power measured in dioptres (0.25 units).
@@ -302,10 +302,10 @@ export interface VisionPrescriptionLensSpecificationPrism {
302
302
  /**
303
303
  * Amount of prism to compensate for eye alignment in fractional units.
304
304
  */
305
- amount?: number;
305
+ amount: number;
306
306
 
307
307
  /**
308
308
  * The relative base, or reference lens edge, for the prism.
309
309
  */
310
- base?: 'up' | 'down' | 'in' | 'out';
310
+ base: 'up' | 'down' | 'in' | 'out';
311
311
  }