@medplum/fhirtypes 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/README.md +61 -0
  2. package/dist/AccessPolicy.d.ts +95 -0
  3. package/dist/Account.d.ts +286 -0
  4. package/dist/ActivityDefinition.d.ts +580 -0
  5. package/dist/Address.d.ts +93 -0
  6. package/dist/AdverseEvent.d.ts +353 -0
  7. package/dist/Age.d.ts +60 -0
  8. package/dist/AllergyIntolerance.d.ts +329 -0
  9. package/dist/Annotation.d.ts +54 -0
  10. package/dist/Appointment.d.ts +330 -0
  11. package/dist/AppointmentResponse.d.ts +154 -0
  12. package/dist/Attachment.d.ts +74 -0
  13. package/dist/AuditEvent.d.ts +532 -0
  14. package/dist/Basic.d.ts +130 -0
  15. package/dist/Binary.d.ts +78 -0
  16. package/dist/BiologicallyDerivedProduct.d.ts +416 -0
  17. package/dist/BodyStructure.d.ts +142 -0
  18. package/dist/Bot.d.ts +64 -0
  19. package/dist/Bundle.d.ts +438 -0
  20. package/dist/CapabilityStatement.d.ts +1193 -0
  21. package/dist/CarePlan.d.ts +518 -0
  22. package/dist/CareTeam.d.ts +247 -0
  23. package/dist/CatalogEntry.d.ts +230 -0
  24. package/dist/ChargeItem.d.ts +338 -0
  25. package/dist/ChargeItemDefinition.d.ts +460 -0
  26. package/dist/Claim.d.ts +1269 -0
  27. package/dist/ClaimResponse.d.ts +1204 -0
  28. package/dist/ClientApplication.d.ts +61 -0
  29. package/dist/ClinicalImpression.d.ts +355 -0
  30. package/dist/CodeSystem.d.ts +627 -0
  31. package/dist/CodeableConcept.d.ts +43 -0
  32. package/dist/Coding.d.ts +63 -0
  33. package/dist/Communication.d.ts +309 -0
  34. package/dist/CommunicationRequest.d.ts +306 -0
  35. package/dist/CompartmentDefinition.d.ts +253 -0
  36. package/dist/Composition.d.ts +494 -0
  37. package/dist/ConceptMap.d.ts +596 -0
  38. package/dist/Condition.d.ts +379 -0
  39. package/dist/Consent.d.ts +529 -0
  40. package/dist/ContactDetail.d.ts +41 -0
  41. package/dist/ContactPoint.d.ts +60 -0
  42. package/dist/Contract.d.ts +1676 -0
  43. package/dist/Contributor.d.ts +48 -0
  44. package/dist/Count.d.ts +62 -0
  45. package/dist/Coverage.d.ts +380 -0
  46. package/dist/CoverageEligibilityRequest.d.ts +468 -0
  47. package/dist/CoverageEligibilityResponse.d.ts +507 -0
  48. package/dist/DataRequirement.d.ts +276 -0
  49. package/dist/DetectedIssue.d.ts +293 -0
  50. package/dist/Device.d.ts +570 -0
  51. package/dist/DeviceDefinition.d.ts +563 -0
  52. package/dist/DeviceMetric.d.ts +231 -0
  53. package/dist/DeviceRequest.d.ts +347 -0
  54. package/dist/DeviceUseStatement.d.ts +198 -0
  55. package/dist/DiagnosticReport.d.ts +294 -0
  56. package/dist/Distance.d.ts +60 -0
  57. package/dist/DocumentManifest.d.ts +229 -0
  58. package/dist/DocumentReference.d.ts +403 -0
  59. package/dist/Dosage.d.ts +184 -0
  60. package/dist/Duration.d.ts +59 -0
  61. package/dist/EffectEvidenceSynthesis.d.ts +686 -0
  62. package/dist/Element.d.ts +29 -0
  63. package/dist/ElementDefinition.d.ts +3010 -0
  64. package/dist/Encounter.d.ts +643 -0
  65. package/dist/Endpoint.d.ts +166 -0
  66. package/dist/EnrollmentRequest.d.ts +135 -0
  67. package/dist/EnrollmentResponse.d.ts +140 -0
  68. package/dist/EpisodeOfCare.d.ts +286 -0
  69. package/dist/EventDefinition.d.ts +297 -0
  70. package/dist/Evidence.d.ts +295 -0
  71. package/dist/EvidenceVariable.d.ts +431 -0
  72. package/dist/ExampleScenario.d.ts +728 -0
  73. package/dist/ExplanationOfBenefit.d.ts +2140 -0
  74. package/dist/Expression.d.ts +58 -0
  75. package/dist/Extension.d.ts +365 -0
  76. package/dist/FamilyMemberHistory.d.ts +359 -0
  77. package/dist/Flag.d.ts +155 -0
  78. package/dist/Goal.d.ts +345 -0
  79. package/dist/GraphDefinition.d.ts +408 -0
  80. package/dist/Group.d.ts +315 -0
  81. package/dist/GuidanceResponse.d.ts +228 -0
  82. package/dist/HealthcareService.d.ts +415 -0
  83. package/dist/HumanName.d.ts +73 -0
  84. package/dist/Identifier.d.ts +67 -0
  85. package/dist/ImagingStudy.d.ts +472 -0
  86. package/dist/Immunization.d.ts +520 -0
  87. package/dist/ImmunizationEvaluation.d.ts +179 -0
  88. package/dist/ImmunizationRecommendation.d.ts +298 -0
  89. package/dist/ImplementationGuide.d.ts +944 -0
  90. package/dist/InsurancePlan.d.ts +719 -0
  91. package/dist/Invoice.d.ts +399 -0
  92. package/dist/JsonWebKey.d.ts +126 -0
  93. package/dist/Library.d.ts +324 -0
  94. package/dist/Linkage.d.ts +170 -0
  95. package/dist/List.d.ts +236 -0
  96. package/dist/Location.d.ts +324 -0
  97. package/dist/Login.d.ts +146 -0
  98. package/dist/MarketingStatus.d.ts +96 -0
  99. package/dist/Measure.d.ts +715 -0
  100. package/dist/MeasureReport.d.ts +531 -0
  101. package/dist/Media.d.ts +243 -0
  102. package/dist/Medication.d.ts +267 -0
  103. package/dist/MedicationAdministration.d.ts +403 -0
  104. package/dist/MedicationDispense.d.ts +398 -0
  105. package/dist/MedicationKnowledge.d.ts +1136 -0
  106. package/dist/MedicationRequest.d.ts +554 -0
  107. package/dist/MedicationStatement.d.ts +262 -0
  108. package/dist/MedicinalProduct.d.ts +530 -0
  109. package/dist/MedicinalProductAuthorization.d.ts +320 -0
  110. package/dist/MedicinalProductContraindication.d.ts +199 -0
  111. package/dist/MedicinalProductIndication.d.ts +210 -0
  112. package/dist/MedicinalProductIngredient.d.ts +391 -0
  113. package/dist/MedicinalProductInteraction.d.ts +186 -0
  114. package/dist/MedicinalProductManufactured.d.ts +135 -0
  115. package/dist/MedicinalProductPackaged.d.ts +305 -0
  116. package/dist/MedicinalProductPharmaceutical.d.ts +383 -0
  117. package/dist/MedicinalProductUndesirableEffect.d.ts +121 -0
  118. package/dist/MessageDefinition.d.ts +384 -0
  119. package/dist/MessageHeader.d.ts +374 -0
  120. package/dist/Meta.d.ts +92 -0
  121. package/dist/MolecularSequence.d.ts +875 -0
  122. package/dist/Money.d.ts +39 -0
  123. package/dist/NamingSystem.d.ts +255 -0
  124. package/dist/Narrative.d.ts +42 -0
  125. package/dist/NutritionOrder.d.ts +650 -0
  126. package/dist/Observation.d.ts +601 -0
  127. package/dist/ObservationDefinition.d.ts +326 -0
  128. package/dist/OperationDefinition.d.ts +542 -0
  129. package/dist/OperationOutcome.d.ts +186 -0
  130. package/dist/Organization.d.ts +217 -0
  131. package/dist/OrganizationAffiliation.d.ts +172 -0
  132. package/dist/ParameterDefinition.d.ts +72 -0
  133. package/dist/Parameters.d.ts +388 -0
  134. package/dist/PasswordChangeRequest.d.ts +66 -0
  135. package/dist/Patient.d.ts +398 -0
  136. package/dist/PaymentNotice.d.ts +162 -0
  137. package/dist/PaymentReconciliation.d.ts +330 -0
  138. package/dist/Period.d.ts +42 -0
  139. package/dist/Person.d.ts +206 -0
  140. package/dist/PlanDefinition.d.ts +968 -0
  141. package/dist/Population.d.ts +76 -0
  142. package/dist/Practitioner.d.ts +223 -0
  143. package/dist/PractitionerRole.d.ts +302 -0
  144. package/dist/Procedure.d.ts +432 -0
  145. package/dist/ProdCharacteristic.d.ts +132 -0
  146. package/dist/ProductShelfLife.d.ts +83 -0
  147. package/dist/Project.d.ts +57 -0
  148. package/dist/ProjectMembership.d.ts +83 -0
  149. package/dist/Provenance.d.ts +299 -0
  150. package/dist/Quantity.d.ts +59 -0
  151. package/dist/Questionnaire.d.ts +703 -0
  152. package/dist/QuestionnaireResponse.d.ts +365 -0
  153. package/dist/Range.d.ts +40 -0
  154. package/dist/Ratio.d.ts +40 -0
  155. package/dist/Reference.d.ts +80 -0
  156. package/dist/RelatedArtifact.d.ts +72 -0
  157. package/dist/RelatedPerson.d.ts +223 -0
  158. package/dist/RequestGroup.d.ts +509 -0
  159. package/dist/ResearchDefinition.d.ts +341 -0
  160. package/dist/ResearchElementDefinition.d.ts +505 -0
  161. package/dist/ResearchStudy.d.ts +370 -0
  162. package/dist/ResearchSubject.d.ts +142 -0
  163. package/dist/Resource.d.ts +316 -0
  164. package/dist/RiskAssessment.d.ts +291 -0
  165. package/dist/RiskEvidenceSynthesis.d.ts +616 -0
  166. package/dist/SampledData.d.ts +77 -0
  167. package/dist/Schedule.d.ts +152 -0
  168. package/dist/SearchParameter.d.ts +324 -0
  169. package/dist/ServiceRequest.d.ts +362 -0
  170. package/dist/Signature.d.ts +86 -0
  171. package/dist/Slot.d.ts +160 -0
  172. package/dist/Specimen.d.ts +427 -0
  173. package/dist/SpecimenDefinition.d.ts +423 -0
  174. package/dist/StructureDefinition.d.ts +504 -0
  175. package/dist/StructureMap.d.ts +1064 -0
  176. package/dist/Subscription.d.ts +202 -0
  177. package/dist/Substance.d.ts +249 -0
  178. package/dist/SubstanceAmount.d.ts +135 -0
  179. package/dist/SubstanceNucleicAcid.d.ts +356 -0
  180. package/dist/SubstancePolymer.d.ts +470 -0
  181. package/dist/SubstanceProtein.d.ts +249 -0
  182. package/dist/SubstanceReferenceInformation.d.ts +386 -0
  183. package/dist/SubstanceSourceMaterial.d.ts +596 -0
  184. package/dist/SubstanceSpecification.d.ts +965 -0
  185. package/dist/SupplyDelivery.d.ts +240 -0
  186. package/dist/SupplyRequest.d.ts +279 -0
  187. package/dist/Task.d.ts +970 -0
  188. package/dist/TerminologyCapabilities.d.ts +820 -0
  189. package/dist/TestReport.d.ts +631 -0
  190. package/dist/TestScript.d.ts +1364 -0
  191. package/dist/Timing.d.ts +210 -0
  192. package/dist/TriggerDefinition.d.ts +81 -0
  193. package/dist/UsageContext.d.ts +74 -0
  194. package/dist/User.d.ts +59 -0
  195. package/dist/ValueSet.d.ts +830 -0
  196. package/dist/VerificationResult.d.ts +399 -0
  197. package/dist/VisionPrescription.d.ts +311 -0
  198. package/dist/index.d.ts +201 -0
  199. package/package.json +36 -0
