@medplum/fhirtypes 2.2.10 → 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
@@ -122,7 +122,7 @@ export interface OperationDefinition {
122
122
  * name should be usable as an identifier for the module by machine
123
123
  * processing applications such as code generation.
124
124
  */
125
- name?: string;
125
+ name: string;
126
126
 
127
127
  /**
128
128
  * A short, descriptive, user-friendly title for the operation
@@ -134,12 +134,12 @@ export interface OperationDefinition {
134
134
  * The status of this operation definition. Enables tracking the
135
135
  * life-cycle of the content.
136
136
  */
137
- status?: 'draft' | 'active' | 'retired' | 'unknown';
137
+ status: 'draft' | 'active' | 'retired' | 'unknown';
138
138
 
139
139
  /**
140
140
  * Whether this is an operation or a named query.
141
141
  */
142
- kind?: 'operation' | 'query';
142
+ kind: 'operation' | 'query';
143
143
 
144
144
  /**
145
145
  * A Boolean value to indicate that this operation definition is authored
@@ -205,7 +205,7 @@ export interface OperationDefinition {
205
205
  /**
206
206
  * The name used to invoke the operation.
207
207
  */
208
- code?: string;
208
+ code: string;
209
209
 
210
210
  /**
211
211
  * Additional information about how to use this operation or named query.
@@ -228,20 +228,20 @@ export interface OperationDefinition {
228
228
  * system level (e.g. without needing to choose a resource type for the
229
229
  * context).
230
230
  */
231
- system?: boolean;
231
+ system: boolean;
232
232
 
233
233
  /**
234
234
  * Indicates whether this operation or named query can be invoked at the
235
235
  * resource type level for any given resource type level (e.g. without
236
236
  * needing to choose a specific resource id for the context).
237
237
  */
238
- type?: boolean;
238
+ type: boolean;
239
239
 
240
240
  /**
241
241
  * Indicates whether this operation can be invoked on a particular
242
242
  * instance of one of the given types.
243
243
  */
244
- instance?: boolean;
244
+ instance: boolean;
245
245
 
246
246
  /**
247
247
  * Additional validation information for the in parameters - a single
@@ -366,24 +366,24 @@ export interface OperationDefinitionParameter {
366
366
  /**
367
367
  * The name of used to identify the parameter.
368
368
  */
369
- name?: string;
369
+ name: string;
370
370
 
371
371
  /**
372
372
  * Whether this is an input or an output parameter.
373
373
  */
374
- use?: 'in' | 'out';
374
+ use: 'in' | 'out';
375
375
 
376
376
  /**
377
377
  * The minimum number of times this parameter SHALL appear in the request
378
378
  * or response.
379
379
  */
380
- min?: number;
380
+ min: number;
381
381
 
382
382
  /**
383
383
  * The maximum number of times this element is permitted to appear in the
384
384
  * request or response.
385
385
  */
386
- max?: string;
386
+ max: string;
387
387
 
388
388
  /**
389
389
  * Describes the meaning or use of this parameter.
@@ -478,13 +478,13 @@ export interface OperationDefinitionParameterBinding {
478
478
  * binding - that is, the degree to which the provided value set must be
479
479
  * adhered to in the instances.
480
480
  */
481
- strength?: 'required' | 'extensible' | 'preferred' | 'example';
481
+ strength: 'required' | 'extensible' | 'preferred' | 'example';
482
482
 
483
483
  /**
484
484
  * Points to the value set or external definition (e.g. implicit value
485
485
  * set) that identifies the set of codes to be used.
486
486
  */
487
- valueSet?: string;
487
+ valueSet: string;
488
488
  }
489
489
 
490
490
  /**
@@ -533,7 +533,7 @@ export interface OperationDefinitionParameterReferencedFrom {
533
533
  * pointing to the resource parameter that is expected to contain a
534
534
  * reference to this resource.
535
535
  */
536
- source?: string;
536
+ source: string;
537
537
 
538
538
  /**
539
539
  * The id of the element in the referencing resource that is expected to
@@ -95,7 +95,7 @@ export interface OperationOutcome {
95
95
  * An error, warning, or information message that results from a system
96
96
  * action.
97
97
  */
98
- issue?: OperationOutcomeIssue[];
98
+ issue: OperationOutcomeIssue[];
99
99
  }
100
100
 
