@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
@@ -119,13 +119,13 @@ export interface CatalogEntry {
119
119
  /**
120
120
  * Whether the entry represents an orderable item.
121
121
  */
122
- orderable?: boolean;
122
+ orderable: boolean;
123
123
 
124
124
  /**
125
125
  * The item in a catalog or definition.
126
126
  */
127
- referencedItem?: Reference<Medication | Device | Organization | Practitioner | PractitionerRole | HealthcareService
128
- | ActivityDefinition | PlanDefinition | SpecimenDefinition | ObservationDefinition | Binary>;
127
+ referencedItem: Reference<Medication | Device | Organization | Practitioner | PractitionerRole | HealthcareService |
128
+ ActivityDefinition | PlanDefinition | SpecimenDefinition | ObservationDefinition | Binary>;
129
129
 
130
130
  /**
131
131
  * Used in supporting related concepts, e.g. NDC to RxNorm.
@@ -221,10 +221,10 @@ export interface CatalogEntryRelatedEntry {
221
221
  * The type of relation to the related item: child, parent,
222
222
  * packageContent, containerPackage, usedIn, uses, requires, etc.
223
223
  */
224
- relationtype?: 'triggers' | 'is-replaced-by';
224
+ relationtype: 'triggers' | 'is-replaced-by';
225
225
 
226
226
  /**
227
227
  * The reference to the related item.
228
228
  */
229
- item?: Reference<CatalogEntry>;
229
+ item: Reference<CatalogEntry>;
230
230
  }
@@ -143,7 +143,7 @@ export interface ChargeItem {
143
143
  /**
144
144
  * The current state of the ChargeItem.
145
145
  */
146
- status?: 'planned' | 'billable' | 'not-billable' | 'aborted' | 'billed' | 'entered-in-error' | 'unknown';
146
+ status: 'planned' | 'billable' | 'not-billable' | 'aborted' | 'billed' | 'entered-in-error' | 'unknown';
147
147
 
148
148
  /**
149
149
  * ChargeItems can be grouped to larger ChargeItems covering the whole
@@ -154,13 +154,13 @@ export interface ChargeItem {
154
154
  /**
155
155
  * A code that identifies the charge, like a billing code.
156
156
  */
157
- code?: CodeableConcept;
157
+ code: CodeableConcept;
158
158
 
159
159
  /**
160
160
  * The individual or set of individuals the action is being or was
161
161
  * performed on.
162
162
  */
163
- subject?: Reference<Patient | Group>;
163
+ subject: Reference<Patient | Group>;
164
164
 
165
165
  /**
166
166
  * The encounter or episode of care that establishes the context for this
@@ -334,5 +334,5 @@ export interface ChargeItemPerformer {
334
334
  * The device, practitioner, etc. who performed or participated in the
335
335
  * service.
336
336
  */
337
- actor?: Reference<Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson>;
337
+ actor: Reference<Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson>;
338
338
  }
