@medplum/fhirtypes 3.1.6 → 3.1.7

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 (93) hide show
  1. package/dist/ActivityDefinition.d.ts +18 -0
  2. package/dist/Agent.d.ts +10 -0
  3. package/dist/AllergyIntolerance.d.ts +6 -0
  4. package/dist/Annotation.d.ts +5 -0
  5. package/dist/AuditEvent.d.ts +5 -0
  6. package/dist/BiologicallyDerivedProduct.d.ts +15 -0
  7. package/dist/Bot.d.ts +5 -0
  8. package/dist/CarePlan.d.ts +12 -0
  9. package/dist/ChargeItem.d.ts +11 -0
  10. package/dist/Claim.d.ts +40 -0
  11. package/dist/ClaimResponse.d.ts +11 -0
  12. package/dist/ClinicalImpression.d.ts +5 -0
  13. package/dist/CodeSystem.d.ts +5 -0
  14. package/dist/Communication.d.ts +6 -0
  15. package/dist/CommunicationRequest.d.ts +11 -0
  16. package/dist/Composition.d.ts +5 -0
  17. package/dist/ConceptMap.d.ts +14 -0
  18. package/dist/Condition.d.ts +14 -0
  19. package/dist/Consent.d.ts +8 -0
  20. package/dist/Contract.d.ts +55 -0
  21. package/dist/Coverage.d.ts +5 -0
  22. package/dist/CoverageEligibilityRequest.d.ts +12 -0
  23. package/dist/CoverageEligibilityResponse.d.ts +16 -0
  24. package/dist/DataRequirement.d.ts +16 -0
  25. package/dist/DetectedIssue.d.ts +5 -0
  26. package/dist/DeviceDefinition.d.ts +5 -0
  27. package/dist/DeviceRequest.d.ts +18 -0
  28. package/dist/DeviceUseStatement.d.ts +5 -0
  29. package/dist/DiagnosticReport.d.ts +8 -0
  30. package/dist/Dosage.d.ts +17 -0
  31. package/dist/ElementDefinition.d.ts +70 -0
  32. package/dist/EventDefinition.d.ts +6 -0
  33. package/dist/EvidenceVariable.d.ts +13 -0
  34. package/dist/ExplanationOfBenefit.d.ts +61 -0
  35. package/dist/Extension.d.ts +9 -0
  36. package/dist/FamilyMemberHistory.d.ts +24 -0
  37. package/dist/Goal.d.ts +22 -0
  38. package/dist/Group.d.ts +6 -0
  39. package/dist/GuidanceResponse.d.ts +6 -0
  40. package/dist/Immunization.d.ts +15 -0
  41. package/dist/ImmunizationEvaluation.d.ts +10 -0
  42. package/dist/ImmunizationRecommendation.d.ts +11 -0
  43. package/dist/ImplementationGuide.d.ts +19 -0
  44. package/dist/Invoice.d.ts +8 -0
  45. package/dist/Library.d.ts +6 -0
  46. package/dist/Measure.d.ts +7 -0
  47. package/dist/Media.d.ts +5 -0
  48. package/dist/Medication.d.ts +6 -0
  49. package/dist/MedicationAdministration.d.ts +25 -0
  50. package/dist/MedicationDispense.d.ts +13 -0
  51. package/dist/MedicationKnowledge.d.ts +23 -0
  52. package/dist/MedicationRequest.d.ts +21 -0
  53. package/dist/MedicationStatement.d.ts +15 -0
  54. package/dist/MedicinalProduct.d.ts +5 -0
  55. package/dist/MedicinalProductAuthorization.d.ts +5 -0
  56. package/dist/MedicinalProductContraindication.d.ts +8 -0
  57. package/dist/MedicinalProductIndication.d.ts +7 -0
  58. package/dist/MedicinalProductInteraction.d.ts +5 -0
  59. package/dist/MessageDefinition.d.ts +5 -0
  60. package/dist/MessageHeader.d.ts +9 -0
  61. package/dist/NutritionOrder.d.ts +6 -0
  62. package/dist/Observation.d.ts +21 -0
  63. package/dist/Parameters.d.ts +8 -0
  64. package/dist/Patient.d.ts +11 -0
  65. package/dist/PlanDefinition.d.ts +40 -0
  66. package/dist/Population.d.ts +5 -0
  67. package/dist/Procedure.d.ts +8 -0
  68. package/dist/Project.d.ts +5 -0
  69. package/dist/ProjectMembership.d.ts +6 -0
  70. package/dist/Provenance.d.ts +5 -0
  71. package/dist/Questionnaire.d.ts +16 -0
  72. package/dist/QuestionnaireResponse.d.ts +6 -0
  73. package/dist/RequestGroup.d.ts +11 -0
  74. package/dist/ResearchDefinition.d.ts +7 -0
  75. package/dist/ResearchElementDefinition.d.ts +25 -0
  76. package/dist/RiskAssessment.d.ts +16 -0
  77. package/dist/ServiceRequest.d.ts +18 -0
  78. package/dist/Specimen.d.ts +25 -0
  79. package/dist/SpecimenDefinition.d.ts +11 -0
  80. package/dist/StructureMap.d.ts +13 -0
  81. package/dist/Substance.d.ts +5 -0
  82. package/dist/SubstanceAmount.d.ts +8 -0
  83. package/dist/SubstanceReferenceInformation.d.ts +5 -0
  84. package/dist/SubstanceSpecification.d.ts +29 -0
  85. package/dist/SupplyDelivery.d.ts +12 -0
  86. package/dist/SupplyRequest.d.ts +17 -0
  87. package/dist/Task.d.ts +16 -0
  88. package/dist/Timing.d.ts +7 -0
  89. package/dist/TriggerDefinition.d.ts +5 -0
  90. package/dist/UsageContext.d.ts +7 -0
  91. package/dist/UserConfiguration.d.ts +6 -0
  92. package/dist/ValueSet.d.ts +5 -0
  93. package/package.json +1 -1
