@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
@@ -103,7 +103,7 @@ export interface CompartmentDefinition {
103
103
  * SHALL remain the same when the compartment definition is stored on
104
104
  * different servers.
105
105
  */
106
- url?: string;
106
+ url: string;
107
107
 
108
108
  /**
109
109
  * The identifier that is used to identify this version of the
@@ -121,13 +121,13 @@ export interface CompartmentDefinition {
121
121
  * name should be usable as an identifier for the module by machine
122
122
  * processing applications such as code generation.
123
123
  */
124
- name?: string;
124
+ name: string;
125
125
 
126
126
  /**
127
127
  * The status of this compartment definition. Enables tracking the
128
128
  * life-cycle of the content.
129
129
  */
130
- status?: 'draft' | 'active' | 'retired' | 'unknown';
130
+ status: 'draft' | 'active' | 'retired' | 'unknown';
131
131
 
132
132
  /**
133
133
  * A Boolean value to indicate that this compartment definition is
@@ -182,12 +182,12 @@ export interface CompartmentDefinition {
182
182
  /**
183
183
  * Which compartment this definition describes.
184
184
  */
185
- code?: 'Patient' | 'Encounter' | 'RelatedPerson' | 'Practitioner' | 'Device';
185
+ code: 'Patient' | 'Encounter' | 'RelatedPerson' | 'Practitioner' | 'Device';
186
186
 
187
187
  /**
188
188
  * Whether the search syntax is supported,.
189
189
  */
190
- search?: boolean;
190
+ search: boolean;
191
191
 
192
192
  /**
193
193
  * Information about how a resource is related to the compartment.
@@ -238,7 +238,7 @@ export interface CompartmentDefinitionResource {
238
238
  /**
239
239
  * The name of a resource supported by the server.
240
240
  */
241
- code?: ResourceType;
241
+ code: ResourceType;
242
242
 
243
243
  /**
244
244
  * The name of a search parameter that represents the link to the
@@ -119,14 +119,14 @@ export interface Composition {
119
119
  * The workflow/clinical status of this composition. The status is a
120
120
  * marker for the clinical standing of the document.
121
121
  */
122
- status?: 'preliminary' | 'final' | 'amended' | 'entered-in-error';
122
+ status: 'preliminary' | 'final' | 'amended' | 'entered-in-error';
123
123
 
124
124
  /**
125
125
  * Specifies the particular kind of composition (e.g. History and
126
126
  * Physical, Discharge Summary, Progress Note). This usually equates to
127
127
  * the purpose of making the composition.
128
128
  */
129
- type?: CodeableConcept;
129
+ type: CodeableConcept;
130
130
 
131
131
  /**
132
132
  * A categorization for the type of the composition - helps for indexing
@@ -153,18 +153,18 @@ export interface Composition {
153
153
  * The composition editing time, when the composition was last logically
154
154
  * changed by the author.
155
155
  */
156
- date?: string;
156
+ date: string;
157
157
 
158
158
  /**
159
159
  * Identifies who is responsible for the information in the composition,
160
160
  * not necessarily who typed it in.
161
161
  */
162
- author?: Reference<Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization>[];
162
+ author: Reference<Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization>[];
163
163
 
164
164
  /**
165
165
  * Official human-readable label for the composition.
166
166
  */
167
- title?: string;
167
+ title: string;
168
168
 
169
169
  /**
170
170
  * The code specifying the level of confidentiality of the Composition.
@@ -245,7 +245,7 @@ export interface CompositionAttester {
245
245
  /**
246
246
  * The type of attestation the authenticator offers.
247
247
  */
248
- mode?: 'personal' | 'professional' | 'legal' | 'official';
248
+ mode: 'personal' | 'professional' | 'legal' | 'official';
249
249
 
250
250
  /**
251
251
  * When the composition was attested by the party.
@@ -368,7 +368,7 @@ export interface CompositionRelatesTo {
368
368
  * The type of relationship that this composition has with anther
369
369
  * composition or document.
370
370
  */
371
- code?: 'replaces' | 'transforms' | 'signs' | 'appends';
371
+ code: 'replaces' | 'transforms' | 'signs' | 'appends';
372
372
 
373
373
  /**
374
374
  * The target composition/document of this relationship.
@@ -140,7 +140,7 @@ export interface ConceptMap {
140
140
  * The status of this concept map. Enables tracking the life-cycle of the
141
141
  * content.
142
142
  */
143
- status?: 'draft' | 'active' | 'retired' | 'unknown';
143
+ status: 'draft' | 'active' | 'retired' | 'unknown';
144
144
 
145
145
  /**
146
146
  * A Boolean value to indicate that this concept map is authored for
@@ -305,7 +305,7 @@ export interface ConceptMapGroup {
305
305
  * Mappings for an individual concept in the source to one or more
306
306
  * concepts in the target.
307
307
  */
308
- element?: ConceptMapGroupElement[];
308
+ element: ConceptMapGroupElement[];
309
309
 
310
310
  /**
311
311
  * What to do when there is no mapping for the source concept. &quot;Unmapped&quot;
@@ -429,7 +429,7 @@ export interface ConceptMapGroupElementTarget {
429
429
  * the dependencies and products). The equivalence is read from target to
430
430
  * source (e.g. the target is 'wider' than the source).
431
431
  */
432
- equivalence?: 'relatedto' | 'equivalent' | 'equal' | 'wider' | 'subsumes' | 'narrower' | 'specializes' | 'inexact' | 'unmatched' | 'disjoint';
432
+ equivalence: 'relatedto' | 'equivalent' | 'equal' | 'wider' | 'subsumes' | 'narrower' | 'specializes' | 'inexact' | 'unmatched' | 'disjoint';
433
433
 
434
434
  /**
435
435
  * A description of status/issues in mapping that conveys additional
@@ -502,7 +502,7 @@ export interface ConceptMapGroupElementTargetDependsOn {
502
502
  * an element somewhere that is labeled to correspond with a code system
503
503
  * property.
504
504
  */
505
- property?: string;
505
+ property: string;
506
506
 
507
507
  /**
508
508
  * An absolute URI that identifies the code system of the dependency code
@@ -514,7 +514,7 @@ export interface ConceptMapGroupElementTargetDependsOn {
514
514
  * Identity (code or path) or the element/item/ValueSet/text that the map
515
515
  * depends on / refers to.
516
516
  */
517
- value?: string;
517
+ value: string;
518
518
 
519
519
  /**
520
520
  * The display for the code. The display is only provided to help editors
@@ -573,7 +573,7 @@ export interface ConceptMapGroupUnmapped {
573
573
  * fixed code (a default code), or alternatively, a reference to a
574
574
  * different concept map can be provided (by canonical URL).
575
575
  */
576
- mode?: 'provided' | 'fixed' | 'other-map';
576
+ mode: 'provided' | 'fixed' | 'other-map';
577
577
 
578
578
  /**
579
579
  * The fixed code to use when the mode = 'fixed' - all unmapped codes
@@ -149,7 +149,7 @@ export interface Condition {
149
149
  * Indicates the patient or group who the condition record is associated
150
150
  * with.
151
151
  */
152
- subject?: Reference<Patient | Group>;
152
+ subject: Reference<Patient | Group>;
153
153
 
154
154
  /**
155
155
  * The Encounter during which this Condition was created or to which the
package/dist/Consent.d.ts CHANGED
@@ -117,19 +117,19 @@ export interface Consent {
117
117
  /**
118
118
  * Indicates the current state of this consent.
119
119
  */
120
- status?: 'draft' | 'proposed' | 'active' | 'rejected' | 'inactive' | 'entered-in-error';
120
+ status: 'draft' | 'proposed' | 'active' | 'rejected' | 'inactive' | 'entered-in-error';
121
121
 
122
122
  /**
123
123
  * A selector of the type of consent being presented: ADR, Privacy,
124
124
  * Treatment, Research. This list is now extensible.
125
125
  */
126
- scope?: CodeableConcept;
126
+ scope: CodeableConcept;
127
127
 
128
128
  /**
129
129
  * A classification of the type of consents found in the statement. This
130
130
  * element supports indexing and retrieval of consent statements.
131
131
  */
132
- category?: CodeableConcept[];
132
+ category: CodeableConcept[];
133
133
 
134
134
  /**
135
135
  * The patient/healthcare consumer to whom this consent applies.
@@ -405,14 +405,14 @@ export interface ConsentProvisionActor {
405
405
  * How the individual is involved in the resources content that is
406
406
  * described in the exception.
407
407
  */
408
- role?: CodeableConcept;
408
+ role: CodeableConcept;
409
409
 
410
410
  /**
411
411
  * The resource that identifies the actor. To identify actors by type,
412
412
  * use group to identify a set of actors by some property they share
413
413
  * (e.g. 'admitting officers').
414
414
  */
415
- reference?: Reference<Device | Group | CareTeam | Organization | Patient | Practitioner | RelatedPerson | PractitionerRole>;
415
+ reference: Reference<Device | Group | CareTeam | Organization | Patient | Practitioner | RelatedPerson | PractitionerRole>;
416
416
  }