@@ -113,7 +113,7 @@ export interface ChargeItemDefinition {
113
113
  * SHALL remain the same when the charge item definition is stored on
114
114
  * different servers.
115
115
  */
116
- url?: string;
116
+ url: string;
117
117
 
118
118
  /**
119
119
  * A formal identifier that is used to identify this charge item
@@ -164,7 +164,7 @@ export interface ChargeItemDefinition {
164
164
  /**
165
165
  * The current state of the ChargeItemDefinition.
166
166
  */
167
- status?: 'draft' | 'active' | 'retired' | 'unknown';
167
+ status: 'draft' | 'active' | 'retired' | 'unknown';
168
168
 
169
169
  /**
170
170
  * A Boolean value to indicate that this charge item definition is
@@ -439,7 +439,7 @@ export interface ChargeItemDefinitionPropertyGroupPriceComponent {
439
439
  /**
440
440
  * This code identifies the type of the component.
441
441
  */
442
- type?: 'base' | 'surcharge' | 'deduction' | 'discount' | 'tax' | 'informational';
442
+ type: 'base' | 'surcharge' | 'deduction' | 'discount' | 'tax' | 'informational';
443
443
 
444
444
  /**
445
445
  * A code that identifies the component. Codes may be used to
package/dist/Claim.d.ts CHANGED
@@ -123,13 +123,13 @@ export interface Claim {
123
123
  /**
124
124
  * The status of the resource instance.
125
125
  */
126
- status?: 'active' | 'cancelled' | 'draft' | 'entered-in-error';
126
+ status: 'active' | 'cancelled' | 'draft' | 'entered-in-error';
127
127
 
128
128
  /**
129
129
  * The category of claim, e.g. oral, pharmacy, vision, institutional,
130
130
  * professional.
131
131
  */
132
- type?: CodeableConcept;
132
+ type: CodeableConcept;
133
133
 
134
134
  /**
135
135
  * A finer grained suite of claim type codes which may convey additional
@@ -145,14 +145,14 @@ export interface Claim {
145
145
  * or requesting the non-binding adjudication of the listed products and
146
146
  * services which could be provided in the future.
147
147
  */
148
- use?: 'claim' | 'preauthorization' | 'predetermination';
148
+ use: 'claim' | 'preauthorization' | 'predetermination';
149
149
 
150
150
  /**
151
151
  * The party to whom the professional services and/or products have been
152
152
  * supplied or are being considered and for whom actual or forecast
153
153
  * reimbursement is sought.
154
154
  */
155
- patient?: Reference<Patient>;
155
+ patient: Reference<Patient>;
156
156
 
157
157
  /**
158
158
  * The period for which charges are being submitted.
@@ -162,7 +162,7 @@ export interface Claim {
162
162
  /**
163
163
  * The date this resource was created.
164
164
  */
165
- created?: string;
165
+ created: string;
166
166
 
167
167
  /**
168
168
  * Individual who created the claim, predetermination or
@@ -179,13 +179,13 @@ export interface Claim {
179
179
  * The provider which is responsible for the claim, predetermination or
180
180
  * preauthorization.
181
181
  */
182
- provider?: Reference<Practitioner | PractitionerRole | Organization>;
182
+ provider: Reference<Practitioner | PractitionerRole | Organization>;
183
183
 
184
184
  /**
185
185
  * The provider-required urgency of processing the request. Typical
186
186
  * values include: stat, routine deferred.
187
187
  */
188
- priority?: CodeableConcept;
188
+ priority: CodeableConcept;
189
189
 
190
190
  /**
191
191
  * A code to indicate whether and for whom funds are to be reserved for
@@ -254,7 +254,7 @@ export interface Claim {
254
254
  * Financial instruments for reimbursement for the health care products
255
255
  * and services specified on the claim.
256
256
  */
257
- insurance?: ClaimInsurance[];
257
+ insurance: ClaimInsurance[];
258
258
 
259
259
  /**
260
260
  * Details of an accident which resulted in injuries which required the
@@ -319,7 +319,7 @@ export interface ClaimAccident {
319
319
  * Date of an accident event related to the products and services
320
320
  * contained in the claim.
321
321
  */
322
- date?: string;
322
+ date: string;
323
323
 
324
324
  /**
325
325
  * The type or context of the accident event for the purposes of
@@ -382,12 +382,12 @@ export interface ClaimCareTeam {
382
382
  /**
383
383
  * A number to uniquely identify care team entries.
384
384
  */
385
- sequence?: number;
385
+ sequence: number;
386
386
 
387
387
  /**
388
388
  * Member of the team who provided the product or service.
389
389
  */
390
- provider?: Reference<Practitioner | PractitionerRole | Organization>;
390
+ provider: Reference<Practitioner | PractitionerRole | Organization>;
391
391
 
392
392
  /**
393
393
  * The party who is billing and/or responsible for the claimed products
@@ -451,7 +451,7 @@ export interface ClaimDiagnosis {
451
451
  /**
452
452
  * A number to uniquely identify diagnosis entries.
453
453
  */
454
- sequence?: number;
454
+ sequence: number;
455
455
 
456
456
  /**
457
457
  * The nature of illness or problem in a coded form or as a reference to
@@ -529,13 +529,13 @@ export interface ClaimInsurance {
529
529
  * A number to uniquely identify insurance entries and provide a sequence
530
530
  * of coverages to convey coordination of benefit order.
531
531
  */
532
- sequence?: number;
532
+ sequence: number;
533
533
 
534
534
  /**
535
535
  * A flag to indicate that this Coverage is to be used for adjudication
536
536
  * of this claim when set to true.
537
537
  */
538
- focal?: boolean;
538
+ focal: boolean;
539
539
 
540
540
  /**
541
541
  * The business identifier to be used when the claim is sent for
@@ -549,7 +549,7 @@ export interface ClaimInsurance {
549
549
  * to locate the patient's actual coverage within the insurer's
550
550
  * information system.
551
551
  */
552
- coverage?: Reference<Coverage>;
552
+ coverage: Reference<Coverage>;
553
553
 
554
554
  /**
555
555
  * A business agreement number established between the provider and the
@@ -615,7 +615,7 @@ export interface ClaimItem {
615
615
  /**
616
616
  * A number to uniquely identify item entries.
617
617
  */
618
- sequence?: number;
618
+ sequence: number;
619
619
 
620
620
  /**
621
621
  * CareTeam members related to this service or product.
@@ -655,7 +655,7 @@ export interface ClaimItem {
655
655
  * related claim details, otherwise this contains the product, service,
656
656
  * drug or other billing code for the item.
657
657
  */
658
- productOrService?: CodeableConcept;
658
+ productOrService: CodeableConcept;
659
659
 
660
660
  /**
661
661
  * Item typification or modifiers codes to convey additional context for
@@ -794,7 +794,7 @@ export interface ClaimItemDetail {
794
794
  /**
795
795
  * A number to uniquely identify item entries.
796
796
  */
797
- sequence?: number;
797
+ sequence: number;
798
798
 
799
799
  /**
800
800
  * The type of revenue or cost center providing the product and/or
@@ -813,7 +813,7 @@ export interface ClaimItemDetail {
813
813
  * related claim details, otherwise this contains the product, service,
814
814
  * drug or other billing code for the item.
815
815
  */
816
- productOrService?: CodeableConcept;
816
+ productOrService: CodeableConcept;
817
817
 
818
818
  /**
819
819
  * Item typification or modifiers codes to convey additional context for
@@ -908,7 +908,7 @@ export interface ClaimItemDetailSubDetail {
908
908
  /**
909
909
  * A number to uniquely identify item entries.
910
910
  */
911
- sequence?: number;
911
+ sequence: number;
912
912
 
913
913
  /**
914
914
  * The type of revenue or cost center providing the product and/or
@@ -927,7 +927,7 @@ export interface ClaimItemDetailSubDetail {
927
927
  * related claim details, otherwise this contains the product, service,
928
928
  * drug or other billing code for the item.
929
929
  */
930
- productOrService?: CodeableConcept;
930
+ productOrService: CodeableConcept;
931
931
 
932
932
  /**
933
933
  * Item typification or modifiers codes to convey additional context for
@@ -1016,7 +1016,7 @@ export interface ClaimPayee {
1016
1016
  /**
1017
1017
  * Type of Party to be reimbursed: subscriber, provider, other.
1018
1018
  */
1019
- type?: CodeableConcept;
1019
+ type: CodeableConcept;
1020
1020
 
1021
1021
  /**
1022
1022
  * Reference to the individual or organization to whom any payment will
@@ -1069,7 +1069,7 @@ export interface ClaimProcedure {
1069
1069
  /**
1070
1070
  * A number to uniquely identify procedure entries.
1071
1071
  */
1072
- sequence?: number;
1072
+ sequence: number;
1073
1073
 
1074
1074
  /**
1075
1075
  * When the condition was observed or the relative ranking.
@@ -1201,13 +1201,13 @@ export interface ClaimSupportingInfo {
1201
1201
  /**
1202
1202
  * A number to uniquely identify supporting information entries.
1203
1203
  */
1204
- sequence?: number;
1204
+ sequence: number;
1205
1205
 
1206
1206
  /**
1207
1207
  * The general class of the information supplied: information; exception;
1208
1208
  * accident, employment; onset, etc.
1209
1209
  */
1210
- category?: CodeableConcept;
1210
+ category: CodeableConcept;
1211
1211
 
1212
1212
  /**
1213
1213
  * System and code pertaining to the specific information regarding
@@ -114,14 +114,14 @@ export interface ClaimResponse {
114
114
  /**
115
115
  * The status of the resource instance.
116
116
  */
117
- status?: 'active' | 'cancelled' | 'draft' | 'entered-in-error';
117
+ status: 'active' | 'cancelled' | 'draft' | 'entered-in-error';
118
118
 
119
119
  /**
120
120
  * A finer grained suite of claim type codes which may convey additional
121
121
  * information such as Inpatient vs Outpatient and/or a specialty
122
122
  * service.
123
123
  */
124
- type?: CodeableConcept;
124
+ type: CodeableConcept;
125
125
 
126
126
  /**
127
127
  * A finer grained suite of claim type codes which may convey additional
@@ -137,25 +137,25 @@ export interface ClaimResponse {
137
137
  * or requesting the non-binding adjudication of the listed products and
138
138
  * services which could be provided in the future.
139
139
  */
140
- use?: 'claim' | 'preauthorization' | 'predetermination';
140
+ use: 'claim' | 'preauthorization' | 'predetermination';
141
141
 
142
142
  /**
143
143
  * The party to whom the professional services and/or products have been
144
144
  * supplied or are being considered and for whom actual for facast
145
145
  * reimbursement is sought.
146
146
  */
147
- patient?: Reference<Patient>;
147
+ patient: Reference<Patient>;
148
148
 
149
149
  /**
150
150
  * The date this resource was created.
151
151
  */
152
- created?: string;
152
+ created: string;
153
153
 
154
154
  /**
155
155
  * The party responsible for authorization, adjudication and
156
156
  * reimbursement.
157
157
  */
158
- insurer?: Reference<Organization>;
158
+ insurer: Reference<Organization>;
159
159
 
160
160
  /**
161
161
  * The provider which is responsible for the claim, predetermination or
@@ -172,7 +172,7 @@ export interface ClaimResponse {
172
172
  * The outcome of the claim, predetermination, or preauthorization
173
173
  * processing.
174
174
  */
175
- outcome?: 'queued' | 'complete' | 'error' | 'partial';
175
+ outcome: 'queued' | 'complete' | 'error' | 'partial';
176
176
 
177
177
  /**
178
178
  * A human readable description of the status of the adjudication.
@@ -332,7 +332,7 @@ export interface ClaimResponseAddItem {
332
332
  * related claim details, otherwise this contains the product, service,
333
333
  * drug or other billing code for the item.
334
334
  */
335
- productOrService?: CodeableConcept;
335
+ productOrService: CodeableConcept;
336
336
 
337
337
  /**
338
338
  * Item typification or modifiers codes to convey additional context for
@@ -418,7 +418,7 @@ export interface ClaimResponseAddItem {
418
418
  /**
419
419
  * The adjudication results.
420
420
  */
421
- adjudication?: ClaimResponseItemAdjudication[];
421
+ adjudication: ClaimResponseItemAdjudication[];
422
422
 
423
423
  /**
424
424
  * The second-tier service adjudications for payor added services.
@@ -471,7 +471,7 @@ export interface ClaimResponseAddItemDetail {
471
471
  * related claim details, otherwise this contains the product, service,
472
472
  * drug or other billing code for the item.
473
473
  */
474
- productOrService?: CodeableConcept;
474
+ productOrService: CodeableConcept;
475
475
 
476
476
  /**
477
477
  * Item typification or modifiers codes to convey additional context for
@@ -514,7 +514,7 @@ export interface ClaimResponseAddItemDetail {
514
514
  /**
515
515
  * The adjudication results.
516
516
  */
517
- adjudication?: ClaimResponseItemAdjudication[];
517
+ adjudication: ClaimResponseItemAdjudication[];
518
518
 
519
519
  /**
520
520
  * The third-tier service adjudications for payor added services.
@@ -567,7 +567,7 @@ export interface ClaimResponseAddItemDetailSubDetail {
567
567
  * related claim details, otherwise this contains the product, service,
568
568
  * drug or other billing code for the item.
569
569
  */
570
- productOrService?: CodeableConcept;
570
+ productOrService: CodeableConcept;
571
571
 
572
572
  /**
573
573
  * Item typification or modifiers codes to convey additional context for
@@ -610,7 +610,7 @@ export interface ClaimResponseAddItemDetailSubDetail {
610
610
  /**
611
611
  * The adjudication results.
612
612
  */
613
- adjudication?: ClaimResponseItemAdjudication[];
613
+ adjudication: ClaimResponseItemAdjudication[];
614
614
  }
