@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
package/dist/Dosage.d.ts CHANGED
@@ -130,6 +130,13 @@ export interface Dosage {
130
130
  maxDosePerLifetime?: Quantity;
131
131
  }
132
132
 
133
+ /**
134
+ * Indicates whether the Medication is only taken when needed within a
135
+ * specific dosing schedule (Boolean option), or it indicates the
136
+ * precondition for taking the Medication (CodeableConcept).
137
+ */
138
+ export type DosageAsNeeded = boolean | CodeableConcept;
139
+
133
140
  /**
134
141
  * The amount of medication administered.
135
142
  */
@@ -182,3 +189,13 @@ export interface DosageDoseAndRate {
182
189
  */
183
190
  rateQuantity?: Quantity;
184
191
  }
192
+
193
+ /**
194
+ * Amount of medication per dose.
195
+ */
196
+ export type DosageDoseAndRateDose = Quantity | Range;
197
+
198
+ /**
199
+ * Amount of medication per unit of time.
200
+ */
201
+ export type DosageDoseAndRateRate = Quantity | Range | Ratio;
@@ -2316,6 +2316,67 @@ export interface ElementDefinition {
2316
2316
  mapping?: ElementDefinitionMapping[];
2317
2317
  }
2318
2318
 
2319
+ /**
2320
+ * The value that should be used if there is no value stated in the
2321
+ * instance (e.g. 'if not otherwise specified, the abstract is false').
2322
+ */
2323
+ export type ElementDefinitionDefaultValue = Address | Age | Annotation | Attachment | boolean | CodeableConcept | Coding
2324
+ | ContactDetail | ContactPoint | Contributor | Count | DataRequirement | Distance | Dosage | Duration | Expression |
2325
+ HumanName | Identifier | Meta | Money | number | ParameterDefinition | Period | Quantity | Range | Ratio | Reference |
2326
+ RelatedArtifact | SampledData | Signature | string | Timing | TriggerDefinition | UsageContext;
2327
+
2328
+ /**
2329
+ * Specifies a value that SHALL be exactly the value for this element in
2330
+ * the instance. For purposes of comparison, non-significant whitespace
2331
+ * is ignored, and all values must be an exact match (case and accent
2332
+ * sensitive). Missing elements/attributes must also be missing.
2333
+ */
2334
+ export type ElementDefinitionFixed = Address | Age | Annotation | Attachment | boolean | CodeableConcept | Coding |
2335
+ ContactDetail | ContactPoint | Contributor | Count | DataRequirement | Distance | Dosage | Duration | Expression |
2336
+ HumanName | Identifier | Meta | Money | number | ParameterDefinition | Period | Quantity | Range | Ratio | Reference |
2337
+ RelatedArtifact | SampledData | Signature | string | Timing | TriggerDefinition | UsageContext;
2338
+
2339
+ /**
2340
+ * Specifies a value that the value in the instance SHALL follow - that
2341
+ * is, any value in the pattern must be found in the instance. Other
2342
+ * additional values may be found too. This is effectively constraint by
2343
+ * example.
2344
+ *
2345
+ * When pattern[x] is used to constrain a primitive, it means that the
2346
+ * value provided in the pattern[x] must match the instance value
2347
+ * exactly.
2348
+ *
2349
+ * When pattern[x] is used to constrain an array, it means that each
2350
+ * element provided in the pattern[x] array must (recursively) match at
2351
+ * least one element from the instance array.
2352
+ *
2353
+ * When pattern[x] is used to constrain a complex object, it means that
2354
+ * each property in the pattern must be present in the complex object,
2355
+ * and its value must recursively match -- i.e.,
2356
+ *
2357
+ * 1. If primitive: it must match exactly the pattern value
2358
+ * 2. If a complex object: it must match (recursively) the pattern value
2359
+ * 3. If an array: it must match (recursively) the pattern value.
2360
+ */
2361
+ export type ElementDefinitionPattern = Address | Age | Annotation | Attachment | boolean | CodeableConcept | Coding |
2362
+ ContactDetail | ContactPoint | Contributor | Count | DataRequirement | Distance | Dosage | Duration | Expression |
2363
+ HumanName | Identifier | Meta | Money | number | ParameterDefinition | Period | Quantity | Range | Ratio | Reference |
2364
+ RelatedArtifact | SampledData | Signature | string | Timing | TriggerDefinition | UsageContext;
2365
+
2366
+ /**
2367
+ * The minimum allowed value for the element. The value is inclusive.
2368
+ * This is allowed for the types date, dateTime, instant, time, decimal,
2369
+ * integer, and Quantity.
2370
+ */
2371
+ export type ElementDefinitionMinValue = number | Quantity | string;
2372
+
2373
+ /**
2374
+ * The maximum allowed value for the element. The value is inclusive.
2375
+ * This is allowed for the types date, dateTime, instant, time, decimal,
2376
+ * integer, and Quantity.
2377
+ */
2378
+ export type ElementDefinitionMaxValue = number | Quantity | string;
2379
+
2319
2380
  /**
2320
2381
  * Information about the base definition of the element, provided to make
2321
2382
  * it unnecessary for tools to trace the deviation of the element through
@@ -2798,6 +2859,15 @@ export interface ElementDefinitionExample {
2798
2859
  valueMeta?: Meta;
2799
2860
  }
2800
2861
 
2862
+ /**
2863
+ * The actual value for the element, which must be one of the types
2864
+ * allowed for this element.
2865
+ */
2866
+ export type ElementDefinitionExampleValue = Address | Age | Annotation | Attachment | boolean | CodeableConcept | Coding
2867
+ | ContactDetail | ContactPoint | Contributor | Count | DataRequirement | Distance | Dosage | Duration | Expression |
2868
+ HumanName | Identifier | Meta | Money | number | ParameterDefinition | Period | Quantity | Range | Ratio | Reference |
2869
+ RelatedArtifact | SampledData | Signature | string | Timing | TriggerDefinition | UsageContext;
2870
+
2801
2871
  /**
2802
2872
  * Identifies a concept from an external specification that roughly
2803
2873
  * corresponds to this element.
@@ -295,3 +295,9 @@ export interface EventDefinition {
295
295
  */
