@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
@@ -113,7 +113,7 @@ export interface Immunization {
113
113
  /**
114
114
  * Indicates the current status of the immunization event.
115
115
  */
116
- status?: 'completed' | 'entered-in-error' | 'not-done';
116
+ status: 'completed' | 'entered-in-error' | 'not-done';
117
117
 
118
118
  /**
119
119
  * Indicates the reason the immunization event was not performed.
@@ -123,12 +123,12 @@ export interface Immunization {
123
123
  /**
124
124
  * Vaccine that was administered or was to be administered.
125
125
  */
126
- vaccineCode?: CodeableConcept;
126
+ vaccineCode: CodeableConcept;
127
127
 
128
128
  /**
129
129
  * The patient who either received or did not receive the immunization.
130
130
  */
131
- patient?: Reference<Patient>;
131
+ patient: Reference<Patient>;
132
132
 
133
133
  /**
134
134
  * The visit or admission or other contact between patient and health
@@ -379,7 +379,7 @@ export interface ImmunizationPerformer {
379
379
  /**
380
380
  * The practitioner or organization who performed the action.
381
381
  */
382
- actor?: Reference<Practitioner | PractitionerRole | Organization>;
382
+ actor: Reference<Practitioner | PractitionerRole | Organization>;
383
383
  }
384
384
 
385
385
  /**
@@ -106,12 +106,12 @@ export interface ImmunizationEvaluation {
106
106
  * Indicates the current status of the evaluation of the vaccination
107
107
  * administration event.
108
108
  */
109
- status?: 'completed' | 'entered-in-error';
109
+ status: 'completed' | 'entered-in-error';
110
110
 
111
111
  /**
112
112
  * The individual for whom the evaluation is being done.
113
113
  */
114
- patient?: Reference<Patient>;
114
+ patient: Reference<Patient>;
115
115
 
116
116
  /**
117
117
  * The date the evaluation of the vaccine administration event was
@@ -127,18 +127,18 @@ export interface ImmunizationEvaluation {
127
127
  /**
128
128
  * The vaccine preventable disease the dose is being evaluated against.
129
129
  */
130
- targetDisease?: CodeableConcept;
130
+ targetDisease: CodeableConcept;
131
131
 
132
132
  /**
133
133
  * The vaccine administration event being evaluated.
134
134
  */
135
- immunizationEvent?: Reference<Immunization>;
135
+ immunizationEvent: Reference<Immunization>;
136
136
 
137
137
  /**
138
138
  * Indicates if the dose is valid or not valid with respect to the
139
139
  * published recommendations.
140
140
  */
141
- doseStatus?: CodeableConcept;
141
+ doseStatus: CodeableConcept;
142
142
 
143
143
  /**
144
144
  * Provides an explanation as to why the vaccine administration event is
@@ -106,12 +106,12 @@ export interface ImmunizationRecommendation {
106
106
  /**
107
107
  * The patient the recommendation(s) are for.
108
108
  */
109
- patient?: Reference<Patient>;
109
+ patient: Reference<Patient>;
110
110
 
111
111
  /**
112
112
  * The date the immunization recommendation(s) were created.
113
113
  */
114
- date?: string;
114
+ date: string;
115
115
 
116
116
  /**
117
117
  * Indicates the authority who published the protocol (e.g. ACIP).
@@ -121,7 +121,7 @@ export interface ImmunizationRecommendation {
121
121
  /**
122
122
  * Vaccine administration recommendations.
123
123
  */
124
- recommendation?: ImmunizationRecommendationRecommendation[];
124
+ recommendation: ImmunizationRecommendationRecommendation[];
125
125
  }
126
126
 
127
127
  /**
@@ -183,7 +183,7 @@ export interface ImmunizationRecommendationRecommendation {
183
183
  * Indicates the patient status with respect to the path to immunity for
184
184
  * the target disease.
185
185
  */