417
417
 
418
418
  /**
@@ -460,13 +460,13 @@ export interface ConsentProvisionData {
460
460
  * How the resource reference is interpreted when testing consent
461
461
  * restrictions.
462
462
  */
463
- meaning?: 'instance' | 'related' | 'dependents' | 'authoredby';
463
+ meaning: 'instance' | 'related' | 'dependents' | 'authoredby';
464
464
 
465
465
  /**
466
466
  * A reference to a specific resource that defines which resources are
467
467
  * covered by this consent.
468
468
  */
469
- reference?: Reference<Resource>;
469
+ reference: Reference<Resource>;
470
470
  }
471
471
 
472
472
  /**
@@ -514,7 +514,7 @@ export interface ConsentVerification {
514
514
  /**
515
515
  * Has the instruction been verified.
516
516
  */
517
- verified?: boolean;
517
+ verified: boolean;
518
518
 
519
519
  /**
520
520
  * Who verified the instruction (Patient, Relative or other Authorized
@@ -408,7 +408,7 @@ export interface ContractContentDefinition {
408
408
  * application for a contract such as an insurance policy or benefits
409
409
  * under a program, e.g., workers compensation.
410
410
  */
411
- type?: CodeableConcept;
411
+ type: CodeableConcept;
412
412
 