296
296
  trigger: TriggerDefinition[];
297
297
  }
298
+
299
+ /**
300
+ * A code or group definition that describes the intended subject of the
301
+ * event definition.
302
+ */
303
+ export type EventDefinitionSubject = CodeableConcept | Reference<Group>;
@@ -429,3 +429,16 @@ export interface EvidenceVariableCharacteristic {
429
429
  */
430
430
  groupMeasure?: 'mean' | 'median' | 'mean-of-mean' | 'mean-of-median' | 'median-of-mean' | 'median-of-median';
431
431
  }
432
+
433
+ /**
434
+ * Define members of the evidence element using Codes (such as condition,
435
+ * medication, or observation), Expressions ( using an expression
436
+ * language such as FHIRPath or CQL) or DataRequirements (such as
437
+ * Diabetes diagnosis onset in the last year).
438
+ */
439
+ export type EvidenceVariableCharacteristicDefinition = CodeableConcept | DataRequirement | Expression | Reference<Group> | string | TriggerDefinition;
440
+
441
+ /**
442
+ * Indicates what effective period the study covers.
443
+ */
444
+ export type EvidenceVariableCharacteristicParticipantEffective = Duration | Period | string | Timing;
@@ -432,6 +432,11 @@ export interface ExplanationOfBenefitAccident {
432
432
  locationReference?: Reference<Location>;
433
433
  }
434
434
 
435
+ /**
436
+ * The physical location of the accident event.
437
+ */
438
+ export type ExplanationOfBenefitAccidentLocation = Address | Reference<Location>;
439
+
435
440
  /**
436
441
  * The first-tier service adjudications for payor added product or
437
442
  * service lines.
@@ -595,6 +600,17 @@ export interface ExplanationOfBenefitAddItem {
595
600
  detail?: ExplanationOfBenefitAddItemDetail[];
596
601
  }
597
602
 
603
+ /**
604
+ * The date or dates when the service or product was supplied, performed
605
+ * or completed.
606
+ */
607
+ export type ExplanationOfBenefitAddItemServiced = Period | string;
608
+
609
+ /**
610
+ * Where the product or service was provided.
611
+ */
612
+ export type ExplanationOfBenefitAddItemLocation = Address | CodeableConcept | Reference<Location>;
613
+
598
614
  /**
599
615
  * The second-tier service adjudications for payor added services.
600
616
  */
