@medplum/core 0.2.1 → 0.4.1

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 (660) hide show
  1. package/README.md +32 -26
  2. package/dist/cjs/index.js +1818 -0
  3. package/dist/cjs/index.js.map +1 -0
  4. package/dist/cjs/index.min.js +16 -0
  5. package/dist/cjs/index.min.js.map +1 -0
  6. package/dist/esm/index.js +1769 -0
  7. package/dist/esm/index.js.map +1 -0
  8. package/dist/esm/index.min.js +16 -0
  9. package/dist/esm/index.min.js.map +1 -0
  10. package/dist/{cache.d.ts → types/cache.d.ts} +2 -3
  11. package/dist/types/client.d.ts +230 -0
  12. package/dist/{crypto.d.ts → types/crypto.d.ts} +0 -0
  13. package/dist/{eventtarget.d.ts → types/eventtarget.d.ts} +3 -3
  14. package/dist/{format.d.ts → types/format.d.ts} +1 -1
  15. package/dist/{index.d.ts → types/index.d.ts} +0 -2
  16. package/dist/types/jwt.d.ts +5 -0
  17. package/dist/{outcomes.d.ts → types/outcomes.d.ts} +7 -2
  18. package/dist/{search.d.ts → types/search.d.ts} +4 -0
  19. package/dist/{searchparams.d.ts → types/searchparams.d.ts} +1 -1
  20. package/dist/{storage.d.ts → types/storage.d.ts} +2 -2
  21. package/dist/{types.d.ts → types/types.d.ts} +18 -4
  22. package/dist/{utils.d.ts → types/utils.d.ts} +7 -1
  23. package/package.json +14 -9
  24. package/dist/cache.js +0 -36
  25. package/dist/cache.js.map +0 -1
  26. package/dist/client.d.ts +0 -233
  27. package/dist/client.js +0 -541
  28. package/dist/client.js.map +0 -1
  29. package/dist/crypto.js +0 -33
  30. package/dist/crypto.js.map +0 -1
  31. package/dist/eventtarget.js +0 -38
  32. package/dist/eventtarget.js.map +0 -1
  33. package/dist/fhir/AccessPolicy.d.ts +0 -75
  34. package/dist/fhir/AccessPolicy.js +0 -7
  35. package/dist/fhir/AccessPolicy.js.map +0 -1
  36. package/dist/fhir/Account.d.ts +0 -247
  37. package/dist/fhir/Account.js +0 -7
  38. package/dist/fhir/Account.js.map +0 -1
  39. package/dist/fhir/ActivityDefinition.d.ts +0 -500
  40. package/dist/fhir/ActivityDefinition.js +0 -7
  41. package/dist/fhir/ActivityDefinition.js.map +0 -1
  42. package/dist/fhir/Address.d.ts +0 -75
  43. package/dist/fhir/Address.js +0 -7
  44. package/dist/fhir/Address.js.map +0 -1
  45. package/dist/fhir/AdverseEvent.d.ts +0 -303
  46. package/dist/fhir/AdverseEvent.js +0 -7
  47. package/dist/fhir/AdverseEvent.js.map +0 -1
  48. package/dist/fhir/Age.d.ts +0 -47
  49. package/dist/fhir/Age.js +0 -7
  50. package/dist/fhir/Age.js.map +0 -1
  51. package/dist/fhir/AllergyIntolerance.d.ts +0 -283
  52. package/dist/fhir/AllergyIntolerance.js +0 -7
  53. package/dist/fhir/AllergyIntolerance.js.map +0 -1
  54. package/dist/fhir/Annotation.d.ts +0 -42
  55. package/dist/fhir/Annotation.js +0 -7
  56. package/dist/fhir/Annotation.js.map +0 -1
  57. package/dist/fhir/Appointment.d.ts +0 -284
  58. package/dist/fhir/Appointment.js +0 -7
  59. package/dist/fhir/Appointment.js.map +0 -1
  60. package/dist/fhir/AppointmentResponse.d.ts +0 -131
  61. package/dist/fhir/AppointmentResponse.js +0 -7
  62. package/dist/fhir/AppointmentResponse.js.map +0 -1
  63. package/dist/fhir/Attachment.d.ts +0 -58
  64. package/dist/fhir/Attachment.js +0 -7
  65. package/dist/fhir/Attachment.js.map +0 -1
  66. package/dist/fhir/AuditEvent.d.ts +0 -458
  67. package/dist/fhir/AuditEvent.js +0 -7
  68. package/dist/fhir/AuditEvent.js.map +0 -1
  69. package/dist/fhir/Basic.d.ts +0 -110
  70. package/dist/fhir/Basic.js +0 -7
  71. package/dist/fhir/Basic.js.map +0 -1
  72. package/dist/fhir/Binary.d.ts +0 -59
  73. package/dist/fhir/Binary.js +0 -7
  74. package/dist/fhir/Binary.js.map +0 -1
  75. package/dist/fhir/BiologicallyDerivedProduct.d.ts +0 -358
  76. package/dist/fhir/BiologicallyDerivedProduct.js +0 -7
  77. package/dist/fhir/BiologicallyDerivedProduct.js.map +0 -1
  78. package/dist/fhir/BodyStructure.d.ts +0 -119
  79. package/dist/fhir/BodyStructure.js +0 -7
  80. package/dist/fhir/BodyStructure.js.map +0 -1
  81. package/dist/fhir/Bot.d.ts +0 -49
  82. package/dist/fhir/Bot.js +0 -7
  83. package/dist/fhir/Bot.js.map +0 -1
  84. package/dist/fhir/Bundle.d.ts +0 -379
  85. package/dist/fhir/Bundle.js +0 -7
  86. package/dist/fhir/Bundle.js.map +0 -1
  87. package/dist/fhir/CapabilityStatement.d.ts +0 -1044
  88. package/dist/fhir/CapabilityStatement.js +0 -7
  89. package/dist/fhir/CapabilityStatement.js.map +0 -1
  90. package/dist/fhir/CarePlan.d.ts +0 -446
  91. package/dist/fhir/CarePlan.js +0 -7
  92. package/dist/fhir/CarePlan.js.map +0 -1
  93. package/dist/fhir/CareTeam.d.ts +0 -211
  94. package/dist/fhir/CareTeam.js +0 -7
  95. package/dist/fhir/CareTeam.js.map +0 -1
  96. package/dist/fhir/CatalogEntry.d.ts +0 -195
  97. package/dist/fhir/CatalogEntry.js +0 -7
  98. package/dist/fhir/CatalogEntry.js.map +0 -1
  99. package/dist/fhir/ChargeItem.d.ts +0 -287
  100. package/dist/fhir/ChargeItem.js +0 -7
  101. package/dist/fhir/ChargeItem.js.map +0 -1
  102. package/dist/fhir/ChargeItemDefinition.d.ts +0 -401
  103. package/dist/fhir/ChargeItemDefinition.js +0 -7
  104. package/dist/fhir/ChargeItemDefinition.js.map +0 -1
  105. package/dist/fhir/Claim.d.ts +0 -1092
  106. package/dist/fhir/Claim.js +0 -7
  107. package/dist/fhir/Claim.js.map +0 -1
  108. package/dist/fhir/ClaimResponse.d.ts +0 -1040
  109. package/dist/fhir/ClaimResponse.js +0 -7
  110. package/dist/fhir/ClaimResponse.js.map +0 -1
  111. package/dist/fhir/ClientApplication.d.ts +0 -46
  112. package/dist/fhir/ClientApplication.js +0 -7
  113. package/dist/fhir/ClientApplication.js.map +0 -1
  114. package/dist/fhir/ClinicalImpression.d.ts +0 -306
  115. package/dist/fhir/ClinicalImpression.js +0 -7
  116. package/dist/fhir/ClinicalImpression.js.map +0 -1
  117. package/dist/fhir/CodeSystem.d.ts +0 -541
  118. package/dist/fhir/CodeSystem.js +0 -7
  119. package/dist/fhir/CodeSystem.js.map +0 -1
  120. package/dist/fhir/CodeableConcept.d.ts +0 -33
  121. package/dist/fhir/CodeableConcept.js +0 -7
  122. package/dist/fhir/CodeableConcept.js.map +0 -1
  123. package/dist/fhir/Coding.d.ts +0 -50
  124. package/dist/fhir/Coding.js +0 -7
  125. package/dist/fhir/Coding.js.map +0 -1
  126. package/dist/fhir/Communication.d.ts +0 -264
  127. package/dist/fhir/Communication.js +0 -7
  128. package/dist/fhir/Communication.js.map +0 -1
  129. package/dist/fhir/CommunicationRequest.d.ts +0 -261
  130. package/dist/fhir/CommunicationRequest.js +0 -7
  131. package/dist/fhir/CommunicationRequest.js.map +0 -1
  132. package/dist/fhir/CompartmentDefinition.d.ts +0 -217
  133. package/dist/fhir/CompartmentDefinition.js +0 -7
  134. package/dist/fhir/CompartmentDefinition.js.map +0 -1
  135. package/dist/fhir/Composition.d.ts +0 -429
  136. package/dist/fhir/Composition.js +0 -7
  137. package/dist/fhir/Composition.js.map +0 -1
  138. package/dist/fhir/ConceptMap.d.ts +0 -518
  139. package/dist/fhir/ConceptMap.js +0 -7
  140. package/dist/fhir/ConceptMap.js.map +0 -1
  141. package/dist/fhir/Condition.d.ts +0 -326
  142. package/dist/fhir/Condition.js +0 -7
  143. package/dist/fhir/Condition.js.map +0 -1
  144. package/dist/fhir/Consent.d.ts +0 -460
  145. package/dist/fhir/Consent.js +0 -7
  146. package/dist/fhir/Consent.js.map +0 -1
  147. package/dist/fhir/ContactDetail.d.ts +0 -31
  148. package/dist/fhir/ContactDetail.js +0 -7
  149. package/dist/fhir/ContactDetail.js.map +0 -1
  150. package/dist/fhir/ContactPoint.d.ts +0 -47
  151. package/dist/fhir/ContactPoint.js +0 -7
  152. package/dist/fhir/ContactPoint.js.map +0 -1
  153. package/dist/fhir/Contract.d.ts +0 -1452
  154. package/dist/fhir/Contract.js +0 -7
  155. package/dist/fhir/Contract.js.map +0 -1
  156. package/dist/fhir/Contributor.d.ts +0 -37
  157. package/dist/fhir/Contributor.js +0 -7
  158. package/dist/fhir/Contributor.js.map +0 -1
  159. package/dist/fhir/Count.d.ts +0 -49
  160. package/dist/fhir/Count.js +0 -7
  161. package/dist/fhir/Count.js.map +0 -1
  162. package/dist/fhir/Coverage.d.ts +0 -327
  163. package/dist/fhir/Coverage.js +0 -7
  164. package/dist/fhir/Coverage.js.map +0 -1
  165. package/dist/fhir/CoverageEligibilityRequest.d.ts +0 -404
  166. package/dist/fhir/CoverageEligibilityRequest.js +0 -7
  167. package/dist/fhir/CoverageEligibilityRequest.js.map +0 -1
  168. package/dist/fhir/CoverageEligibilityResponse.d.ts +0 -434
  169. package/dist/fhir/CoverageEligibilityResponse.js +0 -7
  170. package/dist/fhir/CoverageEligibilityResponse.js.map +0 -1
  171. package/dist/fhir/DataRequirement.d.ts +0 -239
  172. package/dist/fhir/DataRequirement.js +0 -7
  173. package/dist/fhir/DataRequirement.js.map +0 -1
  174. package/dist/fhir/DetectedIssue.d.ts +0 -252
  175. package/dist/fhir/DetectedIssue.js +0 -7
  176. package/dist/fhir/DetectedIssue.js.map +0 -1
  177. package/dist/fhir/Device.d.ts +0 -493
  178. package/dist/fhir/Device.js +0 -7
  179. package/dist/fhir/Device.js.map +0 -1
  180. package/dist/fhir/DeviceDefinition.d.ts +0 -486
  181. package/dist/fhir/DeviceDefinition.js +0 -7
  182. package/dist/fhir/DeviceDefinition.js.map +0 -1
  183. package/dist/fhir/DeviceMetric.d.ts +0 -199
  184. package/dist/fhir/DeviceMetric.js +0 -7
  185. package/dist/fhir/DeviceMetric.js.map +0 -1
  186. package/dist/fhir/DeviceRequest.d.ts +0 -296
  187. package/dist/fhir/DeviceRequest.js +0 -7
  188. package/dist/fhir/DeviceRequest.js.map +0 -1
  189. package/dist/fhir/DeviceUseStatement.d.ts +0 -168
  190. package/dist/fhir/DeviceUseStatement.js +0 -7
  191. package/dist/fhir/DeviceUseStatement.js.map +0 -1
  192. package/dist/fhir/DiagnosticReport.d.ts +0 -254
  193. package/dist/fhir/DiagnosticReport.js +0 -7
  194. package/dist/fhir/DiagnosticReport.js.map +0 -1
  195. package/dist/fhir/Distance.d.ts +0 -47
  196. package/dist/fhir/Distance.js +0 -7
  197. package/dist/fhir/Distance.js.map +0 -1
  198. package/dist/fhir/DocumentManifest.d.ts +0 -196
  199. package/dist/fhir/DocumentManifest.js +0 -7
  200. package/dist/fhir/DocumentManifest.js.map +0 -1
  201. package/dist/fhir/DocumentReference.d.ts +0 -349
  202. package/dist/fhir/DocumentReference.js +0 -7
  203. package/dist/fhir/DocumentReference.js.map +0 -1
  204. package/dist/fhir/Dosage.d.ts +0 -152
  205. package/dist/fhir/Dosage.js +0 -7
  206. package/dist/fhir/Dosage.js.map +0 -1
  207. package/dist/fhir/Duration.d.ts +0 -46
  208. package/dist/fhir/Duration.js +0 -7
  209. package/dist/fhir/Duration.js.map +0 -1
  210. package/dist/fhir/EffectEvidenceSynthesis.d.ts +0 -591
  211. package/dist/fhir/EffectEvidenceSynthesis.js +0 -7
  212. package/dist/fhir/EffectEvidenceSynthesis.js.map +0 -1
  213. package/dist/fhir/Element.d.ts +0 -21
  214. package/dist/fhir/Element.js +0 -7
  215. package/dist/fhir/Element.js.map +0 -1
  216. package/dist/fhir/ElementDefinition.d.ts +0 -2701
  217. package/dist/fhir/ElementDefinition.js +0 -7
  218. package/dist/fhir/ElementDefinition.js.map +0 -1
  219. package/dist/fhir/Encounter.d.ts +0 -558
  220. package/dist/fhir/Encounter.js +0 -7
  221. package/dist/fhir/Encounter.js.map +0 -1
  222. package/dist/fhir/Endpoint.d.ts +0 -140
  223. package/dist/fhir/Endpoint.js +0 -7
  224. package/dist/fhir/Endpoint.js.map +0 -1
  225. package/dist/fhir/EnrollmentRequest.d.ts +0 -113
  226. package/dist/fhir/EnrollmentRequest.js +0 -7
  227. package/dist/fhir/EnrollmentRequest.js.map +0 -1
  228. package/dist/fhir/EnrollmentResponse.d.ts +0 -117
  229. package/dist/fhir/EnrollmentResponse.js +0 -7
  230. package/dist/fhir/EnrollmentResponse.js.map +0 -1
  231. package/dist/fhir/EpisodeOfCare.d.ts +0 -246
  232. package/dist/fhir/EpisodeOfCare.js +0 -7
  233. package/dist/fhir/EpisodeOfCare.js.map +0 -1
  234. package/dist/fhir/EventDefinition.d.ts +0 -253
  235. package/dist/fhir/EventDefinition.js +0 -7
  236. package/dist/fhir/EventDefinition.js.map +0 -1
  237. package/dist/fhir/Evidence.d.ts +0 -252
  238. package/dist/fhir/Evidence.js +0 -7
  239. package/dist/fhir/Evidence.js.map +0 -1
  240. package/dist/fhir/EvidenceVariable.d.ts +0 -370
  241. package/dist/fhir/EvidenceVariable.js +0 -7
  242. package/dist/fhir/EvidenceVariable.js.map +0 -1
  243. package/dist/fhir/ExampleScenario.d.ts +0 -628
  244. package/dist/fhir/ExampleScenario.js +0 -7
  245. package/dist/fhir/ExampleScenario.js.map +0 -1
  246. package/dist/fhir/ExplanationOfBenefit.d.ts +0 -1841
  247. package/dist/fhir/ExplanationOfBenefit.js +0 -7
  248. package/dist/fhir/ExplanationOfBenefit.js.map +0 -1
  249. package/dist/fhir/Expression.d.ts +0 -45
  250. package/dist/fhir/Expression.js +0 -7
  251. package/dist/fhir/Expression.js.map +0 -1
  252. package/dist/fhir/Extension.d.ts +0 -306
  253. package/dist/fhir/Extension.js +0 -7
  254. package/dist/fhir/Extension.js.map +0 -1
  255. package/dist/fhir/FamilyMemberHistory.d.ts +0 -306
  256. package/dist/fhir/FamilyMemberHistory.js +0 -7
  257. package/dist/fhir/FamilyMemberHistory.js.map +0 -1
  258. package/dist/fhir/Flag.d.ts +0 -132
  259. package/dist/fhir/Flag.js +0 -7
  260. package/dist/fhir/Flag.js.map +0 -1
  261. package/dist/fhir/Goal.d.ts +0 -299
  262. package/dist/fhir/Goal.js +0 -7
  263. package/dist/fhir/Goal.js.map +0 -1
  264. package/dist/fhir/GraphDefinition.d.ts +0 -350
  265. package/dist/fhir/GraphDefinition.js +0 -7
  266. package/dist/fhir/GraphDefinition.js.map +0 -1
  267. package/dist/fhir/Group.d.ts +0 -271
  268. package/dist/fhir/Group.js +0 -7
  269. package/dist/fhir/Group.js.map +0 -1
  270. package/dist/fhir/GuidanceResponse.d.ts +0 -196
  271. package/dist/fhir/GuidanceResponse.js +0 -7
  272. package/dist/fhir/GuidanceResponse.js.map +0 -1
  273. package/dist/fhir/HealthcareService.d.ts +0 -356
  274. package/dist/fhir/HealthcareService.js +0 -7
  275. package/dist/fhir/HealthcareService.js.map +0 -1
  276. package/dist/fhir/HumanName.d.ts +0 -58
  277. package/dist/fhir/HumanName.js +0 -7
  278. package/dist/fhir/HumanName.js.map +0 -1
  279. package/dist/fhir/Identifier.d.ts +0 -53
  280. package/dist/fhir/Identifier.js +0 -7
  281. package/dist/fhir/Identifier.js.map +0 -1
  282. package/dist/fhir/ImagingStudy.d.ts +0 -407
  283. package/dist/fhir/ImagingStudy.js +0 -7
  284. package/dist/fhir/ImagingStudy.js.map +0 -1
  285. package/dist/fhir/Immunization.d.ts +0 -444
  286. package/dist/fhir/Immunization.js +0 -7
  287. package/dist/fhir/Immunization.js.map +0 -1
  288. package/dist/fhir/ImmunizationEvaluation.d.ts +0 -149
  289. package/dist/fhir/ImmunizationEvaluation.js +0 -7
  290. package/dist/fhir/ImmunizationEvaluation.js.map +0 -1
  291. package/dist/fhir/ImmunizationRecommendation.d.ts +0 -254
  292. package/dist/fhir/ImmunizationRecommendation.js +0 -7
  293. package/dist/fhir/ImmunizationRecommendation.js.map +0 -1
  294. package/dist/fhir/ImplementationGuide.d.ts +0 -824
  295. package/dist/fhir/ImplementationGuide.js +0 -7
  296. package/dist/fhir/ImplementationGuide.js.map +0 -1
  297. package/dist/fhir/InsurancePlan.d.ts +0 -624
  298. package/dist/fhir/InsurancePlan.js +0 -7
  299. package/dist/fhir/InsurancePlan.js.map +0 -1
  300. package/dist/fhir/Invoice.d.ts +0 -346
  301. package/dist/fhir/Invoice.js +0 -7
  302. package/dist/fhir/Invoice.js.map +0 -1
  303. package/dist/fhir/JsonWebKey.d.ts +0 -99
  304. package/dist/fhir/JsonWebKey.js +0 -7
  305. package/dist/fhir/JsonWebKey.js.map +0 -1
  306. package/dist/fhir/Library.d.ts +0 -277
  307. package/dist/fhir/Library.js +0 -7
  308. package/dist/fhir/Library.js.map +0 -1
  309. package/dist/fhir/Linkage.d.ts +0 -146
  310. package/dist/fhir/Linkage.js +0 -7
  311. package/dist/fhir/Linkage.js.map +0 -1
  312. package/dist/fhir/List.d.ts +0 -200
  313. package/dist/fhir/List.js +0 -7
  314. package/dist/fhir/List.js.map +0 -1
  315. package/dist/fhir/Location.d.ts +0 -277
  316. package/dist/fhir/Location.js +0 -7
  317. package/dist/fhir/Location.js.map +0 -1
  318. package/dist/fhir/Login.d.ts +0 -119
  319. package/dist/fhir/Login.js +0 -7
  320. package/dist/fhir/Login.js.map +0 -1
  321. package/dist/fhir/MarketingStatus.d.ts +0 -82
  322. package/dist/fhir/MarketingStatus.js +0 -7
  323. package/dist/fhir/MarketingStatus.js.map +0 -1
  324. package/dist/fhir/Measure.d.ts +0 -620
  325. package/dist/fhir/Measure.js +0 -7
  326. package/dist/fhir/Measure.js.map +0 -1
  327. package/dist/fhir/MeasureReport.d.ts +0 -463
  328. package/dist/fhir/MeasureReport.js +0 -7
  329. package/dist/fhir/MeasureReport.js.map +0 -1
  330. package/dist/fhir/Media.d.ts +0 -205
  331. package/dist/fhir/Media.js +0 -7
  332. package/dist/fhir/Media.js.map +0 -1
  333. package/dist/fhir/Medication.d.ts +0 -230
  334. package/dist/fhir/Medication.js +0 -7
  335. package/dist/fhir/Medication.js.map +0 -1
  336. package/dist/fhir/MedicationAdministration.d.ts +0 -352
  337. package/dist/fhir/MedicationAdministration.js +0 -7
  338. package/dist/fhir/MedicationAdministration.js.map +0 -1
  339. package/dist/fhir/MedicationDispense.d.ts +0 -343
  340. package/dist/fhir/MedicationDispense.js +0 -7
  341. package/dist/fhir/MedicationDispense.js.map +0 -1
  342. package/dist/fhir/MedicationKnowledge.d.ts +0 -992
  343. package/dist/fhir/MedicationKnowledge.js +0 -7
  344. package/dist/fhir/MedicationKnowledge.js.map +0 -1
  345. package/dist/fhir/MedicationRequest.d.ts +0 -481
  346. package/dist/fhir/MedicationRequest.js +0 -7
  347. package/dist/fhir/MedicationRequest.js.map +0 -1
  348. package/dist/fhir/MedicationStatement.d.ts +0 -228
  349. package/dist/fhir/MedicationStatement.js +0 -7
  350. package/dist/fhir/MedicationStatement.js.map +0 -1
  351. package/dist/fhir/MedicinalProduct.d.ts +0 -453
  352. package/dist/fhir/MedicinalProduct.js +0 -7
  353. package/dist/fhir/MedicinalProduct.js.map +0 -1
  354. package/dist/fhir/MedicinalProductAuthorization.d.ts +0 -271
  355. package/dist/fhir/MedicinalProductAuthorization.js +0 -7
  356. package/dist/fhir/MedicinalProductAuthorization.js.map +0 -1
  357. package/dist/fhir/MedicinalProductContraindication.d.ts +0 -170
  358. package/dist/fhir/MedicinalProductContraindication.js +0 -7
  359. package/dist/fhir/MedicinalProductContraindication.js.map +0 -1
  360. package/dist/fhir/MedicinalProductIndication.d.ts +0 -179
  361. package/dist/fhir/MedicinalProductIndication.js +0 -7
  362. package/dist/fhir/MedicinalProductIndication.js.map +0 -1
  363. package/dist/fhir/MedicinalProductIngredient.d.ts +0 -336
  364. package/dist/fhir/MedicinalProductIngredient.js +0 -7
  365. package/dist/fhir/MedicinalProductIngredient.js.map +0 -1
  366. package/dist/fhir/MedicinalProductInteraction.d.ts +0 -158
  367. package/dist/fhir/MedicinalProductInteraction.js +0 -7
  368. package/dist/fhir/MedicinalProductInteraction.js.map +0 -1
  369. package/dist/fhir/MedicinalProductManufactured.d.ts +0 -113
  370. package/dist/fhir/MedicinalProductManufactured.js +0 -7
  371. package/dist/fhir/MedicinalProductManufactured.js.map +0 -1
  372. package/dist/fhir/MedicinalProductPackaged.d.ts +0 -259
  373. package/dist/fhir/MedicinalProductPackaged.js +0 -7
  374. package/dist/fhir/MedicinalProductPackaged.js.map +0 -1
  375. package/dist/fhir/MedicinalProductPharmaceutical.d.ts +0 -331
  376. package/dist/fhir/MedicinalProductPharmaceutical.js +0 -7
  377. package/dist/fhir/MedicinalProductPharmaceutical.js.map +0 -1
  378. package/dist/fhir/MedicinalProductUndesirableEffect.d.ts +0 -101
  379. package/dist/fhir/MedicinalProductUndesirableEffect.js +0 -7
  380. package/dist/fhir/MedicinalProductUndesirableEffect.js.map +0 -1
  381. package/dist/fhir/MessageDefinition.d.ts +0 -330
  382. package/dist/fhir/MessageDefinition.js +0 -7
  383. package/dist/fhir/MessageDefinition.js.map +0 -1
  384. package/dist/fhir/MessageHeader.d.ts +0 -323
  385. package/dist/fhir/MessageHeader.js +0 -7
  386. package/dist/fhir/MessageHeader.js.map +0 -1
  387. package/dist/fhir/Meta.d.ts +0 -75
  388. package/dist/fhir/Meta.js +0 -7
  389. package/dist/fhir/Meta.js.map +0 -1
  390. package/dist/fhir/MolecularSequence.d.ts +0 -760
  391. package/dist/fhir/MolecularSequence.js +0 -7
  392. package/dist/fhir/MolecularSequence.js.map +0 -1
  393. package/dist/fhir/Money.d.ts +0 -29
  394. package/dist/fhir/Money.js +0 -7
  395. package/dist/fhir/Money.js.map +0 -1
  396. package/dist/fhir/NamingSystem.d.ts +0 -218
  397. package/dist/fhir/NamingSystem.js +0 -7
  398. package/dist/fhir/NamingSystem.js.map +0 -1
  399. package/dist/fhir/Narrative.d.ts +0 -32
  400. package/dist/fhir/Narrative.js +0 -7
  401. package/dist/fhir/Narrative.js.map +0 -1
  402. package/dist/fhir/NutritionOrder.d.ts +0 -566
  403. package/dist/fhir/NutritionOrder.js +0 -7
  404. package/dist/fhir/NutritionOrder.js.map +0 -1
  405. package/dist/fhir/Observation.d.ts +0 -520
  406. package/dist/fhir/Observation.js +0 -7
  407. package/dist/fhir/Observation.js.map +0 -1
  408. package/dist/fhir/ObservationDefinition.d.ts +0 -278
  409. package/dist/fhir/ObservationDefinition.js +0 -7
  410. package/dist/fhir/ObservationDefinition.js.map +0 -1
  411. package/dist/fhir/OperationDefinition.d.ts +0 -468
  412. package/dist/fhir/OperationDefinition.js +0 -7
  413. package/dist/fhir/OperationDefinition.js.map +0 -1
  414. package/dist/fhir/OperationOutcome.d.ts +0 -160
  415. package/dist/fhir/OperationOutcome.js +0 -7
  416. package/dist/fhir/OperationOutcome.js.map +0 -1
  417. package/dist/fhir/Organization.d.ts +0 -184
  418. package/dist/fhir/Organization.js +0 -7
  419. package/dist/fhir/Organization.js.map +0 -1
  420. package/dist/fhir/OrganizationAffiliation.d.ts +0 -145
  421. package/dist/fhir/OrganizationAffiliation.js +0 -7
  422. package/dist/fhir/OrganizationAffiliation.js.map +0 -1
  423. package/dist/fhir/ParameterDefinition.d.ts +0 -57
  424. package/dist/fhir/ParameterDefinition.js +0 -7
  425. package/dist/fhir/ParameterDefinition.js.map +0 -1
  426. package/dist/fhir/Parameters.d.ts +0 -319
  427. package/dist/fhir/Parameters.js +0 -7
  428. package/dist/fhir/Parameters.js.map +0 -1
  429. package/dist/fhir/PasswordChangeRequest.d.ts +0 -51
  430. package/dist/fhir/PasswordChangeRequest.js +0 -7
  431. package/dist/fhir/PasswordChangeRequest.js.map +0 -1
  432. package/dist/fhir/Patient.d.ts +0 -342
  433. package/dist/fhir/Patient.js +0 -7
  434. package/dist/fhir/Patient.js.map +0 -1
  435. package/dist/fhir/PaymentNotice.d.ts +0 -135
  436. package/dist/fhir/PaymentNotice.js +0 -7
  437. package/dist/fhir/PaymentNotice.js.map +0 -1
  438. package/dist/fhir/PaymentReconciliation.d.ts +0 -280
  439. package/dist/fhir/PaymentReconciliation.js +0 -7
  440. package/dist/fhir/PaymentReconciliation.js.map +0 -1
  441. package/dist/fhir/Period.d.ts +0 -32
  442. package/dist/fhir/Period.js +0 -7
  443. package/dist/fhir/Period.js.map +0 -1
  444. package/dist/fhir/Person.d.ts +0 -175
  445. package/dist/fhir/Person.js +0 -7
  446. package/dist/fhir/Person.js.map +0 -1
  447. package/dist/fhir/PlanDefinition.d.ts +0 -837
  448. package/dist/fhir/PlanDefinition.js +0 -7
  449. package/dist/fhir/PlanDefinition.js.map +0 -1
  450. package/dist/fhir/Population.d.ts +0 -62
  451. package/dist/fhir/Population.js +0 -7
  452. package/dist/fhir/Population.js.map +0 -1
  453. package/dist/fhir/Practitioner.d.ts +0 -191
  454. package/dist/fhir/Practitioner.js +0 -7
  455. package/dist/fhir/Practitioner.js.map +0 -1
  456. package/dist/fhir/PractitionerRole.d.ts +0 -259
  457. package/dist/fhir/PractitionerRole.js +0 -7
  458. package/dist/fhir/PractitionerRole.js.map +0 -1
  459. package/dist/fhir/Procedure.d.ts +0 -372
  460. package/dist/fhir/Procedure.js +0 -7
  461. package/dist/fhir/Procedure.js.map +0 -1
  462. package/dist/fhir/ProdCharacteristic.d.ts +0 -112
  463. package/dist/fhir/ProdCharacteristic.js +0 -7
  464. package/dist/fhir/ProdCharacteristic.js.map +0 -1
  465. package/dist/fhir/ProductShelfLife.d.ts +0 -70
  466. package/dist/fhir/ProductShelfLife.js +0 -7
  467. package/dist/fhir/ProductShelfLife.js.map +0 -1
  468. package/dist/fhir/Project.d.ts +0 -43
  469. package/dist/fhir/Project.js +0 -7
  470. package/dist/fhir/Project.js.map +0 -1
  471. package/dist/fhir/ProjectMembership.d.ts +0 -66
  472. package/dist/fhir/ProjectMembership.js +0 -7
  473. package/dist/fhir/ProjectMembership.js.map +0 -1
  474. package/dist/fhir/Provenance.d.ts +0 -258
  475. package/dist/fhir/Provenance.js +0 -7
  476. package/dist/fhir/Provenance.js.map +0 -1
  477. package/dist/fhir/Quantity.d.ts +0 -46
  478. package/dist/fhir/Quantity.js +0 -7
  479. package/dist/fhir/Quantity.js.map +0 -1
  480. package/dist/fhir/Questionnaire.d.ts +0 -603
  481. package/dist/fhir/Questionnaire.js +0 -7
  482. package/dist/fhir/Questionnaire.js.map +0 -1
  483. package/dist/fhir/QuestionnaireResponse.d.ts +0 -313
  484. package/dist/fhir/QuestionnaireResponse.js +0 -7
  485. package/dist/fhir/QuestionnaireResponse.js.map +0 -1
  486. package/dist/fhir/Range.d.ts +0 -30
  487. package/dist/fhir/Range.js +0 -7
  488. package/dist/fhir/Range.js.map +0 -1
  489. package/dist/fhir/Ratio.d.ts +0 -30
  490. package/dist/fhir/Ratio.js +0 -7
  491. package/dist/fhir/Ratio.js.map +0 -1
  492. package/dist/fhir/Reference.d.ts +0 -67
  493. package/dist/fhir/Reference.js +0 -7
  494. package/dist/fhir/Reference.js.map +0 -1
  495. package/dist/fhir/RefreshToken.d.ts +0 -45
  496. package/dist/fhir/RefreshToken.js +0 -7
  497. package/dist/fhir/RefreshToken.js.map +0 -1
  498. package/dist/fhir/RelatedArtifact.d.ts +0 -57
  499. package/dist/fhir/RelatedArtifact.js +0 -7
  500. package/dist/fhir/RelatedArtifact.js.map +0 -1
  501. package/dist/fhir/RelatedPerson.d.ts +0 -190
  502. package/dist/fhir/RelatedPerson.js +0 -7
  503. package/dist/fhir/RelatedPerson.js.map +0 -1
  504. package/dist/fhir/RequestGroup.d.ts +0 -434
  505. package/dist/fhir/RequestGroup.js +0 -7
  506. package/dist/fhir/RequestGroup.js.map +0 -1
  507. package/dist/fhir/ResearchDefinition.d.ts +0 -291
  508. package/dist/fhir/ResearchDefinition.js +0 -7
  509. package/dist/fhir/ResearchDefinition.js.map +0 -1
  510. package/dist/fhir/ResearchElementDefinition.d.ts +0 -431
  511. package/dist/fhir/ResearchElementDefinition.js +0 -7
  512. package/dist/fhir/ResearchElementDefinition.js.map +0 -1
  513. package/dist/fhir/ResearchStudy.d.ts +0 -318
  514. package/dist/fhir/ResearchStudy.js +0 -7
  515. package/dist/fhir/ResearchStudy.js.map +0 -1
  516. package/dist/fhir/ResearchSubject.d.ts +0 -119
  517. package/dist/fhir/ResearchSubject.js +0 -7
  518. package/dist/fhir/ResearchSubject.js.map +0 -1
  519. package/dist/fhir/Resource.d.ts +0 -156
  520. package/dist/fhir/Resource.js +0 -7
  521. package/dist/fhir/Resource.js.map +0 -1
  522. package/dist/fhir/RiskAssessment.d.ts +0 -246
  523. package/dist/fhir/RiskAssessment.js +0 -7
  524. package/dist/fhir/RiskAssessment.js.map +0 -1
  525. package/dist/fhir/RiskEvidenceSynthesis.d.ts +0 -530
  526. package/dist/fhir/RiskEvidenceSynthesis.js +0 -7
  527. package/dist/fhir/RiskEvidenceSynthesis.js.map +0 -1
  528. package/dist/fhir/SampledData.d.ts +0 -62
  529. package/dist/fhir/SampledData.js +0 -7
  530. package/dist/fhir/SampledData.js.map +0 -1
  531. package/dist/fhir/Schedule.d.ts +0 -129
  532. package/dist/fhir/Schedule.js +0 -7
  533. package/dist/fhir/Schedule.js.map +0 -1
  534. package/dist/fhir/SearchParameter.d.ts +0 -277
  535. package/dist/fhir/SearchParameter.js +0 -7
  536. package/dist/fhir/SearchParameter.js.map +0 -1
  537. package/dist/fhir/ServiceRequest.d.ts +0 -309
  538. package/dist/fhir/ServiceRequest.js +0 -7
  539. package/dist/fhir/ServiceRequest.js.map +0 -1
  540. package/dist/fhir/Signature.d.ts +0 -71
  541. package/dist/fhir/Signature.js +0 -7
  542. package/dist/fhir/Signature.js.map +0 -1
  543. package/dist/fhir/Slot.d.ts +0 -134
  544. package/dist/fhir/Slot.js +0 -7
  545. package/dist/fhir/Slot.js.map +0 -1
  546. package/dist/fhir/Specimen.d.ts +0 -366
  547. package/dist/fhir/Specimen.js +0 -7
  548. package/dist/fhir/Specimen.js.map +0 -1
  549. package/dist/fhir/SpecimenDefinition.d.ts +0 -363
  550. package/dist/fhir/SpecimenDefinition.js +0 -7
  551. package/dist/fhir/SpecimenDefinition.js.map +0 -1
  552. package/dist/fhir/StructureDefinition.d.ts +0 -438
  553. package/dist/fhir/StructureDefinition.js +0 -7
  554. package/dist/fhir/StructureDefinition.js.map +0 -1
  555. package/dist/fhir/StructureMap.d.ts +0 -904
  556. package/dist/fhir/StructureMap.js +0 -7
  557. package/dist/fhir/StructureMap.js.map +0 -1
  558. package/dist/fhir/Subscription.d.ts +0 -172
  559. package/dist/fhir/Subscription.js +0 -7
  560. package/dist/fhir/Subscription.js.map +0 -1
  561. package/dist/fhir/Substance.d.ts +0 -213
  562. package/dist/fhir/Substance.js +0 -7
  563. package/dist/fhir/Substance.js.map +0 -1
  564. package/dist/fhir/SubstanceAmount.d.ts +0 -115
  565. package/dist/fhir/SubstanceAmount.js +0 -7
  566. package/dist/fhir/SubstanceAmount.js.map +0 -1
  567. package/dist/fhir/SubstanceNucleicAcid.d.ts +0 -309
  568. package/dist/fhir/SubstanceNucleicAcid.js +0 -7
  569. package/dist/fhir/SubstanceNucleicAcid.js.map +0 -1
  570. package/dist/fhir/SubstancePolymer.d.ts +0 -405
  571. package/dist/fhir/SubstancePolymer.js +0 -7
  572. package/dist/fhir/SubstancePolymer.js.map +0 -1
  573. package/dist/fhir/SubstanceProtein.d.ts +0 -218
  574. package/dist/fhir/SubstanceProtein.js +0 -7
  575. package/dist/fhir/SubstanceProtein.js.map +0 -1
  576. package/dist/fhir/SubstanceReferenceInformation.d.ts +0 -330
  577. package/dist/fhir/SubstanceReferenceInformation.js +0 -7
  578. package/dist/fhir/SubstanceReferenceInformation.js.map +0 -1
  579. package/dist/fhir/SubstanceSourceMaterial.d.ts +0 -521
  580. package/dist/fhir/SubstanceSourceMaterial.js +0 -7
  581. package/dist/fhir/SubstanceSourceMaterial.js.map +0 -1
  582. package/dist/fhir/SubstanceSpecification.d.ts +0 -827
  583. package/dist/fhir/SubstanceSpecification.js +0 -7
  584. package/dist/fhir/SubstanceSpecification.js.map +0 -1
  585. package/dist/fhir/SupplyDelivery.d.ts +0 -205
  586. package/dist/fhir/SupplyDelivery.js +0 -7
  587. package/dist/fhir/SupplyDelivery.js.map +0 -1
  588. package/dist/fhir/SupplyRequest.d.ts +0 -237
  589. package/dist/fhir/SupplyRequest.js +0 -7
  590. package/dist/fhir/SupplyRequest.js.map +0 -1
  591. package/dist/fhir/Task.d.ts +0 -807
  592. package/dist/fhir/Task.js +0 -7
  593. package/dist/fhir/Task.js.map +0 -1
  594. package/dist/fhir/TerminologyCapabilities.d.ts +0 -716
  595. package/dist/fhir/TerminologyCapabilities.js +0 -7
  596. package/dist/fhir/TerminologyCapabilities.js.map +0 -1
  597. package/dist/fhir/TestReport.d.ts +0 -549
  598. package/dist/fhir/TestReport.js +0 -7
  599. package/dist/fhir/TestReport.js.map +0 -1
  600. package/dist/fhir/TestScript.d.ts +0 -1184
  601. package/dist/fhir/TestScript.js +0 -7
  602. package/dist/fhir/TestScript.js.map +0 -1
  603. package/dist/fhir/Timing.d.ts +0 -178
  604. package/dist/fhir/Timing.js +0 -7
  605. package/dist/fhir/Timing.js.map +0 -1
  606. package/dist/fhir/TriggerDefinition.d.ts +0 -65
  607. package/dist/fhir/TriggerDefinition.js +0 -7
  608. package/dist/fhir/TriggerDefinition.js.map +0 -1
  609. package/dist/fhir/UsageContext.d.ts +0 -61
  610. package/dist/fhir/UsageContext.js +0 -7
  611. package/dist/fhir/UsageContext.js.map +0 -1
  612. package/dist/fhir/User.d.ts +0 -45
  613. package/dist/fhir/User.js +0 -7
  614. package/dist/fhir/User.js.map +0 -1
  615. package/dist/fhir/ValueSet.d.ts +0 -725
  616. package/dist/fhir/ValueSet.js +0 -7
  617. package/dist/fhir/ValueSet.js.map +0 -1
  618. package/dist/fhir/VerificationResult.d.ts +0 -340
  619. package/dist/fhir/VerificationResult.js +0 -7
  620. package/dist/fhir/VerificationResult.js.map +0 -1
  621. package/dist/fhir/VisionPrescription.d.ts +0 -264
  622. package/dist/fhir/VisionPrescription.js +0 -7
  623. package/dist/fhir/VisionPrescription.js.map +0 -1
  624. package/dist/fhir/index.d.ts +0 -196
  625. package/dist/fhir/index.js +0 -213
  626. package/dist/fhir/index.js.map +0 -1
  627. package/dist/fhirpath/functions.d.ts +0 -6
  628. package/dist/fhirpath/functions.js +0 -349
  629. package/dist/fhirpath/functions.js.map +0 -1
  630. package/dist/fhirpath/index.d.ts +0 -2
  631. package/dist/fhirpath/index.js +0 -15
  632. package/dist/fhirpath/index.js.map +0 -1
  633. package/dist/fhirpath/parse.d.ts +0 -10
  634. package/dist/fhirpath/parse.js +0 -266
  635. package/dist/fhirpath/parse.js.map +0 -1
  636. package/dist/fhirpath/tokenize.d.ts +0 -13
  637. package/dist/fhirpath/tokenize.js +0 -39
  638. package/dist/fhirpath/tokenize.js.map +0 -1
  639. package/dist/fhirpath/utils.d.ts +0 -13
  640. package/dist/fhirpath/utils.js +0 -34
  641. package/dist/fhirpath/utils.js.map +0 -1
  642. package/dist/format.js +0 -56
  643. package/dist/format.js.map +0 -1
  644. package/dist/index.js +0 -22
  645. package/dist/index.js.map +0 -1
  646. package/dist/jwt.d.ts +0 -5
  647. package/dist/jwt.js +0 -28
  648. package/dist/jwt.js.map +0 -1
  649. package/dist/outcomes.js +0 -140
  650. package/dist/outcomes.js.map +0 -1
  651. package/dist/search.js +0 -120
  652. package/dist/search.js.map +0 -1
  653. package/dist/searchparams.js +0 -129
  654. package/dist/searchparams.js.map +0 -1
  655. package/dist/storage.js +0 -90
  656. package/dist/storage.js.map +0 -1
  657. package/dist/types.js +0 -171
  658. package/dist/types.js.map +0 -1
  659. package/dist/utils.js +0 -234
  660. package/dist/utils.js.map +0 -1
