@medplum/fhirtypes 3.1.6 → 3.1.8

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
@@ -528,3 +528,8 @@ export interface MedicinalProductSpecialDesignation {
528
528
  */
529
529
  species?: CodeableConcept;
530
530
  }
531
+
532
+ /**
533
+ * Condition for which the medicinal use applies.
534
+ */
535
+ export type MedicinalProductSpecialDesignationIndication = CodeableConcept | Reference<MedicinalProductIndication>;
@@ -318,3 +318,8 @@ export interface MedicinalProductAuthorizationProcedure {
318
318
  */
319
319
  application?: MedicinalProductAuthorizationProcedure[];
320
320
  }
321
+
322
+ /**
323
+ * Date of procedure.
324
+ */
325
+ export type MedicinalProductAuthorizationProcedureDate = Period | string;
@@ -197,3 +197,11 @@ export interface MedicinalProductContraindicationOtherTherapy {
197
197
  */
198
198
  medicationReference?: Reference<MedicinalProduct | Medication | Substance | SubstanceSpecification>;
199
199
  }
200
+
201
+ /**
202
+ * Reference to a specific medication (active substance, medicinal
203
+ * product or class of products) as part of an indication or
204
+ * contraindication.
205
+ */
206
+ export type MedicinalProductContraindicationOtherTherapyMedication = CodeableConcept | Reference<MedicinalProduct |
207
+ Medication | Substance | SubstanceSpecification>;
@@ -208,3 +208,10 @@ export interface MedicinalProductIndicationOtherTherapy {
208
208
  */
209
209
  medicationReference?: Reference<MedicinalProduct | Medication | Substance | SubstanceSpecification>;
210
210
  }
211
+
212
+ /**
213
+ * Reference to a specific medication (active substance, medicinal
214
+ * product or class of products) as part of an indication or
215
+ * contraindication.
216
+ */
217
+ export type MedicinalProductIndicationOtherTherapyMedication = CodeableConcept | Reference<MedicinalProduct | Medication | Substance | SubstanceSpecification>;
@@ -184,3 +184,8 @@ export interface MedicinalProductInteractionInteractant {
184
184
  */
185
185
  itemCodeableConcept?: CodeableConcept;
186
186
  }
187
+
188
+ /**
189
+ * The specific medication, food or laboratory test that interacts.
190
+ */
191
+ export type MedicinalProductInteractionInteractantItem = CodeableConcept | Reference<MedicinalProduct | Medication | Substance | ObservationDefinition>;
@@ -262,6 +262,11 @@ export interface MessageDefinition {
262
262
  graph?: string[];
263
263
  }
264
264
 
265
+ /**
266
+ * Event code or link to the EventDefinition.
267
+ */
268
+ export type MessageDefinitionEvent = Coding | string;
269
+
265
270
  /**
266
271
  * Indicates what types of messages may be sent as an application-level
267
272
  * response to this message.
@@ -182,6 +182,15 @@ export interface MessageHeader {
182
182
  definition?: string;
183
183
  }
184
184
 
185
+ /**
186
+ * Code that identifies the event this message represents and connects it
187
+ * with its definition. Events defined as part of the FHIR specification
188
+ * have the system value
189
+ * &quot;http://terminology.hl7.org/CodeSystem/message-events&quot;. Alternatively
190
+ * uri to the EventDefinition.
191
+ */
192
+ export type MessageHeaderEvent = Coding | string;
193
+
185
194
  /**
186
195
  * The destination application which the message is intended for.
187
196
  */
@@ -391,6 +391,12 @@ export interface NutritionOrderEnteralFormulaAdministration {
391
391
  rateRatio?: Ratio;
392
392
  }
393
393
 
394
+ /**
395
+ * The rate of administration of formula via a feeding pump, e.g. 60 mL
396
+ * per hour, according to the specified schedule.
397
+ */
398
+ export type NutritionOrderEnteralFormulaAdministrationRate = Quantity | Ratio;
399
+
394
400
  /**
395
401
  * Diet given orally in contrast to enteral (tube) feeding.
396
402
  */