@@ -466,6 +466,24 @@ export interface ActivityDefinition {
466
466
  dynamicValue?: ActivityDefinitionDynamicValue[];
467
467
  }
468
468
 
469
+ /**
470
+ * A code or group definition that describes the intended subject of the
471
+ * activity being defined.
472
+ */
473
+ export type ActivityDefinitionSubject = CodeableConcept | Reference<Group>;
474
+
475
+ /**
476
+ * The period, timing or frequency upon which the described activity is
477
+ * to occur.
478
+ */
479
+ export type ActivityDefinitionTiming = Age | Duration | Period | Range | string | Timing;
480
+
481
+ /**
482
+ * Identifies the food, drug or other product being consumed or supplied
483
+ * in the activity.
484
+ */
485
+ export type ActivityDefinitionProduct = CodeableConcept | Reference<Medication | Substance>;
486
+
469
487
  /**
470
488
  * Dynamic values that will be evaluated to produce values for elements
471
489
  * of the resulting resource. For example, if the dosage of a medication
package/dist/Agent.d.ts CHANGED
@@ -155,6 +155,11 @@ export interface AgentChannel {
155
155
  targetUrl?: string;
156
156
  }
157
157
 
158
+ /**
159
+ * The target resource where channel messages will be delivered.
160
+ */
161
+ export type AgentChannelTarget = Reference<Bot> | string;
162
+
158
163
  /**
159
164
  * The settings for the agent.
160
165
  */
@@ -185,3 +190,8 @@ export interface AgentSetting {
185
190
  */
186
191
  valueInteger?: number;
187
192
  }
193
+
194
+ /**
195
+ * The setting value.
196
+ */
197
+ export type AgentSettingValue = boolean | number | string;
@@ -236,6 +236,12 @@ export interface AllergyIntolerance {
236
236
  reaction?: AllergyIntoleranceReaction[];
237
237
  }
238
238
 
