@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
@@ -345,12 +345,12 @@ export interface MedicationKnowledgeAdministrationGuidelinesDosage {
345
345
  * The type of dosage (for example, prophylaxis, maintenance,
346
346
  * therapeutic, etc.).
347
347
  */
348
- type?: CodeableConcept;
348
+ type: CodeableConcept;
349
349
 
350
350
  /**
351
351
  * Dosage for the medication for the specific guidelines.
352
352
  */
353
- dosage?: Dosage[];
353
+ dosage: Dosage[];
354
354
  }
355
355
 
356
356
  /**
@@ -456,7 +456,7 @@ export interface MedicationKnowledgeCost {
456
456
  * The category of the cost information. For example, manufacturers'
457
457
  * cost, patient cost, claim reimbursement cost, actual acquisition cost.
458
458
  */
459
- type?: CodeableConcept;
459
+ type: CodeableConcept;
460
460
 
461
461
  /**
462
462
  * The source or owner that assigns the price to the medication.
@@ -466,7 +466,7 @@ export interface MedicationKnowledgeCost {
466
466
  /**
467
467
  * The price of the medication.
468
468
  */
469
- cost?: Money;
469
+ cost: Money;
470
470
  }
471
471
 
472
472
  /**
@@ -706,7 +706,7 @@ export interface MedicationKnowledgeMedicineClassification {
706
706
  * The type of category for the medication (for example, therapeutic
707
707
  * classification, therapeutic sub-classification).
708
708
  */
709
- type?: CodeableConcept;
709
+ type: CodeableConcept;
710
710
 
711
711
  /**
712
712
  * Specific category assigned to the medication (e.g. anti-infective,
@@ -913,7 +913,7 @@ export interface MedicationKnowledgeRegulatory {
913
913
  /**
914
914
  * The authority that is specifying the regulations.
915
915
  */
916
- regulatoryAuthority?: Reference<Organization>;
916
+ regulatoryAuthority: Reference<Organization>;
917
917
 
918
918
  /**
919
919
  * Specifies if changes are allowed when dispensing a medication from a
@@ -977,7 +977,7 @@ export interface MedicationKnowledgeRegulatoryMaxDispense {
977
977
  /**
978
978
  * The maximum number of units of the medication that can be dispensed.
979
979
  */
980
- quantity?: Quantity;
980
+ quantity: Quantity;
981
981
 
982
982
  /**
983
983
  * The period that applies to the maximum number of units.
@@ -1028,7 +1028,7 @@ export interface MedicationKnowledgeRegulatorySchedule {
1028
1028
  /**
1029
1029
  * Specifies the specific drug schedule.
1030
1030
  */
1031
- schedule?: CodeableConcept;
1031
+ schedule: CodeableConcept;
1032
1032
  }
1033
1033
 
1034
1034
  /**
@@ -1075,13 +1075,13 @@ export interface MedicationKnowledgeRegulatorySubstitution {
1075
1075
  /**
1076
1076
  * Specifies the type of substitution allowed.
1077
1077
  */
1078
- type?: CodeableConcept;
1078
+ type: CodeableConcept;
1079
1079
 
1080
1080
  /**
1081
1081
  * Specifies if regulation allows for changes in the medication when
1082
1082
  * dispensing.
1083
1083
  */
1084
- allowed?: boolean;
1084
+ allowed: boolean;
1085
1085
  }
1086
1086
 
1087
1087
  /**
@@ -1127,10 +1127,10 @@ export interface MedicationKnowledgeRelatedMedicationKnowledge {
1127
1127
  /**
1128
1128
  * The category of the associated medication knowledge reference.
1129
1129
  */
1130
- type?: CodeableConcept;
1130
+ type: CodeableConcept;
1131
1131
 
1132
1132
  /**
1133
1133
  * Associated documentation about the associated medication knowledge.
1134
1134
  */
1135
- reference?: Reference<MedicationKnowledge>[];
1135
+ reference: Reference<MedicationKnowledge>[];
1136
1136
  }