615
615
 
616
616
  /**
@@ -678,7 +678,7 @@ export interface ClaimResponseError {
678
678
  * An error code, from a specified code system, which details why the
679
679
  * claim could not be adjudicated.
680
680
  */
681
- code?: CodeableConcept;
681
+ code: CodeableConcept;
682
682
  }
683
683
 
684
684
  /**
@@ -726,13 +726,13 @@ export interface ClaimResponseInsurance {
726
726
  * A number to uniquely identify insurance entries and provide a sequence
727
727
  * of coverages to convey coordination of benefit order.
728
728
  */
729
- sequence?: number;
729
+ sequence: number;
730
730
 
731
731
  /**
732
732
  * A flag to indicate that this Coverage is to be used for adjudication
733
733
  * of this claim when set to true.
734
734
  */
735
- focal?: boolean;
735
+ focal: boolean;
736
736
 
737
737
  /**
738
738
  * Reference to the insurance card level information contained in the
@@ -740,7 +740,7 @@ export interface ClaimResponseInsurance {
740
740
  * to locate the patient's actual coverage within the insurer's
741
741
  * information system.
742
742
  */
743
- coverage?: Reference<Coverage>;
743
+ coverage: Reference<Coverage>;
744
744
 
745
745
  /**
746
746
  * A business agreement number established between the provider and the
@@ -799,7 +799,7 @@ export interface ClaimResponseItem {
799
799
  /**
800
800
  * A number to uniquely reference the claim item entries.
801
801
  */