101
101
  /**
@@ -143,7 +143,7 @@ export interface OperationOutcomeIssue {
143
143
  * Indicates whether the issue indicates a variation from successful
144
144
  * processing.
145
145
  */
146
- severity?: 'fatal' | 'error' | 'warning' | 'information';
146
+ severity: 'fatal' | 'error' | 'warning' | 'information';
147
147
 
148
148
  /**
149
149
  * Describes the type of the issue. The system that creates an
@@ -151,7 +151,7 @@ export interface OperationOutcomeIssue {
151
151
  * IssueType value set, and may additional provide its own code for the
152
152
  * error in the details element.
153
153
  */
154
- code?: 'invalid' | 'structure' | 'required' | 'value' | 'invariant' | 'security' | 'login' | 'unknown' | 'expired' |
154
+ code: 'invalid' | 'structure' | 'required' | 'value' | 'invariant' | 'security' | 'login' | 'unknown' | 'expired' |
155
155
  'forbidden' | 'suppressed' | 'processing' | 'not-supported' | 'duplicate' | 'multiple-matches' | 'not-found' |
156
156
  'deleted' | 'too-long' | 'code-invalid' | 'extension' | 'too-costly' | 'business-rule' | 'conflict' | 'transient' |
157
157
  'lock-error' | 'no-store' | 'exception' | 'timeout' | 'incomplete' | 'throttled' | 'informational';
@@ -38,7 +38,7 @@ export interface ParameterDefinition {
38
38
  /**
39
39
  * Whether the parameter is input or output for the module.
40
40
  */
41
- use?: 'in' | 'out';
41
+ use: 'in' | 'out';
42
42
 
43
43
  /**
44
44
  * The minimum number of times this parameter SHALL appear in the request
@@ -61,7 +61,7 @@ export interface ParameterDefinition {
61
61
  /**
62
62
  * The type of the parameter.
63
63
  */
64
- type?: string;
64
+ type: string;
65
65
 
66
66
  /**
67
67
  * If specified, this indicates a profile that the input data must
@@ -124,7 +124,7 @@ export interface ParametersParameter {
124
124
  /**
125
125
  * The name of the parameter (reference to the operation definition).
126
126
  */
127
- name?: string;
127
+ name: string;
128
128
 
129
129
  /**
130
130
  * If the parameter is a data type.
@@ -51,12 +51,12 @@ export interface PasswordChangeRequest {
51
51
  /**
52
52
  * The user requesting the password change.
53
53
  */
54
- user?: Reference<User>;
54
+ user: Reference<User>;
55
55
 
56
56
  /**
57
57
  * Secret string used to verify the identity of the user.
58
58
  */
59
- secret?: string;
59
+ secret: string;
60
60
 
61
61
  /**
62
62
  * Whether this request has been used, and is therefore no longer valid.
package/dist/Patient.d.ts CHANGED
@@ -254,7 +254,7 @@ export interface PatientCommunication {
254
254
  * upper case; e.g. &quot;en&quot; for English, or &quot;en-US&quot; for American English
255
255
  * versus &quot;en-EN&quot; for England English.
256
256
  */
257
- language?: CodeableConcept;
257
+ language: CodeableConcept;
258
258
 
259
259
  /**
260
260
  * Indicates whether or not the patient prefers this language (over other
@@ -388,11 +388,11 @@ export interface PatientLink {
388
388
  /**
389
389
  * The other patient resource that the link refers to.
390
390
  */
391
- other?: Reference<Patient | RelatedPerson>;
391
+ other: Reference<Patient | RelatedPerson>;
392
392
 
393
393
  /**
394
394
  * The type of link between this patient resource and another patient
395
395
  * resource.
396
396
  */
397
- type?: 'replaced-by' | 'replaces' | 'refer' | 'seealso';
397
+ type: 'replaced-by' | 'replaces' | 'refer' | 'seealso';
398
398
  }