413
413
  /**
414
414
  * Detailed Precusory content type.
@@ -434,7 +434,7 @@ export interface ContractContentDefinition {
434
434
  * executable | executed | negotiable | offered | policy | rejected |
435
435
  * renewed | revoked | resolved | terminated.
436
436
  */
437
- publicationStatus?: 'amended' | 'appended' | 'cancelled' | 'disputed' | 'entered-in-error' | 'executable' |
437
+ publicationStatus: 'amended' | 'appended' | 'cancelled' | 'disputed' | 'entered-in-error' | 'executable' |
438
438
  'executed' | 'negotiable' | 'offered' | 'policy' | 'rejected' | 'renewed' | 'revoked' | 'resolved' | 'terminated';
439
439
 
440
440
  /**
@@ -657,17 +657,17 @@ export interface ContractSigner {
657
657
  /**
658
658
  * Role of this Contract signer, e.g. notary, grantee.
659
659
  */
660
- type?: Coding;
660
+ type: Coding;
661
661
 
662
662
  /**
663
663
  * Party which is a signator to this Contract.
664
664
  */
665
- party?: Reference<Organization | Patient | Practitioner | PractitionerRole | RelatedPerson>;
665
+ party: Reference<Organization | Patient | Practitioner | PractitionerRole | RelatedPerson>;
666
666
 
