@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
@@ -84,13 +84,13 @@ export interface AccessPolicyIpAccessRule {
84
84
  * An IP Access rule will apply a certain action to incoming traffic
85
85
  * based on the visitor IP address or IP range.
86
86
  */
87
- value?: string;
87
+ value: string;
88
88
 
89
89
  /**
90
90
  * Access rule can perform one of the following actions: "allow" |
91
91
  * "block".
92
92
  */
93
- action?: 'allow' | 'block';
93
+ action: 'allow' | 'block';
94
94
  }
95
95
 
96
96
  /**
@@ -101,7 +101,7 @@ export interface AccessPolicyResource {
101
101
  /**
102
102
  * The resource type.
103
103
  */
104
- resourceType?: string;
104
+ resourceType: string;
105
105
 
106
106
  /**
107
107
  * DEPRECATED Optional compartment restriction for the resource type.
package/dist/Account.d.ts CHANGED
@@ -113,7 +113,7 @@ export interface Account {
113
113
  /**
114
114
  * Indicates whether the account is presently used/usable or not.
115
115
  */
116
- status?: 'active' | 'inactive' | 'entered-in-error' | 'on-hold' | 'unknown';
116
+ status: 'active' | 'inactive' | 'entered-in-error' | 'on-hold' | 'unknown';
117
117
 
118
118
  /**
119
119
  * Categorizes the account for reporting and searching purposes.
@@ -218,7 +218,7 @@ export interface AccountCoverage {
218
218
  * the sequence of the coverages in the account could be important when
219
219
  * processing billing.
220
220
  */
221
- coverage?: Reference<Coverage>;
221
+ coverage: Reference<Coverage>;
222
222
 
223
223
  /**
224
224
  * The priority of the coverage in the context of this account.
@@ -270,7 +270,7 @@ export interface AccountGuarantor {
270
270
  /**
271
271
  * The entity who is responsible.
272
272
  */
273
- party?: Reference<Patient | RelatedPerson | Organization>;
273
+ party: Reference<Patient | RelatedPerson | Organization>;
274
274
 
275
275
  /**
276
276
  * A guarantor may be placed on credit hold or otherwise have their role
@@ -166,7 +166,7 @@ export interface ActivityDefinition {
166
166
  * The status of this activity definition. Enables tracking the
167
167
  * life-cycle of the content.
168
168
  */
169
- status?: 'draft' | 'active' | 'retired' | 'unknown';
169
+ status: 'draft' | 'active' | 'retired' | 'unknown';
170
170
 
171
171
  /**
172
172
  * A Boolean value to indicate that this activity definition is authored
@@ -521,12 +521,12 @@ export interface ActivityDefinitionDynamicValue {
521
521
  * multiple-cardinality sub-elements (see the [Simple FHIRPath
522
522
  * Profile](fhirpath.html#simple) for full details).
523
523
  */
524
- path?: string;
524
+ path: string;
525
525
 
526
526
  /**
527
527
  * An expression specifying the value of the customized element.
528
528
  */
529
- expression?: Expression;
529
+ expression: Expression;
530
530
  }
531
531
 
532
532
  /**
@@ -572,7 +572,7 @@ export interface ActivityDefinitionParticipant {
572
572
  /**
573
573
  * The type of participant in the action.
574
574
  */
575
- type?: 'patient' | 'practitioner' | 'related-person' | 'device';
575
+ type: 'patient' | 'practitioner' | 'related-person' | 'device';
576
576
 
577
577
  /**
578
578
  * The role the participant should play in performing the described
@@ -128,7 +128,7 @@ export interface AdverseEvent {
128
128
  * Note that this is independent of whether anyone was affected or harmed
129
129
  * or how severely.
130
130
  */
131
- actuality?: 'actual' | 'potential';
131
+ actuality: 'actual' | 'potential';
132
132
 
133
133
  /**
134
134
  * The overall type of event, intended for search and filtering purposes.
@@ -144,7 +144,7 @@ export interface AdverseEvent {
144
144
  /**
145
145
  * This subject or group impacted by the event.
146
146
  */