@@ -0,0 +1,1676 @@
1
+ /*
2
+ * Generated by @medplum/generator
3
+ * Do not edit manually.
4
+ */
5
+
6
+ import { Annotation } from './Annotation';
7
+ import { Attachment } from './Attachment';
8
+ import { CareTeam } from './CareTeam';
9
+ import { CodeableConcept } from './CodeableConcept';
10
+ import { Coding } from './Coding';
11
+ import { Composition } from './Composition';
12
+ import { Condition } from './Condition';
13
+ import { Device } from './Device';
14
+ import { DiagnosticReport } from './DiagnosticReport';
15
+ import { DocumentReference } from './DocumentReference';
16
+ import { Encounter } from './Encounter';
17
+ import { EpisodeOfCare } from './EpisodeOfCare';
18
+ import { Extension } from './Extension';
19
+ import { Group } from './Group';
20
+ import { Identifier } from './Identifier';
21
+ import { Location } from './Location';
22
+ import { Meta } from './Meta';
23
+ import { Money } from './Money';
24
+ import { Narrative } from './Narrative';
25
+ import { Observation } from './Observation';
26
+ import { Organization } from './Organization';
27
+ import { Patient } from './Patient';
28
+ import { Period } from './Period';
29
+ import { Practitioner } from './Practitioner';
30
+ import { PractitionerRole } from './PractitionerRole';
31
+ import { Provenance } from './Provenance';
32
+ import { Quantity } from './Quantity';
33
+ import { Questionnaire } from './Questionnaire';
34
+ import { QuestionnaireResponse } from './QuestionnaireResponse';
35
+ import { Reference } from './Reference';
36
+ import { RelatedPerson } from './RelatedPerson';
37
+ import { Resource } from './Resource';
38
+ import { Signature } from './Signature';
39
+ import { Substance } from './Substance';
40
+ import { Timing } from './Timing';
41
+
42
+ /**
43
+ * Legally enforceable, formally recorded unilateral or bilateral
44
+ * directive i.e., a policy or agreement.
45
+ */
46
+ export interface Contract {
47
+
48
+ /**
49
+ * This is a Contract resource
50
+ */
51
+ readonly resourceType: 'Contract';
52
+
53
+ /**
54
+ * The logical id of the resource, as used in the URL for the resource.
55
+ * Once assigned, this value never changes.
56
+ */
57
+ readonly id?: string;
58
+
59
+ /**
60
+ * The metadata about the resource. This is content that is maintained by
61
+ * the infrastructure. Changes to the content might not always be
62
+ * associated with version changes to the resource.
63
+ */
64
+ readonly meta?: Meta;
65
+
66
+ /**
67
+ * A reference to a set of rules that were followed when the resource was
68
+ * constructed, and which must be understood when processing the content.
69
+ * Often, this is a reference to an implementation guide that defines the
70
+ * special rules along with other profiles etc.
71
+ */
72
+ readonly implicitRules?: string;
73
+
74
+ /**
75
+ * The base language in which the resource is written.
76
+ */
77
+ readonly language?: string;
78
+
79
+ /**
80
+ * A human-readable narrative that contains a summary of the resource and
81
+ * can be used to represent the content of the resource to a human. The
82
+ * narrative need not encode all the structured data, but is required to
83
+ * contain sufficient detail to make it "clinically safe" for a human to
84
+ * just read the narrative. Resource definitions may define what content
85
+ * should be represented in the narrative to ensure clinical safety.
86
+ */
87
+ readonly text?: Narrative;
88
+
89
+ /**
90
+ * These resources do not have an independent existence apart from the
91
+ * resource that contains them - they cannot be identified independently,
92
+ * and nor can they have their own independent transaction scope.
93
+ */
94
+ readonly contained?: Resource[];
95
+
96
+ /**
97
+ * May be used to represent additional information that is not part of
98
+ * the basic definition of the resource. To make the use of extensions
99
+ * safe and manageable, there is a strict set of governance applied to
100
+ * the definition and use of extensions. Though any implementer can
101
+ * define an extension, there is a set of requirements that SHALL be met
102
+ * as part of the definition of the extension.
103
+ */
104
+ readonly extension?: Extension[];
105
+
106
+ /**
107
+ * May be used to represent additional information that is not part of
108
+ * the basic definition of the resource and that modifies the
109
+ * understanding of the element that contains it and/or the understanding
110
+ * of the containing element's descendants. Usually modifier elements
111
+ * provide negation or qualification. To make the use of extensions safe
112
+ * and manageable, there is a strict set of governance applied to the
113
+ * definition and use of extensions. Though any implementer is allowed to
114
+ * define an extension, there is a set of requirements that SHALL be met
115
+ * as part of the definition of the extension. Applications processing a
116
+ * resource are required to check for modifier extensions.
117
+ *
118
+ * Modifier extensions SHALL NOT change the meaning of any elements on
119
+ * Resource or DomainResource (including cannot change the meaning of
120
+ * modifierExtension itself).
121
+ */
122
+ readonly modifierExtension?: Extension[];
123
+
124
+ /**
125
+ * Unique identifier for this Contract or a derivative that references a
126
+ * Source Contract.
127
+ */
128
+ readonly identifier?: Identifier[];
129
+
130
+ /**
131
+ * Canonical identifier for this contract, represented as a URI (globally
132
+ * unique).
133
+ */
134
+ readonly url?: string;
135
+
136
+ /**
137
+ * An edition identifier used for business purposes to label business
138
+ * significant variants.
139
+ */
140
+ readonly version?: string;
141
+
142
+ /**
143
+ * The status of the resource instance.
144
+ */
145
+ readonly status?: string;
146
+
147
+ /**
148
+ * Legal states of the formation of a legal instrument, which is a
149
+ * formally executed written document that can be formally attributed to
150
+ * its author, records and formally expresses a legally enforceable act,
151
+ * process, or contractual duty, obligation, or right, and therefore
152
+ * evidences that act, process, or agreement.
153
+ */
154
+ readonly legalState?: CodeableConcept;
155
+
156
+ /**
157
+ * The URL pointing to a FHIR-defined Contract Definition that is adhered
158
+ * to in whole or part by this Contract.
159
+ */
160
+ readonly instantiatesCanonical?: Reference<Contract>;
161
+
162
+ /**
163
+ * The URL pointing to an externally maintained definition that is
164
+ * adhered to in whole or in part by this Contract.
165
+ */
166
+ readonly instantiatesUri?: string;
167
+
168
+ /**
169
+ * The minimal content derived from the basal information source at a
170
+ * specific stage in its lifecycle.
171
+ */
172
+ readonly contentDerivative?: CodeableConcept;
173
+
174
+ /**
175
+ * When this Contract was issued.
176
+ */
177
+ readonly issued?: string;
178
+
179
+ /**
180
+ * Relevant time or time-period when this Contract is applicable.
181
+ */
182
+ readonly applies?: Period;
183
+
184
+ /**
185
+ * Event resulting in discontinuation or termination of this Contract
186
+ * instance by one or more parties to the contract.
187
+ */
188
+ readonly expirationType?: CodeableConcept;
189
+
190
+ /**
191
+ * The target entity impacted by or of interest to parties to the
192
+ * agreement.
193
+ */
194
+ readonly subject?: Reference<Resource>[];
195
+
196
+ /**
197
+ * A formally or informally recognized grouping of people, principals,
198
+ * organizations, or jurisdictions formed for the purpose of achieving
199
+ * some form of collective action such as the promulgation,
200
+ * administration and enforcement of contracts and policies.
201
+ */
202
+ readonly authority?: Reference<Organization>[];
203
+
204
+ /**
205
+ * Recognized governance framework or system operating with a
206
+ * circumscribed scope in accordance with specified principles, policies,
207
+ * processes or procedures for managing rights, actions, or behaviors of
208
+ * parties or principals relative to resources.
209
+ */
210
+ readonly domain?: Reference<Location>[];
211
+
212
+ /**
213
+ * Sites in which the contract is complied with, exercised, or in force.
214
+ */
215
+ readonly site?: Reference<Location>[];
216
+
217
+ /**
218
+ * A natural language name identifying this Contract definition,
219
+ * derivative, or instance in any legal state. Provides additional
220
+ * information about its content. This name should be usable as an
221
+ * identifier for the module by machine processing applications such as
222
+ * code generation.
223
+ */
224
+ readonly name?: string;
225
+
226
+ /**
227
+ * A short, descriptive, user-friendly title for this Contract
228
+ * definition, derivative, or instance in any legal state.t giving
229
+ * additional information about its content.
230
+ */
231
+ readonly title?: string;
232
+
233
+ /**
234
+ * An explanatory or alternate user-friendly title for this Contract
235
+ * definition, derivative, or instance in any legal state.t giving
236
+ * additional information about its content.
237
+ */
238
+ readonly subtitle?: string;
239
+
240
+ /**
241
+ * Alternative representation of the title for this Contract definition,
242
+ * derivative, or instance in any legal state., e.g., a domain specific
243
+ * contract number related to legislation.
244
+ */
245
+ readonly alias?: string[];
246
+
247
+ /**
248
+ * The individual or organization that authored the Contract definition,
249
+ * derivative, or instance in any legal state.
250
+ */
251
+ readonly author?: Reference<Patient | Practitioner | PractitionerRole | Organization>;
252
+
253
+ /**
254
+ * A selector of legal concerns for this Contract definition, derivative,
255
+ * or instance in any legal state.
256
+ */
257
+ readonly scope?: CodeableConcept;
258
+
259
+ /**
260
+ * Narrows the range of legal concerns to focus on the achievement of
261
+ * specific contractual objectives.
262
+ */
263
+ readonly topicCodeableConcept?: CodeableConcept;
264
+
265
+ /**
266
+ * Narrows the range of legal concerns to focus on the achievement of
267
+ * specific contractual objectives.
268
+ */
269
+ readonly topicReference?: Reference<Resource>;
270
+
271
+ /**
272
+ * A high-level category for the legal instrument, whether constructed as
273
+ * a Contract definition, derivative, or instance in any legal state.
274
+ * Provides additional information about its content within the context
275
+ * of the Contract's scope to distinguish the kinds of systems that would
276
+ * be interested in the contract.
277
+ */
278
+ readonly type?: CodeableConcept;
279
+
280
+ /**
281
+ * Sub-category for the Contract that distinguishes the kinds of systems
282
+ * that would be interested in the Contract within the context of the
283
+ * Contract's scope.
284
+ */
285
+ readonly subType?: CodeableConcept[];
286
+
287
+ /**
288
+ * Precusory content developed with a focus and intent of supporting the
289
+ * formation a Contract instance, which may be associated with and
290
+ * transformable into a Contract.
291
+ */
292
+ readonly contentDefinition?: ContractContentDefinition;
293
+
294
+ /**
295
+ * One or more Contract Provisions, which may be related and conveyed as
296
+ * a group, and may contain nested groups.
297
+ */
298
+ readonly term?: ContractTerm[];
299
+
300
+ /**
301
+ * Information that may be needed by/relevant to the performer in their
302
+ * execution of this term action.
303
+ */
304
+ readonly supportingInfo?: Reference<Resource>[];
305
+
306
+ /**
307
+ * Links to Provenance records for past versions of this Contract
308
+ * definition, derivative, or instance, which identify key state
309
+ * transitions or updates that are likely to be relevant to a user
310
+ * looking at the current version of the Contract. The Provence.entity
311
+ * indicates the target that was changed in the update.
312
+ * http://build.fhir.org/provenance-definitions.html#Provenance.entity.
313
+ */
314
+ readonly relevantHistory?: Reference<Provenance>[];
315
+
316
+ /**
317
+ * Parties with legal standing in the Contract, including the principal
318
+ * parties, the grantor(s) and grantee(s), which are any person or
319
+ * organization bound by the contract, and any ancillary parties, which
320
+ * facilitate the execution of the contract such as a notary or witness.
321
+ */
322
+ readonly signer?: ContractSigner[];
323
+
324
+ /**
325
+ * The &quot;patient friendly language&quot; versionof the Contract in whole or in
326
+ * parts. &quot;Patient friendly language&quot; means the representation of the
327
+ * Contract and Contract Provisions in a manner that is readily
328
+ * accessible and understandable by a layperson in accordance with best
329
+ * practices for communication styles that ensure that those agreeing to
330
+ * or signing the Contract understand the roles, actions, obligations,
331
+ * responsibilities, and implication of the agreement.
332
+ */
333
+ readonly friendly?: ContractFriendly[];
334
+
335
+ /**
336
+ * List of Legal expressions or representations of this Contract.
337
+ */
338
+ readonly legal?: ContractLegal[];
339
+
340
+ /**
341
+ * List of Computable Policy Rule Language Representations of this
342
+ * Contract.
343
+ */
344
+ readonly rule?: ContractRule[];
345
+
346
+ /**
347
+ * Legally binding Contract: This is the signed and legally recognized
348
+ * representation of the Contract, which is considered the &quot;source of
349
+ * truth&quot; and which would be the basis for legal action related to
350
+ * enforcement of this Contract.
351
+ */
352
+ readonly legallyBindingAttachment?: Attachment;
353
+
354
+ /**
355
+ * Legally binding Contract: This is the signed and legally recognized
356
+ * representation of the Contract, which is considered the &quot;source of
357
+ * truth&quot; and which would be the basis for legal action related to
358
+ * enforcement of this Contract.
359
+ */
360
+ readonly legallyBindingReference?: Reference<Composition | DocumentReference | QuestionnaireResponse | Contract>;
361
+ }
362
+
363
+ /**
364
+ * Precusory content developed with a focus and intent of supporting the
365
+ * formation a Contract instance, which may be associated with and
366
+ * transformable into a Contract.
367
+ */
368
+ export interface ContractContentDefinition {
369
+
370
+ /**
371
+ * Unique id for the element within a resource (for internal references).
372
+ * This may be any string value that does not contain spaces.
373
+ */
374
+ readonly id?: string;
375
+
376
+ /**
377
+ * May be used to represent additional information that is not part of
378
+ * the basic definition of the element. To make the use of extensions
379
+ * safe and manageable, there is a strict set of governance applied to
380
+ * the definition and use of extensions. Though any implementer can
381
+ * define an extension, there is a set of requirements that SHALL be met
382
+ * as part of the definition of the extension.
383
+ */
384
+ readonly extension?: Extension[];
385
+
386
+ /**
387
+ * May be used to represent additional information that is not part of
388
+ * the basic definition of the element and that modifies the
389
+ * understanding of the element in which it is contained and/or the
390
+ * understanding of the containing element's descendants. Usually
391
+ * modifier elements provide negation or qualification. To make the use
392
+ * of extensions safe and manageable, there is a strict set of governance
393
+ * applied to the definition and use of extensions. Though any
394
+ * implementer can define an extension, there is a set of requirements
395
+ * that SHALL be met as part of the definition of the extension.
396
+ * Applications processing a resource are required to check for modifier
397
+ * extensions.
398
+ *
399
+ * Modifier extensions SHALL NOT change the meaning of any elements on
400
+ * Resource or DomainResource (including cannot change the meaning of
401
+ * modifierExtension itself).
402
+ */
403
+ readonly modifierExtension?: Extension[];
404
+
405
+ /**
406
+ * Precusory content structure and use, i.e., a boilerplate, template,
407
+ * application for a contract such as an insurance policy or benefits
408
+ * under a program, e.g., workers compensation.
409
+ */
410
+ readonly type?: CodeableConcept;
411
+
412
+ /**
413
+ * Detailed Precusory content type.
414
+ */
415
+ readonly subType?: CodeableConcept;
416
+
417
+ /**
418
+ * The individual or organization that published the Contract precursor
419
+ * content.
420
+ */
421
+ readonly publisher?: Reference<Practitioner | PractitionerRole | Organization>;
422
+
423
+ /**
424
+ * The date (and optionally time) when the contract was published. The
425
+ * date must change when the business version changes and it must change
426
+ * if the status code changes. In addition, it should change when the
427
+ * substantive content of the contract changes.
428
+ */
429
+ readonly publicationDate?: string;
430
+
431
+ /**
432
+ * amended | appended | cancelled | disputed | entered-in-error |
433
+ * executable | executed | negotiable | offered | policy | rejected |
434
+ * renewed | revoked | resolved | terminated.
435
+ */
436
+ readonly publicationStatus?: string;
437
+
438
+ /**
439
+ * A copyright statement relating to Contract precursor content.
440
+ * Copyright statements are generally legal restrictions on the use and
441
+ * publishing of the Contract precursor content.
442
+ */
443
+ readonly copyright?: string;
444
+ }
445
+
446
+ /**
447
+ * The &quot;patient friendly language&quot; versionof the Contract in whole or in
448
+ * parts. &quot;Patient friendly language&quot; means the representation of the
449
+ * Contract and Contract Provisions in a manner that is readily
450
+ * accessible and understandable by a layperson in accordance with best
451
+ * practices for communication styles that ensure that those agreeing to
452
+ * or signing the Contract understand the roles, actions, obligations,
453
+ * responsibilities, and implication of the agreement.
454
+ */
455
+ export interface ContractFriendly {
456
+
457
+ /**
458
+ * Unique id for the element within a resource (for internal references).
459
+ * This may be any string value that does not contain spaces.
460
+ */
461
+ readonly id?: string;
462
+
463
+ /**
464
+ * May be used to represent additional information that is not part of
465
+ * the basic definition of the element. To make the use of extensions
466
+ * safe and manageable, there is a strict set of governance applied to
467
+ * the definition and use of extensions. Though any implementer can
468
+ * define an extension, there is a set of requirements that SHALL be met
469
+ * as part of the definition of the extension.
470
+ */
471
+ readonly extension?: Extension[];
472
+
473
+ /**
474
+ * May be used to represent additional information that is not part of
475
+ * the basic definition of the element and that modifies the
476
+ * understanding of the element in which it is contained and/or the
477
+ * understanding of the containing element's descendants. Usually
478
+ * modifier elements provide negation or qualification. To make the use
479
+ * of extensions safe and manageable, there is a strict set of governance
480
+ * applied to the definition and use of extensions. Though any
481
+ * implementer can define an extension, there is a set of requirements
482
+ * that SHALL be met as part of the definition of the extension.
483
+ * Applications processing a resource are required to check for modifier
484
+ * extensions.
485
+ *
486
+ * Modifier extensions SHALL NOT change the meaning of any elements on
487
+ * Resource or DomainResource (including cannot change the meaning of
488
+ * modifierExtension itself).
489
+ */
490
+ readonly modifierExtension?: Extension[];
491
+
492
+ /**
493
+ * Human readable rendering of this Contract in a format and
494
+ * representation intended to enhance comprehension and ensure
495
+ * understandability.
496
+ */
497
+ readonly contentAttachment?: Attachment;
498
+
499
+ /**
500
+ * Human readable rendering of this Contract in a format and
501
+ * representation intended to enhance comprehension and ensure
502
+ * understandability.
503
+ */
504
+ readonly contentReference?: Reference<Composition | DocumentReference | QuestionnaireResponse>;
505
+ }
506
+
507
+ /**
508
+ * List of Legal expressions or representations of this Contract.
509
+ */
510
+ export interface ContractLegal {
511
+
512
+ /**
513
+ * Unique id for the element within a resource (for internal references).
514
+ * This may be any string value that does not contain spaces.
515
+ */
516
+ readonly id?: string;
517
+
518
+ /**
519
+ * May be used to represent additional information that is not part of
520
+ * the basic definition of the element. To make the use of extensions
521
+ * safe and manageable, there is a strict set of governance applied to
522
+ * the definition and use of extensions. Though any implementer can
523
+ * define an extension, there is a set of requirements that SHALL be met
524
+ * as part of the definition of the extension.
525
+ */
526
+ readonly extension?: Extension[];
527
+
528
+ /**
529
+ * May be used to represent additional information that is not part of
530
+ * the basic definition of the element and that modifies the
531
+ * understanding of the element in which it is contained and/or the
532
+ * understanding of the containing element's descendants. Usually
533
+ * modifier elements provide negation or qualification. To make the use
534
+ * of extensions safe and manageable, there is a strict set of governance
535
+ * applied to the definition and use of extensions. Though any
536
+ * implementer can define an extension, there is a set of requirements
537
+ * that SHALL be met as part of the definition of the extension.
538
+ * Applications processing a resource are required to check for modifier
539
+ * extensions.
540
+ *
541
+ * Modifier extensions SHALL NOT change the meaning of any elements on
542
+ * Resource or DomainResource (including cannot change the meaning of
543
+ * modifierExtension itself).
544
+ */
545
+ readonly modifierExtension?: Extension[];
546
+
547
+ /**
548
+ * Contract legal text in human renderable form.
549
+ */
550
+ readonly contentAttachment?: Attachment;
551
+
552
+ /**
553
+ * Contract legal text in human renderable form.
554
+ */
555
+ readonly contentReference?: Reference<Composition | DocumentReference | QuestionnaireResponse>;
556
+ }
557
+
558
+ /**
559
+ * List of Computable Policy Rule Language Representations of this
560
+ * Contract.
561
+ */
562
+ export interface ContractRule {
563
+
564
+ /**
565
+ * Unique id for the element within a resource (for internal references).
566
+ * This may be any string value that does not contain spaces.
567
+ */
568
+ readonly id?: string;
569
+
570
+ /**
571
+ * May be used to represent additional information that is not part of
572
+ * the basic definition of the element. To make the use of extensions
573
+ * safe and manageable, there is a strict set of governance applied to
574
+ * the definition and use of extensions. Though any implementer can
575
+ * define an extension, there is a set of requirements that SHALL be met
576
+ * as part of the definition of the extension.
577
+ */
578
+ readonly extension?: Extension[];
579
+
580
+ /**
581
+ * May be used to represent additional information that is not part of
582
+ * the basic definition of the element and that modifies the
583
+ * understanding of the element in which it is contained and/or the
584
+ * understanding of the containing element's descendants. Usually
585
+ * modifier elements provide negation or qualification. To make the use
586
+ * of extensions safe and manageable, there is a strict set of governance
587
+ * applied to the definition and use of extensions. Though any
588
+ * implementer can define an extension, there is a set of requirements
589
+ * that SHALL be met as part of the definition of the extension.
590
+ * Applications processing a resource are required to check for modifier
591
+ * extensions.
592
+ *
593
+ * Modifier extensions SHALL NOT change the meaning of any elements on
594
+ * Resource or DomainResource (including cannot change the meaning of
595
+ * modifierExtension itself).
596
+ */
597
+ readonly modifierExtension?: Extension[];
598
+
599
+ /**
600
+ * Computable Contract conveyed using a policy rule language (e.g. XACML,
601
+ * DKAL, SecPal).
602
+ */
603
+ readonly contentAttachment?: Attachment;
604
+
605
+ /**
606
+ * Computable Contract conveyed using a policy rule language (e.g. XACML,
607
+ * DKAL, SecPal).
608
+ */
609
+ readonly contentReference?: Reference<DocumentReference>;
610
+ }
611
+
612
+ /**
613
+ * Parties with legal standing in the Contract, including the principal
614
+ * parties, the grantor(s) and grantee(s), which are any person or
615
+ * organization bound by the contract, and any ancillary parties, which
616
+ * facilitate the execution of the contract such as a notary or witness.
617
+ */
618
+ export interface ContractSigner {
619
+
620
+ /**
621
+ * Unique id for the element within a resource (for internal references).
622
+ * This may be any string value that does not contain spaces.
623
+ */
624
+ readonly id?: string;
625
+
626
+ /**
627
+ * May be used to represent additional information that is not part of
628
+ * the basic definition of the element. To make the use of extensions
629
+ * safe and manageable, there is a strict set of governance applied to
630
+ * the definition and use of extensions. Though any implementer can
631
+ * define an extension, there is a set of requirements that SHALL be met
632
+ * as part of the definition of the extension.
633
+ */
634
+ readonly extension?: Extension[];
635
+
636
+ /**
637
+ * May be used to represent additional information that is not part of
638
+ * the basic definition of the element and that modifies the
639
+ * understanding of the element in which it is contained and/or the
640
+ * understanding of the containing element's descendants. Usually
641
+ * modifier elements provide negation or qualification. To make the use
642
+ * of extensions safe and manageable, there is a strict set of governance
643
+ * applied to the definition and use of extensions. Though any
644
+ * implementer can define an extension, there is a set of requirements
645
+ * that SHALL be met as part of the definition of the extension.
646
+ * Applications processing a resource are required to check for modifier
647
+ * extensions.
648
+ *
649
+ * Modifier extensions SHALL NOT change the meaning of any elements on
650
+ * Resource or DomainResource (including cannot change the meaning of
651
+ * modifierExtension itself).
652
+ */
653
+ readonly modifierExtension?: Extension[];
654
+
655
+ /**
656
+ * Role of this Contract signer, e.g. notary, grantee.
657
+ */
658
+ readonly type?: Coding;
659
+
660
+ /**
661
+ * Party which is a signator to this Contract.
662
+ */
663
+ readonly party?: Reference<Organization | Patient | Practitioner | PractitionerRole | RelatedPerson>;
664
+
665
+ /**
666
+ * Legally binding Contract DSIG signature contents in Base64.
667
+ */
668
+ readonly signature?: Signature[];
669
+ }
670
+
671
+ /**
672
+ * One or more Contract Provisions, which may be related and conveyed as
673
+ * a group, and may contain nested groups.
674
+ */
675
+ export interface ContractTerm {
676
+
677
+ /**
678
+ * Unique id for the element within a resource (for internal references).
679
+ * This may be any string value that does not contain spaces.
680
+ */
681
+ readonly id?: string;
682
+
683
+ /**
684
+ * May be used to represent additional information that is not part of
685
+ * the basic definition of the element. To make the use of extensions
686
+ * safe and manageable, there is a strict set of governance applied to
687
+ * the definition and use of extensions. Though any implementer can
688
+ * define an extension, there is a set of requirements that SHALL be met
689
+ * as part of the definition of the extension.
690
+ */
691
+ readonly extension?: Extension[];
692
+
693
+ /**
694
+ * May be used to represent additional information that is not part of
695
+ * the basic definition of the element and that modifies the
696
+ * understanding of the element in which it is contained and/or the
697
+ * understanding of the containing element's descendants. Usually
698
+ * modifier elements provide negation or qualification. To make the use
699
+ * of extensions safe and manageable, there is a strict set of governance
700
+ * applied to the definition and use of extensions. Though any
701
+ * implementer can define an extension, there is a set of requirements
702
+ * that SHALL be met as part of the definition of the extension.
703
+ * Applications processing a resource are required to check for modifier
704
+ * extensions.
705
+ *
706
+ * Modifier extensions SHALL NOT change the meaning of any elements on
707
+ * Resource or DomainResource (including cannot change the meaning of
708
+ * modifierExtension itself).
709
+ */
710
+ readonly modifierExtension?: Extension[];
711
+
712
+ /**
713
+ * Unique identifier for this particular Contract Provision.
714
+ */
715
+ readonly identifier?: Identifier;
716
+
717
+ /**
718
+ * When this Contract Provision was issued.
719
+ */
720
+ readonly issued?: string;
721
+
722
+ /**
723
+ * Relevant time or time-period when this Contract Provision is
724
+ * applicable.
725
+ */
726
+ readonly applies?: Period;
727
+
728
+ /**
729
+ * The entity that the term applies to.
730
+ */
731
+ readonly topicCodeableConcept?: CodeableConcept;
732
+
733
+ /**
734
+ * The entity that the term applies to.
735
+ */
736
+ readonly topicReference?: Reference<Resource>;
737
+
738
+ /**
739
+ * A legal clause or condition contained within a contract that requires
740
+ * one or both parties to perform a particular requirement by some
741
+ * specified time or prevents one or both parties from performing a
742
+ * particular requirement by some specified time.
743
+ */
744
+ readonly type?: CodeableConcept;
745
+
746
+ /**
747
+ * A specialized legal clause or condition based on overarching contract
748
+ * type.
749
+ */
750
+ readonly subType?: CodeableConcept;
751
+
752
+ /**
753
+ * Statement of a provision in a policy or a contract.
754
+ */
755
+ readonly text?: string;
756
+
757
+ /**
758
+ * Security labels that protect the handling of information about the
759
+ * term and its elements, which may be specifically identified..
760
+ */
761
+ readonly securityLabel?: ContractTermSecurityLabel[];
762
+
763
+ /**
764
+ * The matter of concern in the context of this provision of the
765
+ * agrement.
766
+ */
767
+ readonly offer?: ContractTermOffer;
768
+
769
+ /**
770
+ * Contract Term Asset List.
771
+ */
772
+ readonly asset?: ContractTermAsset[];
773
+
774
+ /**
775
+ * An actor taking a role in an activity for which it can be assigned
776
+ * some degree of responsibility for the activity taking place.
777
+ */
778
+ readonly action?: ContractTermAction[];
779
+
780
+ /**
781
+ * Nested group of Contract Provisions.
782
+ */
783
+ readonly group?: ContractTerm[];
784
+ }
785
+
786
+ /**
787
+ * An actor taking a role in an activity for which it can be assigned
788
+ * some degree of responsibility for the activity taking place.
789
+ */
790
+ export interface ContractTermAction {
791
+
792
+ /**
793
+ * Unique id for the element within a resource (for internal references).
794
+ * This may be any string value that does not contain spaces.
795
+ */
796
+ readonly id?: string;
797
+
798
+ /**
799
+ * May be used to represent additional information that is not part of
800
+ * the basic definition of the element. To make the use of extensions
801
+ * safe and manageable, there is a strict set of governance applied to
802
+ * the definition and use of extensions. Though any implementer can
803
+ * define an extension, there is a set of requirements that SHALL be met
804
+ * as part of the definition of the extension.
805
+ */
806
+ readonly extension?: Extension[];
807
+
808
+ /**
809
+ * May be used to represent additional information that is not part of
810
+ * the basic definition of the element and that modifies the
811
+ * understanding of the element in which it is contained and/or the
812
+ * understanding of the containing element's descendants. Usually
813
+ * modifier elements provide negation or qualification. To make the use
814
+ * of extensions safe and manageable, there is a strict set of governance
815
+ * applied to the definition and use of extensions. Though any
816
+ * implementer can define an extension, there is a set of requirements
817
+ * that SHALL be met as part of the definition of the extension.
818
+ * Applications processing a resource are required to check for modifier
819
+ * extensions.
820
+ *
821
+ * Modifier extensions SHALL NOT change the meaning of any elements on
822
+ * Resource or DomainResource (including cannot change the meaning of
823
+ * modifierExtension itself).
824
+ */
825
+ readonly modifierExtension?: Extension[];
826
+
827
+ /**
828
+ * True if the term prohibits the action.
829
+ */
830
+ readonly doNotPerform?: boolean;
831
+
832
+ /**
833
+ * Activity or service obligation to be done or not done, performed or
834
+ * not performed, effectuated or not by this Contract term.
835
+ */
836
+ readonly type?: CodeableConcept;
837
+
838
+ /**
839
+ * Entity of the action.
840
+ */
841
+ readonly subject?: ContractTermActionSubject[];
842
+
843
+ /**
844
+ * Reason or purpose for the action stipulated by this Contract
845
+ * Provision.
846
+ */
847
+ readonly intent?: CodeableConcept;
848
+
849
+ /**
850
+ * Id [identifier??] of the clause or question text related to this
851
+ * action in the referenced form or QuestionnaireResponse.
852
+ */
853
+ readonly linkId?: string[];
854
+
855
+ /**
856
+ * Current state of the term action.
857
+ */
858
+ readonly status?: CodeableConcept;
859
+
860
+ /**
861
+ * Encounter or Episode with primary association to specified term
862
+ * activity.
863
+ */
864
+ readonly context?: Reference<Encounter | EpisodeOfCare>;
865
+
866
+ /**
867
+ * Id [identifier??] of the clause or question text related to the
868
+ * requester of this action in the referenced form or
869
+ * QuestionnaireResponse.
870
+ */
871
+ readonly contextLinkId?: string[];
872
+
873
+ /**
874
+ * When action happens.
875
+ */
876
+ readonly occurrenceDateTime?: string;
877
+
878
+ /**
879
+ * When action happens.
880
+ */
881
+ readonly occurrencePeriod?: Period;
882
+
883
+ /**
884
+ * When action happens.
885
+ */
886
+ readonly occurrenceTiming?: Timing;
887
+
888
+ /**
889
+ * Who or what initiated the action and has responsibility for its
890
+ * activation.
891
+ */
892
+ readonly requester?: Reference<Patient | RelatedPerson | Practitioner | PractitionerRole | Device | Group | Organization>[];
893
+
894
+ /**
895
+ * Id [identifier??] of the clause or question text related to the
896
+ * requester of this action in the referenced form or
897
+ * QuestionnaireResponse.
898
+ */
899
+ readonly requesterLinkId?: string[];
900
+
901
+ /**
902
+ * The type of individual that is desired or required to perform or not
903
+ * perform the action.
904
+ */
905
+ readonly performerType?: CodeableConcept[];
906
+
907
+ /**
908
+ * The type of role or competency of an individual desired or required to
909
+ * perform or not perform the action.
910
+ */
911
+ readonly performerRole?: CodeableConcept;
912
+
913
+ /**
914
+ * Indicates who or what is being asked to perform (or not perform) the
915
+ * ction.
916
+ */
917
+ readonly performer?: Reference<RelatedPerson | Patient | Practitioner | PractitionerRole | CareTeam | Device | Substance | Organization | Location>;
918
+
919
+ /**
920
+ * Id [identifier??] of the clause or question text related to the reason
921
+ * type or reference of this action in the referenced form or
922
+ * QuestionnaireResponse.
923
+ */
924
+ readonly performerLinkId?: string[];
925
+
926
+ /**
927
+ * Rationale for the action to be performed or not performed. Describes
928
+ * why the action is permitted or prohibited.
929
+ */
930
+ readonly reasonCode?: CodeableConcept[];
931
+
932
+ /**
933
+ * Indicates another resource whose existence justifies permitting or not
934
+ * permitting this action.
935
+ */
936
+ readonly reasonReference?: Reference<Condition | Observation | DiagnosticReport | DocumentReference | Questionnaire | QuestionnaireResponse>[];
937
+
938
+ /**
939
+ * Describes why the action is to be performed or not performed in
940
+ * textual form.
941
+ */
942
+ readonly reason?: string[];
943
+
944
+ /**
945
+ * Id [identifier??] of the clause or question text related to the reason
946
+ * type or reference of this action in the referenced form or
947
+ * QuestionnaireResponse.
948
+ */
949
+ readonly reasonLinkId?: string[];
950
+
951
+ /**
952
+ * Comments made about the term action made by the requester, performer,
953
+ * subject or other participants.
954
+ */
955
+ readonly note?: Annotation[];
956
+
957
+ /**
958
+ * Security labels that protects the action.
959
+ */
960
+ readonly securityLabelNumber?: number[];
961
+ }
962
+
963
+ /**
964
+ * Entity of the action.
965
+ */
966
+ export interface ContractTermActionSubject {
967
+
968
+ /**
969
+ * Unique id for the element within a resource (for internal references).
970
+ * This may be any string value that does not contain spaces.
971
+ */
972
+ readonly id?: string;
973
+
974
+ /**
975
+ * May be used to represent additional information that is not part of
976
+ * the basic definition of the element. To make the use of extensions
977
+ * safe and manageable, there is a strict set of governance applied to
978
+ * the definition and use of extensions. Though any implementer can
979
+ * define an extension, there is a set of requirements that SHALL be met
980
+ * as part of the definition of the extension.
981
+ */
982
+ readonly extension?: Extension[];
983
+
984
+ /**
985
+ * May be used to represent additional information that is not part of
986
+ * the basic definition of the element and that modifies the
987
+ * understanding of the element in which it is contained and/or the
988
+ * understanding of the containing element's descendants. Usually
989
+ * modifier elements provide negation or qualification. To make the use
990
+ * of extensions safe and manageable, there is a strict set of governance
991
+ * applied to the definition and use of extensions. Though any
992
+ * implementer can define an extension, there is a set of requirements
993
+ * that SHALL be met as part of the definition of the extension.
994
+ * Applications processing a resource are required to check for modifier
995
+ * extensions.
996
+ *
997
+ * Modifier extensions SHALL NOT change the meaning of any elements on
998
+ * Resource or DomainResource (including cannot change the meaning of
999
+ * modifierExtension itself).
1000
+ */
1001
+ readonly modifierExtension?: Extension[];
1002
+
1003
+ /**
1004
+ * The entity the action is performed or not performed on or for.
1005
+ */
1006
+ readonly reference?: Reference<Patient | RelatedPerson | Practitioner | PractitionerRole | Device | Group | Organization>[];
1007
+
1008
+ /**
1009
+ * Role type of agent assigned roles in this Contract.
1010
+ */
1011
+ readonly role?: CodeableConcept;
1012
+ }
1013
+
1014
+ /**
1015
+ * Contract Term Asset List.
1016
+ */
1017
+ export interface ContractTermAsset {
1018
+
1019
+ /**
1020
+ * Unique id for the element within a resource (for internal references).
1021
+ * This may be any string value that does not contain spaces.
1022
+ */
1023
+ readonly id?: string;
1024
+
1025
+ /**
1026
+ * May be used to represent additional information that is not part of
1027
+ * the basic definition of the element. To make the use of extensions
1028
+ * safe and manageable, there is a strict set of governance applied to
1029
+ * the definition and use of extensions. Though any implementer can
1030
+ * define an extension, there is a set of requirements that SHALL be met
1031
+ * as part of the definition of the extension.
1032
+ */
1033
+ readonly extension?: Extension[];
1034
+
1035
+ /**
1036
+ * May be used to represent additional information that is not part of
1037
+ * the basic definition of the element and that modifies the
1038
+ * understanding of the element in which it is contained and/or the
1039
+ * understanding of the containing element's descendants. Usually
1040
+ * modifier elements provide negation or qualification. To make the use
1041
+ * of extensions safe and manageable, there is a strict set of governance
1042
+ * applied to the definition and use of extensions. Though any
1043
+ * implementer can define an extension, there is a set of requirements
1044
+ * that SHALL be met as part of the definition of the extension.
1045
+ * Applications processing a resource are required to check for modifier
1046
+ * extensions.
1047
+ *
1048
+ * Modifier extensions SHALL NOT change the meaning of any elements on
1049
+ * Resource or DomainResource (including cannot change the meaning of
1050
+ * modifierExtension itself).
1051
+ */
1052
+ readonly modifierExtension?: Extension[];
1053
+
1054
+ /**
1055
+ * Differentiates the kind of the asset .
1056
+ */
1057
+ readonly scope?: CodeableConcept;
1058
+
1059
+ /**
1060
+ * Target entity type about which the term may be concerned.
1061
+ */
1062
+ readonly type?: CodeableConcept[];
1063
+
1064
+ /**
1065
+ * Associated entities.
1066
+ */
1067
+ readonly typeReference?: Reference<Resource>[];
1068
+
1069
+ /**
1070
+ * May be a subtype or part of an offered asset.
1071
+ */
1072
+ readonly subtype?: CodeableConcept[];
1073
+
1074
+ /**
1075
+ * Specifies the applicability of the term to an asset resource instance,
1076
+ * and instances it refers to orinstances that refer to it, and/or are
1077
+ * owned by the offeree.
1078
+ */
1079
+ readonly relationship?: Coding;
1080
+
1081
+ /**
1082
+ * Circumstance of the asset.
1083
+ */
1084
+ readonly context?: ContractTermAssetContext[];
1085
+
1086
+ /**
1087
+ * Description of the quality and completeness of the asset that imay be
1088
+ * a factor in its valuation.
1089
+ */
1090
+ readonly condition?: string;
1091
+
1092
+ /**
1093
+ * Type of Asset availability for use or ownership.
1094
+ */
1095
+ readonly periodType?: CodeableConcept[];
1096
+
1097
+ /**
1098
+ * Asset relevant contractual time period.
1099
+ */
1100
+ readonly period?: Period[];
1101
+
1102
+ /**
1103
+ * Time period of asset use.
1104
+ */
1105
+ readonly usePeriod?: Period[];
1106
+
1107
+ /**
1108
+ * Clause or question text (Prose Object) concerning the asset in a
1109
+ * linked form, such as a QuestionnaireResponse used in the formation of
1110
+ * the contract.
1111
+ */
1112
+ readonly text?: string;
1113
+
1114
+ /**
1115
+ * Id [identifier??] of the clause or question text about the asset in
1116
+ * the referenced form or QuestionnaireResponse.
1117
+ */
1118
+ readonly linkId?: string[];
1119
+
1120
+ /**
1121
+ * Response to assets.
1122
+ */
1123
+ readonly answer?: ContractTermOfferAnswer[];
1124
+
1125
+ /**
1126
+ * Security labels that protects the asset.
1127
+ */
1128
+ readonly securityLabelNumber?: number[];
1129
+
1130
+ /**
1131
+ * Contract Valued Item List.
1132
+ */
1133
+ readonly valuedItem?: ContractTermAssetValuedItem[];
1134
+ }
1135
+
1136
+ /**
1137
+ * Circumstance of the asset.
1138
+ */
1139
+ export interface ContractTermAssetContext {
1140
+
1141
+ /**
1142
+ * Unique id for the element within a resource (for internal references).
1143
+ * This may be any string value that does not contain spaces.
1144
+ */
1145
+ readonly id?: string;
1146
+
1147
+ /**
1148
+ * May be used to represent additional information that is not part of
1149
+ * the basic definition of the element. To make the use of extensions
1150
+ * safe and manageable, there is a strict set of governance applied to
1151
+ * the definition and use of extensions. Though any implementer can
1152
+ * define an extension, there is a set of requirements that SHALL be met
1153
+ * as part of the definition of the extension.
1154
+ */
1155
+ readonly extension?: Extension[];
1156
+
1157
+ /**
1158
+ * May be used to represent additional information that is not part of
1159
+ * the basic definition of the element and that modifies the
1160
+ * understanding of the element in which it is contained and/or the
1161
+ * understanding of the containing element's descendants. Usually
1162
+ * modifier elements provide negation or qualification. To make the use
1163
+ * of extensions safe and manageable, there is a strict set of governance
1164
+ * applied to the definition and use of extensions. Though any
1165
+ * implementer can define an extension, there is a set of requirements
1166
+ * that SHALL be met as part of the definition of the extension.
1167
+ * Applications processing a resource are required to check for modifier
1168
+ * extensions.
1169
+ *
1170
+ * Modifier extensions SHALL NOT change the meaning of any elements on
1171
+ * Resource or DomainResource (including cannot change the meaning of
1172
+ * modifierExtension itself).
1173
+ */
1174
+ readonly modifierExtension?: Extension[];
1175
+
1176
+ /**
1177
+ * Asset context reference may include the creator, custodian, or owning
1178
+ * Person or Organization (e.g., bank, repository), location held, e.g.,
1179
+ * building, jurisdiction.
1180
+ */
1181
+ readonly reference?: Reference<Resource>;
1182
+
1183
+ /**
1184
+ * Coded representation of the context generally or of the Referenced
1185
+ * entity, such as the asset holder type or location.
1186
+ */
1187
+ readonly code?: CodeableConcept[];
1188
+
1189
+ /**
1190
+ * Context description.
1191
+ */
1192
+ readonly text?: string;
1193
+ }
1194
+
1195
+ /**
1196
+ * Contract Valued Item List.
1197
+ */
1198
+ export interface ContractTermAssetValuedItem {
1199
+
1200
+ /**
1201
+ * Unique id for the element within a resource (for internal references).
1202
+ * This may be any string value that does not contain spaces.
1203
+ */
1204
+ readonly id?: string;
1205
+
1206
+ /**
1207
+ * May be used to represent additional information that is not part of
1208
+ * the basic definition of the element. To make the use of extensions
1209
+ * safe and manageable, there is a strict set of governance applied to
1210
+ * the definition and use of extensions. Though any implementer can
1211
+ * define an extension, there is a set of requirements that SHALL be met
1212
+ * as part of the definition of the extension.
1213
+ */
1214
+ readonly extension?: Extension[];
1215
+
1216
+ /**
1217
+ * May be used to represent additional information that is not part of
1218
+ * the basic definition of the element and that modifies the
1219
+ * understanding of the element in which it is contained and/or the
1220
+ * understanding of the containing element's descendants. Usually
1221
+ * modifier elements provide negation or qualification. To make the use
1222
+ * of extensions safe and manageable, there is a strict set of governance
1223
+ * applied to the definition and use of extensions. Though any
1224
+ * implementer can define an extension, there is a set of requirements
1225
+ * that SHALL be met as part of the definition of the extension.
1226
+ * Applications processing a resource are required to check for modifier
1227
+ * extensions.
1228
+ *
1229
+ * Modifier extensions SHALL NOT change the meaning of any elements on
1230
+ * Resource or DomainResource (including cannot change the meaning of
1231
+ * modifierExtension itself).
1232
+ */
1233
+ readonly modifierExtension?: Extension[];
1234
+
1235
+ /**
1236
+ * Specific type of Contract Valued Item that may be priced.
1237
+ */
1238
+ readonly entityCodeableConcept?: CodeableConcept;
1239
+
1240
+ /**
1241
+ * Specific type of Contract Valued Item that may be priced.
1242
+ */
1243
+ readonly entityReference?: Reference<Resource>;
1244
+
1245
+ /**
1246
+ * Identifies a Contract Valued Item instance.
1247
+ */
1248
+ readonly identifier?: Identifier;
1249
+
1250
+ /**
1251
+ * Indicates the time during which this Contract ValuedItem information
1252
+ * is effective.
1253
+ */
1254
+ readonly effectiveTime?: string;
1255
+
1256
+ /**
1257
+ * Specifies the units by which the Contract Valued Item is measured or
1258
+ * counted, and quantifies the countable or measurable Contract Valued
1259
+ * Item instances.
1260
+ */
1261
+ readonly quantity?: Quantity;
1262
+
1263
+ /**
1264
+ * A Contract Valued Item unit valuation measure.
1265
+ */
1266
+ readonly unitPrice?: Money;
1267
+
1268
+ /**
1269
+ * A real number that represents a multiplier used in determining the
1270
+ * overall value of the Contract Valued Item delivered. The concept of a
1271
+ * Factor allows for a discount or surcharge multiplier to be applied to
1272
+ * a monetary amount.
1273
+ */
1274
+ readonly factor?: number;
1275
+
1276
+ /**
1277
+ * An amount that expresses the weighting (based on difficulty, cost
1278
+ * and/or resource intensiveness) associated with the Contract Valued
1279
+ * Item delivered. The concept of Points allows for assignment of point
1280
+ * values for a Contract Valued Item, such that a monetary amount can be
1281
+ * assigned to each point.
1282
+ */
1283
+ readonly points?: number;
1284
+
1285
+ /**
1286
+ * Expresses the product of the Contract Valued Item unitQuantity and the
1287
+ * unitPriceAmt. For example, the formula: unit Quantity * unit Price
1288
+ * (Cost per Point) * factor Number * points = net Amount. Quantity,
1289
+ * factor and points are assumed to be 1 if not supplied.
1290
+ */
1291
+ readonly net?: Money;
1292
+
1293
+ /**
1294
+ * Terms of valuation.
1295
+ */
1296
+ readonly payment?: string;
1297
+
1298
+ /**
1299
+ * When payment is due.
1300
+ */
1301
+ readonly paymentDate?: string;
1302
+
1303
+ /**
1304
+ * Who will make payment.
1305
+ */
1306
+ readonly responsible?: Reference<Organization | Patient | Practitioner | PractitionerRole | RelatedPerson>;
1307
+
1308
+ /**
1309
+ * Who will receive payment.
1310
+ */
1311
+ readonly recipient?: Reference<Organization | Patient | Practitioner | PractitionerRole | RelatedPerson>;
1312
+
1313
+ /**
1314
+ * Id of the clause or question text related to the context of this
1315
+ * valuedItem in the referenced form or QuestionnaireResponse.
1316
+ */
1317
+ readonly linkId?: string[];
1318
+
1319
+ /**
1320
+ * A set of security labels that define which terms are controlled by
1321
+ * this condition.
1322
+ */
1323
+ readonly securityLabelNumber?: number[];
1324
+ }
1325
+
1326
+ /**
1327
+ * The matter of concern in the context of this provision of the
1328
+ * agrement.
1329
+ */
1330
+ export interface ContractTermOffer {
1331
+
1332
+ /**
1333
+ * Unique id for the element within a resource (for internal references).
1334
+ * This may be any string value that does not contain spaces.
1335
+ */
1336
+ readonly id?: string;
1337
+
1338
+ /**
1339
+ * May be used to represent additional information that is not part of
1340
+ * the basic definition of the element. To make the use of extensions
1341
+ * safe and manageable, there is a strict set of governance applied to
1342
+ * the definition and use of extensions. Though any implementer can
1343
+ * define an extension, there is a set of requirements that SHALL be met
1344
+ * as part of the definition of the extension.
1345
+ */
1346
+ readonly extension?: Extension[];
1347
+
1348
+ /**
1349
+ * May be used to represent additional information that is not part of
1350
+ * the basic definition of the element and that modifies the
1351
+ * understanding of the element in which it is contained and/or the
1352
+ * understanding of the containing element's descendants. Usually
1353
+ * modifier elements provide negation or qualification. To make the use
1354
+ * of extensions safe and manageable, there is a strict set of governance
1355
+ * applied to the definition and use of extensions. Though any
1356
+ * implementer can define an extension, there is a set of requirements
1357
+ * that SHALL be met as part of the definition of the extension.
1358
+ * Applications processing a resource are required to check for modifier
1359
+ * extensions.
1360
+ *
1361
+ * Modifier extensions SHALL NOT change the meaning of any elements on
1362
+ * Resource or DomainResource (including cannot change the meaning of
1363
+ * modifierExtension itself).
1364
+ */
1365
+ readonly modifierExtension?: Extension[];
1366
+
1367
+ /**
1368
+ * Unique identifier for this particular Contract Provision.
1369
+ */
1370
+ readonly identifier?: Identifier[];
1371
+
1372
+ /**
1373
+ * Offer Recipient.
1374
+ */
1375
+ readonly party?: ContractTermOfferParty[];
1376
+
1377
+ /**
1378
+ * The owner of an asset has the residual control rights over the asset:
1379
+ * the right to decide all usages of the asset in any way not
1380
+ * inconsistent with a prior contract, custom, or law (Hart, 1995, p.
1381
+ * 30).
1382
+ */
1383
+ readonly topic?: Reference<Resource>;
1384
+
1385
+ /**
1386
+ * Type of Contract Provision such as specific requirements, purposes for
1387
+ * actions, obligations, prohibitions, e.g. life time maximum benefit.
1388
+ */
1389
+ readonly type?: CodeableConcept;
1390
+
1391
+ /**
1392
+ * Type of choice made by accepting party with respect to an offer made
1393
+ * by an offeror/ grantee.
1394
+ */
1395
+ readonly decision?: CodeableConcept;
1396
+
1397
+ /**
1398
+ * How the decision about a Contract was conveyed.
1399
+ */
1400
+ readonly decisionMode?: CodeableConcept[];
1401
+
1402
+ /**
1403
+ * Response to offer text.
1404
+ */
1405
+ readonly answer?: ContractTermOfferAnswer[];
1406
+
1407
+ /**
1408
+ * Human readable form of this Contract Offer.
1409
+ */
1410
+ readonly text?: string;
1411
+
1412
+ /**
1413
+ * The id of the clause or question text of the offer in the referenced
1414
+ * questionnaire/response.
1415
+ */
1416
+ readonly linkId?: string[];
1417
+
1418
+ /**
1419
+ * Security labels that protects the offer.
1420
+ */
1421
+ readonly securityLabelNumber?: number[];
1422
+ }
1423
+
1424
+ /**
1425
+ * Response to offer text.
1426
+ */
1427
+ export interface ContractTermOfferAnswer {
1428
+
1429
+ /**
1430
+ * Unique id for the element within a resource (for internal references).
1431
+ * This may be any string value that does not contain spaces.
1432
+ */
1433
+ readonly id?: string;
1434
+
1435
+ /**
1436
+ * May be used to represent additional information that is not part of
1437
+ * the basic definition of the element. To make the use of extensions
1438
+ * safe and manageable, there is a strict set of governance applied to
1439
+ * the definition and use of extensions. Though any implementer can
1440
+ * define an extension, there is a set of requirements that SHALL be met
1441
+ * as part of the definition of the extension.
1442
+ */
1443
+ readonly extension?: Extension[];
1444
+
1445
+ /**
1446
+ * May be used to represent additional information that is not part of
1447
+ * the basic definition of the element and that modifies the
1448
+ * understanding of the element in which it is contained and/or the
1449
+ * understanding of the containing element's descendants. Usually
1450
+ * modifier elements provide negation or qualification. To make the use
1451
+ * of extensions safe and manageable, there is a strict set of governance
1452
+ * applied to the definition and use of extensions. Though any
1453
+ * implementer can define an extension, there is a set of requirements
1454
+ * that SHALL be met as part of the definition of the extension.
1455
+ * Applications processing a resource are required to check for modifier
1456
+ * extensions.
1457
+ *
1458
+ * Modifier extensions SHALL NOT change the meaning of any elements on
1459
+ * Resource or DomainResource (including cannot change the meaning of
1460
+ * modifierExtension itself).
1461
+ */
1462
+ readonly modifierExtension?: Extension[];
1463
+
1464
+ /**
1465
+ * Response to an offer clause or question text, which enables selection
1466
+ * of values to be agreed to, e.g., the period of participation, the date
1467
+ * of occupancy of a rental, warrently duration, or whether biospecimen
1468
+ * may be used for further research.
1469
+ */
1470
+ readonly valueBoolean?: boolean;
1471
+
1472
+ /**
1473
+ * Response to an offer clause or question text, which enables selection
1474
+ * of values to be agreed to, e.g., the period of participation, the date
1475
+ * of occupancy of a rental, warrently duration, or whether biospecimen
1476
+ * may be used for further research.
1477
+ */
1478
+ readonly valueDecimal?: number;
1479
+
1480
+ /**
1481
+ * Response to an offer clause or question text, which enables selection
1482
+ * of values to be agreed to, e.g., the period of participation, the date
1483
+ * of occupancy of a rental, warrently duration, or whether biospecimen
1484
+ * may be used for further research.
1485
+ */
1486
+ readonly valueInteger?: number;
1487
+
1488
+ /**
1489
+ * Response to an offer clause or question text, which enables selection
1490
+ * of values to be agreed to, e.g., the period of participation, the date
1491
+ * of occupancy of a rental, warrently duration, or whether biospecimen
1492
+ * may be used for further research.
1493
+ */
1494
+ readonly valueDate?: string;
1495
+
1496
+ /**
1497
+ * Response to an offer clause or question text, which enables selection
1498
+ * of values to be agreed to, e.g., the period of participation, the date
1499
+ * of occupancy of a rental, warrently duration, or whether biospecimen
1500
+ * may be used for further research.
1501
+ */
1502
+ readonly valueDateTime?: string;
1503
+
1504
+ /**
1505
+ * Response to an offer clause or question text, which enables selection
1506
+ * of values to be agreed to, e.g., the period of participation, the date
1507
+ * of occupancy of a rental, warrently duration, or whether biospecimen
1508
+ * may be used for further research.
1509
+ */
1510
+ readonly valueTime?: string;
1511
+
1512
+ /**
1513
+ * Response to an offer clause or question text, which enables selection
1514
+ * of values to be agreed to, e.g., the period of participation, the date
1515
+ * of occupancy of a rental, warrently duration, or whether biospecimen
1516
+ * may be used for further research.
1517
+ */
1518
+ readonly valueString?: string;
1519
+
1520
+ /**
1521
+ * Response to an offer clause or question text, which enables selection
1522
+ * of values to be agreed to, e.g., the period of participation, the date
1523
+ * of occupancy of a rental, warrently duration, or whether biospecimen
1524
+ * may be used for further research.
1525
+ */
1526
+ readonly valueUri?: string;
1527
+
1528
+ /**
1529
+ * Response to an offer clause or question text, which enables selection
1530
+ * of values to be agreed to, e.g., the period of participation, the date
1531
+ * of occupancy of a rental, warrently duration, or whether biospecimen
1532
+ * may be used for further research.
1533
+ */
1534
+ readonly valueAttachment?: Attachment;
1535
+
1536
+ /**
1537
+ * Response to an offer clause or question text, which enables selection
1538
+ * of values to be agreed to, e.g., the period of participation, the date
1539
+ * of occupancy of a rental, warrently duration, or whether biospecimen
1540
+ * may be used for further research.
1541
+ */
1542
+ readonly valueCoding?: Coding;
1543
+
1544
+ /**
1545
+ * Response to an offer clause or question text, which enables selection
1546
+ * of values to be agreed to, e.g., the period of participation, the date
1547
+ * of occupancy of a rental, warrently duration, or whether biospecimen
1548
+ * may be used for further research.
1549
+ */
1550
+ readonly valueQuantity?: Quantity;
1551
+
1552
+ /**
1553
+ * Response to an offer clause or question text, which enables selection
1554
+ * of values to be agreed to, e.g., the period of participation, the date
1555
+ * of occupancy of a rental, warrently duration, or whether biospecimen
1556
+ * may be used for further research.
1557
+ */
1558
+ readonly valueReference?: Reference<Resource>;
1559
+ }
1560
+
1561
+ /**
1562
+ * Offer Recipient.
1563
+ */
1564
+ export interface ContractTermOfferParty {
1565
+
1566
+ /**
1567
+ * Unique id for the element within a resource (for internal references).
1568
+ * This may be any string value that does not contain spaces.
1569
+ */
1570
+ readonly id?: string;
1571
+
1572
+ /**
1573
+ * May be used to represent additional information that is not part of
1574
+ * the basic definition of the element. To make the use of extensions
1575
+ * safe and manageable, there is a strict set of governance applied to
1576
+ * the definition and use of extensions. Though any implementer can
1577
+ * define an extension, there is a set of requirements that SHALL be met
1578
+ * as part of the definition of the extension.
1579
+ */
1580
+ readonly extension?: Extension[];
1581
+
1582
+ /**
1583
+ * May be used to represent additional information that is not part of
1584
+ * the basic definition of the element and that modifies the
1585
+ * understanding of the element in which it is contained and/or the
1586
+ * understanding of the containing element's descendants. Usually
1587
+ * modifier elements provide negation or qualification. To make the use
1588
+ * of extensions safe and manageable, there is a strict set of governance
1589
+ * applied to the definition and use of extensions. Though any
1590
+ * implementer can define an extension, there is a set of requirements
1591
+ * that SHALL be met as part of the definition of the extension.
1592
+ * Applications processing a resource are required to check for modifier
1593
+ * extensions.
1594
+ *
1595
+ * Modifier extensions SHALL NOT change the meaning of any elements on
1596
+ * Resource or DomainResource (including cannot change the meaning of
1597
+ * modifierExtension itself).
1598
+ */
1599
+ readonly modifierExtension?: Extension[];
1600
+
1601
+ /**
1602
+ * Participant in the offer.
1603
+ */
1604
+ readonly reference?: Reference<Patient | RelatedPerson | Practitioner | PractitionerRole | Device | Group | Organization>[];
1605
+
1606
+ /**
1607
+ * How the party participates in the offer.
1608
+ */
1609
+ readonly role?: CodeableConcept;
1610
+ }
1611
+
1612
+ /**
1613
+ * Security labels that protect the handling of information about the
1614
+ * term and its elements, which may be specifically identified..
1615
+ */
1616
+ export interface ContractTermSecurityLabel {
1617
+
1618
+ /**
1619
+ * Unique id for the element within a resource (for internal references).
1620
+ * This may be any string value that does not contain spaces.
1621
+ */
1622
+ readonly id?: string;
1623
+
1624
+ /**
1625
+ * May be used to represent additional information that is not part of
1626
+ * the basic definition of the element. To make the use of extensions
1627
+ * safe and manageable, there is a strict set of governance applied to
1628
+ * the definition and use of extensions. Though any implementer can
1629
+ * define an extension, there is a set of requirements that SHALL be met
1630
+ * as part of the definition of the extension.
1631
+ */
1632
+ readonly extension?: Extension[];
1633
+
1634
+ /**
1635
+ * May be used to represent additional information that is not part of
1636
+ * the basic definition of the element and that modifies the
1637
+ * understanding of the element in which it is contained and/or the
1638
+ * understanding of the containing element's descendants. Usually
1639
+ * modifier elements provide negation or qualification. To make the use
1640
+ * of extensions safe and manageable, there is a strict set of governance
1641
+ * applied to the definition and use of extensions. Though any
1642
+ * implementer can define an extension, there is a set of requirements
1643
+ * that SHALL be met as part of the definition of the extension.
1644
+ * Applications processing a resource are required to check for modifier
1645
+ * extensions.
1646
+ *
1647
+ * Modifier extensions SHALL NOT change the meaning of any elements on
1648
+ * Resource or DomainResource (including cannot change the meaning of
1649
+ * modifierExtension itself).
1650
+ */
1651
+ readonly modifierExtension?: Extension[];
1652
+
1653
+ /**
1654
+ * Number used to link this term or term element to the applicable
1655
+ * Security Label.
1656
+ */
1657
+ readonly number?: number[];
1658
+
1659
+ /**
1660
+ * Security label privacy tag that species the level of confidentiality
1661
+ * protection required for this term and/or term elements.
1662
+ */
1663
+ readonly classification?: Coding;
1664
+
1665
+ /**
1666
+ * Security label privacy tag that species the applicable privacy and
1667
+ * security policies governing this term and/or term elements.
1668
+ */
1669
+ readonly category?: Coding[];
1670
+
1671
+ /**
1672
+ * Security label privacy tag that species the manner in which term
1673
+ * and/or term elements are to be protected.
1674
+ */
1675
+ readonly control?: Coding[];
1676
+ }