@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
@@ -134,7 +134,7 @@ export interface ExampleScenario {
134
134
  * The status of this example scenario. Enables tracking the life-cycle
135
135
  * of the content.
136
136
  */
137
- status?: 'draft' | 'active' | 'retired' | 'unknown';
137
+ status: 'draft' | 'active' | 'retired' | 'unknown';
138
138
 
139
139
  /**
140
140
  * A Boolean value to indicate that this example scenario is authored for
@@ -257,12 +257,12 @@ export interface ExampleScenarioActor {
257
257
  /**
258
258
  * ID or acronym of actor.
259
259
  */
260
- actorId?: string;
260
+ actorId: string;
261
261
 
262
262
  /**
263
263
  * The type of actor - person or system.
264
264
  */
265
- type?: 'person' | 'entity';
265
+ type: 'person' | 'entity';
266
266
 
267
267
  /**
268
268
  * The name of the actor as shown in the page.
@@ -318,12 +318,12 @@ export interface ExampleScenarioInstance {
318
318
  /**
319
319
  * The id of the resource for referencing.
320
320
  */
321
- resourceId?: string;
321
+ resourceId: string;
322
322
 
323
323
  /**
324
324
  * The type of the resource.
325
325
  */
326
- resourceType?: ResourceType;
326
+ resourceType: ResourceType;
327
327
 
328
328
  /**
329
329
  * A short name for the resource instance.
@@ -391,7 +391,7 @@ export interface ExampleScenarioInstanceContainedInstance {
391
391
  /**
392
392
  * Each resource contained in the instance.
393
393
  */
394
- resourceId?: string;
394
+ resourceId: string;
395
395
 
396
396
  /**
397
397
  * A specific version of a resource contained in the instance.
@@ -442,12 +442,12 @@ export interface ExampleScenarioInstanceVersion {
442
442
  /**
443
443
  * The identifier of a specific version of a resource.
444
444
  */
445
- versionId?: string;
445
+ versionId: string;
446
446
 
447
447
  /**
448
448
  * The description of the resource version.
449
449
  */
450
- description?: string;
450
+ description: string;
451
451
  }
452
452
 
453
453
  /**
@@ -493,7 +493,7 @@ export interface ExampleScenarioProcess {
493
493
  /**
494
494
  * The diagram title of the group of operations.
495
495
  */
496
- title?: string;
496
+ title: string;
497
497
 
498
498
  /**
499
499
  * A longer description of the group of operations.
@@ -623,7 +623,7 @@ export interface ExampleScenarioProcessStepAlternative {
623
623
  * The label to display for the alternative that gives a sense of the
624
624
  * circumstance in which the alternative should be invoked.
625
625
  */
626
- title?: string;
626
+ title: string;
627
627
 
628
628
  /**
629
629
  * A human-readable description of the alternative explaining when the
@@ -680,7 +680,7 @@ export interface ExampleScenarioProcessStepOperation {
680
680
  /**
681
681
  * The sequential number of the interaction, e.g. 1.2.5.
682
682
  */
683
- number?: string;
683
+ number: string;
684
684
 
685
685
  /**
686
686
  * The type of operation - CRUD.
@@ -124,13 +124,13 @@ export interface ExplanationOfBenefit {
124
124
  /**
125
125
  * The status of the resource instance.
126
126
  */
127
- status?: 'active' | 'cancelled' | 'draft' | 'entered-in-error';
127
+ status: 'active' | 'cancelled' | 'draft' | 'entered-in-error';
128
128
 
129
129
  /**
130
130
  * The category of claim, e.g. oral, pharmacy, vision, institutional,
131
131
  * professional.
132
132
  */
133
- type?: CodeableConcept;
133
+ type: CodeableConcept;
134
134
 
135
135
  /**
136
136
  * A finer grained suite of claim type codes which may convey additional
@@ -146,14 +146,14 @@ export interface ExplanationOfBenefit {
146
146
  * or requesting the non-binding adjudication of the listed products and
147
147
  * services which could be provided in the future.
148
148
  */
