@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
@@ -284,7 +284,7 @@ export interface DeviceDefinitionCapability {
284
284
  /**
285
285
  * Type of capability.
286
286
  */
287
- type?: CodeableConcept;
287
+ type: CodeableConcept;
288
288
 
289
289
  /**
290
290
  * Description of capability.
@@ -335,7 +335,7 @@ export interface DeviceDefinitionClassification {
335
335
  /**
336
336
  * A classification or risk class of the device model.
337
337
  */
338
- type?: CodeableConcept;
338
+ type: CodeableConcept;
339
339
 
340
340
  /**
341
341
  * Further information qualifying this classification of the device
@@ -387,14 +387,14 @@ export interface DeviceDefinitionDeviceName {
387
387
  /**
388
388
  * The name of the device.
389
389
  */
390
- name?: string;
390
+ name: string;
391
391
 
392
392
  /**
393
393
  * The type of deviceName.
394
394
  * UDILabelName | UserFriendlyName | PatientReportedName |
395
395
  * ManufactureDeviceName | ModelName.
396
396
  */
397
- type?: 'udi-label-name' | 'user-friendly-name' | 'patient-reported-name' | 'manufacturer-name' | 'model-name' | 'other';
397
+ type: 'udi-label-name' | 'user-friendly-name' | 'patient-reported-name' | 'manufacturer-name' | 'model-name' | 'other';
398
398
  }
399
399
 
400
400
  /**
@@ -441,7 +441,7 @@ export interface DeviceDefinitionMaterial {
441
441
  /**
442
442
  * The substance.
443
443
  */
444
- substance?: CodeableConcept;
444
+ substance: CodeableConcept;
445
445
 
446
446
  /**
447
447
  * Indicates an alternative material of the device.
@@ -499,7 +499,7 @@ export interface DeviceDefinitionProperty {
499
499
  * Code that specifies the property DeviceDefinitionPropetyCode
500
500
  * (Extensible).
501
501
  */
502
- type?: CodeableConcept;
502
+ type: CodeableConcept;
503
503
 
504
504
  /**
505
505
  * Property value as a quantity.
@@ -557,7 +557,7 @@ export interface DeviceDefinitionSpecialization {
557
557
  /**
558
558
  * The standard that is used to operate and communicate.
559
559
  */
560
- systemType?: string;
560
+ systemType: string;
561
561
 
562
562
  /**
563
563
  * The version of the standard that is used to operate and communicate.
@@ -613,15 +613,15 @@ export interface DeviceDefinitionUdiDeviceIdentifier {
613
613
  * references this DeviceDefintiion for the issuer and jurisdication
614
614
  * porvided in the DeviceDefinition.udiDeviceIdentifier.
615
615
  */
616
- deviceIdentifier?: string;
616
+ deviceIdentifier: string;
617
617
 
618
618
  /**
619
619
  * The organization that assigns the identifier algorithm.
620
620
  */
621
- issuer?: string;
621
+ issuer: string;
622
622
 
623
623
  /**
624
624
  * The jurisdiction to which the deviceIdentifier applies.
625
625
  */
626
- jurisdiction?: string;
626
+ jurisdiction: string;
627
627
  }