802
- itemSequence?: number;
802
+ itemSequence: number;
803
803
 
804
804
  /**
805
805
  * The numbers associated with notes below which apply to the
@@ -812,7 +812,7 @@ export interface ClaimResponseItem {
812
812
  * adjudication of the detail items. If this item is a simple product or
813
813
  * service then this is the result of the adjudication of this item.
814
814
  */
815
- adjudication?: ClaimResponseItemAdjudication[];
815
+ adjudication: ClaimResponseItemAdjudication[];
816
816
 
817
817
  /**
818
818
  * A claim detail. Either a simple (a product or service) or a 'group' of
@@ -871,7 +871,7 @@ export interface ClaimResponseItemAdjudication {
871
871
  * amounts paid by other coverages; and, the benefit payable for this
872
872
  * item.
873
873
  */
874
- category?: CodeableConcept;
874
+ category: CodeableConcept;
875
875
 
876
876
  /**
877
877
  * A code supporting the understanding of the adjudication result and
@@ -935,7 +935,7 @@ export interface ClaimResponseItemDetail {
935
935
  /**
936
936
  * A number to uniquely reference the claim detail entry.
937
937
  */
938
- detailSequence?: number;
938
+ detailSequence: number;
939
939
 
940
940
  /**
941
941
  * The numbers associated with notes below which apply to the
@@ -946,7 +946,7 @@ export interface ClaimResponseItemDetail {
946
946
  /**
947
947
  * The adjudication results.
948
948
  */