@@ -375,6 +375,21 @@ export interface Observation {
375
375
  component?: ObservationComponent[];
376
376
  }
377
377
 
378
+ /**
379
+ * The time or time-period the observed value is asserted as being true.
380
+ * For biological subjects - e.g. human patients - this is usually called
381
+ * the &quot;physiologically relevant time&quot;. This is usually either the time
382
+ * of the procedure or of specimen collection, but very often the source
383
+ * of the date/time is not known, only the date/time itself.
384
+ */
385
+ export type ObservationEffective = Period | string | Timing;
386
+
387
+ /**
388
+ * The information determined as a result of making the observation, if
389
+ * the information has a simple value.
390
+ */
391
+ export type ObservationValue = boolean | CodeableConcept | number | Period | Quantity | Range | Ratio | SampledData | string;
392
+
378
393
  /**
379
394
  * Some observations have multiple component observations. These
380
395
  * component observations are expressed as separate code value pairs that
@@ -510,6 +525,12 @@ export interface ObservationComponent {
510
525
  referenceRange?: ObservationReferenceRange[];
511
526
  }
512
527
 
528
+ /**
529
+ * The information determined as a result of making the observation, if
530
+ * the information has a simple value.
531
+ */
532
+ export type ObservationComponentValue = boolean | CodeableConcept | number | Period | Quantity | Range | Ratio | SampledData | string;
533
+
513
534
  /**
514
535
  * Guidance on how to interpret the value by comparison to a normal or
515
536
  * recommended range. Multiple reference ranges are interpreted as an
@@ -386,3 +386,11 @@ export interface ParametersParameter {
386
386
  */
387
387
  part?: ParametersParameter[];
388
388
  }
389
+
390
+ /**
391
+ * If the parameter is a data type.
392
+ */
393
+ export type ParametersParameterValue = Address | Age | Annotation | Attachment | boolean | CodeableConcept | Coding |
394
+ ContactDetail | ContactPoint | Contributor | Count | DataRequirement | Distance | Dosage | Duration | Expression |
395
+ HumanName | Identifier | Meta | Money | number | ParameterDefinition | Period | Quantity | Range | Ratio | Reference |
396
+ RelatedArtifact | SampledData | Signature | string | Timing | TriggerDefinition | UsageContext;
package/dist/Patient.d.ts CHANGED
@@ -207,6 +207,17 @@ export interface Patient {
207
207
  link?: PatientLink[];
208
208
  }
209
209
 
210
+ /**
211
+ * Indicates if the individual is deceased or not.
212
+ */
213
+ export type PatientDeceased = boolean | string;
214
+
215
+ /**
216
+ * Indicates whether the patient is part of a multiple (boolean) or
217
+ * indicates the actual birth order (integer).
218
+ */
219
+ export type PatientMultipleBirth = boolean | number;
220
+
210
221
  /**
211
222
  * A language which may be used to communicate with the patient about his
212
223
  * or her health.
@@ -328,6 +328,12 @@ export interface PlanDefinition {
328
328
  action?: PlanDefinitionAction[];
329
329
  }
330
330
 
331
+ /**
332
+ * A code or group definition that describes the intended subject of the
333
+ * plan definition.
334
+ */
335
+ export type PlanDefinitionSubject = CodeableConcept | Reference<Group>;
336
+
331
337
  /**
332
338
  * An action or group of actions to be taken as part of the plan.
333
339
  */
@@ -566,6 +572,24 @@ export interface PlanDefinitionAction {
566
572
  action?: PlanDefinitionAction[];
567
573
  }
568
574
 