@@ -106,7 +106,7 @@ export interface DeviceMetric {
106
106
  * Describes the type of the metric. For example: Heart Rate, PEEP
107
107
  * Setting, etc.
108
108
  */
109
- type?: CodeableConcept;
109
+ type: CodeableConcept;
110
110
 
111
111
  /**
112
112
  * Describes the unit that an observed value determined for this metric
@@ -151,7 +151,7 @@ export interface DeviceMetric {
151
151
  * DeviceMetric can be for example a setting, measurement, or
152
152
  * calculation.
153
153
  */
154
- category?: 'measurement' | 'setting' | 'calculation' | 'unspecified';
154
+ category: 'measurement' | 'setting' | 'calculation' | 'unspecified';
155
155
 
156
156
  /**
157
157
  * Describes the measurement repetition time. This is not necessarily the
@@ -161,7 +161,7 @@ export interface DeviceRequest {
161
161
  * Whether the request is a proposal, plan, an original order or a reflex
162
162
  * order.
163
163
  */
164
- intent?: 'proposal' | 'plan' | 'directive' | 'order' | 'original-order' | 'reflex-order' | 'filler-order' | 'instance-order' | 'option';
164
+ intent: 'proposal' | 'plan' | 'directive' | 'order' | 'original-order' | 'reflex-order' | 'filler-order' | 'instance-order' | 'option';
165
165
 
166
166
  /**
167
167
  * Indicates how quickly the {{title}} should be addressed with respect
@@ -188,7 +188,7 @@ export interface DeviceRequest {
188
188
  /**
189
189
  * The patient who will use the device.
190
190
  */
191
- subject?: Reference<Patient | Group | Location | Device>;
191
+ subject: Reference<Patient | Group | Location | Device>;
192
192
 
193
193
  /**
194
194
  * An encounter that provides additional context in which this request is
@@ -127,12 +127,12 @@ export interface DeviceUseStatement {
127
127
  * state of the device used that this statement is about. Generally this
128
128
  * will be active or completed.
129
129
  */
130
- status?: 'active' | 'completed' | 'entered-in-error' | 'intended' | 'stopped' | 'on-hold';
130
+ status: 'active' | 'completed' | 'entered-in-error' | 'intended' | 'stopped' | 'on-hold';
131
131
 
132
132
  /**
133
133
  * The patient who used the device.
134
134
  */
135
- subject?: Reference<Patient | Group>;
135
+ subject: Reference<Patient | Group>;
136
136
 
137
137
  /**
138
138
  * Allows linking the DeviceUseStatement to the underlying Request, or to
@@ -169,7 +169,7 @@ export interface DeviceUseStatement {
169
169
  /**
170
170
  * The details of the device used.
171
171
  */
172
- device?: Reference<Device>;
172
+ device: Reference<Device>;
173
173
 
174
174
  /**
175
175
  * Reason or justification for the use of the device.
@@ -130,7 +130,7 @@ export interface DiagnosticReport {
130
130
  /**
131
131
  * The status of the diagnostic report.
132
132
  */
133
- status?: 'registered' | 'partial' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'appended' | 'cancelled' | 'entered-in-error' | 'unknown';
133
+ status: 'registered' | 'partial' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'appended' | 'cancelled' | 'entered-in-error' | 'unknown';
134
134
 
135
135
  /**
136
136
  * A code that classifies the clinical discipline, department or
@@ -143,7 +143,7 @@ export interface DiagnosticReport {
143
143
  /**
144
144
  * A code or name that describes this diagnostic report.
145
145
  */
146
- code?: CodeableConcept;
146
+ code: CodeableConcept;
147
147
 
148
148
  /**
149
149
  * The subject of the report. Usually, but not always, this is a patient.
@@ -290,5 +290,5 @@ export interface DiagnosticReportMedia {
290
290
  /**
291
291
  * Reference to the image source.
292
292
  */
293
- link?: Reference<Media>;
293
+ link: Reference<Media>;
294
294
  }
@@ -115,7 +115,7 @@ export interface DocumentManifest {
115
115
  /**
116
116
  * The status of this document manifest.
117
117
  */
118
- status?: 'current' | 'superseded' | 'entered-in-error';
118
+ status: 'current' | 'superseded' | 'entered-in-error';
119
119
 
120
120
  /**
121
121
  * The code specifying the type of clinical activity that resulted in
@@ -167,7 +167,7 @@ export interface DocumentManifest {
167
167
  /**
168
168
  * The list of Resources that consist of the parts of this manifest.
169
169
  */
170
- content?: Reference<Resource>[];
170
+ content: Reference<Resource>[];
171
171
 
172
172
  /**
173
173
  * Related identifiers or resources associated with the DocumentManifest.
@@ -126,7 +126,7 @@ export interface DocumentReference {
126
126
  /**
127
127
  * The status of this document reference.
128
128
  */
129
- status?: 'current' | 'superseded' | 'entered-in-error';
129
+ status: 'current' | 'superseded' | 'entered-in-error';
130
130
 
131
131
  /**
132
132
  * The status of the underlying document.
@@ -202,7 +202,7 @@ export interface DocumentReference {
202
202
  * The document and format referenced. There may be multiple content
203
203
  * element repetitions, each with a different format.
204
204
  */
205
- content?: DocumentReferenceContent[];
205
+ content: DocumentReferenceContent[];
206
206
 
207
207
  /**
208
208
  * The clinical context in which the document was prepared.
@@ -255,7 +255,7 @@ export interface DocumentReferenceContent {
255
255
  * The document or URL of the document along with critical metadata to
256
256
  * prove content has integrity.
257
257
  */
258
- attachment?: Attachment;
258
+ attachment: Attachment;
259
259
 
260
260
  /**
261
261
  * An identifier of the document encoding, structure, and template that
@@ -394,10 +394,10 @@ export interface DocumentReferenceRelatesTo {
394
394
  /**
395
395
  * The type of relationship that this document has with anther document.
396
396
  */
397
- code?: 'replaces' | 'transforms' | 'signs' | 'appends';
397
+ code: 'replaces' | 'transforms' | 'signs' | 'appends';
398
398
 
399
399
  /**
400
400
  * The target document of this relationship.
401
401
  */
402
- target?: Reference<DocumentReference>;
402
+ target: Reference<DocumentReference>;
403
403
  }