239
+ /**
240
+ * Estimated or actual date, date-time, or age when allergy or
241
+ * intolerance was identified.
242
+ */
243
+ export type AllergyIntoleranceOnset = Age | Period | Range | string;
244
+
239
245
  /**
240
246
  * Details about each adverse reaction event linked to exposure to the
241
247
  * identified substance.
@@ -52,3 +52,8 @@ export interface Annotation {
52
52
  */
53
53
  text: string;
54
54
  }
55
+
56
+ /**
57
+ * The individual responsible for making the annotation.
58
+ */
59
+ export type AnnotationAuthor = Reference<Practitioner | Patient | RelatedPerson | Organization> | string;
@@ -475,6 +475,11 @@ export interface AuditEventEntityDetail {
475
475
  valueBase64Binary?: string;
476
476
  }
477
477
 
478
+ /**
479
+ * The value of the extra detail.
480
+ */
481
+ export type AuditEventEntityDetailValue = string;
482
+
478
483
  /**
479
484
  * The system that is reporting the event.
480
485
  */
@@ -228,6 +228,11 @@ export interface BiologicallyDerivedProductCollection {
228
228
  collectedPeriod?: Period;
229
229
  }
230
230
 
231
+ /**
232
+ * Time of product collection.
233
+ */
234
+ export type BiologicallyDerivedProductCollectionCollected = Period | string;
235
+
231
236
  /**
232
237
  * Any manipulation of product post-collection that is intended to alter
233
238
  * the product. For example a buffy-coat enrichment or CD8 reduction of
@@ -286,6 +291,11 @@ export interface BiologicallyDerivedProductManipulation {
286
291
  timePeriod?: Period;
287
292
  }
288
293
 
294
+ /**
295
+ * Time of manipulation.
296
+ */
297
+ export type BiologicallyDerivedProductManipulationTime = Period | string;
298
+
289
299
  /**
290
300
  * Any processing of the product during collection that does not change
291
301
  * the fundamental nature of the product. For example adding
@@ -354,6 +364,11 @@ export interface BiologicallyDerivedProductProcessing {
354
364
  timePeriod?: Period;
355
365
  }
356
366
 
367
+ /**
368
+ * Time of processing.
369
+ */
370
+ export type BiologicallyDerivedProductProcessingTime = Period | string;
371
+
357
372
  /**
358
373
  * Product storage.
359
374
  */
package/dist/Bot.d.ts CHANGED
@@ -170,3 +170,8 @@ export interface Bot {
170
170
  */
171
171
  code?: string;
172
172
  }
173
+
174
+ /**
175
+ * A schedule for the bot to be executed.
176
+ */
177
+ export type BotCron = string | Timing;
@@ -516,3 +516,15 @@ export interface CarePlanActivityDetail {
516
516
  */
517
517
  description?: string;
518
518
  }
519
+
520
+ /**
521
+ * The period, timing or frequency upon which the described activity is
522
+ * to occur.
523
+ */
524
+ export type CarePlanActivityDetailScheduled = Period | string | Timing;
525
+
526
+ /**
527
+ * Identifies the food, drug or other product to be consumed or supplied
528
+ * in the activity.
529
+ */
530
+ export type CarePlanActivityDetailProduct = CodeableConcept | Reference<Medication | Substance>;
@@ -283,6 +283,17 @@ export interface ChargeItem {
283
283
  supportingInformation?: Reference<Resource>[];
284
284
  }
285
285
 
286
+ /**
287
+ * Date/time(s) or duration when the charged service was applied.
288
+ */
289
+ export type ChargeItemOccurrence = Period | string | Timing;
290
+
291
+ /**
292
+ * Identifies the device, food, drug or other product being charged
293
+ * either by type code or reference to an instance.
294
+ */
295
+ export type ChargeItemProduct = CodeableConcept | Reference<Device | Medication | Substance>;
296
+
286
297
  /**
287
298
  * Indicates who or what performed or participated in the charged
288
299
  * service.
package/dist/Claim.d.ts CHANGED
@@ -339,6 +339,11 @@ export interface ClaimAccident {
339
339
  locationReference?: Reference<Location>;
340
340
  }
341
341
 
342
+ /**
343
+ * The physical location of the accident event.
344
+ */
345
+ export type ClaimAccidentLocation = Address | Reference<Location>;
346
+
342
347
  /**
343
348
  * The members of the team who provided the products and services.
344
349
  */