575
+ /**
576
+ * A code or group definition that describes the intended subject of the
577
+ * action and its children, if any.
578
+ */
579
+ export type PlanDefinitionActionSubject = CodeableConcept | Reference<Group>;
580
+
581
+ /**
582
+ * An optional value describing when the action should be performed.
583
+ */
584
+ export type PlanDefinitionActionTiming = Age | Duration | Period | Range | string | Timing;
585
+
586
+ /**
587
+ * A reference to an ActivityDefinition that describes the action to be
588
+ * taken in detail, or a PlanDefinition that describes a series of
589
+ * actions to be taken.
590
+ */
591
+ export type PlanDefinitionActionDefinition = string;
592
+
569
593
  /**
570
594
  * An expression that describes applicability criteria or start/stop
571
595
  * conditions for the action.
@@ -799,6 +823,12 @@ export interface PlanDefinitionActionRelatedAction {
799
823
  offsetRange?: Range;
800
824
  }
801
825
 
826
+ /**
827
+ * A duration or range of durations to apply to the relationship. For
828
+ * example, 30-60 minutes before.
829
+ */
830
+ export type PlanDefinitionActionRelatedActionOffset = Duration | Range;
831
+
802
832
  /**
803
833
  * Goals that describe what the activities within the plan are intended
804
834
  * to achieve. For example, weight loss, restoring an activity of daily
@@ -967,3 +997,13 @@ export interface PlanDefinitionGoalTarget {
967
997
  */
968
998
  due?: Duration;
969
999
  }
1000
+
1001
+ /**
1002
+ * The target value of the measure to be achieved to signify fulfillment
1003
+ * of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both
1004
+ * values of the range can be specified. When a low value is missing, it
1005
+ * indicates that the goal is achieved at any value at or below the high
1006
+ * value. Similarly, if the high value is missing, it indicates that the
1007
+ * goal is achieved at any value at or above the low value.
1008
+ */
1009
+ export type PlanDefinitionGoalTargetDetail = CodeableConcept | Quantity | Range;
@@ -73,3 +73,8 @@ export interface Population {
73
73
  */
74
74
  physiologicalCondition?: CodeableConcept;
75
75
  }
76
+
77
+ /**
78
+ * The age of the specific population.
79
+ */
80
+ export type PopulationAge = CodeableConcept | Range;
@@ -321,6 +321,14 @@ export interface Procedure {
321
321
  usedCode?: CodeableConcept[];
322
322
  }
323
323
 
324
+ /**
325
+ * Estimated or actual date, date-time, period, or age when the procedure
326
+ * was performed. Allows a period to support complex procedures that
327
+ * span more than one date, and also allows for the length of the
328
+ * procedure to be captured.
329
+ */
330
+ export type ProcedurePerformed = Age | Period | Range | string;
331
+
324
332
  /**
325
333
  * A device that is implanted, removed or otherwise manipulated
326
334
  * (calibration, battery replacement, fitting a prosthesis, attaching a
package/dist/Project.d.ts CHANGED
@@ -219,6 +219,11 @@ export interface ProjectSetting {
219
219
  valueInteger?: number;
220
220
  }
221
221
 
222
+ /**
223
+ * The secret value.
224
+ */
225
+ export type ProjectSettingValue = boolean | number | string;
226
+
222
227
  /**
223
228
  * Web application or web site that is associated with the project.
224
229
  */
@@ -210,3 +210,9 @@ export interface ProjectMembershipAccessParameter {
210
210
  */
211
211
  valueReference?: Reference;
212
212
  }
213
+
214
+ /**
215
+ * Value of the parameter - must be one of a constrained set of the data
216
+ * types (see [Extensibility](extensibility.html) for a list).
217
+ */
218
+ export type ProjectMembershipAccessParameterValue = Reference | string;
@@ -175,6 +175,11 @@ export interface Provenance {
175
175
  signature?: Signature[];
176
176
  }
177
177
 