149
- use?: 'claim' | 'preauthorization' | 'predetermination';
149
+ use: 'claim' | 'preauthorization' | 'predetermination';
150
150
 
151
151
  /**
152
152
  * The party to whom the professional services and/or products have been
153
153
  * supplied or are being considered and for whom actual for forecast
154
154
  * reimbursement is sought.
155
155
  */
156
- patient?: Reference<Patient>;
156
+ patient: Reference<Patient>;
157
157
 
158
158
  /**
159
159
  * The period for which charges are being submitted.
@@ -163,7 +163,7 @@ export interface ExplanationOfBenefit {
163
163
  /**
164
164
  * The date this resource was created.
165
165
  */
166
- created?: string;
166
+ created: string;
167
167
 
168
168
  /**
169
169
  * Individual who created the claim, predetermination or
@@ -175,13 +175,13 @@ export interface ExplanationOfBenefit {
175
175
  * The party responsible for authorization, adjudication and
176
176
  * reimbursement.
177
177
  */
178
- insurer?: Reference<Organization>;
178
+ insurer: Reference<Organization>;
179
179
 
180
180
  /**
181
181
  * The provider which is responsible for the claim, predetermination or
182
182
  * preauthorization.
183
183
  */
184
- provider?: Reference<Practitioner | PractitionerRole | Organization>;
184
+ provider: Reference<Practitioner | PractitionerRole | Organization>;
185
185
 
186
186
  /**
187
187
  * The provider-required urgency of processing the request. Typical
@@ -252,7 +252,7 @@ export interface ExplanationOfBenefit {
252
252
  * The outcome of the claim, predetermination, or preauthorization
253
253
  * processing.
254
254
  */
255
- outcome?: 'queued' | 'complete' | 'error' | 'partial';
255
+ outcome: 'queued' | 'complete' | 'error' | 'partial';
256
256
 
257
257
  /**
258
258
  * A human readable description of the status of the adjudication.
@@ -303,7 +303,7 @@ export interface ExplanationOfBenefit {
303
303
  * Financial instruments for reimbursement for the health care products
304
304
  * and services specified on the claim.
305
305
  */
306
- insurance?: ExplanationOfBenefitInsurance[];
306
+ insurance: ExplanationOfBenefitInsurance[];
307
307
 
308
308
  /**
309
309
  * Details of a accident which resulted in injuries which required the
@@ -501,7 +501,7 @@ export interface ExplanationOfBenefitAddItem {
501
501
  * related claim details, otherwise this contains the product, service,
502
502
  * drug or other billing code for the item.
503
503
  */
504
- productOrService?: CodeableConcept;
504
+ productOrService: CodeableConcept;
505
505
 
506
506
  /**
507
507
  * Item typification or modifiers codes to convey additional context for
@@ -640,7 +640,7 @@ export interface ExplanationOfBenefitAddItemDetail {
640
640
  * related claim details, otherwise this contains the product, service,
641
641
  * drug or other billing code for the item.
642
642
  */
643
- productOrService?: CodeableConcept;
643
+ productOrService: CodeableConcept;
644
644
 
645
645
  /**
646
646
  * Item typification or modifiers codes to convey additional context for
@@ -736,7 +736,7 @@ export interface ExplanationOfBenefitAddItemDetailSubDetail {
736
736
  * related claim details, otherwise this contains the product, service,
737
737
  * drug or other billing code for the item.
738
738
  */
739
- productOrService?: CodeableConcept;
739
+ productOrService: CodeableConcept;
740
740
 
741
741
  /**
742
742
  * Item typification or modifiers codes to convey additional context for
@@ -826,7 +826,7 @@ export interface ExplanationOfBenefitBenefitBalance {
826
826
  * Code to identify the general type of benefits under which products and
827
827
  * services are provided.
828
828
  */
829
- category?: CodeableConcept;
829
+ category: CodeableConcept;
830
830
 