@@ -135,7 +135,7 @@ export interface MedicationRequest {
135
135
  * A code specifying the current state of the order. Generally, this
136
136
  * will be active or completed state.
137
137
  */
138
- status?: 'active' | 'on-hold' | 'cancelled' | 'completed' | 'entered-in-error' | 'stopped' | 'draft' | 'unknown';
138
+ status: 'active' | 'on-hold' | 'cancelled' | 'completed' | 'entered-in-error' | 'stopped' | 'draft' | 'unknown';
139
139
 
140
140
  /**
141
141
  * Captures the reason for the current state of the MedicationRequest.
@@ -145,7 +145,7 @@ export interface MedicationRequest {
145
145
  /**
146
146
  * Whether the request is a proposal, plan, or an original order.
147
147
  */
148
- intent?: 'proposal' | 'plan' | 'order' | 'original-order' | 'reflex-order' | 'filler-order' | 'instance-order' | 'option';
148
+ intent: 'proposal' | 'plan' | 'order' | 'original-order' | 'reflex-order' | 'filler-order' | 'instance-order' | 'option';
149
149
 
150
150
  /**
151
151
  * Indicates the type of medication request (for example, where the
@@ -200,7 +200,7 @@ export interface MedicationRequest {
200
200
  * A link to a resource representing the person or set of individuals to
201
201
  * whom the medication will be given.
202
202
  */
203
- subject?: Reference<Patient | Group>;
203
+ subject: Reference<Patient | Group>;
204
204
 
205
205
  /**
206
206
  * The Encounter during which this [x] was created or to which the
@@ -163,7 +163,7 @@ export interface MedicationStatement {
163
163
  * state of the medication used that this statement is about. Generally,
164
164
  * this will be active or completed.
165
165
  */
166
- status?: 'active' | 'completed' | 'entered-in-error' | 'intended' | 'stopped' | 'on-hold' | 'unknown' | 'not-taken';
166
+ status: 'active' | 'completed' | 'entered-in-error' | 'intended' | 'stopped' | 'on-hold' | 'unknown' | 'not-taken';
167
167
 
168
168
  /**
169
169
  * Captures the reason for the current state of the MedicationStatement.
@@ -195,7 +195,7 @@ export interface MedicationStatement {
195
195
  /**
196
196
  * The person, animal or group who is/was taking the medication.
197
197
  */
198
- subject?: Reference<Patient | Group>;
198
+ subject: Reference<Patient | Group>;
199
199
 
200
200
  /**
201
201
  * The encounter or episode of care that establishes the context for this
@@ -191,7 +191,7 @@ export interface MedicinalProduct {
191
191
  /**
192
192
  * The product's name, including full name and possibly coded parts.
193
193
  */
194
- name?: MedicinalProductName[];
194
+ name: MedicinalProductName[];
195
195
 
196
196
  /**
197
197
  * Reference to another product, e.g. for linking authorised to
@@ -327,7 +327,7 @@ export interface MedicinalProductName {
327
327
  /**
328
328
  * The full product name.
329
329
  */
330
- productName?: string;
330
+ productName: string;
331
331
 
332
332
  /**
333
333
  * Coding words or phrases of the name.
@@ -383,7 +383,7 @@ export interface MedicinalProductNameCountryLanguage {
383
383
  /**
384
384
  * Country code for where this name applies.
385
385
  */
386
- country?: CodeableConcept;
386
+ country: CodeableConcept;
387
387
 
388
388
  /**
389
389
  * Jurisdiction code for where this name applies.
@@ -393,7 +393,7 @@ export interface MedicinalProductNameCountryLanguage {
393
393
  /**
394
394
  * Language code for this name.
395
395
  */
396
- language?: CodeableConcept;
396
+ language: CodeableConcept;
397
397
  }
398
398
 
399
399
  /**
@@ -439,12 +439,12 @@ export interface MedicinalProductNameNamePart {
439
439
  /**
440
440
  * A fragment of a product name.
441
441
  */
442
- part?: string;
442
+ part: string;
443
443
 
444
444
  /**
445
445
  * Idenifying type for this part of the name (e.g. strength part).
446
446
  */
447
- type?: Coding;
447
+ type: Coding;
448
448
  }
449
449
 
450
450
  /**
@@ -301,7 +301,7 @@ export interface MedicinalProductAuthorizationProcedure {
301
301
  /**
302
302
  * Type of procedure.
303
303
  */
304
- type?: CodeableConcept;
304
+ type: CodeableConcept;
305
305
 
306
306
  /**
307
307
  * Date of procedure.
@@ -181,7 +181,7 @@ export interface MedicinalProductContraindicationOtherTherapy {
181
181
  * The type of relationship between the medicinal product indication or
182
182
  * contraindication and another therapy.
183
183
  */