178
+ /**
179
+ * The period during which the activity occurred.
180
+ */
181
+ export type ProvenanceOccurred = Period | string;
182
+
178
183
  /**
179
184
  * An actor taking a role in an activity for which it can be assigned
180
185
  * some degree of responsibility for the activity taking place.
@@ -488,6 +488,11 @@ export interface QuestionnaireItemAnswerOption {
488
488
  initialSelected?: boolean;
489
489
  }
490
490
 
491
+ /**
492
+ * A potential answer that's allowed as the answer to this question.
493
+ */
494
+ export type QuestionnaireItemAnswerOptionValue = Coding | number | Reference<Resource> | string;
495
+
491
496
  /**
492
497
  * A constraint indicating that this item should only be enabled
493
498
  * (displayed/allow answers to be captured) when the specified condition
@@ -602,6 +607,12 @@ export interface QuestionnaireItemEnableWhen {
602
607
  answerReference?: Reference<Resource>;
603
608
  }
604
609
 
610
+ /**
611
+ * A value that the referenced question is tested using the specified
612
+ * operator in order for the item to be enabled.
613
+ */
614
+ export type QuestionnaireItemEnableWhenAnswer = boolean | Coding | number | Quantity | Reference<Resource> | string;
615
+
605
616
  /**
606
617
  * One or more values that should be pre-populated in the answer when
607
618
  * initially rendering the questionnaire for user input.
@@ -703,3 +714,8 @@ export interface QuestionnaireItemInitial {
703
714
  */
704
715
  valueReference?: Reference<Resource>;
705
716
  }
717
+
718
+ /**
719
+ * The actual value to for an initial answer.
720
+ */
721
+ export type QuestionnaireItemInitialValue = Attachment | boolean | Coding | number | Quantity | Reference<Resource> | string;
@@ -363,3 +363,9 @@ export interface QuestionnaireResponseItemAnswer {
363
363
  */
364
364
  item?: QuestionnaireResponseItem[];
365
365
  }
366
+
367
+ /**
368
+ * The answer (or one of the answers) provided by the respondent to the
369
+ * question.
370
+ */
371
+ export type QuestionnaireResponseItemAnswerValue = Attachment | boolean | Coding | number | Quantity | Reference<Resource> | string;
@@ -391,6 +391,11 @@ export interface RequestGroupAction {
391
391
  action?: RequestGroupAction[];
392
392
  }
393
393
 
394
+ /**
395
+ * An optional value describing when the action should be performed.
396
+ */
397
+ export type RequestGroupActionTiming = Age | Duration | Period | Range | string | Timing;
398
+
394
399
  /**
395
400
  * An expression that describes applicability criteria, or start/stop
396
401
  * conditions for the action.
@@ -508,3 +513,9 @@ export interface RequestGroupActionRelatedAction {
508
513
  */
509
514
  offsetRange?: Range;
510
515
  }
516
+
517
+ /**
518
+ * A duration or range of durations to apply to the relationship. For
519
+ * example, 30-60 minutes before.
520
+ */
521
+ export type RequestGroupActionRelatedActionOffset = Duration | Range;
@@ -339,3 +339,10 @@ export interface ResearchDefinition {
339
339
  */
340
340
  outcome?: Reference<ResearchElementDefinition>;
341
341
  }
342
+
343
+ /**
344
+ * The intended subjects for the ResearchDefinition. If this element is
345
+ * not provided, a Patient subject is assumed, but the subject of the
346
+ * ResearchDefinition can be anything.
347
+ */
348
+ export type ResearchDefinitionSubject = CodeableConcept | Reference<Group>;
@@ -341,6 +341,13 @@ export interface ResearchElementDefinition {
341
341
  characteristic: ResearchElementDefinitionCharacteristic[];
342
342
  }
343
343
 
344
+ /**
345
+ * The intended subjects for the ResearchElementDefinition. If this
346
+ * element is not provided, a Patient subject is assumed, but the subject
347
+ * of the ResearchElementDefinition can be anything.
348
+ */
349
+ export type ResearchElementDefinitionSubject = CodeableConcept | Reference<Group>;
350
+
344
351
  /**
345
352
  * A characteristic that defines the members of the research element.
346
353
  * Multiple characteristics are applied with &quot;and&quot; semantics.
@@ -503,3 +510,21 @@ export interface ResearchElementDefinitionCharacteristic {
503
510
  */