949
- adjudication?: ClaimResponseItemAdjudication[];
949
+ adjudication: ClaimResponseItemAdjudication[];
950
950
 
951
951
  /**
952
952
  * A sub-detail adjudication of a simple product or service.
@@ -997,7 +997,7 @@ export interface ClaimResponseItemDetailSubDetail {
997
997
  /**
998
998
  * A number to uniquely reference the claim sub-detail entry.
999
999
  */
1000
- subDetailSequence?: number;
1000
+ subDetailSequence: number;
1001
1001
 
1002
1002
  /**
1003
1003
  * The numbers associated with notes below which apply to the
@@ -1055,7 +1055,7 @@ export interface ClaimResponsePayment {
1055
1055
  * Whether this represents partial or complete payment of the benefits
1056
1056
  * payable.
1057
1057
  */
1058
- type?: CodeableConcept;
1058
+ type: CodeableConcept;
1059
1059
 
1060
1060
  /**
1061
1061
  * Total amount of all adjustments to this payment included in this
@@ -1077,7 +1077,7 @@ export interface ClaimResponsePayment {
1077
1077
  /**
1078
1078
  * Benefits payable less any payment adjustment.
1079
1079
  */
1080
- amount?: Money;
1080
+ amount: Money;
1081
1081
 
1082
1082
  /**
1083
1083
  * Issuer's unique identifier for the payment instrument.
@@ -1139,7 +1139,7 @@ export interface ClaimResponseProcessNote {
1139
1139
  /**
1140
1140
  * The explanation or description associated with the processing.
1141
1141
  */