831
831
  /**
832
832
  * True if the indicated class of service is excluded from the plan,
@@ -911,7 +911,7 @@ export interface ExplanationOfBenefitBenefitBalanceFinancial {
911
911
  /**
912
912
  * Classification of benefit being provided.
913
913
  */
914
- type?: CodeableConcept;
914
+ type: CodeableConcept;
915
915
 
916
916
  /**
917
917
  * The quantity of the benefit which is permitted under the coverage.
@@ -982,12 +982,12 @@ export interface ExplanationOfBenefitCareTeam {
982
982
  /**
983
983
  * A number to uniquely identify care team entries.
984
984
  */
985
- sequence?: number;
985
+ sequence: number;
986
986
 
987
987
  /**
988
988
  * Member of the team who provided the product or service.
989
989
  */
990
- provider?: Reference<Practitioner | PractitionerRole | Organization>;
990
+ provider: Reference<Practitioner | PractitionerRole | Organization>;
991
991
 
992
992
  /**
993
993
  * The party who is billing and/or responsible for the claimed products
@@ -1051,7 +1051,7 @@ export interface ExplanationOfBenefitDiagnosis {
1051
1051
  /**
1052
1052
  * A number to uniquely identify diagnosis entries.
1053
1053
  */
1054
- sequence?: number;
1054
+ sequence: number;
1055
1055
 
1056
1056
  /**
1057
1057
  * The nature of illness or problem in a coded form or as a reference to
@@ -1129,7 +1129,7 @@ export interface ExplanationOfBenefitInsurance {
1129
1129
  * A flag to indicate that this Coverage is to be used for adjudication
1130
1130
  * of this claim when set to true.
1131
1131
  */
1132
- focal?: boolean;
1132
+ focal: boolean;
1133
1133
 
1134
1134
  /**
1135
1135
  * Reference to the insurance card level information contained in the
@@ -1137,7 +1137,7 @@ export interface ExplanationOfBenefitInsurance {
1137
1137
  * to locate the patient's actual coverage within the insurer's
1138
1138
  * information system.
1139
1139
  */
1140
- coverage?: Reference<Coverage>;
1140
+ coverage: Reference<Coverage>;
1141
1141
 
1142
1142
  /**
1143
1143
  * Reference numbers previously provided by the insurer to the provider
@@ -1191,7 +1191,7 @@ export interface ExplanationOfBenefitItem {
1191
1191
  /**
1192
1192
  * A number to uniquely identify item entries.
1193
1193
  */
1194
- sequence?: number;
1194
+ sequence: number;
1195
1195
 
1196
1196
  /**
1197
1197
  * Care team members related to this service or product.
@@ -1231,7 +1231,7 @@ export interface ExplanationOfBenefitItem {
1231
1231
  * related claim details, otherwise this contains the product, service,
1232
1232
  * drug or other billing code for the item.
1233
1233
  */
1234
- productOrService?: CodeableConcept;
1234
+ productOrService: CodeableConcept;
1235
1235
 
1236
1236
  /**
1237
1237
  * Item typification or modifiers codes to convey additional context for
@@ -1388,7 +1388,7 @@ export interface ExplanationOfBenefitItemAdjudication {
1388
1388
  * amounts paid by other coverages, and the benefit payable for this
1389
1389
  * item.
1390
1390
  */
1391
- category?: CodeableConcept;
1391
+ category: CodeableConcept;
1392
1392
 
1393
1393
  /**
1394
1394
  * A code supporting the understanding of the adjudication result and
@@ -1452,7 +1452,7 @@ export interface ExplanationOfBenefitItemDetail {
1452
1452
  * A claim detail line. Either a simple (a product or service) or a
1453
1453
  * 'group' of sub-details which are simple items.
1454
1454
  */
1455
- sequence?: number;
1455
+ sequence: number;
1456
1456
 
1457
1457
  /**
1458
1458
  * The type of revenue or cost center providing the product and/or
@@ -1471,7 +1471,7 @@ export interface ExplanationOfBenefitItemDetail {
1471
1471
  * related claim details, otherwise this contains the product, service,
1472
1472
  * drug or other billing code for the item.
1473
1473
  */