147
- subject?: Reference<Patient | Group | Practitioner | RelatedPerson>;
147
+ subject: Reference<Patient | Group | Practitioner | RelatedPerson>;
148
148
 
149
149
  /**
150
150
  * The Encounter during which AdverseEvent was created or to which the
@@ -283,7 +283,7 @@ export interface AdverseEventSuspectEntity {
283
283
  * be a substance, medication, medication administration, medication
284
284
  * statement or a device.
285
285
  */
286
- instance?: Reference<Immunization | Procedure | Substance | Medication | MedicationAdministration | MedicationStatement | Device>;
286
+ instance: Reference<Immunization | Procedure | Substance | Medication | MedicationAdministration | MedicationStatement | Device>;
287
287
 
288
288
  /**
289
289
  * Information on the possible cause of the event.
package/dist/Agent.d.ts CHANGED
@@ -55,12 +55,12 @@ export interface Agent {
55
55
  /**
56
56
  * The human readable friendly name of the agent.
57
57
  */
58
- name?: string;
58
+ name: string;
59
59
 
60
60
  /**
61
61
  * The status of the agent.
62
62
  */
63
- status?: 'active' | 'off' | 'error';
63
+ status: 'active' | 'off' | 'error';
64
64
 
65
65
  /**
66
66
  * Optional device resource representing the device running the agent.
@@ -88,13 +88,13 @@ export interface AgentChannel {
88
88
  /**
89
89
  * The channel name.
90
90
  */
91
- name?: string;
91
+ name: string;
92
92
 
93
93
  /**
94
94
  * The channel endpoint definition including protocol and network binding
95
95
  * details.
96
96
  */
97
- endpoint?: Reference<Endpoint>;
97
+ endpoint: Reference<Endpoint>;
98
98
 
99
99
  /**
100
100
  * The target resource where channel messages will be delivered.
@@ -115,7 +115,7 @@ export interface AgentSetting {
115
115
  /**
116
116
  * The setting name.
117
117
  */
118
- name?: string;
118
+ name: string;
119
119
 
120
120
  /**
121
121
  * The setting value.
@@ -162,7 +162,7 @@ export interface AllergyIntolerance {
162
162
  /**
163
163
  * The patient who has the allergy or intolerance.
164
164
  */
165
- patient?: Reference<Patient>;
165
+ patient: Reference<Patient>;
166
166
 
167
167
  /**
168
168
  * The encounter when the allergy or intolerance was asserted.
@@ -296,7 +296,7 @@ export interface AllergyIntoleranceReaction {
296
296
  * Clinical symptoms and/or signs that are observed or associated with
297
297
  * the adverse reaction event.
298
298
  */
299
- manifestation?: CodeableConcept[];
299
+ manifestation: CodeableConcept[];
300
300
 
301
301
  /**
302
302
  * Text description about the reaction as a whole, including details of
@@ -50,5 +50,5 @@ export interface Annotation {
50
50
  /**
51
51
  * The text of the annotation in markdown format.
52
52
  */
53
- text?: string;
53
+ text: string;
54
54
  }