@@ -45,7 +45,7 @@ export interface DomainConfiguration {
45
45
  /**
46
46
  * Globally unique domain name for this configuration.
47
47
  */
48
- domain?: string;
48
+ domain: string;
49
49
 
50
50
  /**
51
51
  * Optional external Identity Provider (IdP) for the domain name.
@@ -148,7 +148,7 @@ export interface EffectEvidenceSynthesis {
148
148
  * The status of this effect evidence synthesis. Enables tracking the
149
149
  * life-cycle of the content.
150
150
  */
151
- status?: 'draft' | 'active' | 'retired' | 'unknown';
151
+ status: 'draft' | 'active' | 'retired' | 'unknown';
152
152
 
153
153
  /**
154
154
  * The date (and optionally time) when the effect evidence synthesis was
@@ -278,25 +278,25 @@ export interface EffectEvidenceSynthesis {
278
278
  * A reference to a EvidenceVariable resource that defines the population
279
279
  * for the research.
280
280
  */
281
- population?: Reference<EvidenceVariable>;
281
+ population: Reference<EvidenceVariable>;
282
282
 
283
283
  /**
284
284
  * A reference to a EvidenceVariable resource that defines the exposure
285
285
  * for the research.
286
286
  */
287
- exposure?: Reference<EvidenceVariable>;
287
+ exposure: Reference<EvidenceVariable>;
288
288
 
289
289
  /**
290
290
  * A reference to a EvidenceVariable resource that defines the comparison
291
291
  * exposure for the research.
292
292
  */
293
- exposureAlternative?: Reference<EvidenceVariable>;
293
+ exposureAlternative: Reference<EvidenceVariable>;
294
294
 
295
295
  /**
296
296
  * A reference to a EvidenceVariable resomece that defines the outcome
297
297
  * for the research.
298
298
  */
299
- outcome?: Reference<EvidenceVariable>;
299
+ outcome: Reference<EvidenceVariable>;
300
300
 
301
301
  /**
302
302
  * A description of the size of the sample involved in the synthesis.
@@ -626,7 +626,7 @@ export interface EffectEvidenceSynthesisResultsByExposure {
626
626
  /**
627
627
  * Reference to a RiskEvidenceSynthesis resource.
628
628
  */
629
- riskEvidenceSynthesis?: Reference<RiskEvidenceSynthesis>;
629
+ riskEvidenceSynthesis: Reference<RiskEvidenceSynthesis>;
630
630
  }
631
631
 
632
632
  /**
@@ -82,7 +82,7 @@ export interface ElementDefinition {
82
82
  * list of ancestor elements, beginning with the name of the resource or
83
83
  * extension.
84
84
  */
85
- path?: string;
85
+ path: string;
86
86
 
87
87
  /**
88
88
  * Codes that define how this element is represented in instances, when
@@ -2351,17 +2351,17 @@ export interface ElementDefinitionBase {
2351
2351
  * a [StructureDefinition](structuredefinition.html#) without a
2352
2352
  * StructureDefinition.base.
2353
2353
  */
2354
- path?: string;
2354
+ path: string;
2355
2355
 
2356
2356
  /**
2357
2357
  * Minimum cardinality of the base element identified by the path.
2358
2358
  */
2359
- min?: number;
2359
+ min: number;
2360
2360
 
2361
2361
  /**
2362
2362
  * Maximum cardinality of the base element identified by the path.
2363
2363
  */
2364
- max?: string;
2364
+ max: string;
2365
2365
  }
2366
2366
 