@@ -106,7 +106,7 @@ export interface PaymentNotice {
106
106
  /**
107
107
  * The status of the resource instance.
108
108
  */
109
- status?: 'active' | 'cancelled' | 'draft' | 'entered-in-error';
109
+ status: 'active' | 'cancelled' | 'draft' | 'entered-in-error';
110
110
 
111
111
  /**
112
112
  * Reference of resource for which payment is being made.
@@ -121,7 +121,7 @@ export interface PaymentNotice {
121
121
  /**
122
122
  * The date when this resource was created.
123
123
  */
124
- created?: string;
124
+ created: string;
125
125
 
126
126
  /**
127
127
  * The practitioner who is responsible for the services rendered to the
@@ -132,7 +132,7 @@ export interface PaymentNotice {
132
132
  /**
133
133
  * A reference to the payment which is the subject of this notice.
134
134
  */
135
- payment?: Reference<PaymentReconciliation>;
135
+ payment: Reference<PaymentReconciliation>;
136
136
 
137
137
  /**
138
138
  * The date when the above payment action occurred.
@@ -148,12 +148,12 @@ export interface PaymentNotice {
148
148
  /**
149
149
  * The party who is notified of the payment status.
150
150
  */
151
- recipient?: Reference<Organization>;
151
+ recipient: Reference<Organization>;
152
152
 
153
153
  /**
154
154
  * The amount sent to the payee.
155
155
  */
156
- amount?: Money;
156
+ amount: Money;
157
157
 
158
158
  /**
159
159
  * A code indicating whether payment has been sent or cleared.
@@ -107,7 +107,7 @@ export interface PaymentReconciliation {
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 period of time for which payments have been gathered into this
@@ -118,7 +118,7 @@ export interface PaymentReconciliation {
118
118
  /**
119
119
  * The date when the resource was created.
120
120
  */
121
- created?: string;
121
+ created: string;
122
122
 
123
123
  /**
124
124
  * The party who generated the payment.
@@ -150,12 +150,12 @@ export interface PaymentReconciliation {
150
150
  /**
151
151
  * The date of payment as indicated on the financial instrument.
152
152
  */
153
- paymentDate?: string;
153
+ paymentDate: string;
154
154
 
155
155
  /**
156
156
  * Total payment amount as indicated on the financial instrument.
157
157
  */
158
- paymentAmount?: Money;
158
+ paymentAmount: Money;
159
159
 
160
160
  /**
161
161
  * Issuer's unique identifier for the payment instrument.
@@ -236,7 +236,7 @@ export interface PaymentReconciliationDetail {
236
236
  /**
237
237
  * Code to indicate the nature of the payment.
238
238
  */
239
- type?: CodeableConcept;
239
+ type: CodeableConcept;
240
240
 
241
241
  /**
242
242
  * A resource, such as a Claim, the evaluation of which could lead to
package/dist/Person.d.ts CHANGED
@@ -196,7 +196,7 @@ export interface PersonLink {
196
196
  /**
197
197
  * The resource to which this actual person is associated.
198
198
  */
199
- target?: Reference<Patient | Practitioner | RelatedPerson | Person>;
199
+ target: Reference<Patient | Practitioner | RelatedPerson | Person>;
200
200
 
201
201
  /**
202
202
  * Level of assurance that this link is associated with the target
@@ -170,7 +170,7 @@ export interface PlanDefinition {
170
170
  * The status of this plan definition. Enables tracking the life-cycle of
171
171
  * the content.
172
172
  */
173
- status?: 'draft' | 'active' | 'retired' | 'unknown';
173
+ status: 'draft' | 'active' | 'retired' | 'unknown';
174
174
 
175
175
  /**
176
176
  * A Boolean value to indicate that this plan definition is authored for
@@ -610,7 +610,7 @@ export interface PlanDefinitionActionCondition {
610
610
  /**
611
611
  * The kind of condition.
612
612
  */
613
- kind?: 'applicability' | 'start' | 'stop';
613
+ kind: 'applicability' | 'start' | 'stop';
614
614
 
615
615
  /**
616
616
  * An expression that returns true or false, indicating whether the
@@ -725,7 +725,7 @@ export interface PlanDefinitionActionParticipant {
725
725
  /**
726
726
  * The type of participant in the action.
727
727
  */
728
- type?: 'patient' | 'practitioner' | 'related-person' | 'device';
728
+ type: 'patient' | 'practitioner' | 'related-person' | 'device';
729
729
 
730
730
  /**
731
731
  * The role the participant should play in performing the described
@@ -778,12 +778,12 @@ export interface PlanDefinitionActionRelatedAction {
778
778
  /**
779
779
  * The element id of the related action.
780
780
  */
781
- actionId?: string;
781
+ actionId: string;
782
782
 
783
783
  /**
784
784
  * The relationship of this action to the related action.
785
785
  */
786
- relationship?: 'before-start' | 'before' | 'before-end' | 'concurrent-with-start' | 'concurrent' |
786
+ relationship: 'before-start' | 'before' | 'before-end' | 'concurrent-with-start' | 'concurrent' |
787
787
  'concurrent-with-end' | 'after-start' | 'after' | 'after-end';
788
788
 
789
789
  /**
@@ -852,7 +852,7 @@ export interface PlanDefinitionGoal {
852
852
  * objective of care, such as &quot;control blood pressure&quot; or &quot;negotiate an
853
853
  * obstacle course&quot; or &quot;dance with child at wedding&quot;.
854
854
  */
855
- description?: CodeableConcept;
855
+ description: CodeableConcept;
856
856
 
857
857
  /**
858
858
  * Identifies the expected level of importance associated with
@@ -209,7 +209,7 @@ export interface PractitionerQualification {
209
209
  /**
210
210
  * Coded representation of the qualification.
211
211
  */
212
- code?: CodeableConcept;
212
+ code: CodeableConcept;
213
213
 
214
214
  /**
215
215
  * Period during which the qualification is valid.
@@ -292,7 +292,7 @@ export interface PractitionerRoleNotAvailable {
292
292
  * The reason that can be presented to the user as to why this time is
293
293
  * not available.
294
294
  */
295
- description?: string;
295
+ description: string;
296
296
 
297
297
  /**
298
298
  * Service is not available (seasonally or for a public holiday) from
@@ -154,7 +154,7 @@ export interface Procedure {
154
154
  * A code specifying the state of the procedure. Generally, this will be
155
155
  * the in-progress or completed state.
156
156
  */
157
- status?: 'preparation' | 'in-progress' | 'not-done' | 'on-hold' | 'stopped' | 'completed' | 'entered-in-error' | 'unknown';
157
+ status: 'preparation' | 'in-progress' | 'not-done' | 'on-hold' | 'stopped' | 'completed' | 'entered-in-error' | 'unknown';
158
158
 
159
159
  /**
160
160
  * Captures the reason for the current state of the procedure.
@@ -176,7 +176,7 @@ export interface Procedure {
176
176
  /**
177
177
  * The person, animal or group on which the procedure was performed.
178
178
  */
179
- subject?: Reference<Patient | Group>;
179
+ subject: Reference<Patient | Group>;
180
180
 
181
181
  /**
182
182
  * The Encounter during which this Procedure was created or performed or
@@ -371,7 +371,7 @@ export interface ProcedureFocalDevice {
371
371
  /**
372
372
  * The device that was manipulated (changed) during the procedure.
373
373
  */
374
- manipulated?: Reference<Device>;
374
+ manipulated: Reference<Device>;
375
375
  }