@@ -121,7 +121,7 @@ export interface Appointment {
121
121
  * their own participation status which indicates their involvement in
122
122
  * the process, however this status indicates the shared status.
123
123
  */
124
- status?: 'proposed' | 'pending' | 'booked' | 'arrived' | 'fulfilled' | 'cancelled' | 'noshow' | 'entered-in-error' | 'checked-in' | 'waitlist';
124
+ status: 'proposed' | 'pending' | 'booked' | 'arrived' | 'fulfilled' | 'cancelled' | 'noshow' | 'entered-in-error' | 'checked-in' | 'waitlist';
125
125
 
126
126
  /**
127
127
  * The coded reason for the appointment being cancelled. This is often
@@ -245,7 +245,7 @@ export interface Appointment {
245
245
  /**
246
246
  * List of participants involved in the appointment.
247
247
  */
248
- participant?: AppointmentParticipant[];
248
+ participant: AppointmentParticipant[];
249
249
 
250
250
  /**
251
251
  * A set of date ranges (potentially including times) that the
@@ -321,7 +321,7 @@ export interface AppointmentParticipant {
321
321
  /**
322
322
  * Participation status of the actor.
323
323
  */
324
- status?: 'accepted' | 'declined' | 'tentative' | 'needs-action';
324
+ status: 'accepted' | 'declined' | 'tentative' | 'needs-action';
325
325
 
326
326
  /**
327
327
  * Participation period of the actor.
@@ -112,7 +112,7 @@ export interface AppointmentResponse {
112
112
  /**
113
113
  * Appointment that this response is replying to.
114
114
  */
115
- appointment?: Reference<Appointment>;
115
+ appointment: Reference<Appointment>;
116
116
 
117
117
  /**
118
118
  * Date/Time that the appointment is to take place, or requested new
@@ -145,7 +145,7 @@ export interface AppointmentResponse {
145
145
  * When the status is accepted, the times can either be the time of the
146
146
  * appointment (as a confirmation of the time) or can be empty.
147
147
  */
148
- participantStatus?: 'accepted' | 'declined' | 'tentative' | 'needs-action';
148
+ participantStatus: 'accepted' | 'declined' | 'tentative' | 'needs-action';
149
149
 
150
150
  /**
151
151
  * Additional comments about the appointment.
@@ -44,12 +44,12 @@ export interface AsyncJob {
44
44
  /**
45
45
  * The status of the request.
46
46
  */
47
- status?: 'accepted' | 'active' | 'completed' | 'error';
47
+ status: 'accepted' | 'active' | 'completed' | 'error';
48
48
 
49
49
  /**
50
50
  * Indicates the server's time when the query is requested.
51
51
  */
52
- requestTime?: string;
52
+ requestTime: string;
53
53
 
54
54
  /**
55
55
  * Indicates the server's time when the query is run. The response SHOULD
@@ -63,5 +63,5 @@ export interface AsyncJob {
63
63
  * The full URL of the original kick-off request. In the case of a POST
64
64
  * request, this URL will not include the request parameters.
65
65
  */
66
- request?: string;
66
+ request: string;
67
67
  }
@@ -107,7 +107,7 @@ export interface AuditEvent {
107
107
  * program, rule, policy, function code, application name or URL. It
108
108
  * identifies the performed function.
109
109
  */
110
- type?: Coding;
110
+ type: Coding;
111
111
 
112
112
  /**
113
113
  * Identifier for the category of event.
@@ -128,7 +128,7 @@ export interface AuditEvent {
128
128
  /**
129
129
  * The time when the event was recorded.
130
130
  */
131
- recorded?: string;
131
+ recorded: string;
132
132
 
133
133
  /**
134
134
  * Indicates whether the event succeeded or failed.
@@ -150,12 +150,12 @@ export interface AuditEvent {
150
150
  * An actor taking an active role in the event or activity that is
151
151
  * logged.
152
152
  */
153
- agent?: AuditEventAgent[];
153
+ agent: AuditEventAgent[];
154
154
 
155
155
  /**
156
156
  * The system that is reporting the event.
157
157
  */
158
- source?: AuditEventSource;
158
+ source: AuditEventSource;
159
159
 
160
160
  /**
161
161
  * Specific instances of data or objects that have been accessed.
@@ -239,7 +239,7 @@ export interface AuditEventAgent {
239
239
  * Indicator that the user is or is not the requestor, or initiator, for
240
240
  * the event being audited.
241
241
  */
242
- requestor?: boolean;
242
+ requestor: boolean;
243
243
 
244
244
  /**
245
245
  * Where the event occurred.
@@ -460,7 +460,7 @@ export interface AuditEventEntityDetail {
460
460
  /**
461
461
  * The type of extra detail provided in the value.
462
462
  */
463
- type?: string;
463
+ type: string;
464
464
 
465
465
  /**
466
466
  * The value of the extra detail.
@@ -523,7 +523,7 @@ export interface AuditEventSource {
523
523
  /**
524
524
  * Identifier of the source where the event was detected.
525
525
  */
526
- observer?: Reference<PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson>;
526
+ observer: Reference<PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson>;
527
527
 
528
528
  /**
529
529
  * Code specifying the type of source where event originated.
package/dist/Basic.d.ts CHANGED
@@ -110,7 +110,7 @@ export interface Basic {
110
110
  * Identifies the 'type' of resource - equivalent to the resource name
111
111
  * for other resources.
112
112
  */
113
- code?: CodeableConcept;
113
+ code: CodeableConcept;
114
114
 
115
115
  /**
116
116
  * Identifies the patient, practitioner, device or any other resource
package/dist/Binary.d.ts CHANGED
@@ -49,7 +49,7 @@ export interface Binary {
49
49
  * MimeType of the binary content represented as a standard MimeType (BCP
50
50
  * 13).
51
51
  */
52
- contentType?: string;
52
+ contentType: string;
53
53
 
54
54
  /**
55
55
  * This element identifies another resource that can be used as a proxy
@@ -138,5 +138,5 @@ export interface BodyStructure {
138
138
  /**
139
139
  * The person to which the body site belongs.
140
140
  */
141
- patient?: Reference<Patient>;
141
+ patient: Reference<Patient>;
142
142
  }