1474
- productOrService?: CodeableConcept;
1474
+ productOrService: CodeableConcept;
1475
1475
 
1476
1476
  /**
1477
1477
  * Item typification or modifiers codes to convey additional context for
@@ -1576,7 +1576,7 @@ export interface ExplanationOfBenefitItemDetailSubDetail {
1576
1576
  * A claim detail line. Either a simple (a product or service) or a
1577
1577
  * 'group' of sub-details which are simple items.
1578
1578
  */
1579
- sequence?: number;
1579
+ sequence: number;
1580
1580
 
1581
1581
  /**
1582
1582
  * The type of revenue or cost center providing the product and/or
@@ -1595,7 +1595,7 @@ export interface ExplanationOfBenefitItemDetailSubDetail {
1595
1595
  * related claim details, otherwise this contains the product, service,
1596
1596
  * drug or other billing code for the item.
1597
1597
  */
1598
- productOrService?: CodeableConcept;
1598
+ productOrService: CodeableConcept;
1599
1599
 
1600
1600
  /**
1601
1601
  * Item typification or modifiers codes to convey additional context for
@@ -1822,7 +1822,7 @@ export interface ExplanationOfBenefitProcedure {
1822
1822
  /**
1823
1823
  * A number to uniquely identify procedure entries.
1824
1824
  */
1825
- sequence?: number;
1825
+ sequence: number;
1826
1826
 
1827
1827
  /**
1828
1828
  * When the condition was observed or the relative ranking.
@@ -2016,13 +2016,13 @@ export interface ExplanationOfBenefitSupportingInfo {
2016
2016
  /**
2017
2017
  * A number to uniquely identify supporting information entries.
2018
2018
  */
2019
- sequence?: number;
2019
+ sequence: number;
2020
2020
 
2021
2021
  /**
2022
2022
  * The general class of the information supplied: information; exception;
2023
2023
  * accident, employment; onset, etc.
2024
2024
  */
2025
- category?: CodeableConcept;
2025
+ category: CodeableConcept;
2026
2026
 
2027
2027
  /**
2028
2028
  * System and code pertaining to the specific information regarding
@@ -2131,10 +2131,10 @@ export interface ExplanationOfBenefitTotal {
2131
2131
  * amounts paid by other coverages, and the benefit payable for this
2132
2132
  * item.
2133
2133
  */
2134
- category?: CodeableConcept;
2134
+ category: CodeableConcept;
2135
2135
 
2136
2136
  /**
2137
2137
  * Monetary total amount associated with the category.
2138
2138
  */
2139
- amount?: Money;
2139
+ amount: Money;
2140
2140
  }