376
376
 
377
377
  /**
@@ -423,7 +423,7 @@ export interface ProcedurePerformer {
423
423
  /**
424
424
  * The practitioner who was involved in the procedure.
425
425
  */
426
- actor?: Reference<Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device>;
426
+ actor: Reference<Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device>;
427
427
 
428
428
  /**
429
429
  * The organization the device or practitioner was acting on behalf of.
@@ -62,7 +62,7 @@ export interface ProductShelfLife {
62
62
  * using an appropriate controlled vocabulary The controlled term and the
63
63
  * controlled term identifier shall be specified.
64
64
  */
65
- type?: CodeableConcept;
65
+ type: CodeableConcept;
66
66
 
67
67
  /**
68
68
  * The shelf life time period can be specified using a numerical value
@@ -71,7 +71,7 @@ export interface ProductShelfLife {
71
71
  * resulting terminology The symbol and the symbol identifier shall be
72
72
  * used.
73
73
  */
74
- period?: Quantity;
74
+ period: Quantity;
75
75
 
76
76
  /**
77
77
  * Special precautions for storage, if any, can be specified using an
package/dist/Project.d.ts CHANGED
@@ -108,7 +108,7 @@ export interface ProjectSecret {
108
108
  /**
109
109
  * The secret name.
110
110
  */
111
- name?: string;
111
+ name: string;
112
112
 
113
113
  /**
114
114
  * The secret value.
@@ -140,7 +140,7 @@ export interface ProjectSite {
140
140
  * Friendly name that will make it easy for you to identify the site in
141
141
  * the future.
142
142
  */
143
- name?: string;
143
+ name: string;
144
144
 