@@ -45,12 +45,12 @@ export interface BulkDataExport {
45
45
  /**
46
46
  * The status of the request.
47
47
  */
48
- status?: 'accepted' | 'active' | 'completed' | 'error';
48
+ status: 'accepted' | 'active' | 'completed' | 'error';
49
49
 
50
50
  /**
51
51
  * Indicates the server's time when the query is requested.
52
52
  */
53
- requestTime?: string;
53
+ requestTime: string;
54
54
 
55
55
  /**
56
56
  * Indicates the server's time when the query is run. The response SHOULD
@@ -64,7 +64,7 @@ export interface BulkDataExport {
64
64
  * The full URL of the original Bulk Data kick-off request. In the case
65
65
  * of a POST request, this URL will not include the request parameters.
66
66
  */
67
- request?: string;
67
+ request: string;
68
68
 
69
69
  /**
70
70
  * Indicates whether downloading the generated files requires the same
@@ -101,14 +101,14 @@ export interface BulkDataExportDeleted {
101
101
  /**
102
102
  * The FHIR resource type that is contained in the file.
103
103
  */
104
- type?: ResourceType;
104
+ type: ResourceType;
105
105
 
106
106
  /**
107
107
  * The absolute path to the file. The format of the file SHOULD reflect
108
108
  * that requested in the _outputFormat parameter of the initial kick-off
109
109
  * request.
110
110
  */
111
- url?: string;
111
+ url: string;
112
112
  }
113
113
 
114
114
  /**
@@ -120,14 +120,14 @@ export interface BulkDataExportError {
120
120
  /**
121
121
  * The FHIR resource type that is contained in the file.
122
122
  */
123
- type?: ResourceType;
123
+ type: ResourceType;
124
124
 
125
125
  /**
126
126
  * The absolute path to the file. The format of the file SHOULD reflect
127
127
  * that requested in the _outputFormat parameter of the initial kick-off
128
128
  * request.
129
129
  */
130
- url?: string;
130
+ url: string;
131
131
  }
132
132
 
133
133
  /**
@@ -140,12 +140,12 @@ export interface BulkDataExportOutput {
140
140
  /**
141
141
  * The FHIR resource type that is contained in the file.
142
142
  */
143
- type?: ResourceType;
143
+ type: ResourceType;
144
144
 
145
145
  /**
146
146
  * The absolute path to the file. The format of the file SHOULD reflect
147
147
  * that requested in the _outputFormat parameter of the initial kick-off
148
148
  * request.
149
149
  */
150
- url?: string;
150
+ url: string;
151
151
  }