186
- forecastStatus?: CodeableConcept;
186
+ forecastStatus: CodeableConcept;
187
187
 
188
188
  /**
189
189
  * The reason for the assigned forecast status.
@@ -289,10 +289,10 @@ export interface ImmunizationRecommendationRecommendationDateCriterion {
289
289
  * Date classification of recommendation. For example, earliest date to
290
290
  * give, latest date to give, etc.
291
291
  */
292
- code?: CodeableConcept;
292
+ code: CodeableConcept;
293
293
 
294
294
  /**
295
295
  * The date whose meaning is specified by dateCriterion.code.
296
296
  */
297
- value?: string;
297
+ value: string;
298
298
  }
@@ -109,7 +109,7 @@ export interface ImplementationGuide {
109
109
  * SHALL remain the same when the implementation guide is stored on
110
110
  * different servers.
111
111
  */
112
- url?: string;
112
+ url: string;
113
113
 
114
114
  /**
115
115
  * The identifier that is used to identify this version of the
@@ -127,7 +127,7 @@ export interface ImplementationGuide {
127
127
  * name should be usable as an identifier for the module by machine
128
128
  * processing applications such as code generation.
129
129
  */
130
- name?: string;
130
+ name: string;
131
131
 
132
132
  /**
133
133
  * A short, descriptive, user-friendly title for the implementation
@@ -139,7 +139,7 @@ export interface ImplementationGuide {
139
139
  * The status of this implementation guide. 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 implementation guide is authored
@@ -203,7 +203,7 @@ export interface ImplementationGuide {
203
203
  * based tooling manages IG dependencies. This value must be globally
204
204
  * unique, and should be assigned with care.
205
205
  */
206
- packageId?: string;
206
+ packageId: string;
207
207
 
208
208
  /**
209
209
  * The license that applies to this Implementation Guide, using an SPDX
@@ -260,7 +260,7 @@ export interface ImplementationGuide {
260
260
  * formal version of the specification, without the revision number, e.g.
261
261
  * [publication].[major].[minor], which is 4.0.1. for this version.
262
262
  */
263
- 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' |
263
+ 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' |
264
264
  '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' |
265
265
  '4.0.1')[];
266
266
 
@@ -343,7 +343,7 @@ export interface ImplementationGuideDefinition {
343
343
  * etc.) are obvious candidates for inclusion, but any kind of resource
344
344
  * can be included as an example resource.
345
345
  */
346
- resource?: ImplementationGuideDefinitionResource[];
346
+ resource: ImplementationGuideDefinitionResource[];
347
347
 
348
348
  /**
349
349
  * A page / section in the implementation guide. The root page is the
@@ -407,7 +407,7 @@ export interface ImplementationGuideDefinitionGrouping {
407
407
  * The human-readable title to display for the package of resources when
408
408
  * rendering the implementation guide.
409
409
  */
410
- name?: string;
410
+ name: string;
411
411
 
412
412
  /**
413
413
  * Human readable text describing the package.
@@ -470,12 +470,12 @@ export interface ImplementationGuideDefinitionPage {
470
470
  * A short title used to represent this page in navigational structures
471
471
  * such as table of contents, bread crumbs, etc.
472
472
  */
473
- title?: string;
473
+ title: string;
474
474
 
475
475
  /**
476
476
  * A code that indicates how the page is generated.
477
477
  */
478
- generation?: 'html' | 'markdown' | 'xml' | 'generated';
478
+ generation: 'html' | 'markdown' | 'xml' | 'generated';
479
479
 
480
480
  /**
481
481
  * Nested Pages/Sections under this page.
@@ -528,13 +528,13 @@ export interface ImplementationGuideDefinitionParameter {
528
528
  * expansion-parameter | rule-broken-links | generate-xml | generate-json
529
529
  * | generate-turtle | html-template.
530
530
  */