184
- therapyRelationshipType?: CodeableConcept;
184
+ therapyRelationshipType: CodeableConcept;
185
185
 
186
186
  /**
187
187
  * Reference to a specific medication (active substance, medicinal
@@ -192,7 +192,7 @@ export interface MedicinalProductIndicationOtherTherapy {
192
192
  * The type of relationship between the medicinal product indication or
193
193
  * contraindication and another therapy.
194
194
  */
195
- therapyRelationshipType?: CodeableConcept;
195
+ therapyRelationshipType: CodeableConcept;
196
196
 
197
197
  /**
198
198
  * Reference to a specific medication (active substance, medicinal
@@ -104,7 +104,7 @@ export interface MedicinalProductIngredient {
104
104
  /**
105
105
  * Ingredient role e.g. Active ingredient, excipient.
106
106
  */
107
- role?: CodeableConcept;
107
+ role: CodeableConcept;
108
108
 
109
109
  /**
110
110
  * If the ingredient is a known or suspected allergen.
@@ -170,12 +170,12 @@ export interface MedicinalProductIngredientSpecifiedSubstance {
170
170
  /**
171
171
  * The specified substance.
172
172
  */
173
- code?: CodeableConcept;
173
+ code: CodeableConcept;
174
174
 
175
175
  /**
176
176
  * The group of specified substance, e.g. group 1 to 4.
177
177
  */
178
- group?: CodeableConcept;
178
+ group: CodeableConcept;
179
179
 
180
180
  /**
181
181
  * Confidentiality level of the specified substance as the ingredient.
@@ -235,7 +235,7 @@ export interface MedicinalProductIngredientSpecifiedSubstanceStrength {
235
235
  * volume (or mass) of the single pharmaceutical product or manufactured
236
236
  * item.
237
237
  */
238
- presentation?: Ratio;
238
+ presentation: Ratio;
239
239
 
240
240
  /**
241
241
  * A lower limit for the quantity of substance in the unit of
@@ -320,7 +320,7 @@ export interface MedicinalProductIngredientSpecifiedSubstanceStrengthReferenceSt
320
320
  /**
321
321
  * Strength expressed in terms of a reference substance.
322
322
  */
323
- strength?: Ratio;
323
+ strength: Ratio;
324
324
 
325
325
  /**
326
326
  * Strength expressed in terms of a reference substance.
@@ -381,7 +381,7 @@ export interface MedicinalProductIngredientSubstance {
381
381
  /**
382
382
  * The ingredient substance.
383
383
  */
384
- code?: CodeableConcept;
384
+ code: CodeableConcept;
385
385
 
386
386
  /**
387
387
  * Quantity of the substance or specified substance present in the
@@ -99,7 +99,7 @@ export interface MedicinalProductManufactured {
99
99
  * Dose form as manufactured and before any transformation into the
100
100
  * pharmaceutical product.
101
101
  */
102
- manufacturedDoseForm?: CodeableConcept;
102
+ manufacturedDoseForm: CodeableConcept;
103
103
 
104
104
  /**
105
105
  * The &ldquo;real world&rdquo; units in which the quantity of the manufactured item
@@ -110,7 +110,7 @@ export interface MedicinalProductManufactured {
110
110
  /**
111
111
  * The quantity or &quot;count number&quot; of the manufactured item.
112
112
  */
113
- quantity?: Quantity;
113
+ quantity: Quantity;
114
114
 
115
115
  /**
116
116
  * Manufacturer of the item (Note that this should be named
@@ -146,7 +146,7 @@ export interface MedicinalProductPackaged {
146
146
  * A packaging item, as a contained for medicine, possibly with other
147
147
  * packaging items within.
148
148
  */
149
- packageItem?: MedicinalProductPackagedPackageItem[];
149
+ packageItem: MedicinalProductPackagedPackageItem[];
150
150
  }
151
151
 
152
152
  /**
@@ -192,7 +192,7 @@ export interface MedicinalProductPackagedBatchIdentifier {
192
192
  /**
193
193
  * A number appearing on the outer packaging of a specific batch.
194
194
  */
195
- outerPackaging?: Identifier;
195
+ outerPackaging: Identifier;
196
196
 
197
197
  /**
198
198
  * A number appearing on the immediate packaging (and not the outer
@@ -250,13 +250,13 @@ export interface MedicinalProductPackagedPackageItem {
250
250
  /**
251
251
  * The physical type of the container of the medicine.
252
252
  */