1142
- text?: string;
1142
+ text: string;
1143
1143
 
1144
1144
  /**
1145
1145
  * A code to define the language used in the text of the note.
@@ -1195,10 +1195,10 @@ export interface ClaimResponseTotal {
1195
1195
  * amounts paid by other coverages, and the benefit payable for this
1196
1196
  * item.
1197
1197
  */
1198
- category?: CodeableConcept;
1198
+ category: CodeableConcept;
1199
1199
 
1200
1200
  /**
1201
1201
  * Monetary total amount associated with the category.
1202
1202
  */
1203
- amount?: Money;
1203
+ amount: Money;
1204
1204
  }
@@ -42,6 +42,14 @@ export interface ClientApplication {
42
42
  */
43
43
  language?: string;
44
44
 
45
+ /**
46
+ * The client application status. The status is active by default. The
47
+ * status can be set to error to indicate that the client application is
48
+ * not working properly. The status can be set to off to indicate that
49
+ * the client application is no longer in use.
50
+ */
51
+ status?: 'active' | 'off' | 'error';
52
+
45
53
  /**
46
54
  * A name associated with the ClientApplication.
47
55
  */
@@ -125,7 +125,7 @@ export interface ClinicalImpression {
125
125
  /**
126
126
  * Identifies the workflow status of the assessment.
127
127
  */
128
- status?: 'in-progress' | 'completed' | 'entered-in-error';
128
+ status: 'in-progress' | 'completed' | 'entered-in-error';
129
129
 
130
130
  /**
131
131
  * Captures the reason for the current state of the ClinicalImpression.
@@ -146,7 +146,7 @@ export interface ClinicalImpression {
146
146
  /**
147
147
  * The patient or group of individuals assessed as part of this record.
148
148
  */
149
- subject?: Reference<Patient | Group>;
149
+ subject: Reference<Patient | Group>;
150
150
 
151
151
  /**
152
152
  * The Encounter during which this ClinicalImpression was created or to
@@ -346,7 +346,7 @@ export interface ClinicalImpressionInvestigation {
346
346
  * but the list is not constrained, and others such groups such as
347
347
  * (exposure|family|travel|nutritional) history may be used.
348
348
  */
349
- code?: CodeableConcept;
349
+ code: CodeableConcept;
350
350
 
351
351
  /**
352
352
  * A record of a specific investigation that was undertaken.
@@ -143,7 +143,7 @@ export interface CodeSystem {
143
143
  * The date (and optionally time) when the code system resource was
144
144
  * created or revised.
145
145
  */
146
- status?: 'draft' | 'active' | 'retired' | 'unknown';
146
+ status: 'draft' | 'active' | 'retired' | 'unknown';
147
147
 
148
148
  /**
149
149
  * A Boolean value to indicate that this code system is authored for
@@ -240,7 +240,7 @@ export interface CodeSystem {
240
240
  * The extent of the content of the code system (the concepts and codes
241
241
  * it defines) are represented in this resource instance.
242
242
  */
243
- content?: 'not-present' | 'example' | 'fragment' | 'complete' | 'supplement';
243
+ content: 'not-present' | 'example' | 'fragment' | 'complete' | 'supplement';
244
244
 
245
245
  /**
246
246
  * The canonical URL of the code system that this code system supplement
@@ -321,7 +321,7 @@ export interface CodeSystemConcept {
321
321
  * A code - a text symbol - that uniquely identifies the concept within
322
322
  * the code system.
323
323
  */
324
- code?: string;
324
+ code: string;
325
325
 
326
326
  /**
327
327
  * A human readable string that is the recommended default way to present
@@ -410,7 +410,7 @@ export interface CodeSystemConceptDesignation {
410
410
  /**
411
411
  * The text value for this designation.
412
412
  */
413
- value?: string;
413
+ value: string;
414
414
  }
415
415
 
416
416
  /**
@@ -456,7 +456,7 @@ export interface CodeSystemConceptProperty {
456
456
  /**
457
457
  * A code that is a reference to CodeSystem.property.code.
458
458
  */
459
- code?: string;
459
+ code: string;
460
460
 
461
461
  /**
462
462
  * The value of this property.
@@ -539,7 +539,7 @@ export interface CodeSystemFilter {
539
539
  * The code that identifies this filter when it is used as a filter in
540
540
  * [ValueSet](valueset.html#).compose.include.filter.
541
541
  */
542
- code?: string;
542
+ code: string;
543
543
 
544
544
  /**
545
545
  * A description of how or why the filter is used.
@@ -549,12 +549,12 @@ export interface CodeSystemFilter {
549
549
  /**
550
550
  * A list of operators that can be used with the filter.
551
551
  */
552
- operator?: ('=' | 'is-a' | 'descendent-of' | 'is-not-a' | 'regex' | 'in' | 'not-in' | 'generalizes' | 'exists')[];
552
+ operator: ('=' | 'is-a' | 'descendent-of' | 'is-not-a' | 'regex' | 'in' | 'not-in' | 'generalizes' | 'exists')[];
553
553
 
554
554
  /**
555
555
  * A description of what the value for the filter should be.
556
556
  */
557
- value?: string;
557
+ value: string;
558
558
  }