531
- code?: 'apply' | 'path-resource' | 'path-pages' | 'path-tx-cache' | 'expansion-parameter' | 'rule-broken-links' |
531
+ code: 'apply' | 'path-resource' | 'path-pages' | 'path-tx-cache' | 'expansion-parameter' | 'rule-broken-links' |
532
532
  'generate-xml' | 'generate-json' | 'generate-turtle' | 'html-template';
533
533
 
534
534
  /**
535
535
  * Value for named type.
536
536
  */
537
- value?: string;
537
+ value: string;
538
538
  }
539
539
 
540
540
  /**
@@ -583,7 +583,7 @@ export interface ImplementationGuideDefinitionResource {
583
583
  /**
584
584
  * Where this resource is found.
585
585
  */
586
- reference?: Reference<Resource>;
586
+ reference: Reference<Resource>;
587
587
 
588
588
  /**
589
589
  * Indicates the FHIR Version(s) this artifact is intended to apply to.
@@ -670,12 +670,12 @@ export interface ImplementationGuideDefinitionTemplate {
670
670
  /**
671
671
  * Type of template specified.
672
672
  */
673
- code?: string;
673
+ code: string;
674
674
 
675
675
  /**
676
676
  * The source location for the template.
677
677
  */
678
- source?: string;
678
+ source: string;
679
679
 
680
680
  /**
681
681
  * The scope in which the template applies.
@@ -728,7 +728,7 @@ export interface ImplementationGuideDependsOn {
728
728
  /**
729
729
  * A canonical reference to the Implementation guide for the dependency.
730
730
  */
731
- uri?: string;
731
+ uri: string;
732
732
 
733
733
  /**
734
734
  * The NPM package name for the Implementation Guide that this IG depends
@@ -787,12 +787,12 @@ export interface ImplementationGuideGlobal {
787
787
  /**
788
788
  * The type of resource that all instances must conform to.
789
789
  */
790
- type?: ResourceType;
790
+ type: ResourceType;
791
791
 
792
792
  /**
793
793
  * A reference to the profile that all instances must conform to.
794
794
  */
795
- profile?: string;
795
+ profile: string;
796
796
  }
797
797
 
798
798
  /**
@@ -848,7 +848,7 @@ export interface ImplementationGuideManifest {
848
848
  * etc.) are obvious candidates for inclusion, but any kind of resource
849
849
  * can be included as an example resource.
850
850
  */
851
- resource?: ImplementationGuideManifestResource[];
851
+ resource: ImplementationGuideManifestResource[];
852
852
 
853
853
  /**
854
854
  * Information about a page within the IG.
@@ -911,7 +911,7 @@ export interface ImplementationGuideManifestPage {
911
911
  /**
912
912
  * Relative path to the page.
913
913
  */
914
- name?: string;
914
+ name: string;
915
915
 
916
916
  /**
917
917
  * Label for the page intended for human display.
@@ -970,7 +970,7 @@ export interface ImplementationGuideManifestResource {
970
970
  /**
971
971
  * Where this resource is found.
972
972
  */
973
- reference?: Reference<Resource>;
973
+ reference: Reference<Resource>;
974
974
 
975
975
  /**
976
976
  * If true or a reference, indicates the resource is an example instance.
@@ -290,7 +290,7 @@ export interface InsurancePlanCoverage {
290
290
  * Type of coverage (Medical; Dental; Mental Health; Substance Abuse;
291
291
  * Vision; Drug; Short Term; Long Term Care; Hospice; Home Health).
292
292
  */
293
- type?: CodeableConcept;
293
+ type: CodeableConcept;
294
294
 
295
295
  /**
296
296
  * Reference to the network that providing the type of coverage.
@@ -300,7 +300,7 @@ export interface InsurancePlanCoverage {
300
300
  /**
301
301
  * Specific benefits under this type of coverage.
302
302
  */
303
- benefit?: InsurancePlanCoverageBenefit[];
303
+ benefit: InsurancePlanCoverageBenefit[];
304
304
  }