253
- type?: CodeableConcept;
253
+ type: CodeableConcept;
254
254
 
255
255
  /**
256
256
  * The quantity of this package in the medicinal product, at the current
257
257
  * level of packaging. The outermost is always 1.
258
258
  */
259
- quantity?: Quantity;
259
+ quantity: Quantity;
260
260
 
261
261
  /**
262
262
  * Material type of the package item.
@@ -106,7 +106,7 @@ export interface MedicinalProductPharmaceutical {
106
106
  /**
107
107
  * The administrable dose form, after necessary reconstitution.
108
108
  */
109
- administrableDoseForm?: CodeableConcept;
109
+ administrableDoseForm: CodeableConcept;
110
110
 
111
111
  /**
112
112
  * Todo.
@@ -132,7 +132,7 @@ export interface MedicinalProductPharmaceutical {
132
132
  * The path by which the pharmaceutical product is taken into or makes
133
133
  * contact with the body.
134
134
  */
135
- routeOfAdministration?: MedicinalProductPharmaceuticalRouteOfAdministration[];
135
+ routeOfAdministration: MedicinalProductPharmaceuticalRouteOfAdministration[];
136
136
  }
137
137
 
138
138
  /**
@@ -178,7 +178,7 @@ export interface MedicinalProductPharmaceuticalCharacteristics {
178
178
  /**
179
179
  * A coded characteristic.
180
180
  */
181
- code?: CodeableConcept;
181
+ code: CodeableConcept;
182
182
 
183
183
  /**
184
184
  * The status of characteristic e.g. assigned or pending.
@@ -230,7 +230,7 @@ export interface MedicinalProductPharmaceuticalRouteOfAdministration {
230
230
  /**
231
231
  * Coded expression for the route.
232
232
  */
233
- code?: CodeableConcept;
233
+ code: CodeableConcept;
234
234
 
235
235
  /**
236
236
  * The first dose (dose quantity) administered in humans can be
@@ -315,7 +315,7 @@ export interface MedicinalProductPharmaceuticalRouteOfAdministrationTargetSpecie
315
315
  /**
316
316
  * Coded expression for the species.
317
317
  */
318
- code?: CodeableConcept;
318
+ code: CodeableConcept;
319
319
 
320
320
  /**
321
321
  * A species specific time during which consumption of animal product is
@@ -369,12 +369,12 @@ export interface MedicinalProductPharmaceuticalRouteOfAdministrationTargetSpecie
369
369
  * Coded expression for the type of tissue for which the withdrawal
370
370
  * period applues, e.g. meat, milk.
371
371
  */
372
- tissue?: CodeableConcept;
372
+ tissue: CodeableConcept;
373
373
 
374
374
  /**
375
375
  * A value for the time.
376
376
  */
377
- value?: Quantity;
377
+ value: Quantity;
378
378
 
379
379
  /**
380
380
  * Extra information about the withdrawal period.
@@ -143,7 +143,7 @@ export interface MessageDefinition {
143
143
  * The status of this message definition. Enables tracking the life-cycle
144
144
  * of the content.
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 message definition is authored
@@ -158,7 +158,7 @@ export interface MessageDefinition {
158
158
  * it must change if the status code changes. In addition, it should
159
159
  * change when the substantive content of the message definition changes.
160
160
  */
161
- date?: string;
161
+ date: string;
162
162
 
163
163
  /**
164
164
  * The name of the organization or individual that published the message
@@ -307,7 +307,7 @@ export interface MessageDefinitionAllowedResponse {
307
307
  * A reference to the message definition that must be adhered to by this
308
308
  * supported response.
309
309
  */
310
- message?: string;
310
+ message: string;
311
311
 
312
312
  /**
313
313
  * Provides a description of the circumstances in which this response
@@ -361,7 +361,7 @@ export interface MessageDefinitionFocus {
361
361
  /**
362
362
  * The kind of resource that must be the focus for this message.
363
363
  */
364
- code?: ResourceType;
364
+ code: ResourceType;
365
365
 
366
366
  /**
367
367
  * A profile that reflects constraints for the focal resource (and
@@ -374,7 +374,7 @@ export interface MessageDefinitionFocus {
374
374
  * pointed to by a message in order for it to be valid against this
375
375
  * MessageDefinition.
376
376
  */
377
- min?: number;
377
+ min: number;
378
378
 