@@ -939,6 +955,16 @@ export interface ExplanationOfBenefitBenefitBalanceFinancial {
939
955
  usedMoney?: Money;
940
956
  }
941
957
 
958
+ /**
959
+ * The quantity of the benefit which is permitted under the coverage.
960
+ */
961
+ export type ExplanationOfBenefitBenefitBalanceFinancialAllowed = Money | number | string;
962
+
963
+ /**
964
+ * The quantity of the benefit which have been consumed to date.
965
+ */
966
+ export type ExplanationOfBenefitBenefitBalanceFinancialUsed = Money | number;
967
+
942
968
  /**
943
969
  * The members of the team who provided the products and services.
944
970
  */
@@ -1084,6 +1110,12 @@ export interface ExplanationOfBenefitDiagnosis {
1084
1110
  packageCode?: CodeableConcept;
1085
1111
  }
1086
1112
 
1113
+ /**
1114
+ * The nature of illness or problem in a coded form or as a reference to
1115
+ * an external defined Condition.
1116
+ */
1117
+ export type ExplanationOfBenefitDiagnosisDiagnosis = CodeableConcept | Reference<Condition>;
1118
+
1087
1119
  /**
1088
1120
  * Financial instruments for reimbursement for the health care products
1089
1121
  * and services specified on the claim.
@@ -1338,6 +1370,17 @@ export interface ExplanationOfBenefitItem {
1338
1370
  detail?: ExplanationOfBenefitItemDetail[];
1339
1371
  }
1340
1372
 
1373
+ /**
1374
+ * The date or dates when the service or product was supplied, performed
1375
+ * or completed.
1376
+ */
1377
+ export type ExplanationOfBenefitItemServiced = Period | string;
1378
+
1379
+ /**
1380
+ * Where the product or service was provided.
1381
+ */
1382
+ export type ExplanationOfBenefitItemLocation = Address | CodeableConcept | Reference<Location>;
1383
+
1341
1384
  /**
1342
1385
  * If this item is a group then the values here are a summary of the
1343
1386
  * adjudication of the detail items. If this item is a simple product or
@@ -1852,6 +1895,12 @@ export interface ExplanationOfBenefitProcedure {
1852
1895
  udi?: Reference<Device>[];
1853
1896
  }
1854
1897
 
1898
+ /**
1899
+ * The code or reference to a Procedure resource which identifies the
1900
+ * clinical intervention performed.
1901
+ */
1902
+ export type ExplanationOfBenefitProcedureProcedure = CodeableConcept | Reference<Procedure>;
1903
+
1855
1904
  /**
1856
1905
  * A note that describes or explains adjudication results in a human
1857
1906
  * readable form.
@@ -2083,6 +2132,18 @@ export interface ExplanationOfBenefitSupportingInfo {
2083
2132
  reason?: Coding;
2084
2133
  }
2085
2134
 
2135
+ /**
2136
+ * The date when or period to which this information refers.
2137
+ */
2138
+ export type ExplanationOfBenefitSupportingInfoTiming = Period | string;
2139
+
2140
+ /**
2141
+ * Additional data or information such as resources, documents, images
2142
+ * etc. including references to the data or the actual inclusion of the
2143
+ * data.
2144
+ */
2145
+ export type ExplanationOfBenefitSupportingInfoValue = Attachment | boolean | Quantity | Reference<Resource> | string;
2146
+
2086
2147
  /**
2087
2148
  * Categorized monetary totals for the adjudication.
2088
2149
  */
@@ -362,3 +362,12 @@ export interface Extension {
362
362
  */
363
363
  valueMeta?: Meta;
364
364
  }
365
+
366
+ /**
367
+ * Value of extension - must be one of a constrained set of the data
368
+ * types (see [Extensibility](extensibility.html) for a list).
369
+ */
370
+ export type ExtensionValue = Address | Age | Annotation | Attachment | boolean | CodeableConcept | Coding |
371
+ ContactDetail | ContactPoint | Contributor | Count | DataRequirement | Distance | Dosage | Duration | Expression |
372
+ HumanName | Identifier | Meta | Money | number | ParameterDefinition | Period | Quantity | Range | Ratio | Reference |
373
+ RelatedArtifact | SampledData | Signature | string | Timing | TriggerDefinition | UsageContext;
@@ -260,6 +260,23 @@ export interface FamilyMemberHistory {
260
260
  condition?: FamilyMemberHistoryCondition[];
261
261
  }