2367
2367
  /**
@@ -2391,7 +2391,7 @@ export interface ElementDefinitionBinding {
2391
2391
  * binding - that is, the degree to which the provided value set must be
2392
2392
  * adhered to in the instances.
2393
2393
  */
2394
- strength?: 'required' | 'extensible' | 'preferred' | 'example';
2394
+ strength: 'required' | 'extensible' | 'preferred' | 'example';
2395
2395
 
2396
2396
  /**
2397
2397
  * Describes the intended use of this particular set of codes.
@@ -2432,7 +2432,7 @@ export interface ElementDefinitionConstraint {
2432
2432
  * impacted by the constraint. Will not be referenced for constraints
2433
2433
  * that do not affect cardinality.
2434
2434
  */
2435
- key?: string;
2435
+ key: string;
2436
2436
 
2437
2437
  /**
2438
2438
  * Description of why this constraint is necessary or appropriate.
@@ -2443,13 +2443,13 @@ export interface ElementDefinitionConstraint {
2443
2443
  * Identifies the impact constraint violation has on the conformance of
2444
2444
  * the instance.
2445
2445
  */
2446
- severity?: 'error' | 'warning';
2446
+ severity: 'error' | 'warning';
2447
2447
 
2448
2448
  /**
2449
2449
  * Text that can be used to describe the constraint in messages
2450
2450
  * identifying that the constraint has been violated.
2451
2451
  */
2452
- human?: string;
2452
+ human: string;
2453
2453
 
2454
2454
  /**
2455
2455
  * A [FHIRPath](fhirpath.html) expression of constraint that can be
@@ -2495,7 +2495,7 @@ export interface ElementDefinitionExample {
2495
2495
  /**
2496
2496
  * Describes the purpose of this example amoung the set of examples.
2497
2497
  */
2498
- label?: string;
2498
+ label: string;
2499
2499
 
2500
2500
  /**
2501
2501
  * The actual value for the element, which must be one of the types
@@ -2823,7 +2823,7 @@ export interface ElementDefinitionMapping {
2823
2823
  /**
2824
2824
  * An internal reference to the definition of a mapping.
2825
2825
  */
2826
- identity?: string;
2826
+ identity: string;
2827
2827
 
2828
2828
  /**
2829
2829
  * Identifies the computable language in which mapping.map is expressed.
@@ -2834,7 +2834,7 @@ export interface ElementDefinitionMapping {
2834
2834
  * Expresses what part of the target specification corresponds to this
2835
2835
  * element.
2836
2836
  */
2837
- map?: string;
2837
+ map: string;
2838
2838
 
2839
2839
  /**
2840
2840
  * Comments that provide information about the mapping or its use.
@@ -2898,7 +2898,7 @@ export interface ElementDefinitionSlicing {
2898
2898
  * ordered, profile authors can also say that additional slices are only
2899
2899
  * allowed at the end.
2900
2900
  */
2901
- rules?: 'closed' | 'open' | 'openAtEnd';
2901
+ rules: 'closed' | 'open' | 'openAtEnd';
2902
2902
  }
2903
2903
 
2904
2904
  /**
@@ -2929,14 +2929,14 @@ export interface ElementDefinitionSlicingDiscriminator {
2929
2929
  /**
2930
2930
  * How the element value is interpreted when discrimination is evaluated.
2931
2931
  */
2932
- type?: 'value' | 'exists' | 'pattern' | 'type' | 'profile';
2932
+ type: 'value' | 'exists' | 'pattern' | 'type' | 'profile';
2933
2933
 
2934
2934
  /**
2935
2935
  * A FHIRPath expression, using [the simple subset of
2936
2936
  * FHIRPath](fhirpath.html#simple), that is used to identify the element
2937
2937
  * on which discrimination is based.
2938
2938
  */
2939
- path?: string;
2939
+ path: string;
2940
2940
  }
2941
2941
 
2942
2942
  /**
@@ -2968,7 +2968,7 @@ export interface ElementDefinitionType {
2968
2968
  * to http://hl7.org/fhir/StructureDefinition/string. Absolute URLs are
2969
2969
  * only allowed in logical models.
2970
2970
  */
2971
- code?: string;
2971
+ code: string;
2972
2972
 
2973
2973
  /**
2974
2974
  * Identifies a profile structure or implementation Guide that applies to
@@ -121,7 +121,7 @@ export interface Encounter {
121
121
  * planned | arrived | triaged | in-progress | onleave | finished |
122
122
  * cancelled +.
123
123
  */