379
379
  /**
380
380
  * Identifies the maximum number of resources of this type that must be
@@ -149,7 +149,7 @@ export interface MessageHeader {
149
149
  /**
150
150
  * The source application from which this message originated.
151
151
  */
152
- source?: MessageHeaderSource;
152
+ source: MessageHeaderSource;
153
153
 
154
154
  /**
155
155
  * The person or organization that accepts overall responsibility for the
@@ -236,7 +236,7 @@ export interface MessageHeaderDestination {
236
236
  /**
237
237
  * Indicates where the message should be routed to.
238
238
  */
239
- endpoint?: string;
239
+ endpoint: string;
240
240
 
241
241
  /**
242
242
  * Allows data conveyed by a message to be addressed to a particular
@@ -291,13 +291,13 @@ export interface MessageHeaderResponse {
291
291
  * The MessageHeader.id of the message to which this message is a
292
292
  * response.
293
293
  */
294
- identifier?: string;
294
+ identifier: string;
295
295
 
296
296
  /**
297
297
  * Code that identifies the type of response to the message - whether it
298
298
  * was successful or not, and whether it should be resent or not.
299
299
  */
300
- code?: 'ok' | 'transient-error' | 'fatal-error';
300
+ code: 'ok' | 'transient-error' | 'fatal-error';
301
301
 
302
302
  /**
303
303
  * Full details of any issues found in the message.
@@ -370,5 +370,5 @@ export interface MessageHeaderSource {
370
370
  /**
371
371
  * Identifies the routing target to send acknowledgements to.
372
372
  */
373
- endpoint?: string;
373
+ endpoint: string;
374
374
  }
@@ -114,7 +114,7 @@ export interface MolecularSequence {
114
114
  * coordinates, inclusive start, exclusive end) or starting at 1 (1-based
115
115
  * numbering, inclusive start and inclusive end).
116
116
  */
117
- coordinateSystem?: number;
117
+ coordinateSystem: number;
118
118
 
119
119
  /**
120
120
  * The patient whose sequencing results are described by this resource.
@@ -238,7 +238,7 @@ export interface MolecularSequenceQuality {
238
238
  /**
239
239
  * INDEL / SNP / Undefined variant.
240
240
  */
241
- type?: 'indel' | 'snp' | 'unknown';
241
+ type: 'indel' | 'snp' | 'unknown';
242
242
 
243
243
  /**
244
244
  * Gold standard sequence used for comparing against.
@@ -569,7 +569,7 @@ export interface MolecularSequenceRepository {
569
569
  * Click and see / RESTful API / Need login to see / RESTful API with
570
570
  * authentication / Other ways to see resource.
571
571
  */
572
- type?: 'directlink' | 'openapi' | 'login' | 'oauth' | 'other';
572
+ type: 'directlink' | 'openapi' | 'login' | 'oauth' | 'other';
573
573
 
574
574
  /**
575
575
  * URI of an external repository which contains further details about the
@@ -100,19 +100,19 @@ export interface NamingSystem {
100
100
  * should be usable as an identifier for the module by machine processing
101
101
  * applications such as code generation.
102
102
  */
103
- name?: string;
103
+ name: string;
104
104
 
105
105
  /**
106
106
  * The status of this naming system. Enables tracking the life-cycle of
107
107
  * the content.
108
108
  */
109
- status?: 'draft' | 'active' | 'retired' | 'unknown';
109
+ status: 'draft' | 'active' | 'retired' | 'unknown';
110
110
 
111
111
  /**
112
112
  * Indicates the purpose for the naming system - what kinds of things
113
113
  * does it make unique?
114
114
  */
115
- kind?: 'codesystem' | 'identifier' | 'root';
115
+ kind: 'codesystem' | 'identifier' | 'root';
116
116
 
117
117
  /**
118
118
  * The date (and optionally time) when the naming system was published.
@@ -120,7 +120,7 @@ export interface NamingSystem {
120
120
  * change if the status code changes. In addition, it should change when
121
121
  * the substantive content of the naming system changes.
122
122
  */
123
- date?: string;
123
+ date: string;
124
124
 
125
125
  /**
126
126
  * The name of the organization or individual that published the naming
@@ -179,7 +179,7 @@ export interface NamingSystem {
179
179
  * Indicates how the system may be identified when referenced in
180
180
  * electronic exchange.
181
181
  */
182
- uniqueId?: NamingSystemUniqueId[];
182
+ uniqueId: NamingSystemUniqueId[];
183
183
  }