305
305
 
306
306
  /**
@@ -347,7 +347,7 @@ export interface InsurancePlanCoverageBenefit {
347
347
  * Type of benefit (primary care; speciality care; inpatient;
348
348
  * outpatient).
349
349
  */
350
- type?: CodeableConcept;
350
+ type: CodeableConcept;
351
351
 
352
352
  /**
353
353
  * The referral requirements to have access/coverage for this benefit.
@@ -592,7 +592,7 @@ export interface InsurancePlanPlanSpecificCost {
592
592
  * General category of benefit (Medical; Dental; Vision; Drug; Mental
593
593
  * Health; Substance Abuse; Hospice, Home Health).
594
594
  */
595
- category?: CodeableConcept;
595
+ category: CodeableConcept;
596
596
 
597
597
  /**
598
598
  * List of the specific benefits under this category of benefit.
@@ -645,7 +645,7 @@ export interface InsurancePlanPlanSpecificCostBenefit {
645
645
  * speciality office visit; hospitalization; emergency room; urgent
646
646
  * care).
647
647
  */
648
- type?: CodeableConcept;
648
+ type: CodeableConcept;
649
649
 
650
650
  /**
651
651
  * List of the costs associated with a specific benefit.
@@ -697,7 +697,7 @@ export interface InsurancePlanPlanSpecificCostBenefitCost {
697
697
  * Type of cost (copay; individual cap; family cap; coinsurance;
698
698
  * deductible).
699
699
  */
700
- type?: CodeableConcept;
700
+ type: CodeableConcept;
701
701
 
702
702
  /**
703
703
  * Whether the cost applies to in-network or out-of-network providers
package/dist/Invoice.d.ts CHANGED
@@ -113,7 +113,7 @@ export interface Invoice {
113
113
  /**
114
114
  * The current state of the Invoice.
115
115
  */
116
- status?: 'draft' | 'issued' | 'balanced' | 'cancelled' | 'entered-in-error';
116
+ status: 'draft' | 'issued' | 'balanced' | 'cancelled' | 'entered-in-error';
117
117
 
118
118
  /**
119
119
  * In case of Invoice cancellation a reason must be given (entered in
@@ -323,7 +323,7 @@ export interface InvoiceLineItemPriceComponent {
323
323
  /**
324
324
  * This code identifies the type of the component.
325
325
  */
326
- type?: 'base' | 'surcharge' | 'deduction' | 'discount' | 'tax' | 'informational';
326
+ type: 'base' | 'surcharge' | 'deduction' | 'discount' | 'tax' | 'informational';
327
327
 
328
328
  /**
329
329
  * A code that identifies the component. Codes may be used to
@@ -395,5 +395,5 @@ export interface InvoiceParticipant {
395
395
  * The device, practitioner, etc. who performed or participated in the
396
396
  * service.
397
397
  */
398
- actor?: Reference<Practitioner | Organization | Patient | PractitionerRole | Device | RelatedPerson>;
398
+ actor: Reference<Practitioner | Organization | Patient | PractitionerRole | Device | RelatedPerson>;
399
399
  }
package/dist/Library.d.ts CHANGED
@@ -160,7 +160,7 @@ export interface Library {
160
160
  * The status of this library. Enables tracking the life-cycle of the
161
161
  * content.
162
162
  */
163
- status?: 'draft' | 'active' | 'retired' | 'unknown';
163
+ status: 'draft' | 'active' | 'retired' | 'unknown';
164
164
 
165
165
  /**
166
166
  * A Boolean value to indicate that this library is authored for testing
@@ -173,7 +173,7 @@ export interface Library {
173
173
  * Identifies the type of library such as a Logic Library, Model
174
174
  * Definition, Asset Collection, or Module Definition.
175
175
  */
176
- type?: CodeableConcept;
176
+ type: CodeableConcept;
177
177
 
178
178
  /**
179
179
  * A code or group definition that describes the intended subject of the
package/dist/Linkage.d.ts CHANGED
@@ -112,7 +112,7 @@ export interface Linkage {
112
112
  * real-world occurrence as well as how the items should be evaluated
113
113
  * within the collection of linked items.
114
114
  */
115
- item?: LinkageItem[];
115
+ item: LinkageItem[];
116
116
  }