@@ -484,6 +489,12 @@ export interface ClaimDiagnosis {
484
489
  packageCode?: CodeableConcept;
485
490
  }
486
491
 
492
+ /**
493
+ * The nature of illness or problem in a coded form or as a reference to
494
+ * an external defined Condition.
495
+ */
496
+ export type ClaimDiagnosisDiagnosis = CodeableConcept | Reference<Condition>;
497
+
487
498
  /**
488
499
  * Financial instruments for reimbursement for the health care products
489
500
  * and services specified on the claim.
@@ -750,6 +761,17 @@ export interface ClaimItem {
750
761
  detail?: ClaimItemDetail[];
751
762
  }
752
763
 
764
+ /**
765
+ * The date or dates when the service or product was supplied, performed
766
+ * or completed.
767
+ */
768
+ export type ClaimItemServiced = Period | string;
769
+
770
+ /**
771
+ * Where the product or service was provided.
772
+ */
773
+ export type ClaimItemLocation = Address | CodeableConcept | Reference<Location>;
774
+
753
775
  /**
754
776
  * A claim detail line. Either a simple (a product or service) or a
755
777
  * 'group' of sub-details which are simple items.
@@ -1099,6 +1121,12 @@ export interface ClaimProcedure {
1099
1121
  udi?: Reference<Device>[];
1100
1122
  }
1101
1123
 
1124
+ /**
1125
+ * The code or reference to a Procedure resource which identifies the
1126
+ * clinical intervention performed.
1127
+ */
1128
+ export type ClaimProcedureProcedure = CodeableConcept | Reference<Procedure>;
1129
+
1102
1130
  /**
1103
1131
  * Other claims which are related to this claim such as prior submissions
1104
1132
  * or claims for related services or for the same event.
@@ -1267,3 +1295,15 @@ export interface ClaimSupportingInfo {
1267
1295
  */
1268
1296
  reason?: CodeableConcept;
1269
1297
  }
1298
+
1299
+ /**
1300
+ * The date when or period to which this information refers.
1301
+ */
1302
+ export type ClaimSupportingInfoTiming = Period | string;
1303
+
1304
+ /**
1305
+ * Additional data or information such as resources, documents, images
1306
+ * etc. including references to the data or the actual inclusion of the
1307
+ * data.
1308
+ */
1309
+ export type ClaimSupportingInfoValue = Attachment | boolean | Quantity | Reference<Resource> | string;
@@ -426,6 +426,17 @@ export interface ClaimResponseAddItem {
426
426
  detail?: ClaimResponseAddItemDetail[];
427
427
  }
428
428
 
429
+ /**
430
+ * The date or dates when the service or product was supplied, performed
431
+ * or completed.
432
+ */
433
+ export type ClaimResponseAddItemServiced = Period | string;
434
+
435
+ /**
436
+ * Where the product or service was provided.
437
+ */
438
+ export type ClaimResponseAddItemLocation = Address | CodeableConcept | Reference<Location>;
439
+
429
440
  /**
430
441
  * The second-tier service adjudications for payor added services.
431
442
  */
@@ -237,6 +237,11 @@ export interface ClinicalImpression {
237
237
  note?: Annotation[];
238
238
  }
239
239
 
240
+ /**
241
+ * The point in time or period over which the subject was assessed.
242
+ */
243
+ export type ClinicalImpressionEffective = Period | string;
244
+
240
245
  /**
241
246
  * Specific findings or diagnoses that were considered likely or relevant
242
247
  * to ongoing treatment.
@@ -494,6 +494,11 @@ export interface CodeSystemConceptProperty {
494
494
  valueDecimal?: number;
495
495
  }
496
496
 
497
+ /**
498
+ * The value of this property.
499
+ */
500
+ export type CodeSystemConceptPropertyValue = boolean | Coding | number | string;
501
+
497
502
  /**
498
503
  * A filter that can be used in a value set compose statement when
499
504
  * selecting concepts using a filter.
@@ -307,3 +307,9 @@ export interface CommunicationPayload {
307
307
  */