262
262
 
263
+ /**
264
+ * The actual or approximate date of birth of the relative.
265
+ */
266
+ export type FamilyMemberHistoryBorn = Period | string;
267
+
268
+ /**
269
+ * The age of the relative at the time the family member history is
270
+ * recorded.
271
+ */
272
+ export type FamilyMemberHistoryAge = Age | Range | string;
273
+
274
+ /**
275
+ * Deceased flag or the actual or approximate age of the relative at the
276
+ * time of death for the family member history record.
277
+ */
278
+ export type FamilyMemberHistoryDeceased = Age | boolean | Range | string;
279
+
263
280
  /**
264
281
  * The significant Conditions (or condition) that the family member had.
265
282
  * This is a repeating section to allow a system to represent more than
@@ -357,3 +374,10 @@ export interface FamilyMemberHistoryCondition {
357
374
  */
358
375
  note?: Annotation[];
359
376
  }
377
+
378
+ /**
379
+ * Either the age of onset, range of approximate age or descriptive
380
+ * string can be recorded. For conditions with multiple occurrences,
381
+ * this describes the first known occurrence.
382
+ */
383
+ export type FamilyMemberHistoryConditionOnset = Age | Period | Range | string;
package/dist/Goal.d.ts CHANGED
@@ -208,6 +208,11 @@ export interface Goal {
208
208
  outcomeReference?: Reference<Observation>[];
209
209
  }
210
210
 
211
+ /**
212
+ * The date or event after which the goal should begin being pursued.
213
+ */
214
+ export type GoalStart = CodeableConcept | string;
215
+
211
216
  /**
212
217
  * Indicates what should be done by when.
213
218
  */
@@ -343,3 +348,20 @@ export interface GoalTarget {
343
348
  */
344
349
  dueDuration?: Duration;
345
350
  }
351
+
352
+ /**
353
+ * The target value of the focus to be achieved to signify the
354
+ * fulfillment of the goal, e.g. 150 pounds, 7.0%. Either the high or low
355
+ * or both values of the range can be specified. When a low value is
356
+ * missing, it indicates that the goal is achieved at any focus value at
357
+ * or below the high value. Similarly, if the high value is missing, it
358
+ * indicates that the goal is achieved at any focus value at or above the
359
+ * low value.
360
+ */
361
+ export type GoalTargetDetail = boolean | CodeableConcept | number | Quantity | Range | Ratio | string;
362
+
363
+ /**
364
+ * Indicates either the date or the duration after start by which the
365
+ * goal should be met.
366
+ */
367
+ export type GoalTargetDue = Duration | string;
package/dist/Group.d.ts CHANGED
@@ -255,6 +255,12 @@ export interface GroupCharacteristic {
255
255
  period?: Period;
256
256
  }
257
257
 
258
+ /**
259
+ * The value of the trait that holds (or does not hold - see 'exclude')
260
+ * for members of the group.
261
+ */
262
+ export type GroupCharacteristicValue = boolean | CodeableConcept | Quantity | Range | Reference;
263
+
258
264
  /**
259
265
  * Identifies the resource instances that are members of the group.
260
266
  */
@@ -226,3 +226,9 @@ export interface GuidanceResponse {
226
226
  */
227
227
  dataRequirement?: DataRequirement[];
228
228
  }
229
+
230
+ /**
231
+ * An identifier, CodeableConcept or canonical reference to the guidance
232
+ * that was requested.
233
+ */
234
+ export type GuidanceResponseModule = CodeableConcept | string;
@@ -267,6 +267,11 @@ export interface Immunization {
267
267
  protocolApplied?: ImmunizationProtocolApplied[];
268
268
  }
269
269
 