117
117
 
118
118
  /**
@@ -161,10 +161,10 @@ export interface LinkageItem {
161
161
  * Distinguishes which item is &quot;source of truth&quot; (if any) and which items
162
162
  * are no longer considered to be current representations.
163
163
  */
164
- type?: 'source' | 'alternate' | 'historical';
164
+ type: 'source' | 'alternate' | 'historical';
165
165
 
166
166
  /**
167
167
  * The resource instance being linked as part of the group.
168
168
  */
169
- resource?: Reference<Resource>;
169
+ resource: Reference<Resource>;
170
170
  }
package/dist/List.d.ts CHANGED
@@ -109,7 +109,7 @@ export interface List {
109
109
  /**
110
110
  * Indicates the current state of this list.
111
111
  */
112
- status?: 'current' | 'retired' | 'entered-in-error';
112
+ status: 'current' | 'retired' | 'entered-in-error';
113
113
 
114
114
  /**
115
115
  * How this list was prepared - whether it is a working list that is
@@ -117,7 +117,7 @@ export interface List {
117
117
  * a snapshot of a list of items from another source, or whether it is a
118
118
  * prepared list where items may be marked as added, modified or deleted.
119
119
  */
120
- mode?: 'working' | 'snapshot' | 'changes';
120
+ mode: 'working' | 'snapshot' | 'changes';
121
121
 
122
122
  /**
123
123
  * A label for the list assigned by the author.
@@ -232,5 +232,5 @@ export interface ListEntry {
232
232
  /**
233
233
  * A reference to the actual resource from which data was derived.
234
234
  */
235
- item?: Reference<Resource>;
235
+ item: Reference<Resource>;
236
236
  }
@@ -308,13 +308,13 @@ export interface LocationPosition {
308
308
  * Longitude. The value domain and the interpretation are the same as for
309
309
  * the text of the longitude element in KML (see notes below).
310
310
  */
311
- longitude?: number;
311
+ longitude: number;
312
312
 
313
313
  /**
314
314
  * Latitude. The value domain and the interpretation are the same as for
315
315
  * the text of the latitude element in KML (see notes below).
316
316
  */
317
- latitude?: number;
317
+ latitude: number;
318
318
 
319
319
  /**
320
320
  * Altitude. The value domain and the interpretation are the same as for
package/dist/Login.d.ts CHANGED
@@ -67,7 +67,7 @@ export interface Login {
67
67
  /**
68
68
  * The user requesting the code.
69
69
  */
70
- user?: Reference<Bot | ClientApplication | User>;
70
+ user: Reference<Bot | ClientApplication | User>;
71
71
 
72
72
  /**
73
73
  * Reference to the project membership which includes FHIR identity
@@ -84,12 +84,12 @@ export interface Login {
84
84
  * The authentication method used to obtain the code (password or
85
85
  * google).
86
86
  */
87
- authMethod?: 'client' | 'exchange' | 'execute' | 'external' | 'google' | 'password';
87
+ authMethod: 'client' | 'exchange' | 'execute' | 'external' | 'google' | 'password';
88
88
 
89
89
  /**
90
90
  * Time when the End-User authentication occurred.
91
91
  */
92
- authTime?: string;
92
+ authTime: string;
93
93
 
94
94
  /**
95
95
  * The cookie value that can be used for session management.
@@ -54,7 +54,7 @@ export interface MarketingStatus {
54
54
  * shall be specified It should be specified using the ISO 3166 ‑ 1
55
55
  * alpha-2 code elements.
56
56
  */
57
- country?: CodeableConcept;
57
+ country: CodeableConcept;
58
58
 
59
59
  /**
60
60
  * Where a Medicines Regulatory Agency has granted a marketing
@@ -70,7 +70,7 @@ export interface MarketingStatus {
70
70
  * the medicinal product See ISO/TS 20443 for more information and
71
71
  * examples.
72
72
  */
73
- status?: CodeableConcept;
73
+ status: CodeableConcept;
74
74
 
75
75
  /**
76
76
  * The date when the Medicinal Product is placed on the market by the
@@ -81,7 +81,7 @@ export interface MarketingStatus {
81
81
  * refers to the release of the Medicinal Product into the distribution
82
82
  * chain.
83
83
  */
84
- dateRange?: Period;
84
+ dateRange: Period;
85
85
 
86
86
  /**
87
87
  * The date when the Medicinal Product is placed on the market by the
package/dist/Measure.d.ts CHANGED
@@ -153,7 +153,7 @@ export interface Measure {
153
153
  * The status of this measure. Enables tracking the life-cycle of the
154
154
  * content.
155
155
  */
156
- status?: 'draft' | 'active' | 'retired' | 'unknown';
156
+ status: 'draft' | 'active' | 'retired' | 'unknown';
157
157
 
158
158
  /**
159
159
  * A Boolean value to indicate that this measure is authored for testing
@@ -503,7 +503,7 @@ export interface MeasureGroupPopulation {
503
503
  * An expression that specifies the criteria for the population,
504
504
  * typically the name of an expression in a library.
505
505
  */
506
- criteria?: Expression;
506
+ criteria: Expression;
507
507
  }