308
308
  contentReference?: Reference<Resource>;
309
309
  }
310
+
311
+ /**
312
+ * A communicated content (or for multi-part communications, one portion
313
+ * of the communication).
314
+ */
315
+ export type CommunicationPayloadContent = Attachment | Reference<Resource> | string;
@@ -245,6 +245,11 @@ export interface CommunicationRequest {
245
245
  note?: Annotation[];
246
246
  }
247
247
 
248
+ /**
249
+ * The time when this communication is to occur.
250
+ */
251
+ export type CommunicationRequestOccurrence = Period | string;
252
+
248
253
  /**
249
254
  * Text, attachment(s), or resource(s) to be communicated to the
250
255
  * recipient.
@@ -304,3 +309,9 @@ export interface CommunicationRequestPayload {
304
309
  */
305
310
  contentReference?: Reference<Resource>;
306
311
  }
312
+
313
+ /**
314
+ * The communicated content (or for multi-part communications, one
315
+ * portion of the communication).
316
+ */
317
+ export type CommunicationRequestPayloadContent = Attachment | Reference<Resource> | string;
@@ -381,6 +381,11 @@ export interface CompositionRelatesTo {
381
381
  targetReference?: Reference<Composition>;
382
382
  }
383
383
 
384
+ /**
385
+ * The target composition/document of this relationship.
386
+ */
387
+ export type CompositionRelatesToTarget = Identifier | Reference<Composition>;
388
+
384
389
  /**
385
390
  * The root of the sections that make up the composition.
386
391
  */
@@ -237,6 +237,20 @@ export interface ConceptMap {
237
237
  group?: ConceptMapGroup[];
238
238
  }
239
239
 
240
+ /**
241
+ * Identifier for the source value set that contains the concepts that
242
+ * are being mapped and provides context for the mappings.
243
+ */
244
+ export type ConceptMapSource = string;
245
+
246
+ /**
247
+ * The target value set provides context for the mappings. Note that the
248
+ * mapping is made between concepts, not between value sets, but the
249
+ * value set provides important context about how the concept mapping
250
+ * choices are made.
251
+ */
252
+ export type ConceptMapTarget = string;
253
+
240
254
  /**
241
255
  * A group of mappings that all have the same source and target system.
242
256
  */
@@ -265,6 +265,20 @@ export interface Condition {
265
265
  note?: Annotation[];
266
266
  }
267
267
 