124
- status?: 'planned' | 'arrived' | 'triaged' | 'in-progress' | 'onleave' | 'finished' | 'cancelled' | 'entered-in-error' | 'unknown';
124
+ status: 'planned' | 'arrived' | 'triaged' | 'in-progress' | 'onleave' | 'finished' | 'cancelled' | 'entered-in-error' | 'unknown';
125
125
 
126
126
  /**
127
127
  * The status history permits the encounter resource to contain the
@@ -135,7 +135,7 @@ export interface Encounter {
135
135
  * ambulatory (outpatient), inpatient, emergency, home health or others
136
136
  * due to local variations.
137
137
  */
138
- class?: Coding;
138
+ class: Coding;
139
139
 
140
140
  /**
141
141
  * The class history permits the tracking of the encounters transitions
@@ -309,12 +309,12 @@ export interface EncounterClassHistory {
309
309
  /**
310
310
  * inpatient | outpatient | ambulatory | emergency +.
311
311
  */
312
- class?: Coding;
312
+ class: Coding;
313
313
 
314
314
  /**
315
315
  * The time that the episode was in the specified class.
316
316
  */
317
- period?: Period;
317
+ period: Period;
318
318
  }
319
319
 
320
320
  /**
@@ -363,7 +363,7 @@ export interface EncounterDiagnosis {
363
363
  * indication will typically be a Condition (with other resources
364
364
  * referenced in the evidence.detail), or a Procedure.
365
365
  */
366
- condition?: Reference<Condition | Procedure>;
366
+ condition: Reference<Condition | Procedure>;
367
367
 
368
368
  /**
369
369
  * Role that this diagnosis has within the encounter (e.g. admission,
@@ -509,7 +509,7 @@ export interface EncounterLocation {
509
509
  /**
510
510
  * The location where the encounter takes place.
511
511
  */
512
- location?: Reference<Location>;
512
+ location: Reference<Location>;
513
513
 
514
514
  /**
515
515
  * The status of the participants' presence at the specified location
@@ -634,10 +634,10 @@ export interface EncounterStatusHistory {
634
634
  * planned | arrived | triaged | in-progress | onleave | finished |
635
635
  * cancelled +.
636
636
  */
637
- status?: 'planned' | 'arrived' | 'triaged' | 'in-progress' | 'onleave' | 'finished' | 'cancelled' | 'entered-in-error' | 'unknown';
637
+ status: 'planned' | 'arrived' | 'triaged' | 'in-progress' | 'onleave' | 'finished' | 'cancelled' | 'entered-in-error' | 'unknown';
638
638
 
639
639
  /**
640
640
  * The time that the episode was in the specified status.
641
641
  */
642
- period?: Period;
642
+ period: Period;
643
643
  }