@@ -1,7 +0,0 @@
1
- "use strict";
2
- /*
3
- * Generated by @medplum/generator
4
- * Do not edit manually.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- //# sourceMappingURL=CapabilityStatement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CapabilityStatement.js","sourceRoot":"","sources":["../../src/fhir/CapabilityStatement.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*\n * Generated by @medplum/generator\n * Do not edit manually.\n */\n\nimport { CodeableConcept } from './CodeableConcept';\nimport { Coding } from './Coding';\nimport { ContactDetail } from './ContactDetail';\nimport { Extension } from './Extension';\nimport { Meta } from './Meta';\nimport { Narrative } from './Narrative';\nimport { Organization } from './Organization';\nimport { Reference } from './Reference';\nimport { Resource } from './Resource';\nimport { UsageContext } from './UsageContext';\n\n/**\n * A Capability Statement documents a set of capabilities (behaviors) of\n * a FHIR Server for a particular version of FHIR that may be used as a\n * statement of actual server functionality or a statement of required or\n * desired server implementation.\n */\nexport interface CapabilityStatement {\n\n /**\n * This is a CapabilityStatement resource\n */\n readonly resourceType: 'CapabilityStatement';\n\n /**\n * The logical id of the resource, as used in the URL for the resource.\n * Once assigned, this value never changes.\n */\n readonly id?: string;\n\n /**\n * The metadata about the resource. This is content that is maintained by\n * the infrastructure. Changes to the content might not always be\n * associated with version changes to the resource.\n */\n readonly meta?: Meta;\n\n /**\n * A reference to a set of rules that were followed when the resource was\n * constructed, and which must be understood when processing the content.\n * Often, this is a reference to an implementation guide that defines the\n * special rules along with other profiles etc.\n */\n readonly implicitRules?: string;\n\n /**\n * The base language in which the resource is written.\n */\n readonly language?: string;\n\n /**\n * A human-readable narrative that contains a summary of the resource and\n * can be used to represent the content of the resource to a human. The\n * narrative need not encode all the structured data, but is required to\n * contain sufficient detail to make it &quot;clinically safe&quot; for a human to\n * just read the narrative. Resource definitions may define what content\n * should be represented in the narrative to ensure clinical safety.\n */\n readonly text?: Narrative;\n\n /**\n * These resources do not have an independent existence apart from the\n * resource that contains them - they cannot be identified independently,\n * and nor can they have their own independent transaction scope.\n */\n readonly contained?: Resource[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the resource. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the resource and that modifies the\n * understanding of the element that contains it and/or the understanding\n * of the containing element's descendants. Usually modifier elements\n * provide negation or qualification. To make the use of extensions safe\n * and manageable, there is a strict set of governance applied to the\n * definition and use of extensions. Though any implementer is allowed to\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension. Applications processing a\n * resource are required to check for modifier extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * An absolute URI that is used to identify this capability statement\n * when it is referenced in a specification, model, design or an\n * instance; also called its canonical identifier. This SHOULD be\n * globally unique and SHOULD be a literal address at which at which an\n * authoritative instance of this capability statement is (or will be)\n * published. This URL can be the target of a canonical reference. It\n * SHALL remain the same when the capability statement is stored on\n * different servers.\n */\n readonly url?: string;\n\n /**\n * The identifier that is used to identify this version of the capability\n * statement when it is referenced in a specification, model, design or\n * instance. This is an arbitrary value managed by the capability\n * statement author and is not expected to be globally unique. For\n * example, it might be a timestamp (e.g. yyyymmdd) if a managed version\n * is not available. There is also no expectation that versions can be\n * placed in a lexicographical sequence.\n */\n readonly version?: string;\n\n /**\n * A natural language name identifying the capability statement. This\n * name should be usable as an identifier for the module by machine\n * processing applications such as code generation.\n */\n readonly name?: string;\n\n /**\n * A short, descriptive, user-friendly title for the capability\n * statement.\n */\n readonly title?: string;\n\n /**\n * The status of this capability statement. Enables tracking the\n * life-cycle of the content.\n */\n readonly status?: string;\n\n /**\n * A Boolean value to indicate that this capability statement is authored\n * for testing purposes (or education/evaluation/marketing) and is not\n * intended to be used for genuine usage.\n */\n readonly experimental?: boolean;\n\n /**\n * The date (and optionally time) when the capability statement was\n * published. The date must change when the business version changes and\n * it must change if the status code changes. In addition, it should\n * change when the substantive content of the capability statement\n * changes.\n */\n readonly date?: string;\n\n /**\n * The name of the organization or individual that published the\n * capability statement.\n */\n readonly publisher?: string;\n\n /**\n * Contact details to assist a user in finding and communicating with the\n * publisher.\n */\n readonly contact?: ContactDetail[];\n\n /**\n * A free text natural language description of the capability statement\n * from a consumer's perspective. Typically, this is used when the\n * capability statement describes a desired rather than an actual\n * solution, for example as a formal expression of requirements as part\n * of an RFP.\n */\n readonly description?: string;\n\n /**\n * The content was developed with a focus and intent of supporting the\n * contexts that are listed. These contexts may be general categories\n * (gender, age, ...) or may be references to specific programs\n * (insurance plans, studies, ...) and may be used to assist with\n * indexing and searching for appropriate capability statement instances.\n */\n readonly useContext?: UsageContext[];\n\n /**\n * A legal or geographic region in which the capability statement is\n * intended to be used.\n */\n readonly jurisdiction?: CodeableConcept[];\n\n /**\n * Explanation of why this capability statement is needed and why it has\n * been designed as it has.\n */\n readonly purpose?: string;\n\n /**\n * A copyright statement relating to the capability statement and/or its\n * contents. Copyright statements are generally legal restrictions on the\n * use and publishing of the capability statement.\n */\n readonly copyright?: string;\n\n /**\n * The way that this statement is intended to be used, to describe an\n * actual running instance of software, a particular product (kind, not\n * instance of software) or a class of implementation (e.g. a desired\n * purchase).\n */\n readonly kind?: string;\n\n /**\n * Reference to a canonical URL of another CapabilityStatement that this\n * software implements. This capability statement is a published API\n * description that corresponds to a business service. The server may\n * actually implement a subset of the capability statement it claims to\n * implement, so the capability statement must specify the full\n * capability details.\n */\n readonly instantiates?: string[];\n\n /**\n * Reference to a canonical URL of another CapabilityStatement that this\n * software adds to. The capability statement automatically includes\n * everything in the other statement, and it is not duplicated, though\n * the server may repeat the same resources, interactions and operations\n * to add additional details to them.\n */\n readonly imports?: string[];\n\n /**\n * Software that is covered by this capability statement. It is used\n * when the capability statement describes the capabilities of a\n * particular software version, independent of an installation.\n */\n readonly software?: CapabilityStatementSoftware;\n\n /**\n * Identifies a specific implementation instance that is described by the\n * capability statement - i.e. a particular installation, rather than the\n * capabilities of a software program.\n */\n readonly implementation?: CapabilityStatementImplementation;\n\n /**\n * The version of the FHIR specification that this CapabilityStatement\n * describes (which SHALL be the same as the FHIR version of the\n * CapabilityStatement itself). There is no default value.\n */\n readonly fhirVersion?: string;\n\n /**\n * A list of the formats supported by this implementation using their\n * content types.\n */\n readonly format?: string[];\n\n /**\n * A list of the patch formats supported by this implementation using\n * their content types.\n */\n readonly patchFormat?: string[];\n\n /**\n * A list of implementation guides that the server does (or should)\n * support in their entirety.\n */\n readonly implementationGuide?: string[];\n\n /**\n * A definition of the restful capabilities of the solution, if any.\n */\n readonly rest?: CapabilityStatementRest[];\n\n /**\n * A description of the messaging capabilities of the solution.\n */\n readonly messaging?: CapabilityStatementMessaging[];\n\n /**\n * A document definition.\n */\n readonly document?: CapabilityStatementDocument[];\n}\n\n/**\n * A document definition.\n */\nexport interface CapabilityStatementDocument {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * Mode of this document declaration - whether an application is a\n * producer or consumer.\n */\n readonly mode?: string;\n\n /**\n * A description of how the application supports or uses the specified\n * document profile. For example, when documents are created, what\n * action is taken with consumed documents, etc.\n */\n readonly documentation?: string;\n\n /**\n * A profile on the document Bundle that constrains which resources are\n * present, and their contents.\n */\n readonly profile?: string;\n}\n\n/**\n * Identifies a specific implementation instance that is described by the\n * capability statement - i.e. a particular installation, rather than the\n * capabilities of a software program.\n */\nexport interface CapabilityStatementImplementation {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * Information about the specific installation that this capability\n * statement relates to.\n */\n readonly description?: string;\n\n /**\n * An absolute base URL for the implementation. This forms the base for\n * REST interfaces as well as the mailbox and document interfaces.\n */\n readonly url?: string;\n\n /**\n * The organization responsible for the management of the instance and\n * oversight of the data on the server at the specified URL.\n */\n readonly custodian?: Reference<Organization>;\n}\n\n/**\n * A description of the messaging capabilities of the solution.\n */\nexport interface CapabilityStatementMessaging {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * An endpoint (network accessible address) to which messages and/or\n * replies are to be sent.\n */\n readonly endpoint?: CapabilityStatementMessagingEndpoint[];\n\n /**\n * Length if the receiver's reliable messaging cache in minutes (if a\n * receiver) or how long the cache length on the receiver should be (if a\n * sender).\n */\n readonly reliableCache?: number;\n\n /**\n * Documentation about the system's messaging capabilities for this\n * endpoint not otherwise documented by the capability statement. For\n * example, the process for becoming an authorized messaging exchange\n * partner.\n */\n readonly documentation?: string;\n\n /**\n * References to message definitions for messages this system can send or\n * receive.\n */\n readonly supportedMessage?: CapabilityStatementMessagingSupportedMessage[];\n}\n\n/**\n * An endpoint (network accessible address) to which messages and/or\n * replies are to be sent.\n */\nexport interface CapabilityStatementMessagingEndpoint {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * A list of the messaging transport protocol(s) identifiers, supported\n * by this endpoint.\n */\n readonly protocol?: Coding;\n\n /**\n * The network address of the endpoint. For solutions that do not use\n * network addresses for routing, it can be just an identifier.\n */\n readonly address?: string;\n}\n\n/**\n * References to message definitions for messages this system can send or\n * receive.\n */\nexport interface CapabilityStatementMessagingSupportedMessage {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * The mode of this event declaration - whether application is sender or\n * receiver.\n */\n readonly mode?: string;\n\n /**\n * Points to a message definition that identifies the messaging event,\n * message structure, allowed responses, etc.\n */\n readonly definition?: string;\n}\n\n/**\n * A definition of the restful capabilities of the solution, if any.\n */\nexport interface CapabilityStatementRest {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * Identifies whether this portion of the statement is describing the\n * ability to initiate or receive restful operations.\n */\n readonly mode?: string;\n\n /**\n * Information about the system's restful capabilities that apply across\n * all applications, such as security.\n */\n readonly documentation?: string;\n\n /**\n * Information about security implementation from an interface\n * perspective - what a client needs to know.\n */\n readonly security?: CapabilityStatementRestSecurity;\n\n /**\n * A specification of the restful capabilities of the solution for a\n * specific resource type.\n */\n readonly resource?: CapabilityStatementRestResource[];\n\n /**\n * A specification of restful operations supported by the system.\n */\n readonly interaction?: CapabilityStatementRestInteraction[];\n\n /**\n * Search parameters that are supported for searching all resources for\n * implementations to support and/or make use of - either references to\n * ones defined in the specification, or additional ones defined for/by\n * the implementation.\n */\n readonly searchParam?: CapabilityStatementRestResourceSearchParam[];\n\n /**\n * Definition of an operation or a named query together with its\n * parameters and their meaning and type.\n */\n readonly operation?: CapabilityStatementRestResourceOperation[];\n\n /**\n * An absolute URI which is a reference to the definition of a\n * compartment that the system supports. The reference is to a\n * CompartmentDefinition resource by its canonical URL .\n */\n readonly compartment?: string[];\n}\n\n/**\n * A specification of restful operations supported by the system.\n */\nexport interface CapabilityStatementRestInteraction {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * A coded identifier of the operation, supported by the system.\n */\n readonly code?: string;\n\n /**\n * Guidance specific to the implementation of this operation, such as\n * limitations on the kind of transactions allowed, or information about\n * system wide search is implemented.\n */\n readonly documentation?: string;\n}\n\n/**\n * A specification of the restful capabilities of the solution for a\n * specific resource type.\n */\nexport interface CapabilityStatementRestResource {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * A type of resource exposed via the restful interface.\n */\n readonly type?: string;\n\n /**\n * A specification of the profile that describes the solution's overall\n * support for the resource, including any constraints on cardinality,\n * bindings, lengths or other limitations. See further discussion in\n * [Using Profiles](profiling.html#profile-uses).\n */\n readonly profile?: string;\n\n /**\n * A list of profiles that represent different use cases supported by the\n * system. For a server, &quot;supported by the system&quot; means the system\n * hosts/produces a set of resources that are conformant to a particular\n * profile, and allows clients that use its services to search using this\n * profile and to find appropriate data. For a client, it means the\n * system will search by this profile and process data according to the\n * guidance implicit in the profile. See further discussion in [Using\n * Profiles](profiling.html#profile-uses).\n */\n readonly supportedProfile?: string[];\n\n /**\n * Additional information about the resource type used by the system.\n */\n readonly documentation?: string;\n\n /**\n * Identifies a restful operation supported by the solution.\n */\n readonly interaction?: CapabilityStatementRestResourceInteraction[];\n\n /**\n * This field is set to no-version to specify that the system does not\n * support (server) or use (client) versioning for this resource type. If\n * this has some other value, the server must at least correctly track\n * and populate the versionId meta-property on resources. If the value is\n * 'versioned-update', then the server supports all the versioning\n * features, including using e-tags for version integrity in the API.\n */\n readonly versioning?: string;\n\n /**\n * A flag for whether the server is able to return past versions as part\n * of the vRead operation.\n */\n readonly readHistory?: boolean;\n\n /**\n * A flag to indicate that the server allows or needs to allow the client\n * to create new identities on the server (that is, the client PUTs to a\n * location where there is no existing resource). Allowing this operation\n * means that the server allows the client to create new identities on\n * the server.\n */\n readonly updateCreate?: boolean;\n\n /**\n * A flag that indicates that the server supports conditional create.\n */\n readonly conditionalCreate?: boolean;\n\n /**\n * A code that indicates how the server supports conditional read.\n */\n readonly conditionalRead?: string;\n\n /**\n * A flag that indicates that the server supports conditional update.\n */\n readonly conditionalUpdate?: boolean;\n\n /**\n * A code that indicates how the server supports conditional delete.\n */\n readonly conditionalDelete?: string;\n\n /**\n * A set of flags that defines how references are supported.\n */\n readonly referencePolicy?: string[];\n\n /**\n * A list of _include values supported by the server.\n */\n readonly searchInclude?: string[];\n\n /**\n * A list of _revinclude (reverse include) values supported by the\n * server.\n */\n readonly searchRevInclude?: string[];\n\n /**\n * Search parameters for implementations to support and/or make use of -\n * either references to ones defined in the specification, or additional\n * ones defined for/by the implementation.\n */\n readonly searchParam?: CapabilityStatementRestResourceSearchParam[];\n\n /**\n * Definition of an operation or a named query together with its\n * parameters and their meaning and type. Consult the definition of the\n * operation for details about how to invoke the operation, and the\n * parameters.\n */\n readonly operation?: CapabilityStatementRestResourceOperation[];\n}\n\n/**\n * Identifies a restful operation supported by the solution.\n */\nexport interface CapabilityStatementRestResourceInteraction {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * Coded identifier of the operation, supported by the system resource.\n */\n readonly code?: string;\n\n /**\n * Guidance specific to the implementation of this operation, such as\n * 'delete is a logical delete' or 'updates are only allowed with version\n * id' or 'creates permitted from pre-authorized certificates only'.\n */\n readonly documentation?: string;\n}\n\n/**\n * Definition of an operation or a named query together with its\n * parameters and their meaning and type. Consult the definition of the\n * operation for details about how to invoke the operation, and the\n * parameters.\n */\nexport interface CapabilityStatementRestResourceOperation {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * The name of the operation or query. For an operation, this is the name\n * prefixed with $ and used in the URL. For a query, this is the name\n * used in the _query parameter when the query is called.\n */\n readonly name?: string;\n\n /**\n * Where the formal definition can be found. If a server references the\n * base definition of an Operation (i.e. from the specification itself\n * such as\n * ```http://hl7.org/fhir/OperationDefinition/ValueSet-expand```), that\n * means it supports the full capabilities of the operation - e.g. both\n * GET and POST invocation. If it only supports a subset, it must define\n * its own custom [OperationDefinition](operationdefinition.html#) with a\n * 'base' of the original OperationDefinition. The custom definition\n * would describe the specific subset of functionality supported.\n */\n readonly definition?: string;\n\n /**\n * Documentation that describes anything special about the operation\n * behavior, possibly detailing different behavior for system, type and\n * instance-level invocation of the operation.\n */\n readonly documentation?: string;\n}\n\n/**\n * Search parameters for implementations to support and/or make use of -\n * either references to ones defined in the specification, or additional\n * ones defined for/by the implementation.\n */\nexport interface CapabilityStatementRestResourceSearchParam {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * The name of the search parameter used in the interface.\n */\n readonly name?: string;\n\n /**\n * An absolute URI that is a formal reference to where this parameter was\n * first defined, so that a client can be confident of the meaning of the\n * search parameter (a reference to\n * [SearchParameter.url](searchparameter-definitions.html#SearchParameter.url)).\n * This element SHALL be populated if the search parameter refers to a\n * SearchParameter defined by the FHIR core specification or externally\n * defined IGs.\n */\n readonly definition?: string;\n\n /**\n * The type of value a search parameter refers to, and how the content is\n * interpreted.\n */\n readonly type?: string;\n\n /**\n * This allows documentation of any distinct behaviors about how the\n * search parameter is used. For example, text matching algorithms.\n */\n readonly documentation?: string;\n}\n\n/**\n * Information about security implementation from an interface\n * perspective - what a client needs to know.\n */\nexport interface CapabilityStatementRestSecurity {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * Server adds CORS headers when responding to requests - this enables\n * Javascript applications to use the server.\n */\n readonly cors?: boolean;\n\n /**\n * Types of security services that are supported/required by the system.\n */\n readonly service?: CodeableConcept[];\n\n /**\n * General description of how security works.\n */\n readonly description?: string;\n}\n\n/**\n * Software that is covered by this capability statement. It is used\n * when the capability statement describes the capabilities of a\n * particular software version, independent of an installation.\n */\nexport interface CapabilityStatementSoftware {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * Name the software is known by.\n */\n readonly name?: string;\n\n /**\n * The version identifier for the software covered by this statement.\n */\n readonly version?: string;\n\n /**\n * Date this version of the software was released.\n */\n readonly releaseDate?: string;\n}\n"]}
@@ -1,446 +0,0 @@
1
- import { Annotation } from './Annotation';
2
- import { Appointment } from './Appointment';
3
- import { CareTeam } from './CareTeam';
4
- import { CodeableConcept } from './CodeableConcept';
5
- import { CommunicationRequest } from './CommunicationRequest';
6
- import { Condition } from './Condition';
7
- import { Device } from './Device';
8
- import { DeviceRequest } from './DeviceRequest';
9
- import { DiagnosticReport } from './DiagnosticReport';
10
- import { DocumentReference } from './DocumentReference';
11
- import { Encounter } from './Encounter';
12
- import { Extension } from './Extension';
13
- import { Goal } from './Goal';
14
- import { Group } from './Group';
15
- import { HealthcareService } from './HealthcareService';
16
- import { Identifier } from './Identifier';
17
- import { Location } from './Location';
18
- import { Medication } from './Medication';
19
- import { MedicationRequest } from './MedicationRequest';
20
- import { Meta } from './Meta';
21
- import { Narrative } from './Narrative';
22
- import { NutritionOrder } from './NutritionOrder';
23
- import { Observation } from './Observation';
24
- import { Organization } from './Organization';
25
- import { Patient } from './Patient';
26
- import { Period } from './Period';
27
- import { Practitioner } from './Practitioner';
28
- import { PractitionerRole } from './PractitionerRole';
29
- import { Quantity } from './Quantity';
30
- import { Reference } from './Reference';
31
- import { RelatedPerson } from './RelatedPerson';
32
- import { RequestGroup } from './RequestGroup';
33
- import { Resource } from './Resource';
34
- import { ServiceRequest } from './ServiceRequest';
35
- import { Substance } from './Substance';
36
- import { Task } from './Task';
37
- import { Timing } from './Timing';
38
- import { VisionPrescription } from './VisionPrescription';
39
- /**
40
- * Describes the intention of how one or more practitioners intend to
41
- * deliver care for a particular patient, group or community for a period
42
- * of time, possibly limited to care for a specific condition or set of
43
- * conditions.
44
- */
45
- export interface CarePlan {
46
- /**
47
- * This is a CarePlan resource
48
- */
49
- readonly resourceType: 'CarePlan';
50
- /**
51
- * The logical id of the resource, as used in the URL for the resource.
52
- * Once assigned, this value never changes.
53
- */
54
- readonly id?: string;
55
- /**
56
- * The metadata about the resource. This is content that is maintained by
57
- * the infrastructure. Changes to the content might not always be
58
- * associated with version changes to the resource.
59
- */
60
- readonly meta?: Meta;
61
- /**
62
- * A reference to a set of rules that were followed when the resource was
63
- * constructed, and which must be understood when processing the content.
64
- * Often, this is a reference to an implementation guide that defines the
65
- * special rules along with other profiles etc.
66
- */
67
- readonly implicitRules?: string;
68
- /**
69
- * The base language in which the resource is written.
70
- */
71
- readonly language?: string;
72
- /**
73
- * A human-readable narrative that contains a summary of the resource and
74
- * can be used to represent the content of the resource to a human. The
75
- * narrative need not encode all the structured data, but is required to
76
- * contain sufficient detail to make it &quot;clinically safe&quot; for a human to
77
- * just read the narrative. Resource definitions may define what content
78
- * should be represented in the narrative to ensure clinical safety.
79
- */
80
- readonly text?: Narrative;
81
- /**
82
- * These resources do not have an independent existence apart from the
83
- * resource that contains them - they cannot be identified independently,
84
- * and nor can they have their own independent transaction scope.
85
- */
86
- readonly contained?: Resource[];
87
- /**
88
- * May be used to represent additional information that is not part of
89
- * the basic definition of the resource. To make the use of extensions
90
- * safe and manageable, there is a strict set of governance applied to
91
- * the definition and use of extensions. Though any implementer can
92
- * define an extension, there is a set of requirements that SHALL be met
93
- * as part of the definition of the extension.
94
- */
95
- readonly extension?: Extension[];
96
- /**
97
- * May be used to represent additional information that is not part of
98
- * the basic definition of the resource and that modifies the
99
- * understanding of the element that contains it and/or the understanding
100
- * of the containing element's descendants. Usually modifier elements
101
- * provide negation or qualification. To make the use of extensions safe
102
- * and manageable, there is a strict set of governance applied to the
103
- * definition and use of extensions. Though any implementer is allowed to
104
- * define an extension, there is a set of requirements that SHALL be met
105
- * as part of the definition of the extension. Applications processing a
106
- * resource are required to check for modifier extensions.
107
- *
108
- * Modifier extensions SHALL NOT change the meaning of any elements on
109
- * Resource or DomainResource (including cannot change the meaning of
110
- * modifierExtension itself).
111
- */
112
- readonly modifierExtension?: Extension[];
113
- /**
114
- * Business identifiers assigned to this care plan by the performer or
115
- * other systems which remain constant as the resource is updated and
116
- * propagates from server to server.
117
- */
118
- readonly identifier?: Identifier[];
119
- /**
120
- * The URL pointing to a FHIR-defined protocol, guideline, questionnaire
121
- * or other definition that is adhered to in whole or in part by this
122
- * CarePlan.
123
- */
124
- readonly instantiatesCanonical?: string[];
125
- /**
126
- * The URL pointing to an externally maintained protocol, guideline,
127
- * questionnaire or other definition that is adhered to in whole or in
128
- * part by this CarePlan.
129
- */
130
- readonly instantiatesUri?: string[];
131
- /**
132
- * A care plan that is fulfilled in whole or in part by this care plan.
133
- */
134
- readonly basedOn?: Reference<CarePlan>[];
135
- /**
136
- * Completed or terminated care plan whose function is taken by this new
137
- * care plan.
138
- */
139
- readonly replaces?: Reference<CarePlan>[];
140
- /**
141
- * A larger care plan of which this particular care plan is a component
142
- * or step.
143
- */
144
- readonly partOf?: Reference<CarePlan>[];
145
- /**
146
- * Indicates whether the plan is currently being acted upon, represents
147
- * future intentions or is now a historical record.
148
- */
149
- readonly status?: string;
150
- /**
151
- * Indicates the level of authority/intentionality associated with the
152
- * care plan and where the care plan fits into the workflow chain.
153
- */
154
- readonly intent?: string;
155
- /**
156
- * Identifies what &quot;kind&quot; of plan this is to support differentiation
157
- * between multiple co-existing plans; e.g. &quot;Home health&quot;, &quot;psychiatric&quot;,
158
- * &quot;asthma&quot;, &quot;disease management&quot;, &quot;wellness plan&quot;, etc.
159
- */
160
- readonly category?: CodeableConcept[];
161
- /**
162
- * Human-friendly name for the care plan.
163
- */
164
- readonly title?: string;
165
- /**
166
- * A description of the scope and nature of the plan.
167
- */
168
- readonly description?: string;
169
- /**
170
- * Identifies the patient or group whose intended care is described by
171
- * the plan.
172
- */
173
- readonly subject?: Reference<Patient | Group>;
174
- /**
175
- * The Encounter during which this CarePlan was created or to which the
176
- * creation of this record is tightly associated.
177
- */
178
- readonly encounter?: Reference<Encounter>;
179
- /**
180
- * Indicates when the plan did (or is intended to) come into effect and
181
- * end.
182
- */
183
- readonly period?: Period;
184
- /**
185
- * Represents when this particular CarePlan record was created in the
186
- * system, which is often a system-generated date.
187
- */
188
- readonly created?: string;
189
- /**
190
- * When populated, the author is responsible for the care plan. The care
191
- * plan is attributed to the author.
192
- */
193
- readonly author?: Reference<Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam>;
194
- /**
195
- * Identifies the individual(s) or organization who provided the contents
196
- * of the care plan.
197
- */
198
- readonly contributor?: Reference<Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam>[];
199
- /**
200
- * Identifies all people and organizations who are expected to be
201
- * involved in the care envisioned by this plan.
202
- */
203
- readonly careTeam?: Reference<CareTeam>[];
204
- /**
205
- * Identifies the conditions/problems/concerns/diagnoses/etc. whose
206
- * management and/or mitigation are handled by this plan.
207
- */
208
- readonly addresses?: Reference<Condition>[];
209
- /**
210
- * Identifies portions of the patient's record that specifically
211
- * influenced the formation of the plan. These might include
212
- * comorbidities, recent procedures, limitations, recent assessments,
213
- * etc.
214
- */
215
- readonly supportingInfo?: Reference<Resource>[];
216
- /**
217
- * Describes the intended objective(s) of carrying out the care plan.
218
- */
219
- readonly goal?: Reference<Goal>[];
220
- /**
221
- * Identifies a planned action to occur as part of the plan. For
222
- * example, a medication to be used, lab tests to perform,
223
- * self-monitoring, education, etc.
224
- */
225
- readonly activity?: CarePlanActivity[];
226
- /**
227
- * General notes about the care plan not covered elsewhere.
228
- */
229
- readonly note?: Annotation[];
230
- }
231
- /**
232
- * Identifies a planned action to occur as part of the plan. For
233
- * example, a medication to be used, lab tests to perform,
234
- * self-monitoring, education, etc.
235
- */
236
- export interface CarePlanActivity {
237
- /**
238
- * Unique id for the element within a resource (for internal references).
239
- * This may be any string value that does not contain spaces.
240
- */
241
- readonly id?: string;
242
- /**
243
- * May be used to represent additional information that is not part of
244
- * the basic definition of the element. To make the use of extensions
245
- * safe and manageable, there is a strict set of governance applied to
246
- * the definition and use of extensions. Though any implementer can
247
- * define an extension, there is a set of requirements that SHALL be met
248
- * as part of the definition of the extension.
249
- */
250
- readonly extension?: Extension[];
251
- /**
252
- * May be used to represent additional information that is not part of
253
- * the basic definition of the element and that modifies the
254
- * understanding of the element in which it is contained and/or the
255
- * understanding of the containing element's descendants. Usually
256
- * modifier elements provide negation or qualification. To make the use
257
- * of extensions safe and manageable, there is a strict set of governance
258
- * applied to the definition and use of extensions. Though any
259
- * implementer can define an extension, there is a set of requirements
260
- * that SHALL be met as part of the definition of the extension.
261
- * Applications processing a resource are required to check for modifier
262
- * extensions.
263
- *
264
- * Modifier extensions SHALL NOT change the meaning of any elements on
265
- * Resource or DomainResource (including cannot change the meaning of
266
- * modifierExtension itself).
267
- */
268
- readonly modifierExtension?: Extension[];
269
- /**
270
- * Identifies the outcome at the point when the status of the activity is
271
- * assessed. For example, the outcome of an education activity could be
272
- * patient understands (or not).
273
- */
274
- readonly outcomeCodeableConcept?: CodeableConcept[];
275
- /**
276
- * Details of the outcome or action resulting from the activity. The
277
- * reference to an &quot;event&quot; resource, such as Procedure or Encounter or
278
- * Observation, is the result/outcome of the activity itself. The
279
- * activity can be conveyed using CarePlan.activity.detail OR using the
280
- * CarePlan.activity.reference (a reference to a &ldquo;request&rdquo; resource).
281
- */
282
- readonly outcomeReference?: Reference<Resource>[];
283
- /**
284
- * Notes about the adherence/status/progress of the activity.
285
- */
286
- readonly progress?: Annotation[];
287
- /**
288
- * The details of the proposed activity represented in a specific
289
- * resource.
290
- */
291
- readonly reference?: Reference<Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription | RequestGroup>;
292
- /**
293
- * A simple summary of a planned activity suitable for a general care
294
- * plan system (e.g. form driven) that doesn't know about specific
295
- * resources such as procedure etc.
296
- */
297
- readonly detail?: CarePlanActivityDetail;
298
- }
299
- /**
300
- * A simple summary of a planned activity suitable for a general care
301
- * plan system (e.g. form driven) that doesn't know about specific
302
- * resources such as procedure etc.
303
- */
304
- export interface CarePlanActivityDetail {
305
- /**
306
- * Unique id for the element within a resource (for internal references).
307
- * This may be any string value that does not contain spaces.
308
- */
309
- readonly id?: string;
310
- /**
311
- * May be used to represent additional information that is not part of
312
- * the basic definition of the element. To make the use of extensions
313
- * safe and manageable, there is a strict set of governance applied to
314
- * the definition and use of extensions. Though any implementer can
315
- * define an extension, there is a set of requirements that SHALL be met
316
- * as part of the definition of the extension.
317
- */
318
- readonly extension?: Extension[];
319
- /**
320
- * May be used to represent additional information that is not part of
321
- * the basic definition of the element and that modifies the
322
- * understanding of the element in which it is contained and/or the
323
- * understanding of the containing element's descendants. Usually
324
- * modifier elements provide negation or qualification. To make the use
325
- * of extensions safe and manageable, there is a strict set of governance
326
- * applied to the definition and use of extensions. Though any
327
- * implementer can define an extension, there is a set of requirements
328
- * that SHALL be met as part of the definition of the extension.
329
- * Applications processing a resource are required to check for modifier
330
- * extensions.
331
- *
332
- * Modifier extensions SHALL NOT change the meaning of any elements on
333
- * Resource or DomainResource (including cannot change the meaning of
334
- * modifierExtension itself).
335
- */
336
- readonly modifierExtension?: Extension[];
337
- /**
338
- * A description of the kind of resource the in-line definition of a care
339
- * plan activity is representing. The CarePlan.activity.detail is an
340
- * in-line definition when a resource is not referenced using
341
- * CarePlan.activity.reference. For example, a MedicationRequest, a
342
- * ServiceRequest, or a CommunicationRequest.
343
- */
344
- readonly kind?: string;
345
- /**
346
- * The URL pointing to a FHIR-defined protocol, guideline, questionnaire
347
- * or other definition that is adhered to in whole or in part by this
348
- * CarePlan activity.
349
- */
350
- readonly instantiatesCanonical?: string[];
351
- /**
352
- * The URL pointing to an externally maintained protocol, guideline,
353
- * questionnaire or other definition that is adhered to in whole or in
354
- * part by this CarePlan activity.
355
- */
356
- readonly instantiatesUri?: string[];
357
- /**
358
- * Detailed description of the type of planned activity; e.g. what lab
359
- * test, what procedure, what kind of encounter.
360
- */
361
- readonly code?: CodeableConcept;
362
- /**
363
- * Provides the rationale that drove the inclusion of this particular
364
- * activity as part of the plan or the reason why the activity was
365
- * prohibited.
366
- */
367
- readonly reasonCode?: CodeableConcept[];
368
- /**
369
- * Indicates another resource, such as the health condition(s), whose
370
- * existence justifies this request and drove the inclusion of this
371
- * particular activity as part of the plan.
372
- */
373
- readonly reasonReference?: Reference<Condition | Observation | DiagnosticReport | DocumentReference>[];
374
- /**
375
- * Internal reference that identifies the goals that this activity is
376
- * intended to contribute towards meeting.
377
- */
378
- readonly goal?: Reference<Goal>[];
379
- /**
380
- * Identifies what progress is being made for the specific activity.
381
- */
382
- readonly status?: string;
383
- /**
384
- * Provides reason why the activity isn't yet started, is on hold, was
385
- * cancelled, etc.
386
- */
387
- readonly statusReason?: CodeableConcept;
388
- /**
389
- * If true, indicates that the described activity is one that must NOT be
390
- * engaged in when following the plan. If false, or missing, indicates
391
- * that the described activity is one that should be engaged in when
392
- * following the plan.
393
- */
394
- readonly doNotPerform?: boolean;
395
- /**
396
- * The period, timing or frequency upon which the described activity is
397
- * to occur.
398
- */
399
- readonly scheduledTiming?: Timing;
400
- /**
401
- * The period, timing or frequency upon which the described activity is
402
- * to occur.
403
- */
404
- readonly scheduledPeriod?: Period;
405
- /**
406
- * The period, timing or frequency upon which the described activity is
407
- * to occur.
408
- */
409
- readonly scheduledString?: string;
410
- /**
411
- * Identifies the facility where the activity will occur; e.g. home,
412
- * hospital, specific clinic, etc.
413
- */
414
- readonly location?: Reference<Location>;
415
- /**
416
- * Identifies who's expected to be involved in the activity.
417
- */
418
- readonly performer?: Reference<Practitioner | PractitionerRole | Organization | RelatedPerson | Patient | CareTeam | HealthcareService | Device>[];
419
- /**
420
- * Identifies the food, drug or other product to be consumed or supplied
421
- * in the activity.
422
- */
423
- readonly productCodeableConcept?: CodeableConcept;
424
- /**
425
- * Identifies the food, drug or other product to be consumed or supplied
426
- * in the activity.
427
- */
428
- readonly productReference?: Reference<Medication | Substance>;
429
- /**
430
- * Identifies the quantity expected to be consumed in a given day.
431
- */
432
- readonly dailyAmount?: Quantity;
433
- /**
434
- * Identifies the quantity expected to be supplied, administered or
435
- * consumed by the subject.
436
- */
437
- readonly quantity?: Quantity;
438
- /**
439
- * This provides a textual description of constraints on the intended
440
- * activity occurrence, including relation to other activities. It may
441
- * also include objectives, pre-conditions and end-conditions. Finally,
442
- * it may convey specifics about the activity such as body site, method,
443
- * route, etc.
444
- */
445
- readonly description?: string;
446
- }
@@ -1,7 +0,0 @@
1
- "use strict";
2
- /*
3
- * Generated by @medplum/generator
4
- * Do not edit manually.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- //# sourceMappingURL=CarePlan.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarePlan.js","sourceRoot":"","sources":["../../src/fhir/CarePlan.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*\n * Generated by @medplum/generator\n * Do not edit manually.\n */\n\nimport { Annotation } from './Annotation';\nimport { Appointment } from './Appointment';\nimport { CareTeam } from './CareTeam';\nimport { CodeableConcept } from './CodeableConcept';\nimport { CommunicationRequest } from './CommunicationRequest';\nimport { Condition } from './Condition';\nimport { Device } from './Device';\nimport { DeviceRequest } from './DeviceRequest';\nimport { DiagnosticReport } from './DiagnosticReport';\nimport { DocumentReference } from './DocumentReference';\nimport { Encounter } from './Encounter';\nimport { Extension } from './Extension';\nimport { Goal } from './Goal';\nimport { Group } from './Group';\nimport { HealthcareService } from './HealthcareService';\nimport { Identifier } from './Identifier';\nimport { Location } from './Location';\nimport { Medication } from './Medication';\nimport { MedicationRequest } from './MedicationRequest';\nimport { Meta } from './Meta';\nimport { Narrative } from './Narrative';\nimport { NutritionOrder } from './NutritionOrder';\nimport { Observation } from './Observation';\nimport { Organization } from './Organization';\nimport { Patient } from './Patient';\nimport { Period } from './Period';\nimport { Practitioner } from './Practitioner';\nimport { PractitionerRole } from './PractitionerRole';\nimport { Quantity } from './Quantity';\nimport { Reference } from './Reference';\nimport { RelatedPerson } from './RelatedPerson';\nimport { RequestGroup } from './RequestGroup';\nimport { Resource } from './Resource';\nimport { ServiceRequest } from './ServiceRequest';\nimport { Substance } from './Substance';\nimport { Task } from './Task';\nimport { Timing } from './Timing';\nimport { VisionPrescription } from './VisionPrescription';\n\n/**\n * Describes the intention of how one or more practitioners intend to\n * deliver care for a particular patient, group or community for a period\n * of time, possibly limited to care for a specific condition or set of\n * conditions.\n */\nexport interface CarePlan {\n\n /**\n * This is a CarePlan resource\n */\n readonly resourceType: 'CarePlan';\n\n /**\n * The logical id of the resource, as used in the URL for the resource.\n * Once assigned, this value never changes.\n */\n readonly id?: string;\n\n /**\n * The metadata about the resource. This is content that is maintained by\n * the infrastructure. Changes to the content might not always be\n * associated with version changes to the resource.\n */\n readonly meta?: Meta;\n\n /**\n * A reference to a set of rules that were followed when the resource was\n * constructed, and which must be understood when processing the content.\n * Often, this is a reference to an implementation guide that defines the\n * special rules along with other profiles etc.\n */\n readonly implicitRules?: string;\n\n /**\n * The base language in which the resource is written.\n */\n readonly language?: string;\n\n /**\n * A human-readable narrative that contains a summary of the resource and\n * can be used to represent the content of the resource to a human. The\n * narrative need not encode all the structured data, but is required to\n * contain sufficient detail to make it &quot;clinically safe&quot; for a human to\n * just read the narrative. Resource definitions may define what content\n * should be represented in the narrative to ensure clinical safety.\n */\n readonly text?: Narrative;\n\n /**\n * These resources do not have an independent existence apart from the\n * resource that contains them - they cannot be identified independently,\n * and nor can they have their own independent transaction scope.\n */\n readonly contained?: Resource[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the resource. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the resource and that modifies the\n * understanding of the element that contains it and/or the understanding\n * of the containing element's descendants. Usually modifier elements\n * provide negation or qualification. To make the use of extensions safe\n * and manageable, there is a strict set of governance applied to the\n * definition and use of extensions. Though any implementer is allowed to\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension. Applications processing a\n * resource are required to check for modifier extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * Business identifiers assigned to this care plan by the performer or\n * other systems which remain constant as the resource is updated and\n * propagates from server to server.\n */\n readonly identifier?: Identifier[];\n\n /**\n * The URL pointing to a FHIR-defined protocol, guideline, questionnaire\n * or other definition that is adhered to in whole or in part by this\n * CarePlan.\n */\n readonly instantiatesCanonical?: string[];\n\n /**\n * The URL pointing to an externally maintained protocol, guideline,\n * questionnaire or other definition that is adhered to in whole or in\n * part by this CarePlan.\n */\n readonly instantiatesUri?: string[];\n\n /**\n * A care plan that is fulfilled in whole or in part by this care plan.\n */\n readonly basedOn?: Reference<CarePlan>[];\n\n /**\n * Completed or terminated care plan whose function is taken by this new\n * care plan.\n */\n readonly replaces?: Reference<CarePlan>[];\n\n /**\n * A larger care plan of which this particular care plan is a component\n * or step.\n */\n readonly partOf?: Reference<CarePlan>[];\n\n /**\n * Indicates whether the plan is currently being acted upon, represents\n * future intentions or is now a historical record.\n */\n readonly status?: string;\n\n /**\n * Indicates the level of authority/intentionality associated with the\n * care plan and where the care plan fits into the workflow chain.\n */\n readonly intent?: string;\n\n /**\n * Identifies what &quot;kind&quot; of plan this is to support differentiation\n * between multiple co-existing plans; e.g. &quot;Home health&quot;, &quot;psychiatric&quot;,\n * &quot;asthma&quot;, &quot;disease management&quot;, &quot;wellness plan&quot;, etc.\n */\n readonly category?: CodeableConcept[];\n\n /**\n * Human-friendly name for the care plan.\n */\n readonly title?: string;\n\n /**\n * A description of the scope and nature of the plan.\n */\n readonly description?: string;\n\n /**\n * Identifies the patient or group whose intended care is described by\n * the plan.\n */\n readonly subject?: Reference<Patient | Group>;\n\n /**\n * The Encounter during which this CarePlan was created or to which the\n * creation of this record is tightly associated.\n */\n readonly encounter?: Reference<Encounter>;\n\n /**\n * Indicates when the plan did (or is intended to) come into effect and\n * end.\n */\n readonly period?: Period;\n\n /**\n * Represents when this particular CarePlan record was created in the\n * system, which is often a system-generated date.\n */\n readonly created?: string;\n\n /**\n * When populated, the author is responsible for the care plan. The care\n * plan is attributed to the author.\n */\n readonly author?: Reference<Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam>;\n\n /**\n * Identifies the individual(s) or organization who provided the contents\n * of the care plan.\n */\n readonly contributor?: Reference<Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam>[];\n\n /**\n * Identifies all people and organizations who are expected to be\n * involved in the care envisioned by this plan.\n */\n readonly careTeam?: Reference<CareTeam>[];\n\n /**\n * Identifies the conditions/problems/concerns/diagnoses/etc. whose\n * management and/or mitigation are handled by this plan.\n */\n readonly addresses?: Reference<Condition>[];\n\n /**\n * Identifies portions of the patient's record that specifically\n * influenced the formation of the plan. These might include\n * comorbidities, recent procedures, limitations, recent assessments,\n * etc.\n */\n readonly supportingInfo?: Reference<Resource>[];\n\n /**\n * Describes the intended objective(s) of carrying out the care plan.\n */\n readonly goal?: Reference<Goal>[];\n\n /**\n * Identifies a planned action to occur as part of the plan. For\n * example, a medication to be used, lab tests to perform,\n * self-monitoring, education, etc.\n */\n readonly activity?: CarePlanActivity[];\n\n /**\n * General notes about the care plan not covered elsewhere.\n */\n readonly note?: Annotation[];\n}\n\n/**\n * Identifies a planned action to occur as part of the plan. For\n * example, a medication to be used, lab tests to perform,\n * self-monitoring, education, etc.\n */\nexport interface CarePlanActivity {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * Identifies the outcome at the point when the status of the activity is\n * assessed. For example, the outcome of an education activity could be\n * patient understands (or not).\n */\n readonly outcomeCodeableConcept?: CodeableConcept[];\n\n /**\n * Details of the outcome or action resulting from the activity. The\n * reference to an &quot;event&quot; resource, such as Procedure or Encounter or\n * Observation, is the result/outcome of the activity itself. The\n * activity can be conveyed using CarePlan.activity.detail OR using the\n * CarePlan.activity.reference (a reference to a &ldquo;request&rdquo; resource).\n */\n readonly outcomeReference?: Reference<Resource>[];\n\n /**\n * Notes about the adherence/status/progress of the activity.\n */\n readonly progress?: Annotation[];\n\n /**\n * The details of the proposed activity represented in a specific\n * resource.\n */\n readonly reference?: Reference<Appointment | CommunicationRequest | DeviceRequest | MedicationRequest |\n NutritionOrder | Task | ServiceRequest | VisionPrescription | RequestGroup>;\n\n /**\n * A simple summary of a planned activity suitable for a general care\n * plan system (e.g. form driven) that doesn't know about specific\n * resources such as procedure etc.\n */\n readonly detail?: CarePlanActivityDetail;\n}\n\n/**\n * A simple summary of a planned activity suitable for a general care\n * plan system (e.g. form driven) that doesn't know about specific\n * resources such as procedure etc.\n */\nexport interface CarePlanActivityDetail {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * A description of the kind of resource the in-line definition of a care\n * plan activity is representing. The CarePlan.activity.detail is an\n * in-line definition when a resource is not referenced using\n * CarePlan.activity.reference. For example, a MedicationRequest, a\n * ServiceRequest, or a CommunicationRequest.\n */\n readonly kind?: string;\n\n /**\n * The URL pointing to a FHIR-defined protocol, guideline, questionnaire\n * or other definition that is adhered to in whole or in part by this\n * CarePlan activity.\n */\n readonly instantiatesCanonical?: string[];\n\n /**\n * The URL pointing to an externally maintained protocol, guideline,\n * questionnaire or other definition that is adhered to in whole or in\n * part by this CarePlan activity.\n */\n readonly instantiatesUri?: string[];\n\n /**\n * Detailed description of the type of planned activity; e.g. what lab\n * test, what procedure, what kind of encounter.\n */\n readonly code?: CodeableConcept;\n\n /**\n * Provides the rationale that drove the inclusion of this particular\n * activity as part of the plan or the reason why the activity was\n * prohibited.\n */\n readonly reasonCode?: CodeableConcept[];\n\n /**\n * Indicates another resource, such as the health condition(s), whose\n * existence justifies this request and drove the inclusion of this\n * particular activity as part of the plan.\n */\n readonly reasonReference?: Reference<Condition | Observation | DiagnosticReport | DocumentReference>[];\n\n /**\n * Internal reference that identifies the goals that this activity is\n * intended to contribute towards meeting.\n */\n readonly goal?: Reference<Goal>[];\n\n /**\n * Identifies what progress is being made for the specific activity.\n */\n readonly status?: string;\n\n /**\n * Provides reason why the activity isn't yet started, is on hold, was\n * cancelled, etc.\n */\n readonly statusReason?: CodeableConcept;\n\n /**\n * If true, indicates that the described activity is one that must NOT be\n * engaged in when following the plan. If false, or missing, indicates\n * that the described activity is one that should be engaged in when\n * following the plan.\n */\n readonly doNotPerform?: boolean;\n\n /**\n * The period, timing or frequency upon which the described activity is\n * to occur.\n */\n readonly scheduledTiming?: Timing;\n\n /**\n * The period, timing or frequency upon which the described activity is\n * to occur.\n */\n readonly scheduledPeriod?: Period;\n\n /**\n * The period, timing or frequency upon which the described activity is\n * to occur.\n */\n readonly scheduledString?: string;\n\n /**\n * Identifies the facility where the activity will occur; e.g. home,\n * hospital, specific clinic, etc.\n */\n readonly location?: Reference<Location>;\n\n /**\n * Identifies who's expected to be involved in the activity.\n */\n readonly performer?: Reference<Practitioner | PractitionerRole | Organization | RelatedPerson | Patient | CareTeam | HealthcareService | Device>[];\n\n /**\n * Identifies the food, drug or other product to be consumed or supplied\n * in the activity.\n */\n readonly productCodeableConcept?: CodeableConcept;\n\n /**\n * Identifies the food, drug or other product to be consumed or supplied\n * in the activity.\n */\n readonly productReference?: Reference<Medication | Substance>;\n\n /**\n * Identifies the quantity expected to be consumed in a given day.\n */\n readonly dailyAmount?: Quantity;\n\n /**\n * Identifies the quantity expected to be supplied, administered or\n * consumed by the subject.\n */\n readonly quantity?: Quantity;\n\n /**\n * This provides a textual description of constraints on the intended\n * activity occurrence, including relation to other activities. It may\n * also include objectives, pre-conditions and end-conditions. Finally,\n * it may convey specifics about the activity such as body site, method,\n * route, etc.\n */\n readonly description?: string;\n}\n"]}