@medplum/core 0.2.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (640) hide show
  1. package/README.md +29 -25
  2. package/dist/cache.d.ts +1 -0
  3. package/dist/cache.js +3 -0
  4. package/dist/cache.js.map +1 -1
  5. package/dist/client.d.ts +66 -54
  6. package/dist/client.js +153 -122
  7. package/dist/client.js.map +1 -1
  8. package/dist/eventtarget.js +1 -1
  9. package/dist/eventtarget.js.map +1 -1
  10. package/dist/format.d.ts +1 -1
  11. package/dist/format.js.map +1 -1
  12. package/dist/index.d.ts +0 -2
  13. package/dist/index.js +0 -2
  14. package/dist/index.js.map +1 -1
  15. package/dist/jwt.js.map +1 -1
  16. package/dist/outcomes.d.ts +1 -1
  17. package/dist/outcomes.js +42 -28
  18. package/dist/outcomes.js.map +1 -1
  19. package/dist/search.js +4 -4
  20. package/dist/search.js.map +1 -1
  21. package/dist/searchparams.d.ts +1 -1
  22. package/dist/searchparams.js +1 -2
  23. package/dist/searchparams.js.map +1 -1
  24. package/dist/storage.js.map +1 -1
  25. package/dist/types.d.ts +1 -1
  26. package/dist/types.js +6 -6
  27. package/dist/types.js.map +1 -1
  28. package/dist/utils.d.ts +1 -1
  29. package/dist/utils.js +11 -6
  30. package/dist/utils.js.map +1 -1
  31. package/package.json +5 -6
  32. package/dist/fhir/AccessPolicy.d.ts +0 -75
  33. package/dist/fhir/AccessPolicy.js +0 -7
  34. package/dist/fhir/AccessPolicy.js.map +0 -1
  35. package/dist/fhir/Account.d.ts +0 -247
  36. package/dist/fhir/Account.js +0 -7
  37. package/dist/fhir/Account.js.map +0 -1
  38. package/dist/fhir/ActivityDefinition.d.ts +0 -500
  39. package/dist/fhir/ActivityDefinition.js +0 -7
  40. package/dist/fhir/ActivityDefinition.js.map +0 -1
  41. package/dist/fhir/Address.d.ts +0 -75
  42. package/dist/fhir/Address.js +0 -7
  43. package/dist/fhir/Address.js.map +0 -1
  44. package/dist/fhir/AdverseEvent.d.ts +0 -303
  45. package/dist/fhir/AdverseEvent.js +0 -7
  46. package/dist/fhir/AdverseEvent.js.map +0 -1
  47. package/dist/fhir/Age.d.ts +0 -47
  48. package/dist/fhir/Age.js +0 -7
  49. package/dist/fhir/Age.js.map +0 -1
  50. package/dist/fhir/AllergyIntolerance.d.ts +0 -283
  51. package/dist/fhir/AllergyIntolerance.js +0 -7
  52. package/dist/fhir/AllergyIntolerance.js.map +0 -1
  53. package/dist/fhir/Annotation.d.ts +0 -42
  54. package/dist/fhir/Annotation.js +0 -7
  55. package/dist/fhir/Annotation.js.map +0 -1
  56. package/dist/fhir/Appointment.d.ts +0 -284
  57. package/dist/fhir/Appointment.js +0 -7
  58. package/dist/fhir/Appointment.js.map +0 -1
  59. package/dist/fhir/AppointmentResponse.d.ts +0 -131
  60. package/dist/fhir/AppointmentResponse.js +0 -7
  61. package/dist/fhir/AppointmentResponse.js.map +0 -1
  62. package/dist/fhir/Attachment.d.ts +0 -58
  63. package/dist/fhir/Attachment.js +0 -7
  64. package/dist/fhir/Attachment.js.map +0 -1
  65. package/dist/fhir/AuditEvent.d.ts +0 -458
  66. package/dist/fhir/AuditEvent.js +0 -7
  67. package/dist/fhir/AuditEvent.js.map +0 -1
  68. package/dist/fhir/Basic.d.ts +0 -110
  69. package/dist/fhir/Basic.js +0 -7
  70. package/dist/fhir/Basic.js.map +0 -1
  71. package/dist/fhir/Binary.d.ts +0 -59
  72. package/dist/fhir/Binary.js +0 -7
  73. package/dist/fhir/Binary.js.map +0 -1
  74. package/dist/fhir/BiologicallyDerivedProduct.d.ts +0 -358
  75. package/dist/fhir/BiologicallyDerivedProduct.js +0 -7
  76. package/dist/fhir/BiologicallyDerivedProduct.js.map +0 -1
  77. package/dist/fhir/BodyStructure.d.ts +0 -119
  78. package/dist/fhir/BodyStructure.js +0 -7
  79. package/dist/fhir/BodyStructure.js.map +0 -1
  80. package/dist/fhir/Bot.d.ts +0 -49
  81. package/dist/fhir/Bot.js +0 -7
  82. package/dist/fhir/Bot.js.map +0 -1
  83. package/dist/fhir/Bundle.d.ts +0 -379
  84. package/dist/fhir/Bundle.js +0 -7
  85. package/dist/fhir/Bundle.js.map +0 -1
  86. package/dist/fhir/CapabilityStatement.d.ts +0 -1044
  87. package/dist/fhir/CapabilityStatement.js +0 -7
  88. package/dist/fhir/CapabilityStatement.js.map +0 -1
  89. package/dist/fhir/CarePlan.d.ts +0 -446
  90. package/dist/fhir/CarePlan.js +0 -7
  91. package/dist/fhir/CarePlan.js.map +0 -1
  92. package/dist/fhir/CareTeam.d.ts +0 -211
  93. package/dist/fhir/CareTeam.js +0 -7
  94. package/dist/fhir/CareTeam.js.map +0 -1
  95. package/dist/fhir/CatalogEntry.d.ts +0 -195
  96. package/dist/fhir/CatalogEntry.js +0 -7
  97. package/dist/fhir/CatalogEntry.js.map +0 -1
  98. package/dist/fhir/ChargeItem.d.ts +0 -287
  99. package/dist/fhir/ChargeItem.js +0 -7
  100. package/dist/fhir/ChargeItem.js.map +0 -1
  101. package/dist/fhir/ChargeItemDefinition.d.ts +0 -401
  102. package/dist/fhir/ChargeItemDefinition.js +0 -7
  103. package/dist/fhir/ChargeItemDefinition.js.map +0 -1
  104. package/dist/fhir/Claim.d.ts +0 -1092
  105. package/dist/fhir/Claim.js +0 -7
  106. package/dist/fhir/Claim.js.map +0 -1
  107. package/dist/fhir/ClaimResponse.d.ts +0 -1040
  108. package/dist/fhir/ClaimResponse.js +0 -7
  109. package/dist/fhir/ClaimResponse.js.map +0 -1
  110. package/dist/fhir/ClientApplication.d.ts +0 -46
  111. package/dist/fhir/ClientApplication.js +0 -7
  112. package/dist/fhir/ClientApplication.js.map +0 -1
  113. package/dist/fhir/ClinicalImpression.d.ts +0 -306
  114. package/dist/fhir/ClinicalImpression.js +0 -7
  115. package/dist/fhir/ClinicalImpression.js.map +0 -1
  116. package/dist/fhir/CodeSystem.d.ts +0 -541
  117. package/dist/fhir/CodeSystem.js +0 -7
  118. package/dist/fhir/CodeSystem.js.map +0 -1
  119. package/dist/fhir/CodeableConcept.d.ts +0 -33
  120. package/dist/fhir/CodeableConcept.js +0 -7
  121. package/dist/fhir/CodeableConcept.js.map +0 -1
  122. package/dist/fhir/Coding.d.ts +0 -50
  123. package/dist/fhir/Coding.js +0 -7
  124. package/dist/fhir/Coding.js.map +0 -1
  125. package/dist/fhir/Communication.d.ts +0 -264
  126. package/dist/fhir/Communication.js +0 -7
  127. package/dist/fhir/Communication.js.map +0 -1
  128. package/dist/fhir/CommunicationRequest.d.ts +0 -261
  129. package/dist/fhir/CommunicationRequest.js +0 -7
  130. package/dist/fhir/CommunicationRequest.js.map +0 -1
  131. package/dist/fhir/CompartmentDefinition.d.ts +0 -217
  132. package/dist/fhir/CompartmentDefinition.js +0 -7
  133. package/dist/fhir/CompartmentDefinition.js.map +0 -1
  134. package/dist/fhir/Composition.d.ts +0 -429
  135. package/dist/fhir/Composition.js +0 -7
  136. package/dist/fhir/Composition.js.map +0 -1
  137. package/dist/fhir/ConceptMap.d.ts +0 -518
  138. package/dist/fhir/ConceptMap.js +0 -7
  139. package/dist/fhir/ConceptMap.js.map +0 -1
  140. package/dist/fhir/Condition.d.ts +0 -326
  141. package/dist/fhir/Condition.js +0 -7
  142. package/dist/fhir/Condition.js.map +0 -1
  143. package/dist/fhir/Consent.d.ts +0 -460
  144. package/dist/fhir/Consent.js +0 -7
  145. package/dist/fhir/Consent.js.map +0 -1
  146. package/dist/fhir/ContactDetail.d.ts +0 -31
  147. package/dist/fhir/ContactDetail.js +0 -7
  148. package/dist/fhir/ContactDetail.js.map +0 -1
  149. package/dist/fhir/ContactPoint.d.ts +0 -47
  150. package/dist/fhir/ContactPoint.js +0 -7
  151. package/dist/fhir/ContactPoint.js.map +0 -1
  152. package/dist/fhir/Contract.d.ts +0 -1452
  153. package/dist/fhir/Contract.js +0 -7
  154. package/dist/fhir/Contract.js.map +0 -1
  155. package/dist/fhir/Contributor.d.ts +0 -37
  156. package/dist/fhir/Contributor.js +0 -7
  157. package/dist/fhir/Contributor.js.map +0 -1
  158. package/dist/fhir/Count.d.ts +0 -49
  159. package/dist/fhir/Count.js +0 -7
  160. package/dist/fhir/Count.js.map +0 -1
  161. package/dist/fhir/Coverage.d.ts +0 -327
  162. package/dist/fhir/Coverage.js +0 -7
  163. package/dist/fhir/Coverage.js.map +0 -1
  164. package/dist/fhir/CoverageEligibilityRequest.d.ts +0 -404
  165. package/dist/fhir/CoverageEligibilityRequest.js +0 -7
  166. package/dist/fhir/CoverageEligibilityRequest.js.map +0 -1
  167. package/dist/fhir/CoverageEligibilityResponse.d.ts +0 -434
  168. package/dist/fhir/CoverageEligibilityResponse.js +0 -7
  169. package/dist/fhir/CoverageEligibilityResponse.js.map +0 -1
  170. package/dist/fhir/DataRequirement.d.ts +0 -239
  171. package/dist/fhir/DataRequirement.js +0 -7
  172. package/dist/fhir/DataRequirement.js.map +0 -1
  173. package/dist/fhir/DetectedIssue.d.ts +0 -252
  174. package/dist/fhir/DetectedIssue.js +0 -7
  175. package/dist/fhir/DetectedIssue.js.map +0 -1
  176. package/dist/fhir/Device.d.ts +0 -493
  177. package/dist/fhir/Device.js +0 -7
  178. package/dist/fhir/Device.js.map +0 -1
  179. package/dist/fhir/DeviceDefinition.d.ts +0 -486
  180. package/dist/fhir/DeviceDefinition.js +0 -7
  181. package/dist/fhir/DeviceDefinition.js.map +0 -1
  182. package/dist/fhir/DeviceMetric.d.ts +0 -199
  183. package/dist/fhir/DeviceMetric.js +0 -7
  184. package/dist/fhir/DeviceMetric.js.map +0 -1
  185. package/dist/fhir/DeviceRequest.d.ts +0 -296
  186. package/dist/fhir/DeviceRequest.js +0 -7
  187. package/dist/fhir/DeviceRequest.js.map +0 -1
  188. package/dist/fhir/DeviceUseStatement.d.ts +0 -168
  189. package/dist/fhir/DeviceUseStatement.js +0 -7
  190. package/dist/fhir/DeviceUseStatement.js.map +0 -1
  191. package/dist/fhir/DiagnosticReport.d.ts +0 -254
  192. package/dist/fhir/DiagnosticReport.js +0 -7
  193. package/dist/fhir/DiagnosticReport.js.map +0 -1
  194. package/dist/fhir/Distance.d.ts +0 -47
  195. package/dist/fhir/Distance.js +0 -7
  196. package/dist/fhir/Distance.js.map +0 -1
  197. package/dist/fhir/DocumentManifest.d.ts +0 -196
  198. package/dist/fhir/DocumentManifest.js +0 -7
  199. package/dist/fhir/DocumentManifest.js.map +0 -1
  200. package/dist/fhir/DocumentReference.d.ts +0 -349
  201. package/dist/fhir/DocumentReference.js +0 -7
  202. package/dist/fhir/DocumentReference.js.map +0 -1
  203. package/dist/fhir/Dosage.d.ts +0 -152
  204. package/dist/fhir/Dosage.js +0 -7
  205. package/dist/fhir/Dosage.js.map +0 -1
  206. package/dist/fhir/Duration.d.ts +0 -46
  207. package/dist/fhir/Duration.js +0 -7
  208. package/dist/fhir/Duration.js.map +0 -1
  209. package/dist/fhir/EffectEvidenceSynthesis.d.ts +0 -591
  210. package/dist/fhir/EffectEvidenceSynthesis.js +0 -7
  211. package/dist/fhir/EffectEvidenceSynthesis.js.map +0 -1
  212. package/dist/fhir/Element.d.ts +0 -21
  213. package/dist/fhir/Element.js +0 -7
  214. package/dist/fhir/Element.js.map +0 -1
  215. package/dist/fhir/ElementDefinition.d.ts +0 -2701
  216. package/dist/fhir/ElementDefinition.js +0 -7
  217. package/dist/fhir/ElementDefinition.js.map +0 -1
  218. package/dist/fhir/Encounter.d.ts +0 -558
  219. package/dist/fhir/Encounter.js +0 -7
  220. package/dist/fhir/Encounter.js.map +0 -1
  221. package/dist/fhir/Endpoint.d.ts +0 -140
  222. package/dist/fhir/Endpoint.js +0 -7
  223. package/dist/fhir/Endpoint.js.map +0 -1
  224. package/dist/fhir/EnrollmentRequest.d.ts +0 -113
  225. package/dist/fhir/EnrollmentRequest.js +0 -7
  226. package/dist/fhir/EnrollmentRequest.js.map +0 -1
  227. package/dist/fhir/EnrollmentResponse.d.ts +0 -117
  228. package/dist/fhir/EnrollmentResponse.js +0 -7
  229. package/dist/fhir/EnrollmentResponse.js.map +0 -1
  230. package/dist/fhir/EpisodeOfCare.d.ts +0 -246
  231. package/dist/fhir/EpisodeOfCare.js +0 -7
  232. package/dist/fhir/EpisodeOfCare.js.map +0 -1
  233. package/dist/fhir/EventDefinition.d.ts +0 -253
  234. package/dist/fhir/EventDefinition.js +0 -7
  235. package/dist/fhir/EventDefinition.js.map +0 -1
  236. package/dist/fhir/Evidence.d.ts +0 -252
  237. package/dist/fhir/Evidence.js +0 -7
  238. package/dist/fhir/Evidence.js.map +0 -1
  239. package/dist/fhir/EvidenceVariable.d.ts +0 -370
  240. package/dist/fhir/EvidenceVariable.js +0 -7
  241. package/dist/fhir/EvidenceVariable.js.map +0 -1
  242. package/dist/fhir/ExampleScenario.d.ts +0 -628
  243. package/dist/fhir/ExampleScenario.js +0 -7
  244. package/dist/fhir/ExampleScenario.js.map +0 -1
  245. package/dist/fhir/ExplanationOfBenefit.d.ts +0 -1841
  246. package/dist/fhir/ExplanationOfBenefit.js +0 -7
  247. package/dist/fhir/ExplanationOfBenefit.js.map +0 -1
  248. package/dist/fhir/Expression.d.ts +0 -45
  249. package/dist/fhir/Expression.js +0 -7
  250. package/dist/fhir/Expression.js.map +0 -1
  251. package/dist/fhir/Extension.d.ts +0 -306
  252. package/dist/fhir/Extension.js +0 -7
  253. package/dist/fhir/Extension.js.map +0 -1
  254. package/dist/fhir/FamilyMemberHistory.d.ts +0 -306
  255. package/dist/fhir/FamilyMemberHistory.js +0 -7
  256. package/dist/fhir/FamilyMemberHistory.js.map +0 -1
  257. package/dist/fhir/Flag.d.ts +0 -132
  258. package/dist/fhir/Flag.js +0 -7
  259. package/dist/fhir/Flag.js.map +0 -1
  260. package/dist/fhir/Goal.d.ts +0 -299
  261. package/dist/fhir/Goal.js +0 -7
  262. package/dist/fhir/Goal.js.map +0 -1
  263. package/dist/fhir/GraphDefinition.d.ts +0 -350
  264. package/dist/fhir/GraphDefinition.js +0 -7
  265. package/dist/fhir/GraphDefinition.js.map +0 -1
  266. package/dist/fhir/Group.d.ts +0 -271
  267. package/dist/fhir/Group.js +0 -7
  268. package/dist/fhir/Group.js.map +0 -1
  269. package/dist/fhir/GuidanceResponse.d.ts +0 -196
  270. package/dist/fhir/GuidanceResponse.js +0 -7
  271. package/dist/fhir/GuidanceResponse.js.map +0 -1
  272. package/dist/fhir/HealthcareService.d.ts +0 -356
  273. package/dist/fhir/HealthcareService.js +0 -7
  274. package/dist/fhir/HealthcareService.js.map +0 -1
  275. package/dist/fhir/HumanName.d.ts +0 -58
  276. package/dist/fhir/HumanName.js +0 -7
  277. package/dist/fhir/HumanName.js.map +0 -1
  278. package/dist/fhir/Identifier.d.ts +0 -53
  279. package/dist/fhir/Identifier.js +0 -7
  280. package/dist/fhir/Identifier.js.map +0 -1
  281. package/dist/fhir/ImagingStudy.d.ts +0 -407
  282. package/dist/fhir/ImagingStudy.js +0 -7
  283. package/dist/fhir/ImagingStudy.js.map +0 -1
  284. package/dist/fhir/Immunization.d.ts +0 -444
  285. package/dist/fhir/Immunization.js +0 -7
  286. package/dist/fhir/Immunization.js.map +0 -1
  287. package/dist/fhir/ImmunizationEvaluation.d.ts +0 -149
  288. package/dist/fhir/ImmunizationEvaluation.js +0 -7
  289. package/dist/fhir/ImmunizationEvaluation.js.map +0 -1
  290. package/dist/fhir/ImmunizationRecommendation.d.ts +0 -254
  291. package/dist/fhir/ImmunizationRecommendation.js +0 -7
  292. package/dist/fhir/ImmunizationRecommendation.js.map +0 -1
  293. package/dist/fhir/ImplementationGuide.d.ts +0 -824
  294. package/dist/fhir/ImplementationGuide.js +0 -7
  295. package/dist/fhir/ImplementationGuide.js.map +0 -1
  296. package/dist/fhir/InsurancePlan.d.ts +0 -624
  297. package/dist/fhir/InsurancePlan.js +0 -7
  298. package/dist/fhir/InsurancePlan.js.map +0 -1
  299. package/dist/fhir/Invoice.d.ts +0 -346
  300. package/dist/fhir/Invoice.js +0 -7
  301. package/dist/fhir/Invoice.js.map +0 -1
  302. package/dist/fhir/JsonWebKey.d.ts +0 -99
  303. package/dist/fhir/JsonWebKey.js +0 -7
  304. package/dist/fhir/JsonWebKey.js.map +0 -1
  305. package/dist/fhir/Library.d.ts +0 -277
  306. package/dist/fhir/Library.js +0 -7
  307. package/dist/fhir/Library.js.map +0 -1
  308. package/dist/fhir/Linkage.d.ts +0 -146
  309. package/dist/fhir/Linkage.js +0 -7
  310. package/dist/fhir/Linkage.js.map +0 -1
  311. package/dist/fhir/List.d.ts +0 -200
  312. package/dist/fhir/List.js +0 -7
  313. package/dist/fhir/List.js.map +0 -1
  314. package/dist/fhir/Location.d.ts +0 -277
  315. package/dist/fhir/Location.js +0 -7
  316. package/dist/fhir/Location.js.map +0 -1
  317. package/dist/fhir/Login.d.ts +0 -119
  318. package/dist/fhir/Login.js +0 -7
  319. package/dist/fhir/Login.js.map +0 -1
  320. package/dist/fhir/MarketingStatus.d.ts +0 -82
  321. package/dist/fhir/MarketingStatus.js +0 -7
  322. package/dist/fhir/MarketingStatus.js.map +0 -1
  323. package/dist/fhir/Measure.d.ts +0 -620
  324. package/dist/fhir/Measure.js +0 -7
  325. package/dist/fhir/Measure.js.map +0 -1
  326. package/dist/fhir/MeasureReport.d.ts +0 -463
  327. package/dist/fhir/MeasureReport.js +0 -7
  328. package/dist/fhir/MeasureReport.js.map +0 -1
  329. package/dist/fhir/Media.d.ts +0 -205
  330. package/dist/fhir/Media.js +0 -7
  331. package/dist/fhir/Media.js.map +0 -1
  332. package/dist/fhir/Medication.d.ts +0 -230
  333. package/dist/fhir/Medication.js +0 -7
  334. package/dist/fhir/Medication.js.map +0 -1
  335. package/dist/fhir/MedicationAdministration.d.ts +0 -352
  336. package/dist/fhir/MedicationAdministration.js +0 -7
  337. package/dist/fhir/MedicationAdministration.js.map +0 -1
  338. package/dist/fhir/MedicationDispense.d.ts +0 -343
  339. package/dist/fhir/MedicationDispense.js +0 -7
  340. package/dist/fhir/MedicationDispense.js.map +0 -1
  341. package/dist/fhir/MedicationKnowledge.d.ts +0 -992
  342. package/dist/fhir/MedicationKnowledge.js +0 -7
  343. package/dist/fhir/MedicationKnowledge.js.map +0 -1
  344. package/dist/fhir/MedicationRequest.d.ts +0 -481
  345. package/dist/fhir/MedicationRequest.js +0 -7
  346. package/dist/fhir/MedicationRequest.js.map +0 -1
  347. package/dist/fhir/MedicationStatement.d.ts +0 -228
  348. package/dist/fhir/MedicationStatement.js +0 -7
  349. package/dist/fhir/MedicationStatement.js.map +0 -1
  350. package/dist/fhir/MedicinalProduct.d.ts +0 -453
  351. package/dist/fhir/MedicinalProduct.js +0 -7
  352. package/dist/fhir/MedicinalProduct.js.map +0 -1
  353. package/dist/fhir/MedicinalProductAuthorization.d.ts +0 -271
  354. package/dist/fhir/MedicinalProductAuthorization.js +0 -7
  355. package/dist/fhir/MedicinalProductAuthorization.js.map +0 -1
  356. package/dist/fhir/MedicinalProductContraindication.d.ts +0 -170
  357. package/dist/fhir/MedicinalProductContraindication.js +0 -7
  358. package/dist/fhir/MedicinalProductContraindication.js.map +0 -1
  359. package/dist/fhir/MedicinalProductIndication.d.ts +0 -179
  360. package/dist/fhir/MedicinalProductIndication.js +0 -7
  361. package/dist/fhir/MedicinalProductIndication.js.map +0 -1
  362. package/dist/fhir/MedicinalProductIngredient.d.ts +0 -336
  363. package/dist/fhir/MedicinalProductIngredient.js +0 -7
  364. package/dist/fhir/MedicinalProductIngredient.js.map +0 -1
  365. package/dist/fhir/MedicinalProductInteraction.d.ts +0 -158
  366. package/dist/fhir/MedicinalProductInteraction.js +0 -7
  367. package/dist/fhir/MedicinalProductInteraction.js.map +0 -1
  368. package/dist/fhir/MedicinalProductManufactured.d.ts +0 -113
  369. package/dist/fhir/MedicinalProductManufactured.js +0 -7
  370. package/dist/fhir/MedicinalProductManufactured.js.map +0 -1
  371. package/dist/fhir/MedicinalProductPackaged.d.ts +0 -259
  372. package/dist/fhir/MedicinalProductPackaged.js +0 -7
  373. package/dist/fhir/MedicinalProductPackaged.js.map +0 -1
  374. package/dist/fhir/MedicinalProductPharmaceutical.d.ts +0 -331
  375. package/dist/fhir/MedicinalProductPharmaceutical.js +0 -7
  376. package/dist/fhir/MedicinalProductPharmaceutical.js.map +0 -1
  377. package/dist/fhir/MedicinalProductUndesirableEffect.d.ts +0 -101
  378. package/dist/fhir/MedicinalProductUndesirableEffect.js +0 -7
  379. package/dist/fhir/MedicinalProductUndesirableEffect.js.map +0 -1
  380. package/dist/fhir/MessageDefinition.d.ts +0 -330
  381. package/dist/fhir/MessageDefinition.js +0 -7
  382. package/dist/fhir/MessageDefinition.js.map +0 -1
  383. package/dist/fhir/MessageHeader.d.ts +0 -323
  384. package/dist/fhir/MessageHeader.js +0 -7
  385. package/dist/fhir/MessageHeader.js.map +0 -1
  386. package/dist/fhir/Meta.d.ts +0 -75
  387. package/dist/fhir/Meta.js +0 -7
  388. package/dist/fhir/Meta.js.map +0 -1
  389. package/dist/fhir/MolecularSequence.d.ts +0 -760
  390. package/dist/fhir/MolecularSequence.js +0 -7
  391. package/dist/fhir/MolecularSequence.js.map +0 -1
  392. package/dist/fhir/Money.d.ts +0 -29
  393. package/dist/fhir/Money.js +0 -7
  394. package/dist/fhir/Money.js.map +0 -1
  395. package/dist/fhir/NamingSystem.d.ts +0 -218
  396. package/dist/fhir/NamingSystem.js +0 -7
  397. package/dist/fhir/NamingSystem.js.map +0 -1
  398. package/dist/fhir/Narrative.d.ts +0 -32
  399. package/dist/fhir/Narrative.js +0 -7
  400. package/dist/fhir/Narrative.js.map +0 -1
  401. package/dist/fhir/NutritionOrder.d.ts +0 -566
  402. package/dist/fhir/NutritionOrder.js +0 -7
  403. package/dist/fhir/NutritionOrder.js.map +0 -1
  404. package/dist/fhir/Observation.d.ts +0 -520
  405. package/dist/fhir/Observation.js +0 -7
  406. package/dist/fhir/Observation.js.map +0 -1
  407. package/dist/fhir/ObservationDefinition.d.ts +0 -278
  408. package/dist/fhir/ObservationDefinition.js +0 -7
  409. package/dist/fhir/ObservationDefinition.js.map +0 -1
  410. package/dist/fhir/OperationDefinition.d.ts +0 -468
  411. package/dist/fhir/OperationDefinition.js +0 -7
  412. package/dist/fhir/OperationDefinition.js.map +0 -1
  413. package/dist/fhir/OperationOutcome.d.ts +0 -160
  414. package/dist/fhir/OperationOutcome.js +0 -7
  415. package/dist/fhir/OperationOutcome.js.map +0 -1
  416. package/dist/fhir/Organization.d.ts +0 -184
  417. package/dist/fhir/Organization.js +0 -7
  418. package/dist/fhir/Organization.js.map +0 -1
  419. package/dist/fhir/OrganizationAffiliation.d.ts +0 -145
  420. package/dist/fhir/OrganizationAffiliation.js +0 -7
  421. package/dist/fhir/OrganizationAffiliation.js.map +0 -1
  422. package/dist/fhir/ParameterDefinition.d.ts +0 -57
  423. package/dist/fhir/ParameterDefinition.js +0 -7
  424. package/dist/fhir/ParameterDefinition.js.map +0 -1
  425. package/dist/fhir/Parameters.d.ts +0 -319
  426. package/dist/fhir/Parameters.js +0 -7
  427. package/dist/fhir/Parameters.js.map +0 -1
  428. package/dist/fhir/PasswordChangeRequest.d.ts +0 -51
  429. package/dist/fhir/PasswordChangeRequest.js +0 -7
  430. package/dist/fhir/PasswordChangeRequest.js.map +0 -1
  431. package/dist/fhir/Patient.d.ts +0 -342
  432. package/dist/fhir/Patient.js +0 -7
  433. package/dist/fhir/Patient.js.map +0 -1
  434. package/dist/fhir/PaymentNotice.d.ts +0 -135
  435. package/dist/fhir/PaymentNotice.js +0 -7
  436. package/dist/fhir/PaymentNotice.js.map +0 -1
  437. package/dist/fhir/PaymentReconciliation.d.ts +0 -280
  438. package/dist/fhir/PaymentReconciliation.js +0 -7
  439. package/dist/fhir/PaymentReconciliation.js.map +0 -1
  440. package/dist/fhir/Period.d.ts +0 -32
  441. package/dist/fhir/Period.js +0 -7
  442. package/dist/fhir/Period.js.map +0 -1
  443. package/dist/fhir/Person.d.ts +0 -175
  444. package/dist/fhir/Person.js +0 -7
  445. package/dist/fhir/Person.js.map +0 -1
  446. package/dist/fhir/PlanDefinition.d.ts +0 -837
  447. package/dist/fhir/PlanDefinition.js +0 -7
  448. package/dist/fhir/PlanDefinition.js.map +0 -1
  449. package/dist/fhir/Population.d.ts +0 -62
  450. package/dist/fhir/Population.js +0 -7
  451. package/dist/fhir/Population.js.map +0 -1
  452. package/dist/fhir/Practitioner.d.ts +0 -191
  453. package/dist/fhir/Practitioner.js +0 -7
  454. package/dist/fhir/Practitioner.js.map +0 -1
  455. package/dist/fhir/PractitionerRole.d.ts +0 -259
  456. package/dist/fhir/PractitionerRole.js +0 -7
  457. package/dist/fhir/PractitionerRole.js.map +0 -1
  458. package/dist/fhir/Procedure.d.ts +0 -372
  459. package/dist/fhir/Procedure.js +0 -7
  460. package/dist/fhir/Procedure.js.map +0 -1
  461. package/dist/fhir/ProdCharacteristic.d.ts +0 -112
  462. package/dist/fhir/ProdCharacteristic.js +0 -7
  463. package/dist/fhir/ProdCharacteristic.js.map +0 -1
  464. package/dist/fhir/ProductShelfLife.d.ts +0 -70
  465. package/dist/fhir/ProductShelfLife.js +0 -7
  466. package/dist/fhir/ProductShelfLife.js.map +0 -1
  467. package/dist/fhir/Project.d.ts +0 -43
  468. package/dist/fhir/Project.js +0 -7
  469. package/dist/fhir/Project.js.map +0 -1
  470. package/dist/fhir/ProjectMembership.d.ts +0 -66
  471. package/dist/fhir/ProjectMembership.js +0 -7
  472. package/dist/fhir/ProjectMembership.js.map +0 -1
  473. package/dist/fhir/Provenance.d.ts +0 -258
  474. package/dist/fhir/Provenance.js +0 -7
  475. package/dist/fhir/Provenance.js.map +0 -1
  476. package/dist/fhir/Quantity.d.ts +0 -46
  477. package/dist/fhir/Quantity.js +0 -7
  478. package/dist/fhir/Quantity.js.map +0 -1
  479. package/dist/fhir/Questionnaire.d.ts +0 -603
  480. package/dist/fhir/Questionnaire.js +0 -7
  481. package/dist/fhir/Questionnaire.js.map +0 -1
  482. package/dist/fhir/QuestionnaireResponse.d.ts +0 -313
  483. package/dist/fhir/QuestionnaireResponse.js +0 -7
  484. package/dist/fhir/QuestionnaireResponse.js.map +0 -1
  485. package/dist/fhir/Range.d.ts +0 -30
  486. package/dist/fhir/Range.js +0 -7
  487. package/dist/fhir/Range.js.map +0 -1
  488. package/dist/fhir/Ratio.d.ts +0 -30
  489. package/dist/fhir/Ratio.js +0 -7
  490. package/dist/fhir/Ratio.js.map +0 -1
  491. package/dist/fhir/Reference.d.ts +0 -67
  492. package/dist/fhir/Reference.js +0 -7
  493. package/dist/fhir/Reference.js.map +0 -1
  494. package/dist/fhir/RefreshToken.d.ts +0 -45
  495. package/dist/fhir/RefreshToken.js +0 -7
  496. package/dist/fhir/RefreshToken.js.map +0 -1
  497. package/dist/fhir/RelatedArtifact.d.ts +0 -57
  498. package/dist/fhir/RelatedArtifact.js +0 -7
  499. package/dist/fhir/RelatedArtifact.js.map +0 -1
  500. package/dist/fhir/RelatedPerson.d.ts +0 -190
  501. package/dist/fhir/RelatedPerson.js +0 -7
  502. package/dist/fhir/RelatedPerson.js.map +0 -1
  503. package/dist/fhir/RequestGroup.d.ts +0 -434
  504. package/dist/fhir/RequestGroup.js +0 -7
  505. package/dist/fhir/RequestGroup.js.map +0 -1
  506. package/dist/fhir/ResearchDefinition.d.ts +0 -291
  507. package/dist/fhir/ResearchDefinition.js +0 -7
  508. package/dist/fhir/ResearchDefinition.js.map +0 -1
  509. package/dist/fhir/ResearchElementDefinition.d.ts +0 -431
  510. package/dist/fhir/ResearchElementDefinition.js +0 -7
  511. package/dist/fhir/ResearchElementDefinition.js.map +0 -1
  512. package/dist/fhir/ResearchStudy.d.ts +0 -318
  513. package/dist/fhir/ResearchStudy.js +0 -7
  514. package/dist/fhir/ResearchStudy.js.map +0 -1
  515. package/dist/fhir/ResearchSubject.d.ts +0 -119
  516. package/dist/fhir/ResearchSubject.js +0 -7
  517. package/dist/fhir/ResearchSubject.js.map +0 -1
  518. package/dist/fhir/Resource.d.ts +0 -156
  519. package/dist/fhir/Resource.js +0 -7
  520. package/dist/fhir/Resource.js.map +0 -1
  521. package/dist/fhir/RiskAssessment.d.ts +0 -246
  522. package/dist/fhir/RiskAssessment.js +0 -7
  523. package/dist/fhir/RiskAssessment.js.map +0 -1
  524. package/dist/fhir/RiskEvidenceSynthesis.d.ts +0 -530
  525. package/dist/fhir/RiskEvidenceSynthesis.js +0 -7
  526. package/dist/fhir/RiskEvidenceSynthesis.js.map +0 -1
  527. package/dist/fhir/SampledData.d.ts +0 -62
  528. package/dist/fhir/SampledData.js +0 -7
  529. package/dist/fhir/SampledData.js.map +0 -1
  530. package/dist/fhir/Schedule.d.ts +0 -129
  531. package/dist/fhir/Schedule.js +0 -7
  532. package/dist/fhir/Schedule.js.map +0 -1
  533. package/dist/fhir/SearchParameter.d.ts +0 -277
  534. package/dist/fhir/SearchParameter.js +0 -7
  535. package/dist/fhir/SearchParameter.js.map +0 -1
  536. package/dist/fhir/ServiceRequest.d.ts +0 -309
  537. package/dist/fhir/ServiceRequest.js +0 -7
  538. package/dist/fhir/ServiceRequest.js.map +0 -1
  539. package/dist/fhir/Signature.d.ts +0 -71
  540. package/dist/fhir/Signature.js +0 -7
  541. package/dist/fhir/Signature.js.map +0 -1
  542. package/dist/fhir/Slot.d.ts +0 -134
  543. package/dist/fhir/Slot.js +0 -7
  544. package/dist/fhir/Slot.js.map +0 -1
  545. package/dist/fhir/Specimen.d.ts +0 -366
  546. package/dist/fhir/Specimen.js +0 -7
  547. package/dist/fhir/Specimen.js.map +0 -1
  548. package/dist/fhir/SpecimenDefinition.d.ts +0 -363
  549. package/dist/fhir/SpecimenDefinition.js +0 -7
  550. package/dist/fhir/SpecimenDefinition.js.map +0 -1
  551. package/dist/fhir/StructureDefinition.d.ts +0 -438
  552. package/dist/fhir/StructureDefinition.js +0 -7
  553. package/dist/fhir/StructureDefinition.js.map +0 -1
  554. package/dist/fhir/StructureMap.d.ts +0 -904
  555. package/dist/fhir/StructureMap.js +0 -7
  556. package/dist/fhir/StructureMap.js.map +0 -1
  557. package/dist/fhir/Subscription.d.ts +0 -172
  558. package/dist/fhir/Subscription.js +0 -7
  559. package/dist/fhir/Subscription.js.map +0 -1
  560. package/dist/fhir/Substance.d.ts +0 -213
  561. package/dist/fhir/Substance.js +0 -7
  562. package/dist/fhir/Substance.js.map +0 -1
  563. package/dist/fhir/SubstanceAmount.d.ts +0 -115
  564. package/dist/fhir/SubstanceAmount.js +0 -7
  565. package/dist/fhir/SubstanceAmount.js.map +0 -1
  566. package/dist/fhir/SubstanceNucleicAcid.d.ts +0 -309
  567. package/dist/fhir/SubstanceNucleicAcid.js +0 -7
  568. package/dist/fhir/SubstanceNucleicAcid.js.map +0 -1
  569. package/dist/fhir/SubstancePolymer.d.ts +0 -405
  570. package/dist/fhir/SubstancePolymer.js +0 -7
  571. package/dist/fhir/SubstancePolymer.js.map +0 -1
  572. package/dist/fhir/SubstanceProtein.d.ts +0 -218
  573. package/dist/fhir/SubstanceProtein.js +0 -7
  574. package/dist/fhir/SubstanceProtein.js.map +0 -1
  575. package/dist/fhir/SubstanceReferenceInformation.d.ts +0 -330
  576. package/dist/fhir/SubstanceReferenceInformation.js +0 -7
  577. package/dist/fhir/SubstanceReferenceInformation.js.map +0 -1
  578. package/dist/fhir/SubstanceSourceMaterial.d.ts +0 -521
  579. package/dist/fhir/SubstanceSourceMaterial.js +0 -7
  580. package/dist/fhir/SubstanceSourceMaterial.js.map +0 -1
  581. package/dist/fhir/SubstanceSpecification.d.ts +0 -827
  582. package/dist/fhir/SubstanceSpecification.js +0 -7
  583. package/dist/fhir/SubstanceSpecification.js.map +0 -1
  584. package/dist/fhir/SupplyDelivery.d.ts +0 -205
  585. package/dist/fhir/SupplyDelivery.js +0 -7
  586. package/dist/fhir/SupplyDelivery.js.map +0 -1
  587. package/dist/fhir/SupplyRequest.d.ts +0 -237
  588. package/dist/fhir/SupplyRequest.js +0 -7
  589. package/dist/fhir/SupplyRequest.js.map +0 -1
  590. package/dist/fhir/Task.d.ts +0 -807
  591. package/dist/fhir/Task.js +0 -7
  592. package/dist/fhir/Task.js.map +0 -1
  593. package/dist/fhir/TerminologyCapabilities.d.ts +0 -716
  594. package/dist/fhir/TerminologyCapabilities.js +0 -7
  595. package/dist/fhir/TerminologyCapabilities.js.map +0 -1
  596. package/dist/fhir/TestReport.d.ts +0 -549
  597. package/dist/fhir/TestReport.js +0 -7
  598. package/dist/fhir/TestReport.js.map +0 -1
  599. package/dist/fhir/TestScript.d.ts +0 -1184
  600. package/dist/fhir/TestScript.js +0 -7
  601. package/dist/fhir/TestScript.js.map +0 -1
  602. package/dist/fhir/Timing.d.ts +0 -178
  603. package/dist/fhir/Timing.js +0 -7
  604. package/dist/fhir/Timing.js.map +0 -1
  605. package/dist/fhir/TriggerDefinition.d.ts +0 -65
  606. package/dist/fhir/TriggerDefinition.js +0 -7
  607. package/dist/fhir/TriggerDefinition.js.map +0 -1
  608. package/dist/fhir/UsageContext.d.ts +0 -61
  609. package/dist/fhir/UsageContext.js +0 -7
  610. package/dist/fhir/UsageContext.js.map +0 -1
  611. package/dist/fhir/User.d.ts +0 -45
  612. package/dist/fhir/User.js +0 -7
  613. package/dist/fhir/User.js.map +0 -1
  614. package/dist/fhir/ValueSet.d.ts +0 -725
  615. package/dist/fhir/ValueSet.js +0 -7
  616. package/dist/fhir/ValueSet.js.map +0 -1
  617. package/dist/fhir/VerificationResult.d.ts +0 -340
  618. package/dist/fhir/VerificationResult.js +0 -7
  619. package/dist/fhir/VerificationResult.js.map +0 -1
  620. package/dist/fhir/VisionPrescription.d.ts +0 -264
  621. package/dist/fhir/VisionPrescription.js +0 -7
  622. package/dist/fhir/VisionPrescription.js.map +0 -1
  623. package/dist/fhir/index.d.ts +0 -196
  624. package/dist/fhir/index.js +0 -213
  625. package/dist/fhir/index.js.map +0 -1
  626. package/dist/fhirpath/functions.d.ts +0 -6
  627. package/dist/fhirpath/functions.js +0 -349
  628. package/dist/fhirpath/functions.js.map +0 -1
  629. package/dist/fhirpath/index.d.ts +0 -2
  630. package/dist/fhirpath/index.js +0 -15
  631. package/dist/fhirpath/index.js.map +0 -1
  632. package/dist/fhirpath/parse.d.ts +0 -10
  633. package/dist/fhirpath/parse.js +0 -266
  634. package/dist/fhirpath/parse.js.map +0 -1
  635. package/dist/fhirpath/tokenize.d.ts +0 -13
  636. package/dist/fhirpath/tokenize.js +0 -39
  637. package/dist/fhirpath/tokenize.js.map +0 -1
  638. package/dist/fhirpath/utils.d.ts +0 -13
  639. package/dist/fhirpath/utils.js +0 -34
  640. package/dist/fhirpath/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=MedicationKnowledge.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MedicationKnowledge.js","sourceRoot":"","sources":["../../src/fhir/MedicationKnowledge.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*\n * Generated by @medplum/generator\n * Do not edit manually.\n */\n\nimport { CodeableConcept } from './CodeableConcept';\nimport { DetectedIssue } from './DetectedIssue';\nimport { DocumentReference } from './DocumentReference';\nimport { Dosage } from './Dosage';\nimport { Duration } from './Duration';\nimport { Extension } from './Extension';\nimport { Media } from './Media';\nimport { Medication } from './Medication';\nimport { Meta } from './Meta';\nimport { Money } from './Money';\nimport { Narrative } from './Narrative';\nimport { ObservationDefinition } from './ObservationDefinition';\nimport { Organization } from './Organization';\nimport { Quantity } from './Quantity';\nimport { Ratio } from './Ratio';\nimport { Reference } from './Reference';\nimport { Resource } from './Resource';\nimport { Substance } from './Substance';\n\n/**\n * Information about a medication that is used to support knowledge.\n */\nexport interface MedicationKnowledge {\n\n /**\n * This is a MedicationKnowledge resource\n */\n readonly resourceType: 'MedicationKnowledge';\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 * A code that specifies this medication, or a textual description if no\n * code is available. Usage note: This could be a standard medication\n * code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be\n * a national or local formulary code, optionally with translations to\n * other code systems.\n */\n readonly code?: CodeableConcept;\n\n /**\n * A code to indicate if the medication is in active use. The status\n * refers to the validity about the information of the medication and not\n * to its medicinal properties.\n */\n readonly status?: string;\n\n /**\n * Describes the details of the manufacturer of the medication product.\n * This is not intended to represent the distributor of a medication\n * product.\n */\n readonly manufacturer?: Reference<Organization>;\n\n /**\n * Describes the form of the item. Powder; tablets; capsule.\n */\n readonly doseForm?: CodeableConcept;\n\n /**\n * Specific amount of the drug in the packaged product. For example,\n * when specifying a product that has the same strength (For example,\n * Insulin glargine 100 unit per mL solution for injection), this\n * attribute provides additional clarification of the package amount (For\n * example, 3 mL, 10mL, etc.).\n */\n readonly amount?: Quantity;\n\n /**\n * Additional names for a medication, for example, the name(s) given to a\n * medication in different countries. For example, acetaminophen and\n * paracetamol or salbutamol and albuterol.\n */\n readonly synonym?: string[];\n\n /**\n * Associated or related knowledge about a medication.\n */\n readonly relatedMedicationKnowledge?: MedicationKnowledgeRelatedMedicationKnowledge[];\n\n /**\n * Associated or related medications. For example, if the medication is\n * a branded product (e.g. Crestor), this is the Therapeutic Moeity (e.g.\n * Rosuvastatin) or if this is a generic medication (e.g. Rosuvastatin),\n * this would link to a branded product (e.g. Crestor).\n */\n readonly associatedMedication?: Reference<Medication>[];\n\n /**\n * Category of the medication or product (e.g. branded product,\n * therapeutic moeity, generic product, innovator product, etc.).\n */\n readonly productType?: CodeableConcept[];\n\n /**\n * Associated documentation about the medication.\n */\n readonly monograph?: MedicationKnowledgeMonograph[];\n\n /**\n * Identifies a particular constituent of interest in the product.\n */\n readonly ingredient?: MedicationKnowledgeIngredient[];\n\n /**\n * The instructions for preparing the medication.\n */\n readonly preparationInstruction?: string;\n\n /**\n * The intended or approved route of administration.\n */\n readonly intendedRoute?: CodeableConcept[];\n\n /**\n * The price of the medication.\n */\n readonly cost?: MedicationKnowledgeCost[];\n\n /**\n * The program under which the medication is reviewed.\n */\n readonly monitoringProgram?: MedicationKnowledgeMonitoringProgram[];\n\n /**\n * Guidelines for the administration of the medication.\n */\n readonly administrationGuidelines?: MedicationKnowledgeAdministrationGuidelines[];\n\n /**\n * Categorization of the medication within a formulary or classification\n * system.\n */\n readonly medicineClassification?: MedicationKnowledgeMedicineClassification[];\n\n /**\n * Information that only applies to packages (not products).\n */\n readonly packaging?: MedicationKnowledgePackaging;\n\n /**\n * Specifies descriptive properties of the medicine, such as color,\n * shape, imprints, etc.\n */\n readonly drugCharacteristic?: MedicationKnowledgeDrugCharacteristic[];\n\n /**\n * Potential clinical issue with or between medication(s) (for example,\n * drug-drug interaction, drug-disease contraindication, drug-allergy\n * interaction, etc.).\n */\n readonly contraindication?: Reference<DetectedIssue>[];\n\n /**\n * Regulatory information about a medication.\n */\n readonly regulatory?: MedicationKnowledgeRegulatory[];\n\n /**\n * The time course of drug absorption, distribution, metabolism and\n * excretion of a medication from the body.\n */\n readonly kinetics?: MedicationKnowledgeKinetics[];\n}\n\n/**\n * Guidelines for the administration of the medication.\n */\nexport interface MedicationKnowledgeAdministrationGuidelines {\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 * Dosage for the medication for the specific guidelines.\n */\n readonly dosage?: MedicationKnowledgeAdministrationGuidelinesDosage[];\n\n /**\n * Indication for use that apply to the specific administration\n * guidelines.\n */\n readonly indicationCodeableConcept?: CodeableConcept;\n\n /**\n * Indication for use that apply to the specific administration\n * guidelines.\n */\n readonly indicationReference?: Reference<ObservationDefinition>;\n\n /**\n * Characteristics of the patient that are relevant to the administration\n * guidelines (for example, height, weight, gender, etc.).\n */\n readonly patientCharacteristics?: MedicationKnowledgeAdministrationGuidelinesPatientCharacteristics[];\n}\n\n/**\n * Dosage for the medication for the specific guidelines.\n */\nexport interface MedicationKnowledgeAdministrationGuidelinesDosage {\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 type of dosage (for example, prophylaxis, maintenance,\n * therapeutic, etc.).\n */\n readonly type?: CodeableConcept;\n\n /**\n * Dosage for the medication for the specific guidelines.\n */\n readonly dosage?: Dosage[];\n}\n\n/**\n * Characteristics of the patient that are relevant to the administration\n * guidelines (for example, height, weight, gender, etc.).\n */\nexport interface MedicationKnowledgeAdministrationGuidelinesPatientCharacteristics {\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 * Specific characteristic that is relevant to the administration\n * guideline (e.g. height, weight, gender).\n */\n readonly characteristicCodeableConcept?: CodeableConcept;\n\n /**\n * Specific characteristic that is relevant to the administration\n * guideline (e.g. height, weight, gender).\n */\n readonly characteristicQuantity?: Quantity;\n\n /**\n * The specific characteristic (e.g. height, weight, gender, etc.).\n */\n readonly value?: string[];\n}\n\n/**\n * The price of the medication.\n */\nexport interface MedicationKnowledgeCost {\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 category of the cost information. For example, manufacturers'\n * cost, patient cost, claim reimbursement cost, actual acquisition cost.\n */\n readonly type?: CodeableConcept;\n\n /**\n * The source or owner that assigns the price to the medication.\n */\n readonly source?: string;\n\n /**\n * The price of the medication.\n */\n readonly cost?: Money;\n}\n\n/**\n * Specifies descriptive properties of the medicine, such as color,\n * shape, imprints, etc.\n */\nexport interface MedicationKnowledgeDrugCharacteristic {\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 code specifying which characteristic of the medicine is being\n * described (for example, colour, shape, imprint).\n */\n readonly type?: CodeableConcept;\n\n /**\n * Description of the characteristic.\n */\n readonly valueCodeableConcept?: CodeableConcept;\n\n /**\n * Description of the characteristic.\n */\n readonly valueString?: string;\n\n /**\n * Description of the characteristic.\n */\n readonly valueQuantity?: Quantity;\n\n /**\n * Description of the characteristic.\n */\n readonly valueBase64Binary?: string;\n}\n\n/**\n * Identifies a particular constituent of interest in the product.\n */\nexport interface MedicationKnowledgeIngredient {\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 actual ingredient - either a substance (simple ingredient) or\n * another medication.\n */\n readonly itemCodeableConcept?: CodeableConcept;\n\n /**\n * The actual ingredient - either a substance (simple ingredient) or\n * another medication.\n */\n readonly itemReference?: Reference<Substance>;\n\n /**\n * Indication of whether this ingredient affects the therapeutic action\n * of the drug.\n */\n readonly isActive?: boolean;\n\n /**\n * Specifies how many (or how much) of the items there are in this\n * Medication. For example, 250 mg per tablet. This is expressed as a\n * ratio where the numerator is 250mg and the denominator is 1 tablet.\n */\n readonly strength?: Ratio;\n}\n\n/**\n * The time course of drug absorption, distribution, metabolism and\n * excretion of a medication from the body.\n */\nexport interface MedicationKnowledgeKinetics {\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 drug concentration measured at certain discrete points in time.\n */\n readonly areaUnderCurve?: Quantity[];\n\n /**\n * The median lethal dose of a drug.\n */\n readonly lethalDose50?: Quantity[];\n\n /**\n * The time required for any specified property (e.g., the concentration\n * of a substance in the body) to decrease by half.\n */\n readonly halfLifePeriod?: Duration;\n}\n\n/**\n * Categorization of the medication within a formulary or classification\n * system.\n */\nexport interface MedicationKnowledgeMedicineClassification {\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 type of category for the medication (for example, therapeutic\n * classification, therapeutic sub-classification).\n */\n readonly type?: CodeableConcept;\n\n /**\n * Specific category assigned to the medication (e.g. anti-infective,\n * anti-hypertensive, antibiotic, etc.).\n */\n readonly classification?: CodeableConcept[];\n}\n\n/**\n * The program under which the medication is reviewed.\n */\nexport interface MedicationKnowledgeMonitoringProgram {\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 * Type of program under which the medication is monitored.\n */\n readonly type?: CodeableConcept;\n\n /**\n * Name of the reviewing program.\n */\n readonly name?: string;\n}\n\n/**\n * Associated documentation about the medication.\n */\nexport interface MedicationKnowledgeMonograph {\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 category of documentation about the medication. (e.g. professional\n * monograph, patient education monograph).\n */\n readonly type?: CodeableConcept;\n\n /**\n * Associated documentation about the medication.\n */\n readonly source?: Reference<DocumentReference | Media>;\n}\n\n/**\n * Information that only applies to packages (not products).\n */\nexport interface MedicationKnowledgePackaging {\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 code that defines the specific type of packaging that the medication\n * can be found in (e.g. blister sleeve, tube, bottle).\n */\n readonly type?: CodeableConcept;\n\n /**\n * The number of product units the package would contain if fully loaded.\n */\n readonly quantity?: Quantity;\n}\n\n/**\n * Regulatory information about a medication.\n */\nexport interface MedicationKnowledgeRegulatory {\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 authority that is specifying the regulations.\n */\n readonly regulatoryAuthority?: Reference<Organization>;\n\n /**\n * Specifies if changes are allowed when dispensing a medication from a\n * regulatory perspective.\n */\n readonly substitution?: MedicationKnowledgeRegulatorySubstitution[];\n\n /**\n * Specifies the schedule of a medication in jurisdiction.\n */\n readonly schedule?: MedicationKnowledgeRegulatorySchedule[];\n\n /**\n * The maximum number of units of the medication that can be dispensed in\n * a period.\n */\n readonly maxDispense?: MedicationKnowledgeRegulatoryMaxDispense;\n}\n\n/**\n * The maximum number of units of the medication that can be dispensed in\n * a period.\n */\nexport interface MedicationKnowledgeRegulatoryMaxDispense {\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 maximum number of units of the medication that can be dispensed.\n */\n readonly quantity?: Quantity;\n\n /**\n * The period that applies to the maximum number of units.\n */\n readonly period?: Duration;\n}\n\n/**\n * Specifies the schedule of a medication in jurisdiction.\n */\nexport interface MedicationKnowledgeRegulatorySchedule {\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 * Specifies the specific drug schedule.\n */\n readonly schedule?: CodeableConcept;\n}\n\n/**\n * Specifies if changes are allowed when dispensing a medication from a\n * regulatory perspective.\n */\nexport interface MedicationKnowledgeRegulatorySubstitution {\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 * Specifies the type of substitution allowed.\n */\n readonly type?: CodeableConcept;\n\n /**\n * Specifies if regulation allows for changes in the medication when\n * dispensing.\n */\n readonly allowed?: boolean;\n}\n\n/**\n * Associated or related knowledge about a medication.\n */\nexport interface MedicationKnowledgeRelatedMedicationKnowledge {\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 category of the associated medication knowledge reference.\n */\n readonly type?: CodeableConcept;\n\n /**\n * Associated documentation about the associated medication knowledge.\n */\n readonly reference?: Reference<MedicationKnowledge>[];\n}\n"]}
@@ -1,481 +0,0 @@
1
- import { Annotation } from './Annotation';
2
- import { CarePlan } from './CarePlan';
3
- import { CareTeam } from './CareTeam';
4
- import { ClaimResponse } from './ClaimResponse';
5
- import { CodeableConcept } from './CodeableConcept';
6
- import { Condition } from './Condition';
7
- import { Coverage } from './Coverage';
8
- import { DetectedIssue } from './DetectedIssue';
9
- import { Device } from './Device';
10
- import { Dosage } from './Dosage';
11
- import { Duration } from './Duration';
12
- import { Encounter } from './Encounter';
13
- import { Extension } from './Extension';
14
- import { Group } from './Group';
15
- import { Identifier } from './Identifier';
16
- import { ImmunizationRecommendation } from './ImmunizationRecommendation';
17
- import { Medication } from './Medication';
18
- import { Meta } from './Meta';
19
- import { Narrative } from './Narrative';
20
- import { Observation } from './Observation';
21
- import { Organization } from './Organization';
22
- import { Patient } from './Patient';
23
- import { Period } from './Period';
24
- import { Practitioner } from './Practitioner';
25
- import { PractitionerRole } from './PractitionerRole';
26
- import { Provenance } from './Provenance';
27
- import { Quantity } from './Quantity';
28
- import { Reference } from './Reference';
29
- import { RelatedPerson } from './RelatedPerson';
30
- import { Resource } from './Resource';
31
- import { ServiceRequest } from './ServiceRequest';
32
- /**
33
- * An order or request for both supply of the medication and the
34
- * instructions for administration of the medication to a patient. The
35
- * resource is called &quot;MedicationRequest&quot; rather than
36
- * &quot;MedicationPrescription&quot; or &quot;MedicationOrder&quot; to generalize the use
37
- * across inpatient and outpatient settings, including care plans, etc.,
38
- * and to harmonize with workflow patterns.
39
- */
40
- export interface MedicationRequest {
41
- /**
42
- * This is a MedicationRequest resource
43
- */
44
- readonly resourceType: 'MedicationRequest';
45
- /**
46
- * The logical id of the resource, as used in the URL for the resource.
47
- * Once assigned, this value never changes.
48
- */
49
- readonly id?: string;
50
- /**
51
- * The metadata about the resource. This is content that is maintained by
52
- * the infrastructure. Changes to the content might not always be
53
- * associated with version changes to the resource.
54
- */
55
- readonly meta?: Meta;
56
- /**
57
- * A reference to a set of rules that were followed when the resource was
58
- * constructed, and which must be understood when processing the content.
59
- * Often, this is a reference to an implementation guide that defines the
60
- * special rules along with other profiles etc.
61
- */
62
- readonly implicitRules?: string;
63
- /**
64
- * The base language in which the resource is written.
65
- */
66
- readonly language?: string;
67
- /**
68
- * A human-readable narrative that contains a summary of the resource and
69
- * can be used to represent the content of the resource to a human. The
70
- * narrative need not encode all the structured data, but is required to
71
- * contain sufficient detail to make it &quot;clinically safe&quot; for a human to
72
- * just read the narrative. Resource definitions may define what content
73
- * should be represented in the narrative to ensure clinical safety.
74
- */
75
- readonly text?: Narrative;
76
- /**
77
- * These resources do not have an independent existence apart from the
78
- * resource that contains them - they cannot be identified independently,
79
- * and nor can they have their own independent transaction scope.
80
- */
81
- readonly contained?: Resource[];
82
- /**
83
- * May be used to represent additional information that is not part of
84
- * the basic definition of the resource. To make the use of extensions
85
- * safe and manageable, there is a strict set of governance applied to
86
- * the definition and use of extensions. Though any implementer can
87
- * define an extension, there is a set of requirements that SHALL be met
88
- * as part of the definition of the extension.
89
- */
90
- readonly extension?: Extension[];
91
- /**
92
- * May be used to represent additional information that is not part of
93
- * the basic definition of the resource and that modifies the
94
- * understanding of the element that contains it and/or the understanding
95
- * of the containing element's descendants. Usually modifier elements
96
- * provide negation or qualification. To make the use of extensions safe
97
- * and manageable, there is a strict set of governance applied to the
98
- * definition and use of extensions. Though any implementer is allowed to
99
- * define an extension, there is a set of requirements that SHALL be met
100
- * as part of the definition of the extension. Applications processing a
101
- * resource are required to check for modifier extensions.
102
- *
103
- * Modifier extensions SHALL NOT change the meaning of any elements on
104
- * Resource or DomainResource (including cannot change the meaning of
105
- * modifierExtension itself).
106
- */
107
- readonly modifierExtension?: Extension[];
108
- /**
109
- * Identifiers associated with this medication request that are defined
110
- * by business processes and/or used to refer to it when a direct URL
111
- * reference to the resource itself is not appropriate. They are business
112
- * identifiers assigned to this resource by the performer or other
113
- * systems and remain constant as the resource is updated and propagates
114
- * from server to server.
115
- */
116
- readonly identifier?: Identifier[];
117
- /**
118
- * A code specifying the current state of the order. Generally, this
119
- * will be active or completed state.
120
- */
121
- readonly status?: string;
122
- /**
123
- * Captures the reason for the current state of the MedicationRequest.
124
- */
125
- readonly statusReason?: CodeableConcept;
126
- /**
127
- * Whether the request is a proposal, plan, or an original order.
128
- */
129
- readonly intent?: string;
130
- /**
131
- * Indicates the type of medication request (for example, where the
132
- * medication is expected to be consumed or administered (i.e. inpatient
133
- * or outpatient)).
134
- */
135
- readonly category?: CodeableConcept[];
136
- /**
137
- * Indicates how quickly the Medication Request should be addressed with
138
- * respect to other requests.
139
- */
140
- readonly priority?: string;
141
- /**
142
- * If true indicates that the provider is asking for the medication
143
- * request not to occur.
144
- */
145
- readonly doNotPerform?: boolean;
146
- /**
147
- * Indicates if this record was captured as a secondary 'reported' record
148
- * rather than as an original primary source-of-truth record. It may
149
- * also indicate the source of the report.
150
- */
151
- readonly reportedBoolean?: boolean;
152
- /**
153
- * Indicates if this record was captured as a secondary 'reported' record
154
- * rather than as an original primary source-of-truth record. It may
155
- * also indicate the source of the report.
156
- */
157
- readonly reportedReference?: Reference<Patient | Practitioner | PractitionerRole | RelatedPerson | Organization>;
158
- /**
159
- * Identifies the medication being requested. This is a link to a
160
- * resource that represents the medication which may be the details of
161
- * the medication or simply an attribute carrying a code that identifies
162
- * the medication from a known list of medications.
163
- */
164
- readonly medicationCodeableConcept?: CodeableConcept;
165
- /**
166
- * Identifies the medication being requested. This is a link to a
167
- * resource that represents the medication which may be the details of
168
- * the medication or simply an attribute carrying a code that identifies
169
- * the medication from a known list of medications.
170
- */
171
- readonly medicationReference?: Reference<Medication>;
172
- /**
173
- * A link to a resource representing the person or set of individuals to
174
- * whom the medication will be given.
175
- */
176
- readonly subject?: Reference<Patient | Group>;
177
- /**
178
- * The Encounter during which this [x] was created or to which the
179
- * creation of this record is tightly associated.
180
- */
181
- readonly encounter?: Reference<Encounter>;
182
- /**
183
- * Include additional information (for example, patient height and
184
- * weight) that supports the ordering of the medication.
185
- */
186
- readonly supportingInformation?: Reference<Resource>[];
187
- /**
188
- * The date (and perhaps time) when the prescription was initially
189
- * written or authored on.
190
- */
191
- readonly authoredOn?: string;
192
- /**
193
- * The individual, organization, or device that initiated the request and
194
- * has responsibility for its activation.
195
- */
196
- readonly requester?: Reference<Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device>;
197
- /**
198
- * The specified desired performer of the medication treatment (e.g. the
199
- * performer of the medication administration).
200
- */
201
- readonly performer?: Reference<Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam>;
202
- /**
203
- * Indicates the type of performer of the administration of the
204
- * medication.
205
- */
206
- readonly performerType?: CodeableConcept;
207
- /**
208
- * The person who entered the order on behalf of another individual for
209
- * example in the case of a verbal or a telephone order.
210
- */
211
- readonly recorder?: Reference<Practitioner | PractitionerRole>;
212
- /**
213
- * The reason or the indication for ordering or not ordering the
214
- * medication.
215
- */
216
- readonly reasonCode?: CodeableConcept[];
217
- /**
218
- * Condition or observation that supports why the medication was ordered.
219
- */
220
- readonly reasonReference?: Reference<Condition | Observation>[];
221
- /**
222
- * The URL pointing to a protocol, guideline, orderset, or other
223
- * definition that is adhered to in whole or in part by this
224
- * MedicationRequest.
225
- */
226
- readonly instantiatesCanonical?: string[];
227
- /**
228
- * The URL pointing to an externally maintained protocol, guideline,
229
- * orderset or other definition that is adhered to in whole or in part by
230
- * this MedicationRequest.
231
- */
232
- readonly instantiatesUri?: string[];
233
- /**
234
- * A plan or request that is fulfilled in whole or in part by this
235
- * medication request.
236
- */
237
- readonly basedOn?: Reference<CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation>[];
238
- /**
239
- * A shared identifier common to all requests that were authorized more
240
- * or less simultaneously by a single author, representing the identifier
241
- * of the requisition or prescription.
242
- */
243
- readonly groupIdentifier?: Identifier;
244
- /**
245
- * The description of the overall patte3rn of the administration of the
246
- * medication to the patient.
247
- */
248
- readonly courseOfTherapyType?: CodeableConcept;
249
- /**
250
- * Insurance plans, coverage extensions, pre-authorizations and/or
251
- * pre-determinations that may be required for delivering the requested
252
- * service.
253
- */
254
- readonly insurance?: Reference<Coverage | ClaimResponse>[];
255
- /**
256
- * Extra information about the prescription that could not be conveyed by
257
- * the other attributes.
258
- */
259
- readonly note?: Annotation[];
260
- /**
261
- * Indicates how the medication is to be used by the patient.
262
- */
263
- readonly dosageInstruction?: Dosage[];
264
- /**
265
- * Indicates the specific details for the dispense or medication supply
266
- * part of a medication request (also known as a Medication Prescription
267
- * or Medication Order). Note that this information is not always sent
268
- * with the order. There may be in some settings (e.g. hospitals)
269
- * institutional or system support for completing the dispense details in
270
- * the pharmacy department.
271
- */
272
- readonly dispenseRequest?: MedicationRequestDispenseRequest;
273
- /**
274
- * Indicates whether or not substitution can or should be part of the
275
- * dispense. In some cases, substitution must happen, in other cases
276
- * substitution must not happen. This block explains the prescriber's
277
- * intent. If nothing is specified substitution may be done.
278
- */
279
- readonly substitution?: MedicationRequestSubstitution;
280
- /**
281
- * A link to a resource representing an earlier order related order or
282
- * prescription.
283
- */
284
- readonly priorPrescription?: Reference<MedicationRequest>;
285
- /**
286
- * Indicates an actual or potential clinical issue with or between one or
287
- * more active or proposed clinical actions for a patient; e.g. Drug-drug
288
- * interaction, duplicate therapy, dosage alert etc.
289
- */
290
- readonly detectedIssue?: Reference<DetectedIssue>[];
291
- /**
292
- * Links to Provenance records for past versions of this resource or
293
- * fulfilling request or event resources that identify key state
294
- * transitions or updates that are likely to be relevant to a user
295
- * looking at the current version of the resource.
296
- */
297
- readonly eventHistory?: Reference<Provenance>[];
298
- }
299
- /**
300
- * Indicates the specific details for the dispense or medication supply
301
- * part of a medication request (also known as a Medication Prescription
302
- * or Medication Order). Note that this information is not always sent
303
- * with the order. There may be in some settings (e.g. hospitals)
304
- * institutional or system support for completing the dispense details in
305
- * the pharmacy department.
306
- */
307
- export interface MedicationRequestDispenseRequest {
308
- /**
309
- * Unique id for the element within a resource (for internal references).
310
- * This may be any string value that does not contain spaces.
311
- */
312
- readonly id?: string;
313
- /**
314
- * May be used to represent additional information that is not part of
315
- * the basic definition of the element. To make the use of extensions
316
- * safe and manageable, there is a strict set of governance applied to
317
- * the definition and use of extensions. Though any implementer can
318
- * define an extension, there is a set of requirements that SHALL be met
319
- * as part of the definition of the extension.
320
- */
321
- readonly extension?: Extension[];
322
- /**
323
- * May be used to represent additional information that is not part of
324
- * the basic definition of the element and that modifies the
325
- * understanding of the element in which it is contained and/or the
326
- * understanding of the containing element's descendants. Usually
327
- * modifier elements provide negation or qualification. To make the use
328
- * of extensions safe and manageable, there is a strict set of governance
329
- * applied to the definition and use of extensions. Though any
330
- * implementer can define an extension, there is a set of requirements
331
- * that SHALL be met as part of the definition of the extension.
332
- * Applications processing a resource are required to check for modifier
333
- * extensions.
334
- *
335
- * Modifier extensions SHALL NOT change the meaning of any elements on
336
- * Resource or DomainResource (including cannot change the meaning of
337
- * modifierExtension itself).
338
- */
339
- readonly modifierExtension?: Extension[];
340
- /**
341
- * Indicates the quantity or duration for the first dispense of the
342
- * medication.
343
- */
344
- readonly initialFill?: MedicationRequestDispenseRequestInitialFill;
345
- /**
346
- * The minimum period of time that must occur between dispenses of the
347
- * medication.
348
- */
349
- readonly dispenseInterval?: Duration;
350
- /**
351
- * This indicates the validity period of a prescription (stale dating the
352
- * Prescription).
353
- */
354
- readonly validityPeriod?: Period;
355
- /**
356
- * An integer indicating the number of times, in addition to the original
357
- * dispense, (aka refills or repeats) that the patient can receive the
358
- * prescribed medication. Usage Notes: This integer does not include the
359
- * original order dispense. This means that if an order indicates
360
- * dispense 30 tablets plus &quot;3 repeats&quot;, then the order can be dispensed
361
- * a total of 4 times and the patient can receive a total of 120 tablets.
362
- * A prescriber may explicitly say that zero refills are permitted after
363
- * the initial dispense.
364
- */
365
- readonly numberOfRepeatsAllowed?: number;
366
- /**
367
- * The amount that is to be dispensed for one fill.
368
- */
369
- readonly quantity?: Quantity;
370
- /**
371
- * Identifies the period time over which the supplied product is expected
372
- * to be used, or the length of time the dispense is expected to last.
373
- */
374
- readonly expectedSupplyDuration?: Duration;
375
- /**
376
- * Indicates the intended dispensing Organization specified by the
377
- * prescriber.
378
- */
379
- readonly performer?: Reference<Organization>;
380
- }
381
- /**
382
- * Indicates the quantity or duration for the first dispense of the
383
- * medication.
384
- */
385
- export interface MedicationRequestDispenseRequestInitialFill {
386
- /**
387
- * Unique id for the element within a resource (for internal references).
388
- * This may be any string value that does not contain spaces.
389
- */
390
- readonly id?: string;
391
- /**
392
- * May be used to represent additional information that is not part of
393
- * the basic definition of the element. To make the use of extensions
394
- * safe and manageable, there is a strict set of governance applied to
395
- * the definition and use of extensions. Though any implementer can
396
- * define an extension, there is a set of requirements that SHALL be met
397
- * as part of the definition of the extension.
398
- */
399
- readonly extension?: Extension[];
400
- /**
401
- * May be used to represent additional information that is not part of
402
- * the basic definition of the element and that modifies the
403
- * understanding of the element in which it is contained and/or the
404
- * understanding of the containing element's descendants. Usually
405
- * modifier elements provide negation or qualification. To make the use
406
- * of extensions safe and manageable, there is a strict set of governance
407
- * applied to the definition and use of extensions. Though any
408
- * implementer can define an extension, there is a set of requirements
409
- * that SHALL be met as part of the definition of the extension.
410
- * Applications processing a resource are required to check for modifier
411
- * extensions.
412
- *
413
- * Modifier extensions SHALL NOT change the meaning of any elements on
414
- * Resource or DomainResource (including cannot change the meaning of
415
- * modifierExtension itself).
416
- */
417
- readonly modifierExtension?: Extension[];
418
- /**
419
- * The amount or quantity to provide as part of the first dispense.
420
- */
421
- readonly quantity?: Quantity;
422
- /**
423
- * The length of time that the first dispense is expected to last.
424
- */
425
- readonly duration?: Duration;
426
- }
427
- /**
428
- * Indicates whether or not substitution can or should be part of the
429
- * dispense. In some cases, substitution must happen, in other cases
430
- * substitution must not happen. This block explains the prescriber's
431
- * intent. If nothing is specified substitution may be done.
432
- */
433
- export interface MedicationRequestSubstitution {
434
- /**
435
- * Unique id for the element within a resource (for internal references).
436
- * This may be any string value that does not contain spaces.
437
- */
438
- readonly id?: string;
439
- /**
440
- * May be used to represent additional information that is not part of
441
- * the basic definition of the element. To make the use of extensions
442
- * safe and manageable, there is a strict set of governance applied to
443
- * the definition and use of extensions. Though any implementer can
444
- * define an extension, there is a set of requirements that SHALL be met
445
- * as part of the definition of the extension.
446
- */
447
- readonly extension?: Extension[];
448
- /**
449
- * May be used to represent additional information that is not part of
450
- * the basic definition of the element and that modifies the
451
- * understanding of the element in which it is contained and/or the
452
- * understanding of the containing element's descendants. Usually
453
- * modifier elements provide negation or qualification. To make the use
454
- * of extensions safe and manageable, there is a strict set of governance
455
- * applied to the definition and use of extensions. Though any
456
- * implementer can define an extension, there is a set of requirements
457
- * that SHALL be met as part of the definition of the extension.
458
- * Applications processing a resource are required to check for modifier
459
- * extensions.
460
- *
461
- * Modifier extensions SHALL NOT change the meaning of any elements on
462
- * Resource or DomainResource (including cannot change the meaning of
463
- * modifierExtension itself).
464
- */
465
- readonly modifierExtension?: Extension[];
466
- /**
467
- * True if the prescriber allows a different drug to be dispensed from
468
- * what was prescribed.
469
- */
470
- readonly allowedBoolean?: boolean;
471
- /**
472
- * True if the prescriber allows a different drug to be dispensed from
473
- * what was prescribed.
474
- */
475
- readonly allowedCodeableConcept?: CodeableConcept;
476
- /**
477
- * Indicates the reason for the substitution, or why substitution must or
478
- * must not be performed.
479
- */
480
- readonly reason?: CodeableConcept;
481
- }
@@ -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=MedicationRequest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MedicationRequest.js","sourceRoot":"","sources":["../../src/fhir/MedicationRequest.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*\n * Generated by @medplum/generator\n * Do not edit manually.\n */\n\nimport { Annotation } from './Annotation';\nimport { CarePlan } from './CarePlan';\nimport { CareTeam } from './CareTeam';\nimport { ClaimResponse } from './ClaimResponse';\nimport { CodeableConcept } from './CodeableConcept';\nimport { Condition } from './Condition';\nimport { Coverage } from './Coverage';\nimport { DetectedIssue } from './DetectedIssue';\nimport { Device } from './Device';\nimport { Dosage } from './Dosage';\nimport { Duration } from './Duration';\nimport { Encounter } from './Encounter';\nimport { Extension } from './Extension';\nimport { Group } from './Group';\nimport { Identifier } from './Identifier';\nimport { ImmunizationRecommendation } from './ImmunizationRecommendation';\nimport { Medication } from './Medication';\nimport { Meta } from './Meta';\nimport { Narrative } from './Narrative';\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 { Provenance } from './Provenance';\nimport { Quantity } from './Quantity';\nimport { Reference } from './Reference';\nimport { RelatedPerson } from './RelatedPerson';\nimport { Resource } from './Resource';\nimport { ServiceRequest } from './ServiceRequest';\n\n/**\n * An order or request for both supply of the medication and the\n * instructions for administration of the medication to a patient. The\n * resource is called &quot;MedicationRequest&quot; rather than\n * &quot;MedicationPrescription&quot; or &quot;MedicationOrder&quot; to generalize the use\n * across inpatient and outpatient settings, including care plans, etc.,\n * and to harmonize with workflow patterns.\n */\nexport interface MedicationRequest {\n\n /**\n * This is a MedicationRequest resource\n */\n readonly resourceType: 'MedicationRequest';\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 * Identifiers associated with this medication request that are defined\n * by business processes and/or used to refer to it when a direct URL\n * reference to the resource itself is not appropriate. They are business\n * identifiers assigned to this resource by the performer or other\n * systems and remain constant as the resource is updated and propagates\n * from server to server.\n */\n readonly identifier?: Identifier[];\n\n /**\n * A code specifying the current state of the order. Generally, this\n * will be active or completed state.\n */\n readonly status?: string;\n\n /**\n * Captures the reason for the current state of the MedicationRequest.\n */\n readonly statusReason?: CodeableConcept;\n\n /**\n * Whether the request is a proposal, plan, or an original order.\n */\n readonly intent?: string;\n\n /**\n * Indicates the type of medication request (for example, where the\n * medication is expected to be consumed or administered (i.e. inpatient\n * or outpatient)).\n */\n readonly category?: CodeableConcept[];\n\n /**\n * Indicates how quickly the Medication Request should be addressed with\n * respect to other requests.\n */\n readonly priority?: string;\n\n /**\n * If true indicates that the provider is asking for the medication\n * request not to occur.\n */\n readonly doNotPerform?: boolean;\n\n /**\n * Indicates if this record was captured as a secondary 'reported' record\n * rather than as an original primary source-of-truth record. It may\n * also indicate the source of the report.\n */\n readonly reportedBoolean?: boolean;\n\n /**\n * Indicates if this record was captured as a secondary 'reported' record\n * rather than as an original primary source-of-truth record. It may\n * also indicate the source of the report.\n */\n readonly reportedReference?: Reference<Patient | Practitioner | PractitionerRole | RelatedPerson | Organization>;\n\n /**\n * Identifies the medication being requested. This is a link to a\n * resource that represents the medication which may be the details of\n * the medication or simply an attribute carrying a code that identifies\n * the medication from a known list of medications.\n */\n readonly medicationCodeableConcept?: CodeableConcept;\n\n /**\n * Identifies the medication being requested. This is a link to a\n * resource that represents the medication which may be the details of\n * the medication or simply an attribute carrying a code that identifies\n * the medication from a known list of medications.\n */\n readonly medicationReference?: Reference<Medication>;\n\n /**\n * A link to a resource representing the person or set of individuals to\n * whom the medication will be given.\n */\n readonly subject?: Reference<Patient | Group>;\n\n /**\n * The Encounter during which this [x] was created or to which the\n * creation of this record is tightly associated.\n */\n readonly encounter?: Reference<Encounter>;\n\n /**\n * Include additional information (for example, patient height and\n * weight) that supports the ordering of the medication.\n */\n readonly supportingInformation?: Reference<Resource>[];\n\n /**\n * The date (and perhaps time) when the prescription was initially\n * written or authored on.\n */\n readonly authoredOn?: string;\n\n /**\n * The individual, organization, or device that initiated the request and\n * has responsibility for its activation.\n */\n readonly requester?: Reference<Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device>;\n\n /**\n * The specified desired performer of the medication treatment (e.g. the\n * performer of the medication administration).\n */\n readonly performer?: Reference<Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam>;\n\n /**\n * Indicates the type of performer of the administration of the\n * medication.\n */\n readonly performerType?: CodeableConcept;\n\n /**\n * The person who entered the order on behalf of another individual for\n * example in the case of a verbal or a telephone order.\n */\n readonly recorder?: Reference<Practitioner | PractitionerRole>;\n\n /**\n * The reason or the indication for ordering or not ordering the\n * medication.\n */\n readonly reasonCode?: CodeableConcept[];\n\n /**\n * Condition or observation that supports why the medication was ordered.\n */\n readonly reasonReference?: Reference<Condition | Observation>[];\n\n /**\n * The URL pointing to a protocol, guideline, orderset, or other\n * definition that is adhered to in whole or in part by this\n * MedicationRequest.\n */\n readonly instantiatesCanonical?: string[];\n\n /**\n * The URL pointing to an externally maintained protocol, guideline,\n * orderset or other definition that is adhered to in whole or in part by\n * this MedicationRequest.\n */\n readonly instantiatesUri?: string[];\n\n /**\n * A plan or request that is fulfilled in whole or in part by this\n * medication request.\n */\n readonly basedOn?: Reference<CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation>[];\n\n /**\n * A shared identifier common to all requests that were authorized more\n * or less simultaneously by a single author, representing the identifier\n * of the requisition or prescription.\n */\n readonly groupIdentifier?: Identifier;\n\n /**\n * The description of the overall patte3rn of the administration of the\n * medication to the patient.\n */\n readonly courseOfTherapyType?: CodeableConcept;\n\n /**\n * Insurance plans, coverage extensions, pre-authorizations and/or\n * pre-determinations that may be required for delivering the requested\n * service.\n */\n readonly insurance?: Reference<Coverage | ClaimResponse>[];\n\n /**\n * Extra information about the prescription that could not be conveyed by\n * the other attributes.\n */\n readonly note?: Annotation[];\n\n /**\n * Indicates how the medication is to be used by the patient.\n */\n readonly dosageInstruction?: Dosage[];\n\n /**\n * Indicates the specific details for the dispense or medication supply\n * part of a medication request (also known as a Medication Prescription\n * or Medication Order). Note that this information is not always sent\n * with the order. There may be in some settings (e.g. hospitals)\n * institutional or system support for completing the dispense details in\n * the pharmacy department.\n */\n readonly dispenseRequest?: MedicationRequestDispenseRequest;\n\n /**\n * Indicates whether or not substitution can or should be part of the\n * dispense. In some cases, substitution must happen, in other cases\n * substitution must not happen. This block explains the prescriber's\n * intent. If nothing is specified substitution may be done.\n */\n readonly substitution?: MedicationRequestSubstitution;\n\n /**\n * A link to a resource representing an earlier order related order or\n * prescription.\n */\n readonly priorPrescription?: Reference<MedicationRequest>;\n\n /**\n * Indicates an actual or potential clinical issue with or between one or\n * more active or proposed clinical actions for a patient; e.g. Drug-drug\n * interaction, duplicate therapy, dosage alert etc.\n */\n readonly detectedIssue?: Reference<DetectedIssue>[];\n\n /**\n * Links to Provenance records for past versions of this resource or\n * fulfilling request or event resources that identify key state\n * transitions or updates that are likely to be relevant to a user\n * looking at the current version of the resource.\n */\n readonly eventHistory?: Reference<Provenance>[];\n}\n\n/**\n * Indicates the specific details for the dispense or medication supply\n * part of a medication request (also known as a Medication Prescription\n * or Medication Order). Note that this information is not always sent\n * with the order. There may be in some settings (e.g. hospitals)\n * institutional or system support for completing the dispense details in\n * the pharmacy department.\n */\nexport interface MedicationRequestDispenseRequest {\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 * Indicates the quantity or duration for the first dispense of the\n * medication.\n */\n readonly initialFill?: MedicationRequestDispenseRequestInitialFill;\n\n /**\n * The minimum period of time that must occur between dispenses of the\n * medication.\n */\n readonly dispenseInterval?: Duration;\n\n /**\n * This indicates the validity period of a prescription (stale dating the\n * Prescription).\n */\n readonly validityPeriod?: Period;\n\n /**\n * An integer indicating the number of times, in addition to the original\n * dispense, (aka refills or repeats) that the patient can receive the\n * prescribed medication. Usage Notes: This integer does not include the\n * original order dispense. This means that if an order indicates\n * dispense 30 tablets plus &quot;3 repeats&quot;, then the order can be dispensed\n * a total of 4 times and the patient can receive a total of 120 tablets.\n * A prescriber may explicitly say that zero refills are permitted after\n * the initial dispense.\n */\n readonly numberOfRepeatsAllowed?: number;\n\n /**\n * The amount that is to be dispensed for one fill.\n */\n readonly quantity?: Quantity;\n\n /**\n * Identifies the period time over which the supplied product is expected\n * to be used, or the length of time the dispense is expected to last.\n */\n readonly expectedSupplyDuration?: Duration;\n\n /**\n * Indicates the intended dispensing Organization specified by the\n * prescriber.\n */\n readonly performer?: Reference<Organization>;\n}\n\n/**\n * Indicates the quantity or duration for the first dispense of the\n * medication.\n */\nexport interface MedicationRequestDispenseRequestInitialFill {\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 amount or quantity to provide as part of the first dispense.\n */\n readonly quantity?: Quantity;\n\n /**\n * The length of time that the first dispense is expected to last.\n */\n readonly duration?: Duration;\n}\n\n/**\n * Indicates whether or not substitution can or should be part of the\n * dispense. In some cases, substitution must happen, in other cases\n * substitution must not happen. This block explains the prescriber's\n * intent. If nothing is specified substitution may be done.\n */\nexport interface MedicationRequestSubstitution {\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 * True if the prescriber allows a different drug to be dispensed from\n * what was prescribed.\n */\n readonly allowedBoolean?: boolean;\n\n /**\n * True if the prescriber allows a different drug to be dispensed from\n * what was prescribed.\n */\n readonly allowedCodeableConcept?: CodeableConcept;\n\n /**\n * Indicates the reason for the substitution, or why substitution must or\n * must not be performed.\n */\n readonly reason?: CodeableConcept;\n}\n"]}