504
511
  participantEffectiveGroupMeasure?: 'mean' | 'median' | 'mean-of-mean' | 'mean-of-median' | 'median-of-mean' | 'median-of-median';
505
512
  }
513
+
514
+ /**
515
+ * Define members of the research element using Codes (such as condition,
516
+ * medication, or observation), Expressions ( using an expression
517
+ * language such as FHIRPath or CQL) or DataRequirements (such as
518
+ * Diabetes diagnosis onset in the last year).
519
+ */
520
+ export type ResearchElementDefinitionCharacteristicDefinition = CodeableConcept | DataRequirement | Expression | string;
521
+
522
+ /**
523
+ * Indicates what effective period the study covers.
524
+ */
525
+ export type ResearchElementDefinitionCharacteristicStudyEffective = Duration | Period | string | Timing;
526
+
527
+ /**
528
+ * Indicates what effective period the study covers.
529
+ */
530
+ export type ResearchElementDefinitionCharacteristicParticipantEffective = Duration | Period | string | Timing;
@@ -202,6 +202,11 @@ export interface RiskAssessment {
202
202
  note?: Annotation[];
203
203
  }
204
204
 
205
+ /**
206
+ * The date (and possibly time) the risk assessment was performed.
207
+ */
208
+ export type RiskAssessmentOccurrence = Period | string;
209
+
205
210
  /**
206
211
  * Describes the expected outcome for the subject.
207
212
  */
@@ -289,3 +294,14 @@ export interface RiskAssessmentPrediction {
289
294
  */
290
295
  rationale?: string;
291
296
  }
297
+
298
+ /**
299
+ * Indicates how likely the outcome is (in the specified timeframe).
300
+ */
301
+ export type RiskAssessmentPredictionProbability = number | Range;
302
+
303
+ /**
304
+ * Indicates the period of time or age range of the subject to which the
305
+ * specified probability applies.
306
+ */
307
+ export type RiskAssessmentPredictionWhen = Period | Range;
@@ -360,3 +360,21 @@ export interface ServiceRequest {
360
360
  */
361
361
  relevantHistory?: Reference<Provenance>[];
362
362
  }
363
+
364
+ /**
365
+ * An amount of service being requested which can be a quantity ( for
366
+ * example $1,500 home modification), a ratio ( for example, 20 half day
367
+ * visits per month), or a range (2.0 to 1.8 Gy per fraction).
368
+ */
369
+ export type ServiceRequestQuantity = Quantity | Range | Ratio;
370
+
371
+ /**
372
+ * The date/time at which the requested service should occur.
373
+ */
374
+ export type ServiceRequestOccurrence = Period | string | Timing;
375
+
376
+ /**
377
+ * If a CodeableConcept is present, it indicates the pre-condition for
378
+ * performing the service. For example &quot;pain&quot;, &quot;on flare-up&quot;, etc.
379
+ */
380
+ export type ServiceRequestAsNeeded = boolean | CodeableConcept;
@@ -273,6 +273,18 @@ export interface SpecimenCollection {
273
273
  fastingStatusDuration?: Duration;
274
274
  }
275
275
 
276
+ /**
277
+ * Time when specimen was collected from subject - the physiologically
278
+ * relevant time.
279
+ */
280
+ export type SpecimenCollectionCollected = Period | string;
281
+
282
+ /**
283
+ * Abstinence or reduction from some or all food, drink, or both, for a
284
+ * period of time prior to sample collection.
285
+ */
286
+ export type SpecimenCollectionFastingStatus = CodeableConcept | Duration;
287
+
276
288
  /**
277
289
  * The container holding the specimen. The recursive nature of
278
290
  * containers; i.e. blood in tube in tray in rack is not addressed here.
@@ -356,6 +368,12 @@ export interface SpecimenContainer {
356
368
  additiveReference?: Reference<Substance>;
357
369
  }
358
370
 
371
+ /**
372
+ * Introduced substance to preserve, maintain or enhance the specimen.
373
+ * Examples: Formalin, Citrate, EDTA.
374
+ */
375
+ export type SpecimenContainerAdditive = CodeableConcept | Reference<Substance>;
376
+
359
377
  /**
360
378
  * Details concerning processing and processing steps for the specimen.
361
379
  */