268
+ /**
269
+ * Estimated or actual date or date-time the condition began, in the
270
+ * opinion of the clinician.
271
+ */
272
+ export type ConditionOnset = Age | Period | Range | string;
273
+
274
+ /**
275
+ * The date or estimated date that the condition resolved or went into
276
+ * remission. This is called &quot;abatement&quot; because of the many overloaded
277
+ * connotations associated with &quot;remission&quot; or &quot;resolution&quot; - Conditions
278
+ * are never really resolved, but they can abate.
279
+ */
280
+ export type ConditionAbatement = Age | Period | Range | string;
281
+
268
282
  /**
269
283
  * Supporting evidence / manifestations that are the basis of the
270
284
  * Condition's verification status, such as evidence that confirmed or
package/dist/Consent.d.ts CHANGED
@@ -198,6 +198,14 @@ export interface Consent {
198
198
  provision?: ConsentProvision;
199
199
  }
200
200
 
201
+ /**
202
+ * The source on which this consent statement is based. The source might
203
+ * be a scanned original paper form, or a reference to a consent that
204
+ * links back to such a source, a reference to a document repository
205
+ * (e.g. XDS) that stores the original consent document.
206
+ */
207
+ export type ConsentSource = Attachment | Reference<Consent | DocumentReference | Contract | QuestionnaireResponse>;
208
+
201
209
  /**
202
210
  * The references to the policies that are included in this consent
203
211
  * scope. Policies may be organizational, but are often defined
@@ -361,6 +361,20 @@ export interface Contract {
361
361
  legallyBindingReference?: Reference<Composition | DocumentReference | QuestionnaireResponse | Contract>;
362
362
  }
363
363
 
364
+ /**
365
+ * Narrows the range of legal concerns to focus on the achievement of
366
+ * specific contractual objectives.
367
+ */
368
+ export type ContractTopic = CodeableConcept | Reference<Resource>;
369
+
370
+ /**
371
+ * Legally binding Contract: This is the signed and legally recognized
372
+ * representation of the Contract, which is considered the &quot;source of
373
+ * truth&quot; and which would be the basis for legal action related to
374
+ * enforcement of this Contract.
375
+ */
376
+ export type ContractLegallyBinding = Attachment | Reference<Composition | DocumentReference | QuestionnaireResponse | Contract>;
377
+
364
378
  /**
365
379
  * Precusory content developed with a focus and intent of supporting the
366
380
  * formation a Contract instance, which may be associated with and
@@ -506,6 +520,13 @@ export interface ContractFriendly {
506
520
  contentReference?: Reference<Composition | DocumentReference | QuestionnaireResponse>;
507
521
  }
508
522
 
523
+ /**
524
+ * Human readable rendering of this Contract in a format and
525
+ * representation intended to enhance comprehension and ensure
526
+ * understandability.
527
+ */
528
+ export type ContractFriendlyContent = Attachment | Reference<Composition | DocumentReference | QuestionnaireResponse>;
529
+
509
530
  /**
510
531
  * List of Legal expressions or representations of this Contract.
511
532
  */
@@ -557,6 +578,11 @@ export interface ContractLegal {
557
578
  contentReference?: Reference<Composition | DocumentReference | QuestionnaireResponse>;
558
579
  }
559
580
 
581
+ /**
582
+ * Contract legal text in human renderable form.
583
+ */
584
+ export type ContractLegalContent = Attachment | Reference<Composition | DocumentReference | QuestionnaireResponse>;
585
+
560
586
  /**
561
587
  * List of Computable Policy Rule Language Representations of this
562
588
  * Contract.
@@ -611,6 +637,12 @@ export interface ContractRule {
611
637
  contentReference?: Reference<DocumentReference>;
612
638
  }
613
639
 
640
+ /**
641
+ * Computable Contract conveyed using a policy rule language (e.g. XACML,
642
+ * DKAL, SecPal).
643
+ */
644
+ export type ContractRuleContent = Attachment | Reference<DocumentReference>;
645
+
614
646
  /**
615
647
  * Parties with legal standing in the Contract, including the principal
616
648
  * parties, the grantor(s) and grantee(s), which are any person or
@@ -785,6 +817,11 @@ export interface ContractTerm {
785
817
  group?: ContractTerm[];
786
818
  }
787
819
 
820
+ /**
821
+ * The entity that the term applies to.
822
+ */
823
+ export type ContractTermTopic = CodeableConcept | Reference<Resource>;
824
+
788
825
  /**
789
826
  * An actor taking a role in an activity for which it can be assigned
790
827
  * some degree of responsibility for the activity taking place.
@@ -962,6 +999,11 @@ export interface ContractTermAction {
962
999
  securityLabelNumber?: number[];
963
1000
  }
964
1001
 
1002
+ /**
1003
+ * When action happens.
1004
+ */
1005
+ export type ContractTermActionOccurrence = Period | string | Timing;
1006
+
965
1007
  /**
966
1008
  * Entity of the action.
967
1009
  */
@@ -1325,6 +1367,11 @@ export interface ContractTermAssetValuedItem {
1325
1367
  securityLabelNumber?: number[];
1326
1368
  }
1327
1369
 