184
184
 
185
185
  /**
@@ -227,13 +227,13 @@ export interface NamingSystemUniqueId {
227
227
  * Identifies the unique identifier scheme used for this particular
228
228
  * identifier.
229
229
  */
230
- type?: 'oid' | 'uuid' | 'uri' | 'other';
230
+ type: 'oid' | 'uuid' | 'uri' | 'other';
231
231
 
232
232
  /**
233
233
  * The string that should be sent over the wire to identify the code
234
234
  * system or identifier system.
235
235
  */
236
- value?: string;
236
+ value: string;
237
237
 
238
238
  /**
239
239
  * Indicates whether this identifier is the &quot;preferred&quot; identifier of
@@ -32,10 +32,10 @@ export interface Narrative {
32
32
  * just the defined data or the extensions too), or whether a human
33
33
  * authored it and it may contain additional data.
34
34
  */
35
- status?: 'generated' | 'extensions' | 'additional' | 'empty';
35
+ status: 'generated' | 'extensions' | 'additional' | 'empty';
36
36
 
37
37
  /**
38
38
  * The actual narrative content, a stripped down version of XHTML.
39
39
  */
40
- div?: string;
40
+ div: string;
41
41
  }
@@ -132,19 +132,19 @@ export interface NutritionOrder {
132
132
  /**
133
133
  * The workflow status of the nutrition order/request.
134
134
  */
135
- status?: 'draft' | 'active' | 'on-hold' | 'revoked' | 'completed' | 'entered-in-error' | 'unknown';
135
+ status: 'draft' | 'active' | 'on-hold' | 'revoked' | 'completed' | 'entered-in-error' | 'unknown';
136
136
 
137
137
  /**
138
138
  * Indicates the level of authority/intentionality associated with the
139
139
  * NutrionOrder and where the request fits into the workflow chain.
140
140
  */
141
- intent?: 'proposal' | 'plan' | 'directive' | 'order' | 'original-order' | 'reflex-order' | 'filler-order' | 'instance-order' | 'option';
141
+ intent: 'proposal' | 'plan' | 'directive' | 'order' | 'original-order' | 'reflex-order' | 'filler-order' | 'instance-order' | 'option';
142
142
 
143
143
  /**
144
144
  * The person (patient) who needs the nutrition order for an oral diet,
145
145
  * nutritional supplement and/or enteral or formula feeding.
146
146
  */
147
- patient?: Reference<Patient>;
147
+ patient: Reference<Patient>;
148
148
 
149
149
  /**
150
150
  * An encounter that provides additional information about the healthcare
@@ -155,7 +155,7 @@ export interface NutritionOrder {
155
155
  /**
156
156
  * The date and time that this nutrition order was requested.
157
157
  */
158
- dateTime?: string;
158
+ dateTime: string;
159
159
 
160
160
  /**
161
161
  * The practitioner that holds legal responsibility for ordering the
@@ -149,7 +149,7 @@ export interface Observation {
149
149
  /**
150
150
  * The status of the result value.
151
151
  */
152
- status?: 'registered' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'cancelled' | 'entered-in-error' | 'unknown';
152
+ status: 'registered' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'cancelled' | 'entered-in-error' | 'unknown';
153
153
 
154
154
  /**
155
155
  * A code that classifies the general type of observation being made.
@@ -160,7 +160,7 @@ export interface Observation {
160
160
  * Describes what was observed. Sometimes this is called the observation
161
161
  * &quot;name&quot;.
162
162
  */
163
- code?: CodeableConcept;
163
+ code: CodeableConcept;
164
164
 
165
165
  /**
166
166
  * The patient, or group of patients, location, or device this
@@ -423,7 +423,7 @@ export interface ObservationComponent {
423
423
  * Describes what was observed. Sometimes this is called the observation
424
424
  * &quot;code&quot;.
425
425
  */
426
- code?: CodeableConcept;
426
+ code: CodeableConcept;
427
427
 
428
428
  /**
429
429
  * The information determined as a result of making the observation, if
@@ -113,7 +113,7 @@ export interface ObservationDefinition {
113
113
  * Describes what will be observed. Sometimes this is called the
114
114
  * observation &quot;name&quot;.
115
115
  */
116
- code?: CodeableConcept;
116
+ code: CodeableConcept;
117
117
 
118
118
  /**
119
119
  * A unique identifier assigned to this ObservationDefinition artifact.