@@ -425,3 +443,10 @@ export interface SpecimenProcessing {
425
443
  */
426
444
  timePeriod?: Period;
427
445
  }
446
+
447
+ /**
448
+ * A record of the time or period when the specimen processing occurred.
449
+ * For example the time of sample fixation or the period of time the
450
+ * sample was in formalin.
451
+ */
452
+ export type SpecimenProcessingTime = Period | string;
@@ -302,6 +302,11 @@ export interface SpecimenDefinitionTypeTestedContainer {
302
302
  preparation?: string;
303
303
  }
304
304
 
305
+ /**
306
+ * The minimum volume to be conditioned in the container.
307
+ */
308
+ export type SpecimenDefinitionTypeTestedContainerMinimumVolume = Quantity | string;
309
+
305
310
  /**
306
311
  * Substance introduced in the kind of container to preserve, maintain or
307
312
  * enhance the specimen. Examples: Formalin, Citrate, EDTA.
@@ -356,6 +361,12 @@ export interface SpecimenDefinitionTypeTestedContainerAdditive {
356
361
  additiveReference?: Reference<Substance>;
357
362
  }
358
363
 
364
+ /**
365
+ * Substance introduced in the kind of container to preserve, maintain or
366
+ * enhance the specimen. Examples: Formalin, Citrate, EDTA.
367
+ */
368
+ export type SpecimenDefinitionTypeTestedContainerAdditiveAdditive = CodeableConcept | Reference<Substance>;
369
+
359
370
  /**
360
371
  * Set of instructions for preservation/transport of the specimen at a
361
372
  * defined temperature interval, prior the testing process.
@@ -853,6 +853,14 @@ export interface StructureMapGroupRuleSource {
853
853
  logMessage?: string;
854
854
  }
855
855
 
856
+ /**
857
+ * A value to use if there is no existing value in the source object.
858
+ */
859
+ export type StructureMapGroupRuleSourceDefaultValue = Address | Age | Annotation | Attachment | boolean |
860
+ CodeableConcept | Coding | ContactDetail | ContactPoint | Contributor | Count | DataRequirement | Distance | Dosage |
861
+ Duration | Expression | HumanName | Identifier | Meta | Money | number | ParameterDefinition | Period | Quantity | Range
862
+ | Ratio | Reference | RelatedArtifact | SampledData | Signature | string | Timing | TriggerDefinition | UsageContext;
863
+
856
864
  /**
857
865
  * Content to create because of this mapping rule.
858
866
  */
@@ -1001,6 +1009,11 @@ export interface StructureMapGroupRuleTargetParameter {
1001
1009
  valueDecimal?: number;
1002
1010
  }
1003
1011
 