@@ -108,14 +108,14 @@ export interface Endpoint {
108
108
  /**
109
109
  * active | suspended | error | off | test.
110
110
  */
111
- status?: 'active' | 'suspended' | 'error' | 'off' | 'entered-in-error' | 'test';
111
+ status: 'active' | 'suspended' | 'error' | 'off' | 'entered-in-error' | 'test';
112
112
 
113
113
  /**
114
114
  * A coded value that represents the technical details of the usage of
115
115
  * this endpoint, such as what WSDLs should be used in what way. (e.g.
116
116
  * XDS.b/DICOM/cds-hook).
117
117
  */
118
- connectionType?: Coding;
118
+ connectionType: Coding;
119
119
 
120
120
  /**
121
121
  * A friendly name that this endpoint can be referred to with.
@@ -144,7 +144,7 @@ export interface Endpoint {
144
144
  * The payload type describes the acceptable content that can be
145
145
  * communicated on the endpoint.
146
146
  */
147
- payloadType?: CodeableConcept[];
147
+ payloadType: CodeableConcept[];
148
148
 
149
149
  /**
150
150
  * The mime type to send the payload in - e.g. application/fhir+xml,
@@ -157,7 +157,7 @@ export interface Endpoint {
157
157
  /**
158
158
  * The uri that describes the actual end-point to connect to.
159
159
  */
160
- address?: string;
160
+ address: string;
161
161
 
162
162
  /**
163
163
  * Additional headers / information to send as part of the notification.
@@ -114,7 +114,7 @@ export interface EpisodeOfCare {
114
114
  /**
115
115
  * planned | waitlist | active | onhold | finished | cancelled.
116
116
  */
117
- status?: 'planned' | 'waitlist' | 'active' | 'onhold' | 'finished' | 'cancelled' | 'entered-in-error';
117
+ status: 'planned' | 'waitlist' | 'active' | 'onhold' | 'finished' | 'cancelled' | 'entered-in-error';
118
118
 
119
119
  /**
120
120
  * The history of statuses that the EpisodeOfCare has been through
@@ -136,7 +136,7 @@ export interface EpisodeOfCare {
136
136
  /**
137
137
  * The patient who is the focus of this episode of care.
138
138
  */
139
- patient?: Reference<Patient>;
139
+ patient: Reference<Patient>;
140
140
 
141
141
  /**
142
142
  * The organization that has assumed the specific responsibilities for
@@ -219,7 +219,7 @@ export interface EpisodeOfCareDiagnosis {
219
219
  * A list of conditions/problems/diagnoses that this episode of care is
220
220
  * intended to be providing care for.
221
221
  */
222
- condition?: Reference<Condition>;
222
+ condition: Reference<Condition>;
223
223
 
224
224
  /**
225
225
  * Role that this diagnosis has within the episode of care (e.g.
@@ -277,10 +277,10 @@ export interface EpisodeOfCareStatusHistory {
277
277
  /**
278
278
  * planned | waitlist | active | onhold | finished | cancelled.
279
279
  */
280
- status?: 'planned' | 'waitlist' | 'active' | 'onhold' | 'finished' | 'cancelled' | 'entered-in-error';
280
+ status: 'planned' | 'waitlist' | 'active' | 'onhold' | 'finished' | 'cancelled' | 'entered-in-error';
281
281
 
282
282
  /**
283
283
  * The period during this EpisodeOfCare that the specific status applied.
284
284
  */
285
- period?: Period;
285
+ period: Period;
286
286
  }
@@ -150,7 +150,7 @@ export interface EventDefinition {
150
150
  * The status of this event definition. Enables tracking the life-cycle
151
151
  * of the content.
152
152
  */
153
- status?: 'draft' | 'active' | 'retired' | 'unknown';
153
+ status: 'draft' | 'active' | 'retired' | 'unknown';
154
154
 
155
155
  /**
156
156
  * A Boolean value to indicate that this event definition is authored for
@@ -293,5 +293,5 @@ export interface EventDefinition {
293
293
  * trigger condition is specified, the event fires whenever any one of
294
294
  * the trigger conditions is met.
295
295
  */
296
- trigger?: TriggerDefinition[];
296
+ trigger: TriggerDefinition[];
297
297
  }
@@ -162,7 +162,7 @@ export interface Evidence {
162
162
  * The status of this evidence. Enables tracking the life-cycle of the
163
163
  * content.
164
164
  */
165
- status?: 'draft' | 'active' | 'retired' | 'unknown';
165
+ status: 'draft' | 'active' | 'retired' | 'unknown';
166
166
 
167
167
  /**
168
168
  * The date (and optionally time) when the evidence was published. The
@@ -279,7 +279,7 @@ export interface Evidence {
279
279
  * A reference to a EvidenceVariable resource that defines the population
280
280
  * for the research.
281
281
  */
282
- exposureBackground?: Reference<EvidenceVariable>;
282
+ exposureBackground: Reference<EvidenceVariable>;
283
283
 
284
284
  /**
285
285
  * A reference to a EvidenceVariable resource that defines the exposure
@@ -165,7 +165,7 @@ export interface EvidenceVariable {
165
165
  * The status of this evidence variable. Enables tracking the life-cycle
166
166
  * of the content.
167
167
  */
168
- status?: 'draft' | 'active' | 'retired' | 'unknown';
168
+ status: 'draft' | 'active' | 'retired' | 'unknown';
169
169
 
170
170
  /**
171
171
  * The date (and optionally time) when the evidence variable was
@@ -288,7 +288,7 @@ export interface EvidenceVariable {
288
288
  * A characteristic that defines the members of the evidence element.
289
289
  * Multiple characteristics are applied with &quot;and&quot; semantics.
290
290
  */
291
- characteristic?: EvidenceVariableCharacteristic[];
291
+ characteristic: EvidenceVariableCharacteristic[];
292
292
  }
293
293
 
294
294
  /**