508
508
 
509
509
  /**
@@ -637,7 +637,7 @@ export interface MeasureGroupStratifierComponent {
637
637
  * a referenced library, but it may also be a path to a stratifier
638
638
  * element.
639
639
  */
640
- criteria?: Expression;
640
+ criteria: Expression;
641
641
  }
642
642
 
643
643
  /**
@@ -711,5 +711,5 @@ export interface MeasureSupplementalData {
711
711
  * also be a path to a specific data element. The criteria defines the
712
712
  * data to be returned for this element.
713
713
  */
714
- criteria?: Expression;
714
+ criteria: Expression;
715
715
  }
@@ -116,7 +116,7 @@ export interface MeasureReport {
116
116
  * The MeasureReport status. No data will be available until the
117
117
  * MeasureReport status is complete.
118
118
  */
119
- status?: 'complete' | 'pending' | 'error';
119
+ status: 'complete' | 'pending' | 'error';
120
120
 
121
121
  /**
122
122
  * The type of measure report. This may be an individual report, which
@@ -127,12 +127,12 @@ export interface MeasureReport {
127
127
  * a data-collection, which enables the MeasureReport to be used to
128
128
  * exchange the data-of-interest for a quality measure.
129
129
  */
130
- type?: 'individual' | 'subject-list' | 'summary' | 'data-collection';
130
+ type: 'individual' | 'subject-list' | 'summary' | 'data-collection';
131
131
 
132
132
  /**
133
133
  * A reference to the Measure that was calculated to produce this report.
134
134
  */
135
- measure?: string;
135
+ measure: string;
136
136
 
137
137
  /**
138
138
  * Optional subject identifying the individual or individuals the report
@@ -153,7 +153,7 @@ export interface MeasureReport {
153
153
  /**
154
154
  * The reporting period for which the report was calculated.
155
155
  */
156
- period?: Period;
156
+ period: Period;
157
157
 
158
158
  /**
159
159
  * Whether improvement in the measure is noted by an increase or decrease
@@ -464,12 +464,12 @@ export interface MeasureReportGroupStratifierStratumComponent {
464
464
  /**
465
465
  * The code for the stratum component value.
466
466
  */
467
- code?: CodeableConcept;
467
+ code: CodeableConcept;
468
468
 
469
469
  /**
470
470
  * The stratum component value.
471
471
  */
472
- value?: CodeableConcept;
472
+ value: CodeableConcept;
473
473
  }