559
559
 
560
560
  /**
@@ -603,7 +603,7 @@ export interface CodeSystemProperty {
603
603
  * internally (in CodeSystem.concept.property.code) and also externally,
604
604
  * such as in property filters.
605
605
  */
606
- code?: string;
606
+ code: string;
607
607
 
608
608
  /**
609
609
  * Reference to the formal meaning of the property. One possible source
@@ -623,5 +623,5 @@ export interface CodeSystemProperty {
623
623
  * code defined by the code system (e.g. a reference to another defined
624
624
  * concept).
625
625
  */
626
- type?: 'code' | 'Coding' | 'string' | 'integer' | 'boolean' | 'dateTime' | 'decimal';
626
+ type: 'code' | 'Coding' | 'string' | 'integer' | 'boolean' | 'dateTime' | 'decimal';
627
627
  }
@@ -150,7 +150,7 @@ export interface Communication {
150
150
  /**
151
151
  * The status of the transmission.
152
152
  */
153
- status?: 'preparation' | 'in-progress' | 'not-done' | 'on-hold' | 'stopped' | 'completed' | 'entered-in-error' | 'unknown';
153
+ status: 'preparation' | 'in-progress' | 'not-done' | 'on-hold' | 'stopped' | 'completed' | 'entered-in-error' | 'unknown';
154
154
 
155
155
  /**
156
156
  * Captures the reason for the current state of the Communication.
@@ -140,7 +140,7 @@ export interface CommunicationRequest {
140
140
  /**
141
141
  * The status of the proposal or order.
142
142
  */
143
- status?: 'draft' | 'active' | 'on-hold' | 'revoked' | 'completed' | 'entered-in-error' | 'unknown';
143
+ status: 'draft' | 'active' | 'on-hold' | 'revoked' | 'completed' | 'entered-in-error' | 'unknown';
144
144
 
145
145
  /**
146
146
  * Captures the reason for the current state of the CommunicationRequest.