145
145
  /**
146
146
  * The list of domain names associated with the site. User authentication
@@ -149,7 +149,7 @@ export interface ProjectSite {
149
149
  * subdomain.example.com. A valid domain requires a host and must not
150
150
  * include any path, port, query or fragment.
151
151
  */
152
- domain?: string[];
152
+ domain: string[];
153
153
 
154
154
  /**
155
155
  * The publicly visible Google Client ID for the site. This is used to
@@ -55,7 +55,7 @@ export interface ProjectMembership {
55
55
  /**
56
56
  * Project where the memberships are available.
57
57
  */
58
- project?: Reference<Project>;
58
+ project: Reference<Project>;
59
59
 
60
60
  /**
61
61
  * The project administrator who invited the user to the project.
@@ -65,13 +65,13 @@ export interface ProjectMembership {
65
65
  /**
66
66
  * User that is granted access to the project.
67
67
  */
68
- user?: Reference<Bot | ClientApplication | User>;
68
+ user: Reference<Bot | ClientApplication | User>;
69
69
 
70
70
  /**
71
71
  * Reference to the resource that represents the user profile within the
72
72
  * project.
73
73
  */
74
- profile?: Reference<Bot | ClientApplication | Patient | Practitioner | RelatedPerson>;
74
+ profile: Reference<Bot | ClientApplication | Patient | Practitioner | RelatedPerson>;
75
75
 
76
76
  /**
77
77
  * A String that is an identifier for the resource as defined by the
@@ -120,7 +120,7 @@ export interface ProjectMembershipAccess {
120
120
  * The base access policy used as a template. Variables in the template
121
121
  * access policy are replaced by the values in the parameter.
122
122
  */
123
- policy?: Reference<AccessPolicy>;
123
+ policy: Reference<AccessPolicy>;
124
124
 
125
125
  /**
126
126
  * User options that control the display of the application.
@@ -136,7 +136,7 @@ export interface ProjectMembershipAccessParameter {
136
136
  /**
137
137
  * The unique name of the parameter.
138
138
  */
139
- name?: string;
139
+ name: string;
140
140
 
141
141
  /**
142
142
  * Value of the parameter - must be one of a constrained set of the data
@@ -116,7 +116,7 @@ export interface Provenance {
116
116
  * target if multiple resources were created/updated by the same
117
117
  * activity.
118
118
  */
119
- target?: Reference<Resource>[];
119
+ target: Reference<Resource>[];
120
120
 
121
121
  /**
122
122
  * The period during which the activity occurred.
@@ -131,7 +131,7 @@ export interface Provenance {
131
131
  /**
132
132
  * The instant of time at which the activity was recorded.
133
133
  */
134
- recorded?: string;
134
+ recorded: string;
135
135
 
136
136
  /**
137
137
  * Policy or plan the activity was defined by. Typically, a single
@@ -161,7 +161,7 @@ export interface Provenance {
161
161
  * An actor taking a role in an activity for which it can be assigned
162
162
  * some degree of responsibility for the activity taking place.
163
163
  */
164
- agent?: ProvenanceAgent[];
164
+ agent: ProvenanceAgent[];
165
165
 
166
166
  /**
167
167
  * An entity used in this activity.
@@ -230,7 +230,7 @@ export interface ProvenanceAgent {
230
230
  /**
231
231
  * The individual, device or organization that participated in the event.
232
232
  */
233
- who?: Reference<Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization>;
233
+ who: Reference<Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization>;
234
234
 
235
235
  /**
236
236
  * The individual, device, or organization for whom the change was made.
@@ -281,13 +281,13 @@ export interface ProvenanceEntity {
281
281
  /**
282
282
  * How the entity was used during the activity.
283
283
  */
284
- role?: 'derivation' | 'revision' | 'quotation' | 'source' | 'removal';
284
+ role: 'derivation' | 'revision' | 'quotation' | 'source' | 'removal';
285
285
 
286
286
  /**
287
287
  * Identity of the Entity used. May be a logical or physical uri and
288
288
  * maybe absolute or relative.
289
289
  */
290
- what?: Reference<Resource>;
290
+ what: Reference<Resource>;
291
291
 
292
292
  /**
293
293
  * The entity is attributed to an agent to express the agent's
@@ -152,7 +152,7 @@ export interface Questionnaire {
152
152
  * The status of this questionnaire. Enables tracking the life-cycle of
153
153
  * the content.
154
154
  */