1370
+ /**
1371
+ * Specific type of Contract Valued Item that may be priced.
1372
+ */
1373
+ export type ContractTermAssetValuedItemEntity = CodeableConcept | Reference<Resource>;
1374
+
1328
1375
  /**
1329
1376
  * The matter of concern in the context of this provision of the
1330
1377
  * agrement.
@@ -1560,6 +1607,14 @@ export interface ContractTermOfferAnswer {
1560
1607
  valueReference?: Reference<Resource>;
1561
1608
  }
1562
1609
 
1610
+ /**
1611
+ * Response to an offer clause or question text, which enables selection
1612
+ * of values to be agreed to, e.g., the period of participation, the date
1613
+ * of occupancy of a rental, warrently duration, or whether biospecimen
1614
+ * may be used for further research.
1615
+ */
1616
+ export type ContractTermOfferAnswerValue = Attachment | boolean | Coding | number | Quantity | Reference<Resource> | string;
1617
+
1563
1618
  /**
1564
1619
  * Offer Recipient.
1565
1620
  */
@@ -327,6 +327,11 @@ export interface CoverageCostToBeneficiary {
327
327
  exception?: CoverageCostToBeneficiaryException[];
328
328
  }
329
329
 
330
+ /**
331
+ * The amount due from the patient for the cost category.
332
+ */
333
+ export type CoverageCostToBeneficiaryValue = Money | Quantity;
334
+
330
335
  /**
331
336
  * A suite of codes indicating exceptions or reductions to patient costs
332
337
  * and their effective periods.
@@ -194,6 +194,12 @@ export interface CoverageEligibilityRequest {
194
194
  item?: CoverageEligibilityRequestItem[];
195
195
  }
196
196
 
197
+ /**
198
+ * The date or dates when the enclosed suite of services were performed
199
+ * or completed.
200
+ */
201
+ export type CoverageEligibilityRequestServiced = Period | string;
202
+
197
203
  /**
198
204
  * Financial instruments for reimbursement for the health care products
199
205
  * and services.
@@ -407,6 +413,12 @@ export interface CoverageEligibilityRequestItemDiagnosis {
407
413
  diagnosisReference?: Reference<Condition>;
408
414
  }
409
415
 
416
+ /**
417
+ * The nature of illness or problem in a coded form or as a reference to
418
+ * an external defined Condition.
419
+ */
420
+ export type CoverageEligibilityRequestItemDiagnosisDiagnosis = CodeableConcept | Reference<Condition>;
421
+
410
422
  /**
411
423
  * Additional information codes regarding exceptions, special
412
424
  * considerations, the condition, situation, prior or concurrent issues.
@@ -192,6 +192,12 @@ export interface CoverageEligibilityResponse {
192
192
  error?: CoverageEligibilityResponseError[];
193
193
  }
194
194
 
195
+ /**
196
+ * The date or dates when the enclosed suite of services were performed
197
+ * or completed.
198
+ */
199
+ export type CoverageEligibilityResponseServiced = Period | string;
200
+
195
201
  /**
196
202
  * Errors encountered during the processing of the request.
197
203
  */
@@ -505,3 +511,13 @@ export interface CoverageEligibilityResponseInsuranceItemBenefit {
505
511
  */
506
512
  usedMoney?: Money;
507
513
  }
514
+
515
+ /**
516
+ * The quantity of the benefit which is permitted under the coverage.
517
+ */
518
+ export type CoverageEligibilityResponseInsuranceItemBenefitAllowed = Money | number | string;
519
+
520
+ /**
521
+ * The quantity of the benefit which have been consumed to date.
522
+ */
523
+ export type CoverageEligibilityResponseInsuranceItemBenefitUsed = Money | number | string;
@@ -101,6 +101,12 @@ export interface DataRequirement {
101
101
  sort?: DataRequirementSort[];
102
102
  }
103
103
 