667
667
  /**
668
668
  * Legally binding Contract DSIG signature contents in Base64.
669
669
  */
670
- signature?: Signature[];
670
+ signature: Signature[];
671
671
  }
672
672
 
673
673
  /**
@@ -766,7 +766,7 @@ export interface ContractTerm {
766
766
  * The matter of concern in the context of this provision of the
767
767
  * agrement.
768
768
  */
769
- offer?: ContractTermOffer;
769
+ offer: ContractTermOffer;
770
770
 
771
771
  /**
772
772
  * Contract Term Asset List.
@@ -835,7 +835,7 @@ export interface ContractTermAction {
835
835
  * Activity or service obligation to be done or not done, performed or
836
836
  * not performed, effectuated or not by this Contract term.
837
837
  */
838
- type?: CodeableConcept;
838
+ type: CodeableConcept;
839
839
 
840
840
  /**
841
841
  * Entity of the action.
@@ -846,7 +846,7 @@ export interface ContractTermAction {
846
846
  * Reason or purpose for the action stipulated by this Contract
847
847
  * Provision.
848
848
  */
849
- intent?: CodeableConcept;
849
+ intent: CodeableConcept;
850
850
 
851
851
  /**
852
852
  * Id [identifier??] of the clause or question text related to this
@@ -857,7 +857,7 @@ export interface ContractTermAction {
857
857
  /**
858
858
  * Current state of the term action.
859
859
  */
860
- status?: CodeableConcept;
860
+ status: CodeableConcept;
861
861
 
862
862
  /**
863
863
  * Encounter or Episode with primary association to specified term
@@ -1005,7 +1005,7 @@ export interface ContractTermActionSubject {
1005
1005
  /**
1006
1006
  * The entity the action is performed or not performed on or for.
1007
1007
  */
1008
- reference?: Reference<Patient | RelatedPerson | Practitioner | PractitionerRole | Device | Group | Organization>[];
1008
+ reference: Reference<Patient | RelatedPerson | Practitioner | PractitionerRole | Device | Group | Organization>[];
1009
1009
 
1010
1010
  /**
1011
1011
  * Role type of agent assigned roles in this Contract.
@@ -1603,12 +1603,12 @@ export interface ContractTermOfferParty {
1603
1603
  /**
1604
1604
  * Participant in the offer.
1605
1605
  */
1606
- reference?: Reference<Patient | RelatedPerson | Practitioner | PractitionerRole | Device | Group | Organization>[];
1606
+ reference: Reference<Patient | RelatedPerson | Practitioner | PractitionerRole | Device | Group | Organization>[];
1607
1607
 
1608
1608
  /**
1609
1609
  * How the party participates in the offer.
1610
1610
  */
1611
- role?: CodeableConcept;
1611
+ role: CodeableConcept;
1612
1612
  }
1613
1613
 
1614
1614
  /**
@@ -1662,7 +1662,7 @@ export interface ContractTermSecurityLabel {
1662
1662
  * Security label privacy tag that species the level of confidentiality
1663
1663
  * protection required for this term and/or term elements.
1664
1664
  */
1665
- classification?: Coding;
1665
+ classification: Coding;
1666
1666
 
1667
1667
  /**
1668
1668
  * Security label privacy tag that species the applicable privacy and
@@ -31,13 +31,13 @@ export interface Contributor {
31
31
  /**
32
32
  * The type of contributor.
33
33
  */
34
- type?: 'author' | 'editor' | 'reviewer' | 'endorser';
34
+ type: 'author' | 'editor' | 'reviewer' | 'endorser';
35
35
 
36
36
  /**
37
37
  * The name of the individual or organization responsible for the
38
38
  * contribution.
39
39
  */
40
- name?: string;
40
+ name: string;
41
41
 