155
- status?: 'draft' | 'active' | 'retired' | 'unknown';
155
+ status: 'draft' | 'active' | 'retired' | 'unknown';
156
156
 
157
157
  /**
158
158
  * A Boolean value to indicate that this questionnaire is authored for
@@ -299,7 +299,7 @@ export interface QuestionnaireItem {
299
299
  * An identifier that is unique within the Questionnaire allowing linkage
300
300
  * to the equivalent item in a QuestionnaireResponse resource.
301
301
  */
302
- linkId?: string;
302
+ linkId: string;
303
303
 
304
304
  /**
305
305
  * This element is a URI that refers to an
@@ -345,8 +345,8 @@ export interface QuestionnaireItem {
345
345
  * grouping of other items or a particular type of data to be captured
346
346
  * (string, integer, coded choice, etc.).
347
347
  */
348
- type?: 'group' | 'display' | 'question' | 'boolean' | 'decimal' | 'integer' | 'date' | 'dateTime' | 'time' |
349
- 'string' | 'text' | 'url' | 'choice' | 'open-choice' | 'attachment' | 'reference' | 'quantity';
348
+ type: 'group' | 'display' | 'question' | 'boolean' | 'decimal' | 'integer' | 'date' | 'dateTime' | 'time' | 'string'
349
+ | 'text' | 'url' | 'choice' | 'open-choice' | 'attachment' | 'reference' | 'quantity';
350
350
 
351
351
  /**
352
352
  * A constraint indicating that this item should only be enabled
@@ -534,12 +534,12 @@ export interface QuestionnaireItemEnableWhen {
534
534
  * The linkId for the question whose answer (or lack of answer) governs
535
535
  * whether this item is enabled.
536
536
  */
537
- question?: string;
537
+ question: string;
538
538
 
539
539
  /**
540
540
  * Specifies the criteria by which the question is enabled.
541
541
  */
542
- operator?: 'exists' | '=' | '!=' | '>' | '<' | '>=' | '<=';
542
+ operator: 'exists' | '=' | '!=' | '>' | '<' | '>=' | '<=';
543
543
 
544
544
  /**
545
545
  * A value that the referenced question is tested using the specified
@@ -138,7 +138,7 @@ export interface QuestionnaireResponse {
138
138
  * The position of the questionnaire response within its overall
139
139
  * lifecycle.
140
140
  */
141
- status?: 'in-progress' | 'completed' | 'amended' | 'entered-in-error' | 'stopped';
141
+ status: 'in-progress' | 'completed' | 'amended' | 'entered-in-error' | 'stopped';
142
142
 
143
143
  /**
144
144
  * The subject of the questionnaire response. This could be a patient,
@@ -221,7 +221,7 @@ export interface QuestionnaireResponseItem {
221
221
  * The item from the Questionnaire that corresponds to this item in the
222
222
  * QuestionnaireResponse resource.
223
223
  */
224
- linkId?: string;
224
+ linkId: string;
225
225
 
226
226
  /**
227
227
  * A reference to an [ElementDefinition](elementdefinition.html) that
@@ -31,7 +31,7 @@ export interface RelatedArtifact {
31
31
  /**
32
32
  * The type of relationship to the related artifact.
33
33
  */
34
- type?: 'documentation' | 'justification' | 'citation' | 'predecessor' | 'successor' | 'derived-from' | 'depends-on' | 'composed-of';
34
+ type: 'documentation' | 'justification' | 'citation' | 'predecessor' | 'successor' | 'derived-from' | 'depends-on' | 'composed-of';
35
35
 
36
36
  /**
37
37
  * A short label that can be used to reference the citation from
@@ -113,7 +113,7 @@ export interface RelatedPerson {
113
113
  /**
114
114
  * The patient this person is related to.
115
115
  */
116
- patient?: Reference<Patient>;
116
+ patient: Reference<Patient>;
117
117
 
118
118
  /**
119
119
  * The nature of the relationship between a patient and the related
@@ -213,7 +213,7 @@ export interface RelatedPersonCommunication {
213
213
  * upper case; e.g. &quot;en&quot; for English, or &quot;en-US&quot; for American English
214
214
  * versus &quot;en-EN&quot; for England English.
215
215
  */
216
- language?: CodeableConcept;
216
+ language: CodeableConcept;
217
217
 
218
218
  /**
219
219
  * Indicates whether or not the patient prefers this language (over other