package/dist/Bundle.d.ts CHANGED
@@ -55,7 +55,7 @@ export interface Bundle<T extends Resource = Resource> {
55
55
  /**
56
56
  * Indicates the purpose of this bundle - how it is intended to be used.
57
57
  */
58
- type?: 'document' | 'message' | 'transaction' | 'transaction-response' | 'batch' | 'batch-response' | 'history' | 'searchset' | 'collection';
58
+ type: 'document' | 'message' | 'transaction' | 'transaction-response' | 'batch' | 'batch-response' | 'history' | 'searchset' | 'collection';
59
59
 
60
60
  /**
61
61
  * The date/time that the bundle was assembled - i.e. when the resources
@@ -221,13 +221,13 @@ export interface BundleEntryRequest {
221
221
  * this entry. In a history bundle, this indicates the HTTP action that
222
222
  * occurred.
223
223
  */
224
- method?: 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
224
+ method: 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
225
225
 
226
226
  /**
227
227
  * The URL for this entry, relative to the root (the address to which the
228
228
  * request is posted).
229
229
  */
230
- url?: string;
230
+ url: string;
231
231
 
232
232
  /**
233
233
  * If the ETag values match, return a 304 Not Modified status. See the
@@ -304,7 +304,7 @@ export interface BundleEntryResponse {
304
304
  * start with a 3 digit HTTP code (e.g. 404) and may contain the standard
305
305
  * HTTP description associated with the status code.
306
306
  */
307
- status?: string;
307
+ status: string;
308
308
 
309
309
  /**
310
310
  * The location header created by processing this operation, populated if
@@ -430,10 +430,10 @@ export interface BundleLink {
430
430
  * A name which details the functional use for this link - see
431
431
  * [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1).
432
432
  */
433
- relation?: string;
433
+ relation: string;
434
434
 
435
435
  /**
436
436
  * The reference details for the link.
437
437
  */
438
- url?: string;
438
+ url: string;
439
439
  }
@@ -139,7 +139,7 @@ export interface CapabilityStatement {
139
139
  * The status of this capability statement. Enables tracking the
140
140
  * life-cycle of the content.
141
141
  */
142
- status?: 'draft' | 'active' | 'retired' | 'unknown';
142
+ status: 'draft' | 'active' | 'retired' | 'unknown';
143
143
 
144
144
  /**
145
145
  * A Boolean value to indicate that this capability statement is authored
@@ -155,7 +155,7 @@ export interface CapabilityStatement {
155
155
  * change when the substantive content of the capability statement
156
156
  * changes.
157
157
  */
158
- date?: string;
158
+ date: string;
159
159
 
160
160
  /**
161
161
  * The name of the organization or individual that published the
@@ -212,7 +212,7 @@ export interface CapabilityStatement {
212
212
  * instance of software) or a class of implementation (e.g. a desired
213
213
  * purchase).
214
214
  */
215
- kind?: 'instance' | 'capability' | 'requirements';
215
+ kind: 'instance' | 'capability' | 'requirements';
216
216
 
217
217
  /**
218
218
  * Reference to a canonical URL of another CapabilityStatement that this
@@ -252,14 +252,14 @@ export interface CapabilityStatement {
252
252
  * describes (which SHALL be the same as the FHIR version of the
253
253
  * CapabilityStatement itself). There is no default value.
254
254
  */
255
- fhirVersion?: '0.01' | '0.05' | '0.06' | '0.11' | '0.0.80' | '0.0.81' | '0.0.82' | '0.4.0' | '0.5.0' | '1.0.0' |
255
+ fhirVersion: '0.01' | '0.05' | '0.06' | '0.11' | '0.0.80' | '0.0.81' | '0.0.82' | '0.4.0' | '0.5.0' | '1.0.0' |
256
256
  '1.0.1' | '1.0.2' | '1.1.0' | '1.4.0' | '1.6.0' | '1.8.0' | '3.0.0' | '3.0.1' | '3.3.0' | '3.5.0' | '4.0.0' | '4.0.1';
257
257
 
258
258
  /**
259
259
  * A list of the formats supported by this implementation using their
260
260
  * content types.
261
261
  */
262
- format?: string[];
262
+ format: string[];
263
263
 
264
264
  /**
265
265
  * A list of the patch formats supported by this implementation using
@@ -333,7 +333,7 @@ export interface CapabilityStatementDocument {
333
333
  * Mode of this document declaration - whether an application is a
334
334
  * producer or consumer.
335
335
  */
336
- mode?: 'producer' | 'consumer';
336
+ mode: 'producer' | 'consumer';
337
337
 
338
338
  /**
339
339
  * A description of how the application supports or uses the specified
@@ -346,7 +346,7 @@ export interface CapabilityStatementDocument {
346
346
  * A profile on the document Bundle that constrains which resources are
347
347
  * present, and their contents.
348
348
  */
349
- profile?: string;
349
+ profile: string;
350
350
  }