270
+ /**
271
+ * Date vaccine administered or was to be administered.
272
+ */
273
+ export type ImmunizationOccurrence = string;
274
+
270
275
  /**
271
276
  * Educational material presented to the patient (or guardian) at the
272
277
  * time of vaccine administration.
@@ -462,6 +467,16 @@ export interface ImmunizationProtocolApplied {
462
467
  seriesDosesString?: string;
463
468
  }
464
469
 
470
+ /**
471
+ * Nominal position in a series.
472
+ */
473
+ export type ImmunizationProtocolAppliedDoseNumber = number | string;
474
+
475
+ /**
476
+ * The recommended number of doses to achieve immunity.
477
+ */
478
+ export type ImmunizationProtocolAppliedSeriesDoses = number | string;
479
+
465
480
  /**
466
481
  * Categorical data indicating that an adverse event is associated in
467
482
  * time to an immunization.
@@ -177,3 +177,13 @@ export interface ImmunizationEvaluation {
177
177
  */
178
178
  seriesDosesString?: string;
179
179
  }
180
+
181
+ /**
182
+ * Nominal position in a series.
183
+ */
184
+ export type ImmunizationEvaluationDoseNumber = number | string;
185
+
186
+ /**
187
+ * The recommended number of doses to achieve immunity.
188
+ */
189
+ export type ImmunizationEvaluationSeriesDoses = number | string;
@@ -244,6 +244,17 @@ export interface ImmunizationRecommendationRecommendation {
244
244
  supportingPatientInformation?: Reference<Resource>[];
245
245
  }
246
246
 
247
+ /**
248
+ * Nominal position of the recommended dose in a series (e.g. dose 2 is
249
+ * the next recommended dose).
250
+ */
251
+ export type ImmunizationRecommendationRecommendationDoseNumber = number | string;
252
+
253
+ /**
254
+ * The recommended number of doses to achieve immunity.
255
+ */
256
+ export type ImmunizationRecommendationRecommendationSeriesDoses = number | string;
257
+
247
258
  /**
248
259
  * Vaccine date recommendations. For example, earliest date to
249
260
  * administer, latest date to administer, etc.
@@ -483,6 +483,11 @@ export interface ImplementationGuideDefinitionPage {
483
483
  page?: ImplementationGuideDefinitionPage[];
484
484
  }
485
485
 
486
+ /**
487
+ * The source address for the page.
488
+ */
489
+ export type ImplementationGuideDefinitionPageName = Reference<Binary> | string;
490
+
486
491
  /**
487
492
  * Defines how IG is built by tools.
488
493
  */
@@ -627,6 +632,13 @@ export interface ImplementationGuideDefinitionResource {
627
632
  groupingId?: string;
628
633
  }
629
634
 
635
+ /**
636
+ * If true or a reference, indicates the resource is an example instance.
637
+ * If a reference is present, indicates that the example is an example
638
+ * of the specified profile.
639
+ */
640
+ export type ImplementationGuideDefinitionResourceExample = boolean | string;
641
+
630
642
  /**
631
643
  * A template for building resources.
632
644
  */
@@ -991,3 +1003,10 @@ export interface ImplementationGuideManifestResource {
991
1003
  */
992
1004
  relativePath?: string;
993
1005
  }
1006
+
1007
+ /**
1008
+ * If true or a reference, indicates the resource is an example instance.
1009
+ * If a reference is present, indicates that the example is an example
1010
+ * of the specified profile.
1011
+ */
1012
+ export type ImplementationGuideManifestResourceExample = boolean | string;
package/dist/Invoice.d.ts CHANGED
@@ -274,6 +274,14 @@ export interface InvoiceLineItem {
274
274
  priceComponent?: InvoiceLineItemPriceComponent[];
275
275
  }
276
276
 
277
+ /**
278
+ * The ChargeItem contains information such as the billing code, date,
279
+ * amount etc. If no further details are required for the lineItem,
280
+ * inline billing codes can be added using the CodeableConcept data type
281
+ * instead of the Reference.
282
+ */
283
+ export type InvoiceLineItemChargeItem = CodeableConcept | Reference<ChargeItem>;
284
+
277
285
  /**
278
286
  * The price for a ChargeItem may be calculated as a base price with
279
287
  * surcharges/deductions that apply in certain conditions. A
package/dist/Library.d.ts CHANGED
@@ -322,3 +322,9 @@ export interface Library {
322
322
  */