42
42
  /**
43
43
  * Contact details to assist a user in finding and communicating with the
@@ -108,7 +108,7 @@ export interface Coverage {
108
108
  /**
109
109
  * The status of the resource instance.
110
110
  */
111
- status?: 'active' | 'cancelled' | 'draft' | 'entered-in-error';
111
+ status: 'active' | 'cancelled' | 'draft' | 'entered-in-error';
112
112
 
113
113
  /**
114
114
  * The type of coverage: social program, medical plan, accident coverage
@@ -138,7 +138,7 @@ export interface Coverage {
138
138
  * The party who benefits from the insurance coverage; the patient when
139
139
  * products and/or services are provided.
140
140
  */
141
- beneficiary?: Reference<Patient>;
141
+ beneficiary: Reference<Patient>;
142
142
 
143
143
  /**
144
144
  * A unique identifier for a dependent under the coverage.
@@ -161,7 +161,7 @@ export interface Coverage {
161
161
  * The program or plan underwriter or payor including both insurance and
162
162
  * non-insurance agreements, such as patient-pay agreements.
163
163
  */
164
- payor?: Reference<Organization | Patient | RelatedPerson>[];
164
+ payor: Reference<Organization | Patient | RelatedPerson>[];
165
165
 
166
166
  /**
167
167
  * A suite of underwriter specific classifiers.
@@ -249,13 +249,13 @@ export interface CoverageClass {
249
249
  * or number and optional name is provided, for example may be used to
250
250
  * identify a class of coverage or employer group, Policy, Plan.
251
251
  */
252
- type?: CodeableConcept;
252
+ type: CodeableConcept;
253
253
 
254
254
  /**
255
255
  * The alphanumeric string value associated with the insurer issued
256
256
  * label.
257
257
  */
258
- value?: string;
258
+ value: string;
259
259
 
260
260
  /**
261
261
  * A short description for the class.
@@ -371,7 +371,7 @@ export interface CoverageCostToBeneficiaryException {
371
371
  /**
372
372
  * The code for the specific exception.
373
373
  */
374
- type?: CodeableConcept;
374
+ type: CodeableConcept;
375
375
 
376
376
  /**
377
377
  * The timeframe during when the exception is in force.
@@ -114,7 +114,7 @@ export interface CoverageEligibilityRequest {
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
  * When the requestor expects the processor to complete processing.
@@ -128,13 +128,13 @@ export interface CoverageEligibilityRequest {
128
128
  * patient; and/or validation that the specified coverage is in-force at
129
129
  * the date/period specified or 'now' if not specified.
130
130
  */
131
- purpose?: ('auth-requirements' | 'benefits' | 'discovery' | 'validation')[];
131
+ purpose: ('auth-requirements' | 'benefits' | 'discovery' | 'validation')[];
132
132
 
133
133
  /**
134
134
  * The party who is the beneficiary of the supplied coverage and for whom
135
135
  * eligibility is sought.
136
136
  */
137
- patient?: Reference<Patient>;
137
+ patient: Reference<Patient>;
138
138
 
139
139
  /**
140
140
  * The date or dates when the enclosed suite of services were performed
@@ -151,7 +151,7 @@ export interface CoverageEligibilityRequest {
151
151
  /**
152
152
  * The date when this resource was created.
153
153
  */
154
- created?: string;
154
+ created: string;
155
155
 
156
156
  /**
157
157
  * Person who created the request.
@@ -167,7 +167,7 @@ export interface CoverageEligibilityRequest {
167
167
  * The Insurer who issued the coverage in question and is the recipient
168
168
  * of the request.
169
169
  */
170
- insurer?: Reference<Organization>;
170
+ insurer: Reference<Organization>;
171
171
 
172
172
  /**
173
173
  * Facility where the services are intended to be provided.
@@ -247,7 +247,7 @@ export interface CoverageEligibilityRequestInsurance {
247
247
  * to locate the patient's actual coverage within the insurer's
248
248
  * information system.
249
249
  */