351
351
 
352
352
  /**
@@ -395,7 +395,7 @@ export interface CapabilityStatementImplementation {
395
395
  * Information about the specific installation that this capability
396
396
  * statement relates to.
397
397
  */
398
- description?: string;
398
+ description: string;
399
399
 
400
400
  /**
401
401
  * An absolute base URL for the implementation. This forms the base for
@@ -523,13 +523,13 @@ export interface CapabilityStatementMessagingEndpoint {
523
523
  * A list of the messaging transport protocol(s) identifiers, supported
524
524
  * by this endpoint.
525
525
  */
526
- protocol?: Coding;
526
+ protocol: Coding;
527
527
 
528
528
  /**
529
529
  * The network address of the endpoint. For solutions that do not use
530
530
  * network addresses for routing, it can be just an identifier.
531
531
  */
532
- address?: string;
532
+ address: string;
533
533
  }
534
534
 
535
535
  /**
@@ -577,13 +577,13 @@ export interface CapabilityStatementMessagingSupportedMessage {
577
577
  * The mode of this event declaration - whether application is sender or
578
578
  * receiver.
579
579
  */
580
- mode?: 'sender' | 'receiver';
580
+ mode: 'sender' | 'receiver';
581
581
 
582
582
  /**
583
583
  * Points to a message definition that identifies the messaging event,
584
584
  * message structure, allowed responses, etc.
585
585
  */
586
- definition?: string;
586
+ definition: string;
587
587
  }
588
588
 
589
589
  /**
@@ -630,7 +630,7 @@ export interface CapabilityStatementRest {
630
630
  * Identifies whether this portion of the statement is describing the
631
631
  * ability to initiate or receive restful operations.
632
632
  */
633
- mode?: 'client' | 'server';
633
+ mode: 'client' | 'server';
634
634
 
635
635
  /**
636
636
  * Information about the system's restful capabilities that apply across
@@ -720,7 +720,7 @@ export interface CapabilityStatementRestInteraction {
720
720
  /**
721
721
  * A coded identifier of the operation, supported by the system.
722
722
  */
723
- code?: 'transaction' | 'batch' | 'search-system' | 'history-system';
723
+ code: 'transaction' | 'batch' | 'search-system' | 'history-system';
724
724
 
725
725
  /**
726
726
  * Guidance specific to the implementation of this operation, such as
@@ -774,7 +774,7 @@ export interface CapabilityStatementRestResource {
774
774
  /**
775
775
  * A type of resource exposed via the restful interface.
776
776
  */
777
- type?: ResourceType;
777
+ type: ResourceType;
778
778
 
779
779
  /**
780
780
  * A specification of the profile that describes the solution's overall
@@ -926,7 +926,7 @@ export interface CapabilityStatementRestResourceInteraction {
926
926
  /**
927
927
  * Coded identifier of the operation, supported by the system resource.
928
928
  */
929
- code?: 'read' | 'vread' | 'update' | 'patch' | 'delete' | 'history-instance' | 'history-type' | 'create' | 'search-type';
929
+ code: 'read' | 'vread' | 'update' | 'patch' | 'delete' | 'history-instance' | 'history-type' | 'create' | 'search-type';
930
930
 