323
323
  content?: Attachment[];
324
324
  }
325
+
326
+ /**
327
+ * A code or group definition that describes the intended subject of the
328
+ * contents of the library.
329
+ */
330
+ export type LibrarySubject = CodeableConcept | Reference<Group>;
package/dist/Measure.d.ts CHANGED
@@ -383,6 +383,13 @@ export interface Measure {
383
383
  supplementalData?: MeasureSupplementalData[];
384
384
  }
385
385
 
386
+ /**
387
+ * The intended subjects for the measure. If this element is not
388
+ * provided, a Patient subject is assumed, but the subject of the measure
389
+ * can be anything.
390
+ */
391
+ export type MeasureSubject = CodeableConcept | Reference<Group>;
392
+
386
393
  /**
387
394
  * A group of population criteria for the measure.
388
395
  */
package/dist/Media.d.ts CHANGED
@@ -241,3 +241,8 @@ export interface Media {
241
241
  */
242
242
  note?: Annotation[];
243
243
  }
244
+
245
+ /**
246
+ * The date and time(s) at which the media was collected.
247
+ */
248
+ export type MediaCreated = Period | string;
@@ -265,3 +265,9 @@ export interface MedicationIngredient {
265
265
  */
266
266
  strength?: Ratio;
267
267
  }
268
+
269
+ /**
270
+ * The actual ingredient - either a substance (simple ingredient) or
271
+ * another medication of a medication.
272
+ */
273
+ export type MedicationIngredientItem = CodeableConcept | Reference<Substance | Medication>;
@@ -252,6 +252,22 @@ export interface MedicationAdministration {
252
252
  eventHistory?: Reference<Provenance>[];
253
253
  }
254
254
 
255
+ /**
256
+ * Identifies the medication that was administered. This is either a link
257
+ * to a resource representing the details of the medication or a simple
258
+ * attribute carrying a code that identifies the medication from a known
259
+ * list of medications.
260
+ */
261
+ export type MedicationAdministrationMedication = CodeableConcept | Reference<Medication>;
262
+
263
+ /**
264
+ * A specific date/time or interval of time during which the
265
+ * administration took place (or did not take place, when the 'notGiven'
266
+ * attribute is true). For many administrations, such as swallowing a
267
+ * tablet the use of dateTime is more appropriate.
268
+ */
269
+ export type MedicationAdministrationEffective = Period | string;
270
+
255
271
  /**
256
272
  * Describes the medication dosage information details e.g. dose, rate,
257
273
  * site, route, etc.
@@ -349,6 +365,15 @@ export interface MedicationAdministrationDosage {
349
365
  rateQuantity?: Quantity;
350
366
  }
351
367
 
368
+ /**
369
+ * Identifies the speed with which the medication was or will be
370
+ * introduced into the patient. Typically, the rate for an infusion e.g.
371
+ * 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per
372
+ * unit of time, e.g. 500 ml per 2 hours. Other examples: 200 mcg/min
373
+ * or 200 mcg/1 minute; 1 liter/8 hours.
374
+ */
375
+ export type MedicationAdministrationDosageRate = Quantity | Ratio;
376
+
352
377
  /**
353
378
  * Indicates who or what performed the medication administration and how
354
379
  * they were involved.
@@ -275,6 +275,19 @@ export interface MedicationDispense {
275
275
  eventHistory?: Reference<Provenance>[];
276
276
  }
277
277
 
278
+ /**
279
+ * Indicates the reason why a dispense was not performed.
280
+ */
281
+ export type MedicationDispenseStatusReason = CodeableConcept | Reference<DetectedIssue>;
282
+
283
+ /**
284
+ * Identifies the medication being administered. This is either a link to
285
+ * a resource representing the details of the medication or a simple
286
+ * attribute carrying a code that identifies the medication from a known
287
+ * list of medications.
288
+ */
289
+ export type MedicationDispenseMedication = CodeableConcept | Reference<Medication>;
290
+
278
291
  /**
279
292
  * Indicates who or what performed the event.
280
293
  */