250
- coverage?: Reference<Coverage>;
250
+ coverage: Reference<Coverage>;
251
251
 
252
252
  /**
253
253
  * A business agreement number established between the provider and the
@@ -451,14 +451,14 @@ export interface CoverageEligibilityRequestSupportingInfo {
451
451
  /**
452
452
  * A number to uniquely identify supporting information entries.
453
453
  */
454
- sequence?: number;
454
+ sequence: number;
455
455
 
456
456
  /**
457
457
  * Additional data or information such as resources, documents, images
458
458
  * etc. including references to the data or the actual inclusion of the
459
459
  * data.
460
460
  */
461
- information?: Reference<Resource>;
461
+ information: Reference<Resource>;
462
462
 
463
463
  /**
464
464
  * The supporting materials are applicable for all detail items,
@@ -109,7 +109,7 @@ export interface CoverageEligibilityResponse {
109
109
  /**
110
110
  * The status of the resource instance.
111
111
  */
112
- status?: 'active' | 'cancelled' | 'draft' | 'entered-in-error';
112
+ status: 'active' | 'cancelled' | 'draft' | 'entered-in-error';
113
113
 
114
114
  /**
115
115
  * Code to specify whether requesting: prior authorization requirements
@@ -118,13 +118,13 @@ export interface CoverageEligibilityResponse {
118
118
  * patient; and/or validation that the specified coverage is in-force at
119
119
  * the date/period specified or 'now' if not specified.
120
120
  */
121
- purpose?: ('auth-requirements' | 'benefits' | 'discovery' | 'validation')[];
121
+ purpose: ('auth-requirements' | 'benefits' | 'discovery' | 'validation')[];
122
122
 
123
123
  /**
124
124
  * The party who is the beneficiary of the supplied coverage and for whom
125
125
  * eligibility is sought.
126
126
  */
127
- patient?: Reference<Patient>;
127
+ patient: Reference<Patient>;
128
128
 
129
129
  /**
130
130
  * The date or dates when the enclosed suite of services were performed
@@ -141,7 +141,7 @@ export interface CoverageEligibilityResponse {
141
141
  /**
142
142
  * The date this resource was created.
143
143
  */
144
- created?: string;
144
+ created: string;
145
145
 
146
146
  /**
147
147
  * The provider which is responsible for the request.
@@ -151,12 +151,12 @@ export interface CoverageEligibilityResponse {
151
151
  /**
152
152
  * Reference to the original request resource.
153
153
  */
154
- request?: Reference<CoverageEligibilityRequest>;
154
+ request: Reference<CoverageEligibilityRequest>;
155
155
 
156
156
  /**
157
157
  * The outcome of the request processing.
158
158
  */
159
- outcome?: 'queued' | 'complete' | 'error' | 'partial';
159
+ outcome: 'queued' | 'complete' | 'error' | 'partial';
160
160
 
161
161
  /**
162
162
  * A human readable description of the status of the adjudication.
@@ -167,7 +167,7 @@ export interface CoverageEligibilityResponse {
167
167
  * The Insurer who issued the coverage in question and is the author of
168
168
  * the response.
169
169
  */
170
- insurer?: Reference<Organization>;
170
+ insurer: Reference<Organization>;
171
171
 
172
172
  /**
173
173
  * Financial instruments for reimbursement for the health care products
@@ -236,7 +236,7 @@ export interface CoverageEligibilityResponseError {
236
236
  * An error code,from a specified code system, which details why the
237
237
  * eligibility check could not be performed.
238
238
  */
239
- code?: CodeableConcept;
239
+ code: CodeableConcept;
240
240
  }
241
241
 
242
242
  /**
@@ -286,7 +286,7 @@ export interface CoverageEligibilityResponseInsurance {
286
286
  * to locate the patient's actual coverage within the insurer's
287
287
  * information system.
288
288
  */