@@ -44,7 +44,7 @@ export interface Expression {
44
44
  /**
45
45
  * The media type of the language for the expression.
46
46
  */
47
- language?: 'text/cql' | 'text/fhirpath' | 'application/x-fhir-query';
47
+ language: 'text/cql' | 'text/fhirpath' | 'application/x-fhir-query';
48
48
 
49
49
  /**
50
50
  * An expression in the specified language that returns a value.
@@ -60,7 +60,7 @@ export interface Extension {
60
60
  * Source of the definition for the extension code - a logical name or a
61
61
  * URL.
62
62
  */
63
- url?: string;
63
+ url: string;
64
64
 
65
65
  /**
66
66
  * Value of extension - must be one of a constrained set of the data
@@ -129,7 +129,7 @@ export interface FamilyMemberHistory {
129
129
  * A code specifying the status of the record of the family history of a
130
130
  * specific family member.
131
131
  */
132
- status?: 'partial' | 'completed' | 'entered-in-error' | 'health-unknown';
132
+ status: 'partial' | 'completed' | 'entered-in-error' | 'health-unknown';
133
133
 
134
134
  /**
135
135
  * Describes why the family member's history is not available.
@@ -139,7 +139,7 @@ export interface FamilyMemberHistory {
139
139
  /**
140
140
  * The person who this history concerns.
141
141
  */
142
- patient?: Reference<Patient>;
142
+ patient: Reference<Patient>;
143
143
 
144
144
  /**
145
145
  * The date (and possibly time) when the family member history was
@@ -157,7 +157,7 @@ export interface FamilyMemberHistory {
157
157
  * The type of relationship this person has to the patient (father,
158
158
  * mother, brother etc.).
159
159
  */
160
- relationship?: CodeableConcept;
160
+ relationship: CodeableConcept;
161
161
 
162
162
  /**
163
163
  * The birth sex of the family member.
@@ -309,7 +309,7 @@ export interface FamilyMemberHistoryCondition {
309
309
  * much is known about the condition and the capabilities of the creating
310
310
  * system.
311
311
  */
312
- code?: CodeableConcept;
312
+ code: CodeableConcept;
313
313
 
314
314
  /**
315
315
  * Indicates what happened following the condition. If the condition
package/dist/Flag.d.ts CHANGED
@@ -115,7 +115,7 @@ export interface Flag {
115
115
  /**
116
116
  * Supports basic workflow.
117
117
  */
118
- status?: 'active' | 'inactive' | 'entered-in-error';
118
+ status: 'active' | 'inactive' | 'entered-in-error';
119
119
 
120
120
  /**
121
121
  * Allows a flag to be divided into different categories like clinical,
@@ -128,13 +128,13 @@ export interface Flag {
128
128
  * The coded value or textual component of the flag to display to the
129
129
  * user.
130
130
  */
131
- code?: CodeableConcept;
131
+ code: CodeableConcept;
132
132
 
133
133
  /**
134
134
  * The patient, location, group, organization, or practitioner etc. this
135
135
  * is about record this flag is associated with.
136
136
  */
137
- subject?: Reference<Patient | Location | Group | Organization | Practitioner | PlanDefinition | Medication | Procedure>;
137
+ subject: Reference<Patient | Location | Group | Organization | Practitioner | PlanDefinition | Medication | Procedure>;
138
138
 
139
139
  /**
140
140
  * The period of time from the activation of the flag to inactivation of
package/dist/Goal.d.ts CHANGED
@@ -122,7 +122,7 @@ export interface Goal {
122
122
  /**
123
123
  * The state of the goal throughout its lifecycle.
124
124
  */
125
- lifecycleStatus?: 'proposed' | 'planned' | 'accepted' | 'active' | 'on-hold' | 'completed' | 'cancelled' | 'entered-in-error' | 'rejected';
125
+ lifecycleStatus: 'proposed' | 'planned' | 'accepted' | 'active' | 'on-hold' | 'completed' | 'cancelled' | 'entered-in-error' | 'rejected';
126
126
 
127
127
  /**
128
128
  * Describes the progression, or lack thereof, towards the goal against
@@ -146,13 +146,13 @@ export interface Goal {
146
146
  * objective of care, such as &quot;control blood pressure&quot; or &quot;negotiate an
147
147
  * obstacle course&quot; or &quot;dance with child at wedding&quot;.
148
148
  */
149
- description?: CodeableConcept;
149
+ description: CodeableConcept;
150
150
 
151
151
  /**
152
152
  * Identifies the patient, group or organization for whom the goal is
153
153
  * being established.
154
154
  */
155
- subject?: Reference<Patient | Group | Organization>;
155
+ subject: Reference<Patient | Group | Organization>;
156
156
 
157
157
  /**
158
158
  * The date or event after which the goal should begin being pursued.
@@ -123,13 +123,13 @@ export interface GraphDefinition {
123
123
  * should be usable as an identifier for the module by machine processing
124
124
  * applications such as code generation.
125
125
  */
126
- name?: string;
126
+ name: string;
127
127
 
128
128
  /**
129
129
  * The status of this graph definition. Enables tracking the life-cycle
130
130
  * of the content.
131
131
  */
132
- status?: 'draft' | 'active' | 'retired' | 'unknown';
132
+ status: 'draft' | 'active' | 'retired' | 'unknown';
133
133
 
134
134
  /**
135
135
  * A Boolean value to indicate that this graph definition is authored for
@@ -188,7 +188,7 @@ export interface GraphDefinition {
188
188
  /**
189
189
  * The type of FHIR resource at which instances of this graph start.
190
190
  */
191
- start?: ResourceType;
191
+ start: ResourceType;
192
192
 
193
193
  /**
194
194
  * The profile that describes the use of the base resource.
@@ -317,7 +317,7 @@ export interface GraphDefinitionLinkTarget {
317
317
  /**
318
318
  * Type of resource this link refers to.
319
319
  */
320
- type?: ResourceType;
320
+ type: ResourceType;
321
321
 
322
322
  /**
323
323
  * A set of parameters to look up.
@@ -385,17 +385,17 @@ export interface GraphDefinitionLinkTargetCompartment {
385
385
  * test whether resources are subject to the rule, or whether it is a
386
386
  * rule that must be followed.
387
387
  */
388
- use?: 'condition' | 'requirement';
388
+ use: 'condition' | 'requirement';
389
389
 
390
390
  /**
391
391
  * Identifies the compartment.
392
392
  */
393
- code?: 'Patient' | 'Encounter' | 'RelatedPerson' | 'Practitioner' | 'Device';
393
+ code: 'Patient' | 'Encounter' | 'RelatedPerson' | 'Practitioner' | 'Device';
394
394
 
395
395
  /**
396
396
  * identical | matching | different | no-rule | custom.
397
397
  */
398
- rule?: 'identical' | 'matching' | 'different' | 'custom';
398
+ rule: 'identical' | 'matching' | 'different' | 'custom';
399
399
 
400
400
  /**
401
401
  * Custom rule, as a FHIRPath expression.
package/dist/Group.d.ts CHANGED
@@ -121,14 +121,14 @@ export interface Group {
121
121
  * Identifies the broad classification of the kind of resources the group
122
122
  * includes.
123
123
  */
124
- type?: 'person' | 'animal' | 'practitioner' | 'device' | 'medication' | 'substance';
124
+ type: 'person' | 'animal' | 'practitioner' | 'device' | 'medication' | 'substance';
125
125
 
126
126
  /**
127
127
  * If true, indicates that the resource refers to a specific group of
128
128
  * real individuals. If false, the group defines a set of intended
129
129
  * individuals.
130
130
  */
131
- actual?: boolean;
131
+ actual: boolean;
132
132
 
133
133
  /**
134
134
  * Provides a specific type of resource the group includes; e.g. &quot;cow&quot;,
@@ -210,7 +210,7 @@ export interface GroupCharacteristic {
210
210
  /**
211
211
  * A code that identifies the kind of trait being asserted.
212
212
  */
213
- code?: CodeableConcept;
213
+ code: CodeableConcept;
214
214
 
215
215
  /**
216
216
  * The value of the trait that holds (or does not hold - see 'exclude')
@@ -246,7 +246,7 @@ export interface GroupCharacteristic {
246
246
  * If true, indicates the characteristic is one that is NOT held by
247
247
  * members of the group.
248
248
  */
249
- exclude?: boolean;
249
+ exclude: boolean;
250
250
 
251
251
  /**
252
252
  * The period over which the characteristic is tested; e.g. the patient
@@ -300,7 +300,7 @@ export interface GroupMember {
300
300
  * consistent with Group.type. If the entity is another group, then the
301
301
  * type must be the same.
302
302
  */
303
- entity?: Reference<Patient | Practitioner | PractitionerRole | Device | Medication | Substance | Group>;
303
+ entity: Reference<Patient | Practitioner | PractitionerRole | Device | Medication | Substance | Group>;
304
304
 
305
305
  /**
306
306
  * The period that the member was in the group, if known.
@@ -151,7 +151,7 @@ export interface GuidanceResponse {
151
151
  * available, the status will be data-requested, and the response will
152
152
  * contain a description of the additional requested information.
153
153
  */
154
- status?: 'success' | 'data-requested' | 'data-required' | 'in-progress' | 'failure' | 'entered-in-error';
154
+ status: 'success' | 'data-requested' | 'data-required' | 'in-progress' | 'failure' | 'entered-in-error';
155
155
 
156
156
  /**
157
157
  * The patient for which the request was processed.
@@ -405,7 +405,7 @@ export interface HealthcareServiceNotAvailable {
405
405
  * The reason that can be presented to the user as to why this time is
406
406
  * not available.
407
407
  */
408
- description?: string;
408
+ description: string;
409
409
 
410
410
  /**
411
411
  * Service is not available (seasonally or for a public holiday) from
@@ -11,12 +11,12 @@ export interface IdentityProvider {
11
11
  /**
12
12
  * Remote URL for the external Identity Provider authorize endpoint.
13
13
  */
14
- authorizeUrl?: string;
14
+ authorizeUrl: string;
15
15
 
16
16
  /**
17
17
  * Remote URL for the external Identity Provider token endpoint.
18
18
  */
19
- tokenUrl?: string;
19
+ tokenUrl: string;
20
20
 
21
21
  /**
22
22
  * Client Authentication method used by Clients to authenticate to the
@@ -28,17 +28,17 @@ export interface IdentityProvider {
28
28
  /**
29
29
  * Remote URL for the external Identity Provider userinfo endpoint.
30
30
  */
31
- userInfoUrl?: string;
31
+ userInfoUrl: string;
32
32
 
33
33
  /**
34
34
  * External Identity Provider client ID.
35
35
  */
36
- clientId?: string;
36
+ clientId: string;
37
37
 
38
38
  /**
39
39
  * External Identity Provider client secret.
40
40
  */
41
- clientSecret?: string;
41
+ clientSecret: string;
42
42
 
43
43
  /**
44
44
  * Optional flag to use PKCE in the token request.
@@ -131,7 +131,7 @@ export interface ImagingStudy {
131
131
  /**
132
132
  * The current state of the ImagingStudy.
133
133
  */
134
- status?: 'registered' | 'available' | 'cancelled' | 'entered-in-error' | 'unknown';
134
+ status: 'registered' | 'available' | 'cancelled' | 'entered-in-error' | 'unknown';
135
135
 
136
136
  /**
137
137
  * A list of all the series.modality values that are actual acquisition
@@ -143,7 +143,7 @@ export interface ImagingStudy {
143
143
  /**
144
144
  * The subject, typically a patient, of the imaging study.
145
145
  */
146
- subject?: Reference<Patient | Device | Group>;
146
+ subject: Reference<Patient | Device | Group>;
147
147
 
148
148
  /**
149
149
  * The healthcare event (e.g. a patient and healthcare provider
@@ -286,7 +286,7 @@ export interface ImagingStudySeries {
286
286
  /**
287
287
  * The DICOM Series Instance UID for the series.
288
288
  */
289
- uid?: string;
289
+ uid: string;
290
290
 
291
291
  /**
292
292
  * The numeric identifier of this series in the study.
@@ -296,7 +296,7 @@ export interface ImagingStudySeries {
296
296
  /**
297
297
  * The modality of this series sequence.
298
298
  */
299
- modality?: Coding;
299
+ modality: Coding;
300
300
 
301
301
  /**
302
302
  * A description of the series.
@@ -402,12 +402,12 @@ export interface ImagingStudySeriesInstance {
402
402
  /**
403
403
  * The DICOM SOP Instance UID for this image or other DICOM content.
404
404
  */
405
- uid?: string;
405
+ uid: string;
406
406
 
407
407
  /**
408
408
  * DICOM instance type.
409
409
  */
410
- sopClass?: Coding;
410
+ sopClass: Coding;
411
411
 
412
412
  /**
413
413
  * The number of instance in the series.
@@ -468,5 +468,5 @@ export interface ImagingStudySeriesPerformer {
468
468
  /**
469
469
  * Indicates who or what performed the series.
470
470
  */
471
- actor?: Reference<Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson>;
471
+ actor: Reference<Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson>;
472
472
  }