474
474
 
475
475
  /**
package/dist/Media.d.ts CHANGED
@@ -132,7 +132,7 @@ export interface Media {
132
132
  /**
133
133
  * The current state of the {{title}}.
134
134
  */
135
- status?: 'preparation' | 'in-progress' | 'not-done' | 'on-hold' | 'stopped' | 'completed' | 'entered-in-error' | 'unknown';
135
+ status: 'preparation' | 'in-progress' | 'not-done' | 'on-hold' | 'stopped' | 'completed' | 'entered-in-error' | 'unknown';
136
136
 
137
137
  /**
138
138
  * A code that classifies whether the media is an image, video or audio
@@ -233,7 +233,7 @@ export interface Media {
233
233
  * The actual content of the media - inline or by direct reference to the
234
234
  * media source file.
235
235
  */
236
- content?: Attachment;
236
+ content: Attachment;
237
237
 
238
238
  /**
239
239
  * Comments made about the media by the performer, subject or other
@@ -142,7 +142,7 @@ export interface MedicationAdministration {
142
142
  * it is possible for an administration to be started but not completed
143
143
  * or it may be paused while some other process is under way.
144
144
  */
145
- status?: 'in-progress' | 'not-done' | 'on-hold' | 'completed' | 'entered-in-error' | 'stopped' | 'unknown';
145
+ status: 'in-progress' | 'not-done' | 'on-hold' | 'completed' | 'entered-in-error' | 'stopped' | 'unknown';
146
146
 
147
147
  /**
148
148
  * A code indicating why the administration was not performed.
@@ -174,7 +174,7 @@ export interface MedicationAdministration {
174
174
  /**
175
175
  * The person or animal or group receiving the medication.
176
176
  */
177
- subject?: Reference<Patient | Group>;
177
+ subject: Reference<Patient | Group>;
178
178
 
179
179
  /**
180
180
  * The visit, admission, or other contact between patient and health care
@@ -399,5 +399,5 @@ export interface MedicationAdministrationPerformer {
399
399
  /**
400
400
  * Indicates who or what performed the medication administration.
401
401
  */
402
- actor?: Reference<Practitioner | PractitionerRole | Patient | RelatedPerson | Device>;
402
+ actor: Reference<Practitioner | PractitionerRole | Patient | RelatedPerson | Device>;
403
403
  }
@@ -132,7 +132,7 @@ export interface MedicationDispense {
132
132
  /**
133
133
  * A code specifying the state of the set of dispense events.
134
134
  */
135
- status?: 'preparation' | 'in-progress' | 'cancelled' | 'on-hold' | 'completed' | 'entered-in-error' | 'stopped' | 'declined' | 'unknown';
135
+ status: 'preparation' | 'in-progress' | 'cancelled' | 'on-hold' | 'completed' | 'entered-in-error' | 'stopped' | 'declined' | 'unknown';
136
136
 
137
137
  /**
138
138
  * Indicates the reason why a dispense was not performed.
@@ -325,7 +325,7 @@ export interface MedicationDispensePerformer {
325
325
  * The device, practitioner, etc. who performed the action. It should be
326
326
  * assumed that the actor is the dispenser of the medication.
327
327
  */
328
- actor?: Reference<Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson>;
328
+ actor: Reference<Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson>;
329
329
  }
330
330
 
331
331
  /**
@@ -376,7 +376,7 @@ export interface MedicationDispenseSubstitution {
376
376
  * True if the dispenser dispensed a different drug or product from what
377
377
  * was prescribed.
378
378
  */
379
- wasSubstituted?: boolean;
379
+ wasSubstituted: boolean;
380
380
 
381
381
  /**
382
382
  * A code signifying whether a different drug was dispensed from what was