@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
@@ -211,6 +211,18 @@ export interface SupplyRequest {
211
211
  deliverTo?: Reference<Organization | Location | Patient>;
212
212
  }
213
213
 
214
+ /**
215
+ * The item that is requested to be supplied. This is either a link to a
216
+ * resource representing the details of the item or a code that
217
+ * identifies the item from a known list.
218
+ */
219
+ export type SupplyRequestItem = CodeableConcept | Reference<Medication | Substance | Device>;
220
+
221
+ /**
222
+ * When the request should be fulfilled.
223
+ */
224
+ export type SupplyRequestOccurrence = Period | string | Timing;
225
+
214
226
  /**
215
227
  * Specific parameters for the ordered item. For example, the size of
216
228
  * the indicated item.
@@ -277,3 +289,8 @@ export interface SupplyRequestParameter {
277
289
  */
278
290
  valueBoolean?: boolean;
279
291
  }
292
+
293
+ /**
294
+ * The value of the device detail.
295
+ */
296
+ export type SupplyRequestParameterValue = boolean | CodeableConcept | Quantity | Range;
package/dist/Task.d.ts CHANGED
@@ -614,6 +614,14 @@ export interface TaskInput {
614
614
  valueMeta?: Meta;
615
615
  }
616
616
 
617
+ /**
618
+ * The value of the input parameter as a basic type.
619
+ */
620
+ export type TaskInputValue = Address | Age | Annotation | Attachment | boolean | CodeableConcept | Coding |
621
+ ContactDetail | ContactPoint | Contributor | Count | DataRequirement | Distance | Dosage | Duration | Expression |
622
+ HumanName | Identifier | Meta | Money | number | ParameterDefinition | Period | Quantity | Range | Ratio | Reference |
623
+ RelatedArtifact | SampledData | Signature | string | Timing | TriggerDefinition | UsageContext;
624
+
617
625
  /**
618
626
  * Outputs produced by the Task.
619
627
  */
@@ -910,6 +918,14 @@ export interface TaskOutput {
910
918
  valueMeta?: Meta;
911
919
  }
912
920
 
921
+ /**
922
+ * The value of the Output parameter as a basic type.
923
+ */
924
+ export type TaskOutputValue = Address | Age | Annotation | Attachment | boolean | CodeableConcept | Coding |
925
+ ContactDetail | ContactPoint | Contributor | Count | DataRequirement | Distance | Dosage | Duration | Expression |
926
+ HumanName | Identifier | Meta | Money | number | ParameterDefinition | Period | Quantity | Range | Ratio | Reference |
927
+ RelatedArtifact | SampledData | Signature | string | Timing | TriggerDefinition | UsageContext;
928
+
913
929
  /**
914
930
  * If the Task.focus is a request resource and the task is seeking
915
931
  * fulfillment (i.e. is asking for the request to be actioned), this
package/dist/Timing.d.ts CHANGED
@@ -210,3 +210,10 @@ export interface TimingRepeat {
210
210
  */
211
211
  offset?: number;
212
212
  }
213
+
214
+ /**
215
+ * Either a duration for the length of the timing schedule, a range of
216
+ * possible length, or outer bounds for start and/or end limits of the
217
+ * timing schedule.
218
+ */
219
+ export type TimingRepeatBounds = Duration | Period | Range;
@@ -78,3 +78,8 @@ export interface TriggerDefinition {
78
78
  */
79
79
  condition?: Expression;
80
80
  }
81
+
82
+ /**
83
+ * The timing of the event (if this is a periodic trigger).
84
+ */
85
+ export type TriggerDefinitionTiming = Reference<Schedule> | string | Timing;
@@ -72,3 +72,10 @@ export interface UsageContext {
72
72
  */
73
73
  valueReference?: Reference<PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization>;
74
74
  }
75
+
76
+ /**
77
+ * A value that defines the context specified in this context of use. The
78
+ * interpretation of the value is defined by the code.
79
+ */
80
+ export type UsageContextValue = CodeableConcept | Quantity | Range | Reference<PlanDefinition | ResearchStudy |
81
+ InsurancePlan | HealthcareService | Group | Location | Organization>;
@@ -183,6 +183,12 @@ export interface UserConfigurationOption {
183
183
  valueString?: string;
184
184
  }
185
185
 
186
+ /**
187
+ * Value of option - must be one of a constrained set of the data types
188
+ * (see [Extensibility](extensibility.html) for a list).
189
+ */
190
+ export type UserConfigurationOptionValue = boolean | number | string;
191
+
186
192
  /**
187
193
  * Shortcut links to URLs.
188
194
  */
@@ -828,3 +828,8 @@ export interface ValueSetExpansionParameter {
828
828
  */
829
829
  valueDateTime?: string;
830
830
  }
831
+
832
+ /**
833
+ * The value of the parameter.
834
+ */
835
+ export type ValueSetExpansionParameterValue = boolean | number | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "3.1.6",
3
+ "version": "3.1.8",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "keywords": [
6
6
  "medplum",