289
- coverage?: Reference<Coverage>;
289
+ coverage: Reference<Coverage>;
290
290
 
291
291
  /**
292
292
  * Flag indicating if the coverage provided is inforce currently if no
@@ -473,7 +473,7 @@ export interface CoverageEligibilityResponseInsuranceItemBenefit {
473
473
  /**
474
474
  * Classification of benefit being provided.
475
475
  */
476
- type?: CodeableConcept;
476
+ type: CodeableConcept;
477
477
 
478
478
  /**
479
479
  * The quantity of the benefit which is permitted under the coverage.
@@ -38,7 +38,7 @@ export interface DataRequirement {
38
38
  * resource. For profiles, this value is set to the type of the base
39
39
  * resource of the profile.
40
40
  */
41
- type?: string;
41
+ type: string;
42
42
 
43
43
  /**
44
44
  * The profile of the required data, specified as the uri of the profile
@@ -266,10 +266,10 @@ export interface DataRequirementSort {
266
266
  * traverse multiple-cardinality sub-elements. Note that the index must
267
267
  * be an integer constant.
268
268
  */
269
- path?: string;
269
+ path: string;
270
270
 
271
271
  /**
272
272
  * The direction of the sort, ascending or descending.
273
273
  */
274
- direction?: 'ascending' | 'descending';
274
+ direction: 'ascending' | 'descending';
275
275
  }
@@ -108,7 +108,7 @@ export interface DetectedIssue {
108
108
  /**
109
109
  * Indicates the status of the detected issue.
110
110
  */
111
- status?: 'registered' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'cancelled' | 'entered-in-error' | 'unknown';
111
+ status: 'registered' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'cancelled' | 'entered-in-error' | 'unknown';
112
112
 
113
113
  /**
114
114
  * Identifies the general type of issue identified.
@@ -278,7 +278,7 @@ export interface DetectedIssueMitigation {
278
278
  * Describes the action that was taken or the observation that was made
279
279
  * that reduces/eliminates the risk associated with the identified issue.
280
280
  */
281
- action?: CodeableConcept;
281
+ action: CodeableConcept;
282
282
 
283
283
  /**
284
284
  * Indicates when the mitigating action was documented.
package/dist/Device.d.ts CHANGED
@@ -298,14 +298,14 @@ export interface DeviceDeviceName {
298
298
  /**
299
299
  * The name of the device.
300
300
  */
301
- name?: string;
301
+ name: string;
302
302
 
303
303
  /**
304
304
  * The type of deviceName.
305
305
  * UDILabelName | UserFriendlyName | PatientReportedName |
306
306
  * ManufactureDeviceName | ModelName.
307
307
  */
308
- type?: 'udi-label-name' | 'user-friendly-name' | 'patient-reported-name' | 'manufacturer-name' | 'model-name' | 'other';
308
+ type: 'udi-label-name' | 'user-friendly-name' | 'patient-reported-name' | 'manufacturer-name' | 'model-name' | 'other';
309
309
  }
310
310
 
311
311
  /**
@@ -353,7 +353,7 @@ export interface DeviceProperty {
353
353
  * Code that specifies the property DeviceDefinitionPropetyCode
354
354
  * (Extensible).
355
355
  */
356
- type?: CodeableConcept;
356
+ type: CodeableConcept;
357
357
 
358
358
  /**
359
359
  * Property value as a quantity.
@@ -411,7 +411,7 @@ export interface DeviceSpecialization {
411
411
  /**
412
412
  * The standard that is used to operate and communicate.
413
413
  */
414
- systemType?: CodeableConcept;
414
+ systemType: CodeableConcept;
415
415
 
416
416
  /**
417
417
  * The version of the standard that is used to operate and communicate.
@@ -566,5 +566,5 @@ export interface DeviceVersion {
566
566
  /**
567
567
  * The version text.
568
568
  */
569
- value?: string;
569
+ value: string;
570
570
  }