931
931
  /**
932
932
  * Guidance specific to the implementation of this operation, such as
@@ -984,7 +984,7 @@ export interface CapabilityStatementRestResourceOperation {
984
984
  * prefixed with $ and used in the URL. For a query, this is the name
985
985
  * used in the _query parameter when the query is called.
986
986
  */
987
- name?: string;
987
+ name: string;
988
988
 
989
989
  /**
990
990
  * Where the formal definition can be found. If a server references the
@@ -997,7 +997,7 @@ export interface CapabilityStatementRestResourceOperation {
997
997
  * 'base' of the original OperationDefinition. The custom definition
998
998
  * would describe the specific subset of functionality supported.
999
999
  */
1000
- definition?: string;
1000
+ definition: string;
1001
1001
 
1002
1002
  /**
1003
1003
  * Documentation that describes anything special about the operation
@@ -1052,7 +1052,7 @@ export interface CapabilityStatementRestResourceSearchParam {
1052
1052
  /**
1053
1053
  * The name of the search parameter used in the interface.
1054
1054
  */
1055
- name?: string;
1055
+ name: string;
1056
1056
 
1057
1057
  /**
1058
1058
  * An absolute URI that is a formal reference to where this parameter was
@@ -1069,7 +1069,7 @@ export interface CapabilityStatementRestResourceSearchParam {
1069
1069
  * The type of value a search parameter refers to, and how the content is
1070
1070
  * interpreted.
1071
1071
  */
1072
- type?: 'number' | 'date' | 'string' | 'token' | 'reference' | 'composite' | 'quantity' | 'uri' | 'special';
1072
+ type: 'number' | 'date' | 'string' | 'token' | 'reference' | 'composite' | 'quantity' | 'uri' | 'special';
1073
1073
 
1074
1074
  /**
1075
1075
  * This allows documentation of any distinct behaviors about how the
@@ -1181,7 +1181,7 @@ export interface CapabilityStatementSoftware {
1181
1181
  /**
1182
1182
  * Name the software is known by.
1183
1183
  */
1184
- name?: string;
1184
+ name: string;
1185
1185
 
1186
1186
  /**
1187
1187
  * The version identifier for the software covered by this statement.
@@ -168,13 +168,13 @@ export interface CarePlan {
168
168
  * Indicates whether the plan is currently being acted upon, represents
169
169
  * future intentions or is now a historical record.
170
170
  */
171
- status?: 'draft' | 'active' | 'on-hold' | 'revoked' | 'completed' | 'entered-in-error' | 'unknown';
171
+ status: 'draft' | 'active' | 'on-hold' | 'revoked' | 'completed' | 'entered-in-error' | 'unknown';
172
172
 
173
173
  /**
174
174
  * Indicates the level of authority/intentionality associated with the
175
175
  * care plan and where the care plan fits into the workflow chain.
176
176
  */
177
- intent?: 'proposal' | 'plan' | 'order' | 'option';
177
+ intent: 'proposal' | 'plan' | 'order' | 'option';
178
178
 
179
179
  /**
180
180
  * Identifies what &quot;kind&quot; of plan this is to support differentiation
@@ -197,7 +197,7 @@ export interface CarePlan {
197
197
  * Identifies the patient or group whose intended care is described by
198
198
  * the plan.
199
199
  */
200
- subject?: Reference<Patient | Group>;
200
+ subject: Reference<Patient | Group>;
201
201
 
202
202
  /**
203
203
  * The Encounter during which this CarePlan was created or to which the
@@ -439,7 +439,7 @@ export interface CarePlanActivityDetail {
439
439
  /**
440
440
  * Identifies what progress is being made for the specific activity.
441
441
  */
442
- status?: 'not-started' | 'scheduled' | 'in-progress' | 'on-hold' | 'completed' | 'cancelled' | 'stopped' | 'unknown' | 'entered-in-error';
442
+ status: 'not-started' | 'scheduled' | 'in-progress' | 'on-hold' | 'completed' | 'cancelled' | 'stopped' | 'unknown' | 'entered-in-error';
443
443
 
444
444
  /**
445
445
  * Provides reason why the activity isn't yet started, is on hold, was