@@ -301,6 +301,12 @@ export interface MedicationKnowledgeAdministrationGuidelines {
301
301
  patientCharacteristics?: MedicationKnowledgeAdministrationGuidelinesPatientCharacteristics[];
302
302
  }
303
303
 
304
+ /**
305
+ * Indication for use that apply to the specific administration
306
+ * guidelines.
307
+ */
308
+ export type MedicationKnowledgeAdministrationGuidelinesIndication = CodeableConcept | Reference<ObservationDefinition>;
309
+
304
310
  /**
305
311
  * Dosage for the medication for the specific guidelines.
306
312
  */
@@ -412,6 +418,12 @@ export interface MedicationKnowledgeAdministrationGuidelinesPatientCharacteristi
412
418
  value?: string[];
413
419
  }
414
420
 
421
+ /**
422
+ * Specific characteristic that is relevant to the administration
423
+ * guideline (e.g. height, weight, gender).
424
+ */
425
+ export type MedicationKnowledgeAdministrationGuidelinesPatientCharacteristicsCharacteristic = CodeableConcept | Quantity;
426
+
415
427
  /**
416
428
  * The price of the medication.
417
429
  */
@@ -537,6 +549,11 @@ export interface MedicationKnowledgeDrugCharacteristic {
537
549
  valueBase64Binary?: string;
538
550
  }
539
551
 
552
+ /**
553
+ * Description of the characteristic.
554
+ */
555
+ export type MedicationKnowledgeDrugCharacteristicValue = CodeableConcept | Quantity | string;
556
+
540
557
  /**
541
558
  * Identifies a particular constituent of interest in the product.
542
559
  */
@@ -603,6 +620,12 @@ export interface MedicationKnowledgeIngredient {
603
620
  strength?: Ratio;
604
621
  }
605
622
 
623
+ /**
624
+ * The actual ingredient - either a substance (simple ingredient) or
625
+ * another medication.
626
+ */
627
+ export type MedicationKnowledgeIngredientItem = CodeableConcept | Reference<Substance>;
628
+
606
629
  /**
607
630
  * The time course of drug absorption, distribution, metabolism and
608
631
  * excretion of a medication from the body.
@@ -346,6 +346,21 @@ export interface MedicationRequest {
346
346
  eventHistory?: Reference<Provenance>[];
347
347
  }
348
348
 
349
+ /**
350
+ * Indicates if this record was captured as a secondary 'reported' record
351
+ * rather than as an original primary source-of-truth record. It may
352
+ * also indicate the source of the report.
353
+ */
354
+ export type MedicationRequestReported = boolean | Reference<Patient | Practitioner | PractitionerRole | RelatedPerson | Organization>;
355
+
356
+ /**
357
+ * Identifies the medication being requested. This is a link to a
358
+ * resource that represents the medication which may be the details of
359
+ * the medication or simply an attribute carrying a code that identifies
360
+ * the medication from a known list of medications.
361
+ */
362
+ export type MedicationRequestMedication = CodeableConcept | Reference<Medication>;
363
+
349
364
  /**
350
365
  * Indicates the specific details for the dispense or medication supply
351
366
  * part of a medication request (also known as a Medication Prescription
@@ -552,3 +567,9 @@ export interface MedicationRequestSubstitution {
552
567
  */
553
568
  reason?: CodeableConcept;
554
569
  }
570
+
571
+ /**
572
+ * True if the prescriber allows a different drug to be dispensed from
573
+ * what was prescribed.
574
+ */
575
+ export type MedicationRequestSubstitutionAllowed = boolean | CodeableConcept;
@@ -260,3 +260,18 @@ export interface MedicationStatement {
260
260
  */
261
261
  dosage?: Dosage[];
262
262
  }
263
+
264
+ /**
265
+ * Identifies the medication being administered. This is either a link to
266
+ * a resource representing the details of the medication or a simple
267
+ * attribute carrying a code that identifies the medication from a known
268
+ * list of medications.
269
+ */
270
+ export type MedicationStatementMedication = CodeableConcept | Reference<Medication>;
271
+
272
+ /**
273
+ * The interval of time during which it is being asserted that the
274
+ * patient is/was/will be taking the medication (or was not taking, when
275
+ * the MedicationStatement.taken element is No).
276
+ */
277
+ export type MedicationStatementEffective = Period | string;