1012
+ /**
1013
+ * Parameter value - variable or literal.
1014
+ */
1015
+ export type StructureMapGroupRuleTargetParameterValue = boolean | number | string;
1016
+
1004
1017
  /**
1005
1018
  * A structure definition used by this map. The structure definition may
1006
1019
  * describe instances that are converted, or the instances that are
@@ -189,6 +189,11 @@ export interface SubstanceIngredient {
189
189
  substanceReference?: Reference<Substance>;
190
190
  }
191
191
 
192
+ /**
193
+ * Another substance that is a component of this substance.
194
+ */
195
+ export type SubstanceIngredientSubstance = CodeableConcept | Reference<Substance>;
196
+
192
197
  /**
193
198
  * Substance may be used to describe a kind of substance, or a specific
194
199
  * package/container of the substance: an instance.
@@ -101,6 +101,14 @@ export interface SubstanceAmount {
101
101
  referenceRange?: SubstanceAmountReferenceRange;
102
102
  }
103
103
 
104
+ /**
105
+ * Used to capture quantitative values for a variety of elements. If only
106
+ * limits are given, the arithmetic mean would be the average. If only a
107
+ * single definite value for a given element is given, it would be
108
+ * captured in this field.
109
+ */
110
+ export type SubstanceAmountAmount = Quantity | Range | string;
111
+
104
112
  /**
105
113
  * Reference range of possible or expected values.
106
114
  */
@@ -384,3 +384,8 @@ export interface SubstanceReferenceInformationTarget {
384
384
  */
385
385
  source?: Reference<DocumentReference>[];
386
386
  }
387
+
388
+ /**
389
+ * Todo.
390
+ */
391
+ export type SubstanceReferenceInformationTargetAmount = Quantity | Range | string;
@@ -351,6 +351,11 @@ export interface SubstanceSpecificationMoiety {
351
351
  amountString?: string;
352
352
  }
353
353
 
354
+ /**
355
+ * Quantitative value for this moiety.
356
+ */
357
+ export type SubstanceSpecificationMoietyAmount = Quantity | string;
358
+
354
359
  /**
355
360
  * Names applicable to this substance.
356
361
  */
@@ -584,6 +589,17 @@ export interface SubstanceSpecificationProperty {
584
589
  amountString?: string;
585
590
  }
586
591
 
592
+ /**
593
+ * A substance upon which a defining property depends (e.g. for
594
+ * solubility: in water, in alcohol).
595
+ */
596
+ export type SubstanceSpecificationPropertyDefiningSubstance = CodeableConcept | Reference<SubstanceSpecification | Substance>;
597
+
598
+ /**
599
+ * Quantitative value for this property.
600
+ */
601
+ export type SubstanceSpecificationPropertyAmount = Quantity | string;
602
+
587
603
  /**
588
604
  * A link between this substance and another, with details of the
589
605
  * relationship.
@@ -694,6 +710,19 @@ export interface SubstanceSpecificationRelationship {
694
710
  source?: Reference<DocumentReference>[];
695
711
  }
696
712
 
713
+ /**
714
+ * A pointer to another substance, as a resource or just a
715
+ * representational code.
716
+ */
717
+ export type SubstanceSpecificationRelationshipSubstance = CodeableConcept | Reference<SubstanceSpecification>;
718
+
719
+ /**
720
+ * A numeric factor for the relationship, for instance to express that
721
+ * the salt of a substance has some percentage of the active substance in
722
+ * relation to some other.
723
+ */
724
+ export type SubstanceSpecificationRelationshipAmount = Quantity | Range | Ratio | string;
725
+
697
726
  /**
698
727
  * Structural information.
699
728
  */
@@ -178,6 +178,11 @@ export interface SupplyDelivery {
178
178
  receiver?: Reference<Practitioner | PractitionerRole>[];
179
179
  }
180
180
 
181
+ /**
182
+ * The date or time(s) the activity occurred.
183
+ */
184
+ export type SupplyDeliveryOccurrence = Period | string | Timing;
185
+
181
186
  /**
182
187
  * The item that is being delivered or has been supplied.
183
188
  */
@@ -238,3 +243,10 @@ export interface SupplyDeliverySuppliedItem {
238
243
  */
239
244
  itemReference?: Reference<Medication | Substance | Device>;
240
245
  }
246
+
247
+ /**
248
+ * Identifies the medication, substance or device being dispensed. This
249
+ * is either a link to a resource representing the details of the item or
250
+ * a code that identifies the item from a known list.
251
+ */
252
+ export type SupplyDeliverySuppliedItemItem = CodeableConcept | Reference<Medication | Substance | Device>;