104
+ /**
105
+ * The intended subjects of the data requirement. If this element is not
106
+ * provided, a Patient subject is assumed.
107
+ */
108
+ export type DataRequirementSubject = CodeableConcept | Reference<Group>;
109
+
104
110
  /**
105
111
  * Code filters specify additional constraints on the data, specifying
106
112
  * the value set of interest for a particular element of the data. Each
@@ -238,6 +244,16 @@ export interface DataRequirementDateFilter {
238
244
  valueDuration?: Duration;
239
245
  }
240
246
 
247
+ /**
248
+ * The value of the filter. If period is specified, the filter will
249
+ * return only those data items that fall within the bounds determined by
250
+ * the Period, inclusive of the period boundaries. If dateTime is
251
+ * specified, the filter will return only those data items that are equal
252
+ * to the specified dateTime. If a Duration is specified, the filter will
253
+ * return only those data items that fall within Duration before now.
254
+ */
255
+ export type DataRequirementDateFilterValue = Duration | Period | string;
256
+
241
257
  /**
242
258
  * Specifies the order of the results to be returned.
243
259
  */
@@ -177,6 +177,11 @@ export interface DetectedIssue {
177
177
  mitigation?: DetectedIssueMitigation[];
178
178
  }
179
179
 
180
+ /**
181
+ * The date or period when the detected issue was initially identified.
182
+ */
183
+ export type DetectedIssueIdentified = Period | string;
184
+
180
185
  /**
181
186
  * Supporting evidence or manifestations that provide the basis for
182
187
  * identifying the detected issue such as a GuidanceResponse or
@@ -241,6 +241,11 @@ export interface DeviceDefinition {
241
241
  bodySite?: CodeableConcept;
242
242
  }
243
243
 
244
+ /**
245
+ * A name of the manufacturer.
246
+ */
247
+ export type DeviceDefinitionManufacturer = Reference<Organization> | string;
248
+
244
249
  /**
245
250
  * Device capabilities.
246
251
  */
@@ -279,6 +279,19 @@ export interface DeviceRequest {
279
279
  relevantHistory?: Reference<Provenance>[];
280
280
  }
281
281
 
282
+ /**
283
+ * The details of the device to be used.
284
+ */
285
+ export type DeviceRequestCode = CodeableConcept | Reference<Device>;
286
+
287
+ /**
288
+ * The timing schedule for the use of the device. The Schedule data type
289
+ * allows many different expressions, for example. &quot;Every 8 hours&quot;;
290
+ * &quot;Three times a day&quot;; &quot;1/2 an hour before breakfast for 10 days from
291
+ * 23-Dec 2011:&quot;; &quot;15 Oct 2013, 17 Oct 2013 and 1 Nov 2013&quot;.
292
+ */
293
+ export type DeviceRequestOccurrence = Period | string | Timing;
294
+
282
295
  /**
283
296
  * Specific parameters for the ordered item. For example, the prism
284
297
  * value for lenses.
@@ -345,3 +358,8 @@ export interface DeviceRequestParameter {
345
358
  */
346
359
  valueBoolean?: boolean;
347
360
  }
361
+
362
+ /**
363
+ * The value of the device detail.
364
+ */
365
+ export type DeviceRequestParameterValue = boolean | CodeableConcept | Quantity | Range;
@@ -196,3 +196,8 @@ export interface DeviceUseStatement {
196
196
  */
197
197
  note?: Annotation[];
198
198
  }
199
+
200
+ /**
201
+ * How often the device was used.
202
+ */
203
+ export type DeviceUseStatementTiming = Period | string | Timing;
@@ -238,6 +238,14 @@ export interface DiagnosticReport {
238
238
  presentedForm?: Attachment[];
239
239
  }
240
240
 
241
+ /**
242
+ * The time or time-period the observed values are related to. When the
243
+ * subject of the report is a patient, this is usually either the time of
244
+ * the procedure or of specimen collection(s), but very often the source
245
+ * of the date/time is not known, only the date/time itself.
246
+ */
247
+ export type DiagnosticReportEffective = Period | string;
248
+
241
249
  /**
242
250
  * A list of key images associated with this report. The images are
243
251
  * generally created during the diagnostic process, and may be directly