@medplum/core 0.2.0 → 0.4.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 (702) hide show
  1. package/README.md +32 -26
  2. package/dist/cjs/index.js +1769 -0
  3. package/dist/cjs/index.js.map +1 -0
  4. package/dist/cjs/index.min.js +16 -0
  5. package/dist/cjs/index.min.js.map +1 -0
  6. package/dist/esm/index.js +1721 -0
  7. package/dist/esm/index.js.map +1 -0
  8. package/dist/esm/index.min.js +16 -0
  9. package/dist/esm/index.min.js.map +1 -0
  10. package/dist/{cache.d.ts → types/cache.d.ts} +1 -0
  11. package/dist/{client.d.ts → types/client.d.ts} +115 -61
  12. package/dist/{crypto.d.ts → types/crypto.d.ts} +0 -0
  13. package/dist/{eventtarget.d.ts → types/eventtarget.d.ts} +0 -0
  14. package/dist/{format.d.ts → types/format.d.ts} +1 -1
  15. package/dist/{index.d.ts → types/index.d.ts} +0 -2
  16. package/dist/types/jwt.d.ts +5 -0
  17. package/dist/{outcomes.d.ts → types/outcomes.d.ts} +7 -2
  18. package/dist/{search.d.ts → types/search.d.ts} +3 -0
  19. package/dist/{searchparams.d.ts → types/searchparams.d.ts} +2 -1
  20. package/dist/{storage.d.ts → types/storage.d.ts} +0 -0
  21. package/dist/{types.d.ts → types/types.d.ts} +18 -4
  22. package/dist/{utils.d.ts → types/utils.d.ts} +1 -1
  23. package/package.json +14 -9
  24. package/rollup.config.js +36 -0
  25. package/dist/cache.js +0 -38
  26. package/dist/cache.js.map +0 -1
  27. package/dist/cache.test.d.ts +0 -1
  28. package/dist/cache.test.js +0 -29
  29. package/dist/cache.test.js.map +0 -1
  30. package/dist/client.js +0 -530
  31. package/dist/client.js.map +0 -1
  32. package/dist/client.test.d.ts +0 -1
  33. package/dist/client.test.js +0 -382
  34. package/dist/client.test.js.map +0 -1
  35. package/dist/crypto.js +0 -22
  36. package/dist/crypto.js.map +0 -1
  37. package/dist/eventtarget.js +0 -39
  38. package/dist/eventtarget.js.map +0 -1
  39. package/dist/eventtarget.test.d.ts +0 -1
  40. package/dist/eventtarget.test.js +0 -44
  41. package/dist/eventtarget.test.js.map +0 -1
  42. package/dist/fhir/AccessPolicy.d.ts +0 -75
  43. package/dist/fhir/AccessPolicy.js +0 -7
  44. package/dist/fhir/AccessPolicy.js.map +0 -1
  45. package/dist/fhir/Account.d.ts +0 -247
  46. package/dist/fhir/Account.js +0 -7
  47. package/dist/fhir/Account.js.map +0 -1
  48. package/dist/fhir/ActivityDefinition.d.ts +0 -500
  49. package/dist/fhir/ActivityDefinition.js +0 -7
  50. package/dist/fhir/ActivityDefinition.js.map +0 -1
  51. package/dist/fhir/Address.d.ts +0 -75
  52. package/dist/fhir/Address.js +0 -7
  53. package/dist/fhir/Address.js.map +0 -1
  54. package/dist/fhir/AdverseEvent.d.ts +0 -303
  55. package/dist/fhir/AdverseEvent.js +0 -7
  56. package/dist/fhir/AdverseEvent.js.map +0 -1
  57. package/dist/fhir/Age.d.ts +0 -47
  58. package/dist/fhir/Age.js +0 -7
  59. package/dist/fhir/Age.js.map +0 -1
  60. package/dist/fhir/AllergyIntolerance.d.ts +0 -283
  61. package/dist/fhir/AllergyIntolerance.js +0 -7
  62. package/dist/fhir/AllergyIntolerance.js.map +0 -1
  63. package/dist/fhir/Annotation.d.ts +0 -42
  64. package/dist/fhir/Annotation.js +0 -7
  65. package/dist/fhir/Annotation.js.map +0 -1
  66. package/dist/fhir/Appointment.d.ts +0 -284
  67. package/dist/fhir/Appointment.js +0 -7
  68. package/dist/fhir/Appointment.js.map +0 -1
  69. package/dist/fhir/AppointmentResponse.d.ts +0 -131
  70. package/dist/fhir/AppointmentResponse.js +0 -7
  71. package/dist/fhir/AppointmentResponse.js.map +0 -1
  72. package/dist/fhir/Attachment.d.ts +0 -58
  73. package/dist/fhir/Attachment.js +0 -7
  74. package/dist/fhir/Attachment.js.map +0 -1
  75. package/dist/fhir/AuditEvent.d.ts +0 -458
  76. package/dist/fhir/AuditEvent.js +0 -7
  77. package/dist/fhir/AuditEvent.js.map +0 -1
  78. package/dist/fhir/Basic.d.ts +0 -110
  79. package/dist/fhir/Basic.js +0 -7
  80. package/dist/fhir/Basic.js.map +0 -1
  81. package/dist/fhir/Binary.d.ts +0 -59
  82. package/dist/fhir/Binary.js +0 -7
  83. package/dist/fhir/Binary.js.map +0 -1
  84. package/dist/fhir/BiologicallyDerivedProduct.d.ts +0 -358
  85. package/dist/fhir/BiologicallyDerivedProduct.js +0 -7
  86. package/dist/fhir/BiologicallyDerivedProduct.js.map +0 -1
  87. package/dist/fhir/BodyStructure.d.ts +0 -119
  88. package/dist/fhir/BodyStructure.js +0 -7
  89. package/dist/fhir/BodyStructure.js.map +0 -1
  90. package/dist/fhir/Bot.d.ts +0 -49
  91. package/dist/fhir/Bot.js +0 -7
  92. package/dist/fhir/Bot.js.map +0 -1
  93. package/dist/fhir/Bundle.d.ts +0 -379
  94. package/dist/fhir/Bundle.js +0 -7
  95. package/dist/fhir/Bundle.js.map +0 -1
  96. package/dist/fhir/CapabilityStatement.d.ts +0 -1044
  97. package/dist/fhir/CapabilityStatement.js +0 -7
  98. package/dist/fhir/CapabilityStatement.js.map +0 -1
  99. package/dist/fhir/CarePlan.d.ts +0 -446
  100. package/dist/fhir/CarePlan.js +0 -7
  101. package/dist/fhir/CarePlan.js.map +0 -1
  102. package/dist/fhir/CareTeam.d.ts +0 -211
  103. package/dist/fhir/CareTeam.js +0 -7
  104. package/dist/fhir/CareTeam.js.map +0 -1
  105. package/dist/fhir/CatalogEntry.d.ts +0 -195
  106. package/dist/fhir/CatalogEntry.js +0 -7
  107. package/dist/fhir/CatalogEntry.js.map +0 -1
  108. package/dist/fhir/ChargeItem.d.ts +0 -287
  109. package/dist/fhir/ChargeItem.js +0 -7
  110. package/dist/fhir/ChargeItem.js.map +0 -1
  111. package/dist/fhir/ChargeItemDefinition.d.ts +0 -401
  112. package/dist/fhir/ChargeItemDefinition.js +0 -7
  113. package/dist/fhir/ChargeItemDefinition.js.map +0 -1
  114. package/dist/fhir/Claim.d.ts +0 -1092
  115. package/dist/fhir/Claim.js +0 -7
  116. package/dist/fhir/Claim.js.map +0 -1
  117. package/dist/fhir/ClaimResponse.d.ts +0 -1040
  118. package/dist/fhir/ClaimResponse.js +0 -7
  119. package/dist/fhir/ClaimResponse.js.map +0 -1
  120. package/dist/fhir/ClientApplication.d.ts +0 -46
  121. package/dist/fhir/ClientApplication.js +0 -7
  122. package/dist/fhir/ClientApplication.js.map +0 -1
  123. package/dist/fhir/ClinicalImpression.d.ts +0 -306
  124. package/dist/fhir/ClinicalImpression.js +0 -7
  125. package/dist/fhir/ClinicalImpression.js.map +0 -1
  126. package/dist/fhir/CodeSystem.d.ts +0 -541
  127. package/dist/fhir/CodeSystem.js +0 -7
  128. package/dist/fhir/CodeSystem.js.map +0 -1
  129. package/dist/fhir/CodeableConcept.d.ts +0 -33
  130. package/dist/fhir/CodeableConcept.js +0 -7
  131. package/dist/fhir/CodeableConcept.js.map +0 -1
  132. package/dist/fhir/Coding.d.ts +0 -50
  133. package/dist/fhir/Coding.js +0 -7
  134. package/dist/fhir/Coding.js.map +0 -1
  135. package/dist/fhir/Communication.d.ts +0 -264
  136. package/dist/fhir/Communication.js +0 -7
  137. package/dist/fhir/Communication.js.map +0 -1
  138. package/dist/fhir/CommunicationRequest.d.ts +0 -261
  139. package/dist/fhir/CommunicationRequest.js +0 -7
  140. package/dist/fhir/CommunicationRequest.js.map +0 -1
  141. package/dist/fhir/CompartmentDefinition.d.ts +0 -217
  142. package/dist/fhir/CompartmentDefinition.js +0 -7
  143. package/dist/fhir/CompartmentDefinition.js.map +0 -1
  144. package/dist/fhir/Composition.d.ts +0 -429
  145. package/dist/fhir/Composition.js +0 -7
  146. package/dist/fhir/Composition.js.map +0 -1
  147. package/dist/fhir/ConceptMap.d.ts +0 -518
  148. package/dist/fhir/ConceptMap.js +0 -7
  149. package/dist/fhir/ConceptMap.js.map +0 -1
  150. package/dist/fhir/Condition.d.ts +0 -326
  151. package/dist/fhir/Condition.js +0 -7
  152. package/dist/fhir/Condition.js.map +0 -1
  153. package/dist/fhir/Consent.d.ts +0 -460
  154. package/dist/fhir/Consent.js +0 -7
  155. package/dist/fhir/Consent.js.map +0 -1
  156. package/dist/fhir/ContactDetail.d.ts +0 -31
  157. package/dist/fhir/ContactDetail.js +0 -7
  158. package/dist/fhir/ContactDetail.js.map +0 -1
  159. package/dist/fhir/ContactPoint.d.ts +0 -47
  160. package/dist/fhir/ContactPoint.js +0 -7
  161. package/dist/fhir/ContactPoint.js.map +0 -1
  162. package/dist/fhir/Contract.d.ts +0 -1452
  163. package/dist/fhir/Contract.js +0 -7
  164. package/dist/fhir/Contract.js.map +0 -1
  165. package/dist/fhir/Contributor.d.ts +0 -37
  166. package/dist/fhir/Contributor.js +0 -7
  167. package/dist/fhir/Contributor.js.map +0 -1
  168. package/dist/fhir/Count.d.ts +0 -49
  169. package/dist/fhir/Count.js +0 -7
  170. package/dist/fhir/Count.js.map +0 -1
  171. package/dist/fhir/Coverage.d.ts +0 -327
  172. package/dist/fhir/Coverage.js +0 -7
  173. package/dist/fhir/Coverage.js.map +0 -1
  174. package/dist/fhir/CoverageEligibilityRequest.d.ts +0 -404
  175. package/dist/fhir/CoverageEligibilityRequest.js +0 -7
  176. package/dist/fhir/CoverageEligibilityRequest.js.map +0 -1
  177. package/dist/fhir/CoverageEligibilityResponse.d.ts +0 -434
  178. package/dist/fhir/CoverageEligibilityResponse.js +0 -7
  179. package/dist/fhir/CoverageEligibilityResponse.js.map +0 -1
  180. package/dist/fhir/DataRequirement.d.ts +0 -239
  181. package/dist/fhir/DataRequirement.js +0 -7
  182. package/dist/fhir/DataRequirement.js.map +0 -1
  183. package/dist/fhir/DetectedIssue.d.ts +0 -252
  184. package/dist/fhir/DetectedIssue.js +0 -7
  185. package/dist/fhir/DetectedIssue.js.map +0 -1
  186. package/dist/fhir/Device.d.ts +0 -493
  187. package/dist/fhir/Device.js +0 -7
  188. package/dist/fhir/Device.js.map +0 -1
  189. package/dist/fhir/DeviceDefinition.d.ts +0 -486
  190. package/dist/fhir/DeviceDefinition.js +0 -7
  191. package/dist/fhir/DeviceDefinition.js.map +0 -1
  192. package/dist/fhir/DeviceMetric.d.ts +0 -199
  193. package/dist/fhir/DeviceMetric.js +0 -7
  194. package/dist/fhir/DeviceMetric.js.map +0 -1
  195. package/dist/fhir/DeviceRequest.d.ts +0 -296
  196. package/dist/fhir/DeviceRequest.js +0 -7
  197. package/dist/fhir/DeviceRequest.js.map +0 -1
  198. package/dist/fhir/DeviceUseStatement.d.ts +0 -168
  199. package/dist/fhir/DeviceUseStatement.js +0 -7
  200. package/dist/fhir/DeviceUseStatement.js.map +0 -1
  201. package/dist/fhir/DiagnosticReport.d.ts +0 -254
  202. package/dist/fhir/DiagnosticReport.js +0 -7
  203. package/dist/fhir/DiagnosticReport.js.map +0 -1
  204. package/dist/fhir/Distance.d.ts +0 -47
  205. package/dist/fhir/Distance.js +0 -7
  206. package/dist/fhir/Distance.js.map +0 -1
  207. package/dist/fhir/DocumentManifest.d.ts +0 -196
  208. package/dist/fhir/DocumentManifest.js +0 -7
  209. package/dist/fhir/DocumentManifest.js.map +0 -1
  210. package/dist/fhir/DocumentReference.d.ts +0 -349
  211. package/dist/fhir/DocumentReference.js +0 -7
  212. package/dist/fhir/DocumentReference.js.map +0 -1
  213. package/dist/fhir/Dosage.d.ts +0 -152
  214. package/dist/fhir/Dosage.js +0 -7
  215. package/dist/fhir/Dosage.js.map +0 -1
  216. package/dist/fhir/Duration.d.ts +0 -46
  217. package/dist/fhir/Duration.js +0 -7
  218. package/dist/fhir/Duration.js.map +0 -1
  219. package/dist/fhir/EffectEvidenceSynthesis.d.ts +0 -591
  220. package/dist/fhir/EffectEvidenceSynthesis.js +0 -7
  221. package/dist/fhir/EffectEvidenceSynthesis.js.map +0 -1
  222. package/dist/fhir/Element.d.ts +0 -21
  223. package/dist/fhir/Element.js +0 -7
  224. package/dist/fhir/Element.js.map +0 -1
  225. package/dist/fhir/ElementDefinition.d.ts +0 -2701
  226. package/dist/fhir/ElementDefinition.js +0 -7
  227. package/dist/fhir/ElementDefinition.js.map +0 -1
  228. package/dist/fhir/Encounter.d.ts +0 -558
  229. package/dist/fhir/Encounter.js +0 -7
  230. package/dist/fhir/Encounter.js.map +0 -1
  231. package/dist/fhir/Endpoint.d.ts +0 -140
  232. package/dist/fhir/Endpoint.js +0 -7
  233. package/dist/fhir/Endpoint.js.map +0 -1
  234. package/dist/fhir/EnrollmentRequest.d.ts +0 -113
  235. package/dist/fhir/EnrollmentRequest.js +0 -7
  236. package/dist/fhir/EnrollmentRequest.js.map +0 -1
  237. package/dist/fhir/EnrollmentResponse.d.ts +0 -117
  238. package/dist/fhir/EnrollmentResponse.js +0 -7
  239. package/dist/fhir/EnrollmentResponse.js.map +0 -1
  240. package/dist/fhir/EpisodeOfCare.d.ts +0 -246
  241. package/dist/fhir/EpisodeOfCare.js +0 -7
  242. package/dist/fhir/EpisodeOfCare.js.map +0 -1
  243. package/dist/fhir/EventDefinition.d.ts +0 -253
  244. package/dist/fhir/EventDefinition.js +0 -7
  245. package/dist/fhir/EventDefinition.js.map +0 -1
  246. package/dist/fhir/Evidence.d.ts +0 -252
  247. package/dist/fhir/Evidence.js +0 -7
  248. package/dist/fhir/Evidence.js.map +0 -1
  249. package/dist/fhir/EvidenceVariable.d.ts +0 -370
  250. package/dist/fhir/EvidenceVariable.js +0 -7
  251. package/dist/fhir/EvidenceVariable.js.map +0 -1
  252. package/dist/fhir/ExampleScenario.d.ts +0 -628
  253. package/dist/fhir/ExampleScenario.js +0 -7
  254. package/dist/fhir/ExampleScenario.js.map +0 -1
  255. package/dist/fhir/ExplanationOfBenefit.d.ts +0 -1841
  256. package/dist/fhir/ExplanationOfBenefit.js +0 -7
  257. package/dist/fhir/ExplanationOfBenefit.js.map +0 -1
  258. package/dist/fhir/Expression.d.ts +0 -45
  259. package/dist/fhir/Expression.js +0 -7
  260. package/dist/fhir/Expression.js.map +0 -1
  261. package/dist/fhir/Extension.d.ts +0 -306
  262. package/dist/fhir/Extension.js +0 -7
  263. package/dist/fhir/Extension.js.map +0 -1
  264. package/dist/fhir/FamilyMemberHistory.d.ts +0 -306
  265. package/dist/fhir/FamilyMemberHistory.js +0 -7
  266. package/dist/fhir/FamilyMemberHistory.js.map +0 -1
  267. package/dist/fhir/Flag.d.ts +0 -132
  268. package/dist/fhir/Flag.js +0 -7
  269. package/dist/fhir/Flag.js.map +0 -1
  270. package/dist/fhir/Goal.d.ts +0 -299
  271. package/dist/fhir/Goal.js +0 -7
  272. package/dist/fhir/Goal.js.map +0 -1
  273. package/dist/fhir/GraphDefinition.d.ts +0 -350
  274. package/dist/fhir/GraphDefinition.js +0 -7
  275. package/dist/fhir/GraphDefinition.js.map +0 -1
  276. package/dist/fhir/Group.d.ts +0 -271
  277. package/dist/fhir/Group.js +0 -7
  278. package/dist/fhir/Group.js.map +0 -1
  279. package/dist/fhir/GuidanceResponse.d.ts +0 -196
  280. package/dist/fhir/GuidanceResponse.js +0 -7
  281. package/dist/fhir/GuidanceResponse.js.map +0 -1
  282. package/dist/fhir/HealthcareService.d.ts +0 -356
  283. package/dist/fhir/HealthcareService.js +0 -7
  284. package/dist/fhir/HealthcareService.js.map +0 -1
  285. package/dist/fhir/HumanName.d.ts +0 -58
  286. package/dist/fhir/HumanName.js +0 -7
  287. package/dist/fhir/HumanName.js.map +0 -1
  288. package/dist/fhir/Identifier.d.ts +0 -53
  289. package/dist/fhir/Identifier.js +0 -7
  290. package/dist/fhir/Identifier.js.map +0 -1
  291. package/dist/fhir/ImagingStudy.d.ts +0 -407
  292. package/dist/fhir/ImagingStudy.js +0 -7
  293. package/dist/fhir/ImagingStudy.js.map +0 -1
  294. package/dist/fhir/Immunization.d.ts +0 -444
  295. package/dist/fhir/Immunization.js +0 -7
  296. package/dist/fhir/Immunization.js.map +0 -1
  297. package/dist/fhir/ImmunizationEvaluation.d.ts +0 -149
  298. package/dist/fhir/ImmunizationEvaluation.js +0 -7
  299. package/dist/fhir/ImmunizationEvaluation.js.map +0 -1
  300. package/dist/fhir/ImmunizationRecommendation.d.ts +0 -254
  301. package/dist/fhir/ImmunizationRecommendation.js +0 -7
  302. package/dist/fhir/ImmunizationRecommendation.js.map +0 -1
  303. package/dist/fhir/ImplementationGuide.d.ts +0 -824
  304. package/dist/fhir/ImplementationGuide.js +0 -7
  305. package/dist/fhir/ImplementationGuide.js.map +0 -1
  306. package/dist/fhir/InsurancePlan.d.ts +0 -624
  307. package/dist/fhir/InsurancePlan.js +0 -7
  308. package/dist/fhir/InsurancePlan.js.map +0 -1
  309. package/dist/fhir/Invoice.d.ts +0 -346
  310. package/dist/fhir/Invoice.js +0 -7
  311. package/dist/fhir/Invoice.js.map +0 -1
  312. package/dist/fhir/JsonWebKey.d.ts +0 -99
  313. package/dist/fhir/JsonWebKey.js +0 -7
  314. package/dist/fhir/JsonWebKey.js.map +0 -1
  315. package/dist/fhir/Library.d.ts +0 -277
  316. package/dist/fhir/Library.js +0 -7
  317. package/dist/fhir/Library.js.map +0 -1
  318. package/dist/fhir/Linkage.d.ts +0 -146
  319. package/dist/fhir/Linkage.js +0 -7
  320. package/dist/fhir/Linkage.js.map +0 -1
  321. package/dist/fhir/List.d.ts +0 -200
  322. package/dist/fhir/List.js +0 -7
  323. package/dist/fhir/List.js.map +0 -1
  324. package/dist/fhir/Location.d.ts +0 -277
  325. package/dist/fhir/Location.js +0 -7
  326. package/dist/fhir/Location.js.map +0 -1
  327. package/dist/fhir/Login.d.ts +0 -119
  328. package/dist/fhir/Login.js +0 -7
  329. package/dist/fhir/Login.js.map +0 -1
  330. package/dist/fhir/MarketingStatus.d.ts +0 -82
  331. package/dist/fhir/MarketingStatus.js +0 -7
  332. package/dist/fhir/MarketingStatus.js.map +0 -1
  333. package/dist/fhir/Measure.d.ts +0 -620
  334. package/dist/fhir/Measure.js +0 -7
  335. package/dist/fhir/Measure.js.map +0 -1
  336. package/dist/fhir/MeasureReport.d.ts +0 -463
  337. package/dist/fhir/MeasureReport.js +0 -7
  338. package/dist/fhir/MeasureReport.js.map +0 -1
  339. package/dist/fhir/Media.d.ts +0 -205
  340. package/dist/fhir/Media.js +0 -7
  341. package/dist/fhir/Media.js.map +0 -1
  342. package/dist/fhir/Medication.d.ts +0 -230
  343. package/dist/fhir/Medication.js +0 -7
  344. package/dist/fhir/Medication.js.map +0 -1
  345. package/dist/fhir/MedicationAdministration.d.ts +0 -352
  346. package/dist/fhir/MedicationAdministration.js +0 -7
  347. package/dist/fhir/MedicationAdministration.js.map +0 -1
  348. package/dist/fhir/MedicationDispense.d.ts +0 -343
  349. package/dist/fhir/MedicationDispense.js +0 -7
  350. package/dist/fhir/MedicationDispense.js.map +0 -1
  351. package/dist/fhir/MedicationKnowledge.d.ts +0 -992
  352. package/dist/fhir/MedicationKnowledge.js +0 -7
  353. package/dist/fhir/MedicationKnowledge.js.map +0 -1
  354. package/dist/fhir/MedicationRequest.d.ts +0 -481
  355. package/dist/fhir/MedicationRequest.js +0 -7
  356. package/dist/fhir/MedicationRequest.js.map +0 -1
  357. package/dist/fhir/MedicationStatement.d.ts +0 -228
  358. package/dist/fhir/MedicationStatement.js +0 -7
  359. package/dist/fhir/MedicationStatement.js.map +0 -1
  360. package/dist/fhir/MedicinalProduct.d.ts +0 -453
  361. package/dist/fhir/MedicinalProduct.js +0 -7
  362. package/dist/fhir/MedicinalProduct.js.map +0 -1
  363. package/dist/fhir/MedicinalProductAuthorization.d.ts +0 -271
  364. package/dist/fhir/MedicinalProductAuthorization.js +0 -7
  365. package/dist/fhir/MedicinalProductAuthorization.js.map +0 -1
  366. package/dist/fhir/MedicinalProductContraindication.d.ts +0 -170
  367. package/dist/fhir/MedicinalProductContraindication.js +0 -7
  368. package/dist/fhir/MedicinalProductContraindication.js.map +0 -1
  369. package/dist/fhir/MedicinalProductIndication.d.ts +0 -179
  370. package/dist/fhir/MedicinalProductIndication.js +0 -7
  371. package/dist/fhir/MedicinalProductIndication.js.map +0 -1
  372. package/dist/fhir/MedicinalProductIngredient.d.ts +0 -336
  373. package/dist/fhir/MedicinalProductIngredient.js +0 -7
  374. package/dist/fhir/MedicinalProductIngredient.js.map +0 -1
  375. package/dist/fhir/MedicinalProductInteraction.d.ts +0 -158
  376. package/dist/fhir/MedicinalProductInteraction.js +0 -7
  377. package/dist/fhir/MedicinalProductInteraction.js.map +0 -1
  378. package/dist/fhir/MedicinalProductManufactured.d.ts +0 -113
  379. package/dist/fhir/MedicinalProductManufactured.js +0 -7
  380. package/dist/fhir/MedicinalProductManufactured.js.map +0 -1
  381. package/dist/fhir/MedicinalProductPackaged.d.ts +0 -259
  382. package/dist/fhir/MedicinalProductPackaged.js +0 -7
  383. package/dist/fhir/MedicinalProductPackaged.js.map +0 -1
  384. package/dist/fhir/MedicinalProductPharmaceutical.d.ts +0 -331
  385. package/dist/fhir/MedicinalProductPharmaceutical.js +0 -7
  386. package/dist/fhir/MedicinalProductPharmaceutical.js.map +0 -1
  387. package/dist/fhir/MedicinalProductUndesirableEffect.d.ts +0 -101
  388. package/dist/fhir/MedicinalProductUndesirableEffect.js +0 -7
  389. package/dist/fhir/MedicinalProductUndesirableEffect.js.map +0 -1
  390. package/dist/fhir/MessageDefinition.d.ts +0 -330
  391. package/dist/fhir/MessageDefinition.js +0 -7
  392. package/dist/fhir/MessageDefinition.js.map +0 -1
  393. package/dist/fhir/MessageHeader.d.ts +0 -323
  394. package/dist/fhir/MessageHeader.js +0 -7
  395. package/dist/fhir/MessageHeader.js.map +0 -1
  396. package/dist/fhir/Meta.d.ts +0 -75
  397. package/dist/fhir/Meta.js +0 -7
  398. package/dist/fhir/Meta.js.map +0 -1
  399. package/dist/fhir/MolecularSequence.d.ts +0 -760
  400. package/dist/fhir/MolecularSequence.js +0 -7
  401. package/dist/fhir/MolecularSequence.js.map +0 -1
  402. package/dist/fhir/Money.d.ts +0 -29
  403. package/dist/fhir/Money.js +0 -7
  404. package/dist/fhir/Money.js.map +0 -1
  405. package/dist/fhir/NamingSystem.d.ts +0 -218
  406. package/dist/fhir/NamingSystem.js +0 -7
  407. package/dist/fhir/NamingSystem.js.map +0 -1
  408. package/dist/fhir/Narrative.d.ts +0 -32
  409. package/dist/fhir/Narrative.js +0 -7
  410. package/dist/fhir/Narrative.js.map +0 -1
  411. package/dist/fhir/NutritionOrder.d.ts +0 -566
  412. package/dist/fhir/NutritionOrder.js +0 -7
  413. package/dist/fhir/NutritionOrder.js.map +0 -1
  414. package/dist/fhir/Observation.d.ts +0 -520
  415. package/dist/fhir/Observation.js +0 -7
  416. package/dist/fhir/Observation.js.map +0 -1
  417. package/dist/fhir/ObservationDefinition.d.ts +0 -278
  418. package/dist/fhir/ObservationDefinition.js +0 -7
  419. package/dist/fhir/ObservationDefinition.js.map +0 -1
  420. package/dist/fhir/OperationDefinition.d.ts +0 -468
  421. package/dist/fhir/OperationDefinition.js +0 -7
  422. package/dist/fhir/OperationDefinition.js.map +0 -1
  423. package/dist/fhir/OperationOutcome.d.ts +0 -160
  424. package/dist/fhir/OperationOutcome.js +0 -7
  425. package/dist/fhir/OperationOutcome.js.map +0 -1
  426. package/dist/fhir/Organization.d.ts +0 -184
  427. package/dist/fhir/Organization.js +0 -7
  428. package/dist/fhir/Organization.js.map +0 -1
  429. package/dist/fhir/OrganizationAffiliation.d.ts +0 -145
  430. package/dist/fhir/OrganizationAffiliation.js +0 -7
  431. package/dist/fhir/OrganizationAffiliation.js.map +0 -1
  432. package/dist/fhir/ParameterDefinition.d.ts +0 -57
  433. package/dist/fhir/ParameterDefinition.js +0 -7
  434. package/dist/fhir/ParameterDefinition.js.map +0 -1
  435. package/dist/fhir/Parameters.d.ts +0 -319
  436. package/dist/fhir/Parameters.js +0 -7
  437. package/dist/fhir/Parameters.js.map +0 -1
  438. package/dist/fhir/PasswordChangeRequest.d.ts +0 -51
  439. package/dist/fhir/PasswordChangeRequest.js +0 -7
  440. package/dist/fhir/PasswordChangeRequest.js.map +0 -1
  441. package/dist/fhir/Patient.d.ts +0 -342
  442. package/dist/fhir/Patient.js +0 -7
  443. package/dist/fhir/Patient.js.map +0 -1
  444. package/dist/fhir/PaymentNotice.d.ts +0 -135
  445. package/dist/fhir/PaymentNotice.js +0 -7
  446. package/dist/fhir/PaymentNotice.js.map +0 -1
  447. package/dist/fhir/PaymentReconciliation.d.ts +0 -280
  448. package/dist/fhir/PaymentReconciliation.js +0 -7
  449. package/dist/fhir/PaymentReconciliation.js.map +0 -1
  450. package/dist/fhir/Period.d.ts +0 -32
  451. package/dist/fhir/Period.js +0 -7
  452. package/dist/fhir/Period.js.map +0 -1
  453. package/dist/fhir/Person.d.ts +0 -175
  454. package/dist/fhir/Person.js +0 -7
  455. package/dist/fhir/Person.js.map +0 -1
  456. package/dist/fhir/PlanDefinition.d.ts +0 -837
  457. package/dist/fhir/PlanDefinition.js +0 -7
  458. package/dist/fhir/PlanDefinition.js.map +0 -1
  459. package/dist/fhir/Population.d.ts +0 -62
  460. package/dist/fhir/Population.js +0 -7
  461. package/dist/fhir/Population.js.map +0 -1
  462. package/dist/fhir/Practitioner.d.ts +0 -191
  463. package/dist/fhir/Practitioner.js +0 -7
  464. package/dist/fhir/Practitioner.js.map +0 -1
  465. package/dist/fhir/PractitionerRole.d.ts +0 -259
  466. package/dist/fhir/PractitionerRole.js +0 -7
  467. package/dist/fhir/PractitionerRole.js.map +0 -1
  468. package/dist/fhir/Procedure.d.ts +0 -372
  469. package/dist/fhir/Procedure.js +0 -7
  470. package/dist/fhir/Procedure.js.map +0 -1
  471. package/dist/fhir/ProdCharacteristic.d.ts +0 -112
  472. package/dist/fhir/ProdCharacteristic.js +0 -7
  473. package/dist/fhir/ProdCharacteristic.js.map +0 -1
  474. package/dist/fhir/ProductShelfLife.d.ts +0 -70
  475. package/dist/fhir/ProductShelfLife.js +0 -7
  476. package/dist/fhir/ProductShelfLife.js.map +0 -1
  477. package/dist/fhir/Project.d.ts +0 -43
  478. package/dist/fhir/Project.js +0 -7
  479. package/dist/fhir/Project.js.map +0 -1
  480. package/dist/fhir/ProjectMembership.d.ts +0 -66
  481. package/dist/fhir/ProjectMembership.js +0 -7
  482. package/dist/fhir/ProjectMembership.js.map +0 -1
  483. package/dist/fhir/Provenance.d.ts +0 -258
  484. package/dist/fhir/Provenance.js +0 -7
  485. package/dist/fhir/Provenance.js.map +0 -1
  486. package/dist/fhir/Quantity.d.ts +0 -46
  487. package/dist/fhir/Quantity.js +0 -7
  488. package/dist/fhir/Quantity.js.map +0 -1
  489. package/dist/fhir/Questionnaire.d.ts +0 -603
  490. package/dist/fhir/Questionnaire.js +0 -7
  491. package/dist/fhir/Questionnaire.js.map +0 -1
  492. package/dist/fhir/QuestionnaireResponse.d.ts +0 -313
  493. package/dist/fhir/QuestionnaireResponse.js +0 -7
  494. package/dist/fhir/QuestionnaireResponse.js.map +0 -1
  495. package/dist/fhir/Range.d.ts +0 -30
  496. package/dist/fhir/Range.js +0 -7
  497. package/dist/fhir/Range.js.map +0 -1
  498. package/dist/fhir/Ratio.d.ts +0 -30
  499. package/dist/fhir/Ratio.js +0 -7
  500. package/dist/fhir/Ratio.js.map +0 -1
  501. package/dist/fhir/Reference.d.ts +0 -67
  502. package/dist/fhir/Reference.js +0 -7
  503. package/dist/fhir/Reference.js.map +0 -1
  504. package/dist/fhir/RefreshToken.d.ts +0 -45
  505. package/dist/fhir/RefreshToken.js +0 -7
  506. package/dist/fhir/RefreshToken.js.map +0 -1
  507. package/dist/fhir/RelatedArtifact.d.ts +0 -57
  508. package/dist/fhir/RelatedArtifact.js +0 -7
  509. package/dist/fhir/RelatedArtifact.js.map +0 -1
  510. package/dist/fhir/RelatedPerson.d.ts +0 -190
  511. package/dist/fhir/RelatedPerson.js +0 -7
  512. package/dist/fhir/RelatedPerson.js.map +0 -1
  513. package/dist/fhir/RequestGroup.d.ts +0 -434
  514. package/dist/fhir/RequestGroup.js +0 -7
  515. package/dist/fhir/RequestGroup.js.map +0 -1
  516. package/dist/fhir/ResearchDefinition.d.ts +0 -291
  517. package/dist/fhir/ResearchDefinition.js +0 -7
  518. package/dist/fhir/ResearchDefinition.js.map +0 -1
  519. package/dist/fhir/ResearchElementDefinition.d.ts +0 -431
  520. package/dist/fhir/ResearchElementDefinition.js +0 -7
  521. package/dist/fhir/ResearchElementDefinition.js.map +0 -1
  522. package/dist/fhir/ResearchStudy.d.ts +0 -318
  523. package/dist/fhir/ResearchStudy.js +0 -7
  524. package/dist/fhir/ResearchStudy.js.map +0 -1
  525. package/dist/fhir/ResearchSubject.d.ts +0 -119
  526. package/dist/fhir/ResearchSubject.js +0 -7
  527. package/dist/fhir/ResearchSubject.js.map +0 -1
  528. package/dist/fhir/Resource.d.ts +0 -156
  529. package/dist/fhir/Resource.js +0 -7
  530. package/dist/fhir/Resource.js.map +0 -1
  531. package/dist/fhir/RiskAssessment.d.ts +0 -246
  532. package/dist/fhir/RiskAssessment.js +0 -7
  533. package/dist/fhir/RiskAssessment.js.map +0 -1
  534. package/dist/fhir/RiskEvidenceSynthesis.d.ts +0 -530
  535. package/dist/fhir/RiskEvidenceSynthesis.js +0 -7
  536. package/dist/fhir/RiskEvidenceSynthesis.js.map +0 -1
  537. package/dist/fhir/SampledData.d.ts +0 -62
  538. package/dist/fhir/SampledData.js +0 -7
  539. package/dist/fhir/SampledData.js.map +0 -1
  540. package/dist/fhir/Schedule.d.ts +0 -129
  541. package/dist/fhir/Schedule.js +0 -7
  542. package/dist/fhir/Schedule.js.map +0 -1
  543. package/dist/fhir/SearchParameter.d.ts +0 -277
  544. package/dist/fhir/SearchParameter.js +0 -7
  545. package/dist/fhir/SearchParameter.js.map +0 -1
  546. package/dist/fhir/ServiceRequest.d.ts +0 -309
  547. package/dist/fhir/ServiceRequest.js +0 -7
  548. package/dist/fhir/ServiceRequest.js.map +0 -1
  549. package/dist/fhir/Signature.d.ts +0 -71
  550. package/dist/fhir/Signature.js +0 -7
  551. package/dist/fhir/Signature.js.map +0 -1
  552. package/dist/fhir/Slot.d.ts +0 -134
  553. package/dist/fhir/Slot.js +0 -7
  554. package/dist/fhir/Slot.js.map +0 -1
  555. package/dist/fhir/Specimen.d.ts +0 -366
  556. package/dist/fhir/Specimen.js +0 -7
  557. package/dist/fhir/Specimen.js.map +0 -1
  558. package/dist/fhir/SpecimenDefinition.d.ts +0 -363
  559. package/dist/fhir/SpecimenDefinition.js +0 -7
  560. package/dist/fhir/SpecimenDefinition.js.map +0 -1
  561. package/dist/fhir/StructureDefinition.d.ts +0 -438
  562. package/dist/fhir/StructureDefinition.js +0 -7
  563. package/dist/fhir/StructureDefinition.js.map +0 -1
  564. package/dist/fhir/StructureMap.d.ts +0 -904
  565. package/dist/fhir/StructureMap.js +0 -7
  566. package/dist/fhir/StructureMap.js.map +0 -1
  567. package/dist/fhir/Subscription.d.ts +0 -172
  568. package/dist/fhir/Subscription.js +0 -7
  569. package/dist/fhir/Subscription.js.map +0 -1
  570. package/dist/fhir/Substance.d.ts +0 -213
  571. package/dist/fhir/Substance.js +0 -7
  572. package/dist/fhir/Substance.js.map +0 -1
  573. package/dist/fhir/SubstanceAmount.d.ts +0 -115
  574. package/dist/fhir/SubstanceAmount.js +0 -7
  575. package/dist/fhir/SubstanceAmount.js.map +0 -1
  576. package/dist/fhir/SubstanceNucleicAcid.d.ts +0 -309
  577. package/dist/fhir/SubstanceNucleicAcid.js +0 -7
  578. package/dist/fhir/SubstanceNucleicAcid.js.map +0 -1
  579. package/dist/fhir/SubstancePolymer.d.ts +0 -405
  580. package/dist/fhir/SubstancePolymer.js +0 -7
  581. package/dist/fhir/SubstancePolymer.js.map +0 -1
  582. package/dist/fhir/SubstanceProtein.d.ts +0 -218
  583. package/dist/fhir/SubstanceProtein.js +0 -7
  584. package/dist/fhir/SubstanceProtein.js.map +0 -1
  585. package/dist/fhir/SubstanceReferenceInformation.d.ts +0 -330
  586. package/dist/fhir/SubstanceReferenceInformation.js +0 -7
  587. package/dist/fhir/SubstanceReferenceInformation.js.map +0 -1
  588. package/dist/fhir/SubstanceSourceMaterial.d.ts +0 -521
  589. package/dist/fhir/SubstanceSourceMaterial.js +0 -7
  590. package/dist/fhir/SubstanceSourceMaterial.js.map +0 -1
  591. package/dist/fhir/SubstanceSpecification.d.ts +0 -827
  592. package/dist/fhir/SubstanceSpecification.js +0 -7
  593. package/dist/fhir/SubstanceSpecification.js.map +0 -1
  594. package/dist/fhir/SupplyDelivery.d.ts +0 -205
  595. package/dist/fhir/SupplyDelivery.js +0 -7
  596. package/dist/fhir/SupplyDelivery.js.map +0 -1
  597. package/dist/fhir/SupplyRequest.d.ts +0 -237
  598. package/dist/fhir/SupplyRequest.js +0 -7
  599. package/dist/fhir/SupplyRequest.js.map +0 -1
  600. package/dist/fhir/Task.d.ts +0 -807
  601. package/dist/fhir/Task.js +0 -7
  602. package/dist/fhir/Task.js.map +0 -1
  603. package/dist/fhir/TerminologyCapabilities.d.ts +0 -716
  604. package/dist/fhir/TerminologyCapabilities.js +0 -7
  605. package/dist/fhir/TerminologyCapabilities.js.map +0 -1
  606. package/dist/fhir/TestReport.d.ts +0 -549
  607. package/dist/fhir/TestReport.js +0 -7
  608. package/dist/fhir/TestReport.js.map +0 -1
  609. package/dist/fhir/TestScript.d.ts +0 -1184
  610. package/dist/fhir/TestScript.js +0 -7
  611. package/dist/fhir/TestScript.js.map +0 -1
  612. package/dist/fhir/Timing.d.ts +0 -178
  613. package/dist/fhir/Timing.js +0 -7
  614. package/dist/fhir/Timing.js.map +0 -1
  615. package/dist/fhir/TriggerDefinition.d.ts +0 -65
  616. package/dist/fhir/TriggerDefinition.js +0 -7
  617. package/dist/fhir/TriggerDefinition.js.map +0 -1
  618. package/dist/fhir/UsageContext.d.ts +0 -61
  619. package/dist/fhir/UsageContext.js +0 -7
  620. package/dist/fhir/UsageContext.js.map +0 -1
  621. package/dist/fhir/User.d.ts +0 -45
  622. package/dist/fhir/User.js +0 -7
  623. package/dist/fhir/User.js.map +0 -1
  624. package/dist/fhir/ValueSet.d.ts +0 -725
  625. package/dist/fhir/ValueSet.js +0 -7
  626. package/dist/fhir/ValueSet.js.map +0 -1
  627. package/dist/fhir/VerificationResult.d.ts +0 -340
  628. package/dist/fhir/VerificationResult.js +0 -7
  629. package/dist/fhir/VerificationResult.js.map +0 -1
  630. package/dist/fhir/VisionPrescription.d.ts +0 -264
  631. package/dist/fhir/VisionPrescription.js +0 -7
  632. package/dist/fhir/VisionPrescription.js.map +0 -1
  633. package/dist/fhir/index.d.ts +0 -196
  634. package/dist/fhir/index.js +0 -213
  635. package/dist/fhir/index.js.map +0 -1
  636. package/dist/fhirpath/functions.d.ts +0 -6
  637. package/dist/fhirpath/functions.js +0 -349
  638. package/dist/fhirpath/functions.js.map +0 -1
  639. package/dist/fhirpath/functions.test.d.ts +0 -1
  640. package/dist/fhirpath/functions.test.js +0 -162
  641. package/dist/fhirpath/functions.test.js.map +0 -1
  642. package/dist/fhirpath/index.d.ts +0 -2
  643. package/dist/fhirpath/index.js +0 -15
  644. package/dist/fhirpath/index.js.map +0 -1
  645. package/dist/fhirpath/parse.d.ts +0 -10
  646. package/dist/fhirpath/parse.js +0 -285
  647. package/dist/fhirpath/parse.js.map +0 -1
  648. package/dist/fhirpath/parse.test.d.ts +0 -1
  649. package/dist/fhirpath/parse.test.js +0 -239
  650. package/dist/fhirpath/parse.test.js.map +0 -1
  651. package/dist/fhirpath/tokenize.d.ts +0 -13
  652. package/dist/fhirpath/tokenize.js +0 -43
  653. package/dist/fhirpath/tokenize.js.map +0 -1
  654. package/dist/fhirpath/tokenize.test.d.ts +0 -1
  655. package/dist/fhirpath/tokenize.test.js +0 -69
  656. package/dist/fhirpath/tokenize.test.js.map +0 -1
  657. package/dist/fhirpath/utils.d.ts +0 -13
  658. package/dist/fhirpath/utils.js +0 -34
  659. package/dist/fhirpath/utils.js.map +0 -1
  660. package/dist/fhirpath/utils.test.d.ts +0 -1
  661. package/dist/fhirpath/utils.test.js +0 -22
  662. package/dist/fhirpath/utils.test.js.map +0 -1
  663. package/dist/format.js +0 -56
  664. package/dist/format.js.map +0 -1
  665. package/dist/format.test.d.ts +0 -1
  666. package/dist/format.test.js +0 -127
  667. package/dist/format.test.js.map +0 -1
  668. package/dist/index.js +0 -22
  669. package/dist/index.js.map +0 -1
  670. package/dist/index.test.d.ts +0 -1
  671. package/dist/index.test.js +0 -11
  672. package/dist/index.test.js.map +0 -1
  673. package/dist/jwt.d.ts +0 -5
  674. package/dist/jwt.js +0 -28
  675. package/dist/jwt.js.map +0 -1
  676. package/dist/outcomes.js +0 -140
  677. package/dist/outcomes.js.map +0 -1
  678. package/dist/outcomes.test.d.ts +0 -1
  679. package/dist/outcomes.test.js +0 -38
  680. package/dist/outcomes.test.js.map +0 -1
  681. package/dist/search.js +0 -120
  682. package/dist/search.js.map +0 -1
  683. package/dist/search.test.d.ts +0 -1
  684. package/dist/search.test.js +0 -72
  685. package/dist/search.test.js.map +0 -1
  686. package/dist/searchparams.js +0 -127
  687. package/dist/searchparams.js.map +0 -1
  688. package/dist/searchparams.test.d.ts +0 -1
  689. package/dist/searchparams.test.js +0 -129
  690. package/dist/searchparams.test.js.map +0 -1
  691. package/dist/storage.js +0 -91
  692. package/dist/storage.js.map +0 -1
  693. package/dist/storage.test.d.ts +0 -1
  694. package/dist/storage.test.js +0 -50
  695. package/dist/storage.test.js.map +0 -1
  696. package/dist/types.js +0 -169
  697. package/dist/types.js.map +0 -1
  698. package/dist/utils.js +0 -234
  699. package/dist/utils.js.map +0 -1
  700. package/dist/utils.test.d.ts +0 -1
  701. package/dist/utils.test.js +0 -148
  702. package/dist/utils.test.js.map +0 -1
@@ -1,603 +0,0 @@
1
- import { Attachment } from './Attachment';
2
- import { CodeableConcept } from './CodeableConcept';
3
- import { Coding } from './Coding';
4
- import { ContactDetail } from './ContactDetail';
5
- import { Extension } from './Extension';
6
- import { Identifier } from './Identifier';
7
- import { Meta } from './Meta';
8
- import { Narrative } from './Narrative';
9
- import { Period } from './Period';
10
- import { Quantity } from './Quantity';
11
- import { Reference } from './Reference';
12
- import { Resource } from './Resource';
13
- import { UsageContext } from './UsageContext';
14
- /**
15
- * A structured set of questions intended to guide the collection of
16
- * answers from end-users. Questionnaires provide detailed control over
17
- * order, presentation, phraseology and grouping to allow coherent,
18
- * consistent data collection.
19
- */
20
- export interface Questionnaire {
21
- /**
22
- * This is a Questionnaire resource
23
- */
24
- readonly resourceType: 'Questionnaire';
25
- /**
26
- * The logical id of the resource, as used in the URL for the resource.
27
- * Once assigned, this value never changes.
28
- */
29
- readonly id?: string;
30
- /**
31
- * The metadata about the resource. This is content that is maintained by
32
- * the infrastructure. Changes to the content might not always be
33
- * associated with version changes to the resource.
34
- */
35
- readonly meta?: Meta;
36
- /**
37
- * A reference to a set of rules that were followed when the resource was
38
- * constructed, and which must be understood when processing the content.
39
- * Often, this is a reference to an implementation guide that defines the
40
- * special rules along with other profiles etc.
41
- */
42
- readonly implicitRules?: string;
43
- /**
44
- * The base language in which the resource is written.
45
- */
46
- readonly language?: string;
47
- /**
48
- * A human-readable narrative that contains a summary of the resource and
49
- * can be used to represent the content of the resource to a human. The
50
- * narrative need not encode all the structured data, but is required to
51
- * contain sufficient detail to make it "clinically safe" for a human to
52
- * just read the narrative. Resource definitions may define what content
53
- * should be represented in the narrative to ensure clinical safety.
54
- */
55
- readonly text?: Narrative;
56
- /**
57
- * These resources do not have an independent existence apart from the
58
- * resource that contains them - they cannot be identified independently,
59
- * and nor can they have their own independent transaction scope.
60
- */
61
- readonly contained?: Resource[];
62
- /**
63
- * May be used to represent additional information that is not part of
64
- * the basic definition of the resource. To make the use of extensions
65
- * safe and manageable, there is a strict set of governance applied to
66
- * the definition and use of extensions. Though any implementer can
67
- * define an extension, there is a set of requirements that SHALL be met
68
- * as part of the definition of the extension.
69
- */
70
- readonly extension?: Extension[];
71
- /**
72
- * May be used to represent additional information that is not part of
73
- * the basic definition of the resource and that modifies the
74
- * understanding of the element that contains it and/or the understanding
75
- * of the containing element's descendants. Usually modifier elements
76
- * provide negation or qualification. To make the use of extensions safe
77
- * and manageable, there is a strict set of governance applied to the
78
- * definition and use of extensions. Though any implementer is allowed to
79
- * define an extension, there is a set of requirements that SHALL be met
80
- * as part of the definition of the extension. Applications processing a
81
- * resource are required to check for modifier extensions.
82
- *
83
- * Modifier extensions SHALL NOT change the meaning of any elements on
84
- * Resource or DomainResource (including cannot change the meaning of
85
- * modifierExtension itself).
86
- */
87
- readonly modifierExtension?: Extension[];
88
- /**
89
- * An absolute URI that is used to identify this questionnaire when it is
90
- * referenced in a specification, model, design or an instance; also
91
- * called its canonical identifier. This SHOULD be globally unique and
92
- * SHOULD be a literal address at which at which an authoritative
93
- * instance of this questionnaire is (or will be) published. This URL can
94
- * be the target of a canonical reference. It SHALL remain the same when
95
- * the questionnaire is stored on different servers.
96
- */
97
- readonly url?: string;
98
- /**
99
- * A formal identifier that is used to identify this questionnaire when
100
- * it is represented in other formats, or referenced in a specification,
101
- * model, design or an instance.
102
- */
103
- readonly identifier?: Identifier[];
104
- /**
105
- * The identifier that is used to identify this version of the
106
- * questionnaire when it is referenced in a specification, model, design
107
- * or instance. This is an arbitrary value managed by the questionnaire
108
- * author and is not expected to be globally unique. For example, it
109
- * might be a timestamp (e.g. yyyymmdd) if a managed version is not
110
- * available. There is also no expectation that versions can be placed in
111
- * a lexicographical sequence.
112
- */
113
- readonly version?: string;
114
- /**
115
- * A natural language name identifying the questionnaire. This name
116
- * should be usable as an identifier for the module by machine processing
117
- * applications such as code generation.
118
- */
119
- readonly name?: string;
120
- /**
121
- * A short, descriptive, user-friendly title for the questionnaire.
122
- */
123
- readonly title?: string;
124
- /**
125
- * The URL of a Questionnaire that this Questionnaire is based on.
126
- */
127
- readonly derivedFrom?: string[];
128
- /**
129
- * The status of this questionnaire. Enables tracking the life-cycle of
130
- * the content.
131
- */
132
- readonly status?: string;
133
- /**
134
- * A Boolean value to indicate that this questionnaire is authored for
135
- * testing purposes (or education/evaluation/marketing) and is not
136
- * intended to be used for genuine usage.
137
- */
138
- readonly experimental?: boolean;
139
- /**
140
- * The types of subjects that can be the subject of responses created for
141
- * the questionnaire.
142
- */
143
- readonly subjectType?: string[];
144
- /**
145
- * The date (and optionally time) when the questionnaire was published.
146
- * The date must change when the business version changes and it must
147
- * change if the status code changes. In addition, it should change when
148
- * the substantive content of the questionnaire changes.
149
- */
150
- readonly date?: string;
151
- /**
152
- * The name of the organization or individual that published the
153
- * questionnaire.
154
- */
155
- readonly publisher?: string;
156
- /**
157
- * Contact details to assist a user in finding and communicating with the
158
- * publisher.
159
- */
160
- readonly contact?: ContactDetail[];
161
- /**
162
- * A free text natural language description of the questionnaire from a
163
- * consumer's perspective.
164
- */
165
- readonly description?: string;
166
- /**
167
- * The content was developed with a focus and intent of supporting the
168
- * contexts that are listed. These contexts may be general categories
169
- * (gender, age, ...) or may be references to specific programs
170
- * (insurance plans, studies, ...) and may be used to assist with
171
- * indexing and searching for appropriate questionnaire instances.
172
- */
173
- readonly useContext?: UsageContext[];
174
- /**
175
- * A legal or geographic region in which the questionnaire is intended to
176
- * be used.
177
- */
178
- readonly jurisdiction?: CodeableConcept[];
179
- /**
180
- * Explanation of why this questionnaire is needed and why it has been
181
- * designed as it has.
182
- */
183
- readonly purpose?: string;
184
- /**
185
- * A copyright statement relating to the questionnaire and/or its
186
- * contents. Copyright statements are generally legal restrictions on the
187
- * use and publishing of the questionnaire.
188
- */
189
- readonly copyright?: string;
190
- /**
191
- * The date on which the resource content was approved by the publisher.
192
- * Approval happens once when the content is officially approved for
193
- * usage.
194
- */
195
- readonly approvalDate?: string;
196
- /**
197
- * The date on which the resource content was last reviewed. Review
198
- * happens periodically after approval but does not change the original
199
- * approval date.
200
- */
201
- readonly lastReviewDate?: string;
202
- /**
203
- * The period during which the questionnaire content was or is planned to
204
- * be in active use.
205
- */
206
- readonly effectivePeriod?: Period;
207
- /**
208
- * An identifier for this question or group of questions in a particular
209
- * terminology such as LOINC.
210
- */
211
- readonly code?: Coding[];
212
- /**
213
- * A particular question, question grouping or display text that is part
214
- * of the questionnaire.
215
- */
216
- readonly item?: QuestionnaireItem[];
217
- }
218
- /**
219
- * A particular question, question grouping or display text that is part
220
- * of the questionnaire.
221
- */
222
- export interface QuestionnaireItem {
223
- /**
224
- * Unique id for the element within a resource (for internal references).
225
- * This may be any string value that does not contain spaces.
226
- */
227
- readonly id?: string;
228
- /**
229
- * May be used to represent additional information that is not part of
230
- * the basic definition of the element. To make the use of extensions
231
- * safe and manageable, there is a strict set of governance applied to
232
- * the definition and use of extensions. Though any implementer can
233
- * define an extension, there is a set of requirements that SHALL be met
234
- * as part of the definition of the extension.
235
- */
236
- readonly extension?: Extension[];
237
- /**
238
- * May be used to represent additional information that is not part of
239
- * the basic definition of the element and that modifies the
240
- * understanding of the element in which it is contained and/or the
241
- * understanding of the containing element's descendants. Usually
242
- * modifier elements provide negation or qualification. To make the use
243
- * of extensions safe and manageable, there is a strict set of governance
244
- * applied to the definition and use of extensions. Though any
245
- * implementer can define an extension, there is a set of requirements
246
- * that SHALL be met as part of the definition of the extension.
247
- * Applications processing a resource are required to check for modifier
248
- * extensions.
249
- *
250
- * Modifier extensions SHALL NOT change the meaning of any elements on
251
- * Resource or DomainResource (including cannot change the meaning of
252
- * modifierExtension itself).
253
- */
254
- readonly modifierExtension?: Extension[];
255
- /**
256
- * An identifier that is unique within the Questionnaire allowing linkage
257
- * to the equivalent item in a QuestionnaireResponse resource.
258
- */
259
- readonly linkId?: string;
260
- /**
261
- * This element is a URI that refers to an
262
- * [ElementDefinition](elementdefinition.html) that provides information
263
- * about this item, including information that might otherwise be
264
- * included in the instance of the Questionnaire resource. A detailed
265
- * description of the construction of the URI is shown in Comments,
266
- * below. If this element is present then the following element values
267
- * MAY be derived from the Element Definition if the corresponding
268
- * elements of this Questionnaire resource instance have no value:
269
- *
270
- * * code (ElementDefinition.code)
271
- * * type (ElementDefinition.type)
272
- * * required (ElementDefinition.min)
273
- * * repeats (ElementDefinition.max)
274
- * * maxLength (ElementDefinition.maxLength)
275
- * * answerValueSet (ElementDefinition.binding)
276
- * * options (ElementDefinition.binding).
277
- */
278
- readonly definition?: string;
279
- /**
280
- * A terminology code that corresponds to this group or question (e.g. a
281
- * code from LOINC, which defines many questions and answers).
282
- */
283
- readonly code?: Coding[];
284
- /**
285
- * A short label for a particular group, question or set of display text
286
- * within the questionnaire used for reference by the individual
287
- * completing the questionnaire.
288
- */
289
- readonly prefix?: string;
290
- /**
291
- * The name of a section, the text of a question or text content for a
292
- * display item.
293
- */
294
- readonly text?: string;
295
- /**
296
- * The type of questionnaire item this is - whether text for display, a
297
- * grouping of other items or a particular type of data to be captured
298
- * (string, integer, coded choice, etc.).
299
- */
300
- readonly type?: string;
301
- /**
302
- * A constraint indicating that this item should only be enabled
303
- * (displayed/allow answers to be captured) when the specified condition
304
- * is true.
305
- */
306
- readonly enableWhen?: QuestionnaireItemEnableWhen[];
307
- /**
308
- * Controls how multiple enableWhen values are interpreted - whether all
309
- * or any must be true.
310
- */
311
- readonly enableBehavior?: string;
312
- /**
313
- * An indication, if true, that the item must be present in a "completed"
314
- * QuestionnaireResponse. If false, the item may be skipped when
315
- * answering the questionnaire.
316
- */
317
- readonly required?: boolean;
318
- /**
319
- * An indication, if true, that the item may occur multiple times in the
320
- * response, collecting multiple answers for questions or multiple sets
321
- * of answers for groups.
322
- */
323
- readonly repeats?: boolean;
324
- /**
325
- * An indication, when true, that the value cannot be changed by a human
326
- * respondent to the Questionnaire.
327
- */
328
- readonly readOnly?: boolean;
329
- /**
330
- * The maximum number of characters that are permitted in the answer to
331
- * be considered a "valid" QuestionnaireResponse.
332
- */
333
- readonly maxLength?: number;
334
- /**
335
- * A reference to a value set containing a list of codes representing
336
- * permitted answers for a "choice" or "open-choice" question.
337
- */
338
- readonly answerValueSet?: string;
339
- /**
340
- * One of the permitted answers for a "choice" or "open-choice" question.
341
- */
342
- readonly answerOption?: QuestionnaireItemAnswerOption[];
343
- /**
344
- * One or more values that should be pre-populated in the answer when
345
- * initially rendering the questionnaire for user input.
346
- */
347
- readonly initial?: QuestionnaireItemInitial[];
348
- /**
349
- * Text, questions and other groups to be nested beneath a question or
350
- * group.
351
- */
352
- readonly item?: QuestionnaireItem[];
353
- }
354
- /**
355
- * One of the permitted answers for a "choice" or "open-choice" question.
356
- */
357
- export interface QuestionnaireItemAnswerOption {
358
- /**
359
- * Unique id for the element within a resource (for internal references).
360
- * This may be any string value that does not contain spaces.
361
- */
362
- readonly id?: string;
363
- /**
364
- * May be used to represent additional information that is not part of
365
- * the basic definition of the element. To make the use of extensions
366
- * safe and manageable, there is a strict set of governance applied to
367
- * the definition and use of extensions. Though any implementer can
368
- * define an extension, there is a set of requirements that SHALL be met
369
- * as part of the definition of the extension.
370
- */
371
- readonly extension?: Extension[];
372
- /**
373
- * May be used to represent additional information that is not part of
374
- * the basic definition of the element and that modifies the
375
- * understanding of the element in which it is contained and/or the
376
- * understanding of the containing element's descendants. Usually
377
- * modifier elements provide negation or qualification. To make the use
378
- * of extensions safe and manageable, there is a strict set of governance
379
- * applied to the definition and use of extensions. Though any
380
- * implementer can define an extension, there is a set of requirements
381
- * that SHALL be met as part of the definition of the extension.
382
- * Applications processing a resource are required to check for modifier
383
- * extensions.
384
- *
385
- * Modifier extensions SHALL NOT change the meaning of any elements on
386
- * Resource or DomainResource (including cannot change the meaning of
387
- * modifierExtension itself).
388
- */
389
- readonly modifierExtension?: Extension[];
390
- /**
391
- * A potential answer that's allowed as the answer to this question.
392
- */
393
- readonly valueInteger?: number;
394
- /**
395
- * A potential answer that's allowed as the answer to this question.
396
- */
397
- readonly valueDate?: string;
398
- /**
399
- * A potential answer that's allowed as the answer to this question.
400
- */
401
- readonly valueTime?: string;
402
- /**
403
- * A potential answer that's allowed as the answer to this question.
404
- */
405
- readonly valueString?: string;
406
- /**
407
- * A potential answer that's allowed as the answer to this question.
408
- */
409
- readonly valueCoding?: Coding;
410
- /**
411
- * A potential answer that's allowed as the answer to this question.
412
- */
413
- readonly valueReference?: Reference<Resource>;
414
- /**
415
- * Indicates whether the answer value is selected when the list of
416
- * possible answers is initially shown.
417
- */
418
- readonly initialSelected?: boolean;
419
- }
420
- /**
421
- * A constraint indicating that this item should only be enabled
422
- * (displayed/allow answers to be captured) when the specified condition
423
- * is true.
424
- */
425
- export interface QuestionnaireItemEnableWhen {
426
- /**
427
- * Unique id for the element within a resource (for internal references).
428
- * This may be any string value that does not contain spaces.
429
- */
430
- readonly id?: string;
431
- /**
432
- * May be used to represent additional information that is not part of
433
- * the basic definition of the element. To make the use of extensions
434
- * safe and manageable, there is a strict set of governance applied to
435
- * the definition and use of extensions. Though any implementer can
436
- * define an extension, there is a set of requirements that SHALL be met
437
- * as part of the definition of the extension.
438
- */
439
- readonly extension?: Extension[];
440
- /**
441
- * May be used to represent additional information that is not part of
442
- * the basic definition of the element and that modifies the
443
- * understanding of the element in which it is contained and/or the
444
- * understanding of the containing element's descendants. Usually
445
- * modifier elements provide negation or qualification. To make the use
446
- * of extensions safe and manageable, there is a strict set of governance
447
- * applied to the definition and use of extensions. Though any
448
- * implementer can define an extension, there is a set of requirements
449
- * that SHALL be met as part of the definition of the extension.
450
- * Applications processing a resource are required to check for modifier
451
- * extensions.
452
- *
453
- * Modifier extensions SHALL NOT change the meaning of any elements on
454
- * Resource or DomainResource (including cannot change the meaning of
455
- * modifierExtension itself).
456
- */
457
- readonly modifierExtension?: Extension[];
458
- /**
459
- * The linkId for the question whose answer (or lack of answer) governs
460
- * whether this item is enabled.
461
- */
462
- readonly question?: string;
463
- /**
464
- * Specifies the criteria by which the question is enabled.
465
- */
466
- readonly operator?: string;
467
- /**
468
- * A value that the referenced question is tested using the specified
469
- * operator in order for the item to be enabled.
470
- */
471
- readonly answerBoolean?: boolean;
472
- /**
473
- * A value that the referenced question is tested using the specified
474
- * operator in order for the item to be enabled.
475
- */
476
- readonly answerDecimal?: number;
477
- /**
478
- * A value that the referenced question is tested using the specified
479
- * operator in order for the item to be enabled.
480
- */
481
- readonly answerInteger?: number;
482
- /**
483
- * A value that the referenced question is tested using the specified
484
- * operator in order for the item to be enabled.
485
- */
486
- readonly answerDate?: string;
487
- /**
488
- * A value that the referenced question is tested using the specified
489
- * operator in order for the item to be enabled.
490
- */
491
- readonly answerDateTime?: string;
492
- /**
493
- * A value that the referenced question is tested using the specified
494
- * operator in order for the item to be enabled.
495
- */
496
- readonly answerTime?: string;
497
- /**
498
- * A value that the referenced question is tested using the specified
499
- * operator in order for the item to be enabled.
500
- */
501
- readonly answerString?: string;
502
- /**
503
- * A value that the referenced question is tested using the specified
504
- * operator in order for the item to be enabled.
505
- */
506
- readonly answerCoding?: Coding;
507
- /**
508
- * A value that the referenced question is tested using the specified
509
- * operator in order for the item to be enabled.
510
- */
511
- readonly answerQuantity?: Quantity;
512
- /**
513
- * A value that the referenced question is tested using the specified
514
- * operator in order for the item to be enabled.
515
- */
516
- readonly answerReference?: Reference<Resource>;
517
- }
518
- /**
519
- * One or more values that should be pre-populated in the answer when
520
- * initially rendering the questionnaire for user input.
521
- */
522
- export interface QuestionnaireItemInitial {
523
- /**
524
- * Unique id for the element within a resource (for internal references).
525
- * This may be any string value that does not contain spaces.
526
- */
527
- readonly id?: string;
528
- /**
529
- * May be used to represent additional information that is not part of
530
- * the basic definition of the element. To make the use of extensions
531
- * safe and manageable, there is a strict set of governance applied to
532
- * the definition and use of extensions. Though any implementer can
533
- * define an extension, there is a set of requirements that SHALL be met
534
- * as part of the definition of the extension.
535
- */
536
- readonly extension?: Extension[];
537
- /**
538
- * May be used to represent additional information that is not part of
539
- * the basic definition of the element and that modifies the
540
- * understanding of the element in which it is contained and/or the
541
- * understanding of the containing element's descendants. Usually
542
- * modifier elements provide negation or qualification. To make the use
543
- * of extensions safe and manageable, there is a strict set of governance
544
- * applied to the definition and use of extensions. Though any
545
- * implementer can define an extension, there is a set of requirements
546
- * that SHALL be met as part of the definition of the extension.
547
- * Applications processing a resource are required to check for modifier
548
- * extensions.
549
- *
550
- * Modifier extensions SHALL NOT change the meaning of any elements on
551
- * Resource or DomainResource (including cannot change the meaning of
552
- * modifierExtension itself).
553
- */
554
- readonly modifierExtension?: Extension[];
555
- /**
556
- * The actual value to for an initial answer.
557
- */
558
- readonly valueBoolean?: boolean;
559
- /**
560
- * The actual value to for an initial answer.
561
- */
562
- readonly valueDecimal?: number;
563
- /**
564
- * The actual value to for an initial answer.
565
- */
566
- readonly valueInteger?: number;
567
- /**
568
- * The actual value to for an initial answer.
569
- */
570
- readonly valueDate?: string;
571
- /**
572
- * The actual value to for an initial answer.
573
- */
574
- readonly valueDateTime?: string;
575
- /**
576
- * The actual value to for an initial answer.
577
- */
578
- readonly valueTime?: string;
579
- /**
580
- * The actual value to for an initial answer.
581
- */
582
- readonly valueString?: string;
583
- /**
584
- * The actual value to for an initial answer.
585
- */
586
- readonly valueUri?: string;
587
- /**
588
- * The actual value to for an initial answer.
589
- */
590
- readonly valueAttachment?: Attachment;
591
- /**
592
- * The actual value to for an initial answer.
593
- */
594
- readonly valueCoding?: Coding;
595
- /**
596
- * The actual value to for an initial answer.
597
- */
598
- readonly valueQuantity?: Quantity;
599
- /**
600
- * The actual value to for an initial answer.
601
- */
602
- readonly valueReference?: Reference<Resource>;
603
- }
@@ -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=Questionnaire.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Questionnaire.js","sourceRoot":"","sources":["../../src/fhir/Questionnaire.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*\n * Generated by @medplum/generator\n * Do not edit manually.\n */\n\nimport { Attachment } from './Attachment';\nimport { CodeableConcept } from './CodeableConcept';\nimport { Coding } from './Coding';\nimport { ContactDetail } from './ContactDetail';\nimport { Extension } from './Extension';\nimport { Identifier } from './Identifier';\nimport { Meta } from './Meta';\nimport { Narrative } from './Narrative';\nimport { Period } from './Period';\nimport { Quantity } from './Quantity';\nimport { Reference } from './Reference';\nimport { Resource } from './Resource';\nimport { UsageContext } from './UsageContext';\n\n/**\n * A structured set of questions intended to guide the collection of\n * answers from end-users. Questionnaires provide detailed control over\n * order, presentation, phraseology and grouping to allow coherent,\n * consistent data collection.\n */\nexport interface Questionnaire {\n\n /**\n * This is a Questionnaire resource\n */\n readonly resourceType: 'Questionnaire';\n\n /**\n * The logical id of the resource, as used in the URL for the resource.\n * Once assigned, this value never changes.\n */\n readonly id?: string;\n\n /**\n * The metadata about the resource. This is content that is maintained by\n * the infrastructure. Changes to the content might not always be\n * associated with version changes to the resource.\n */\n readonly meta?: Meta;\n\n /**\n * A reference to a set of rules that were followed when the resource was\n * constructed, and which must be understood when processing the content.\n * Often, this is a reference to an implementation guide that defines the\n * special rules along with other profiles etc.\n */\n readonly implicitRules?: string;\n\n /**\n * The base language in which the resource is written.\n */\n readonly language?: string;\n\n /**\n * A human-readable narrative that contains a summary of the resource and\n * can be used to represent the content of the resource to a human. The\n * narrative need not encode all the structured data, but is required to\n * contain sufficient detail to make it &quot;clinically safe&quot; for a human to\n * just read the narrative. Resource definitions may define what content\n * should be represented in the narrative to ensure clinical safety.\n */\n readonly text?: Narrative;\n\n /**\n * These resources do not have an independent existence apart from the\n * resource that contains them - they cannot be identified independently,\n * and nor can they have their own independent transaction scope.\n */\n readonly contained?: Resource[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the resource. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the resource and that modifies the\n * understanding of the element that contains it and/or the understanding\n * of the containing element's descendants. Usually modifier elements\n * provide negation or qualification. To make the use of extensions safe\n * and manageable, there is a strict set of governance applied to the\n * definition and use of extensions. Though any implementer is allowed to\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension. Applications processing a\n * resource are required to check for modifier extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * An absolute URI that is used to identify this questionnaire when it is\n * referenced in a specification, model, design or an instance; also\n * called its canonical identifier. This SHOULD be globally unique and\n * SHOULD be a literal address at which at which an authoritative\n * instance of this questionnaire is (or will be) published. This URL can\n * be the target of a canonical reference. It SHALL remain the same when\n * the questionnaire is stored on different servers.\n */\n readonly url?: string;\n\n /**\n * A formal identifier that is used to identify this questionnaire when\n * it is represented in other formats, or referenced in a specification,\n * model, design or an instance.\n */\n readonly identifier?: Identifier[];\n\n /**\n * The identifier that is used to identify this version of the\n * questionnaire when it is referenced in a specification, model, design\n * or instance. This is an arbitrary value managed by the questionnaire\n * author and is not expected to be globally unique. For example, it\n * might be a timestamp (e.g. yyyymmdd) if a managed version is not\n * available. There is also no expectation that versions can be placed in\n * a lexicographical sequence.\n */\n readonly version?: string;\n\n /**\n * A natural language name identifying the questionnaire. This name\n * should be usable as an identifier for the module by machine processing\n * applications such as code generation.\n */\n readonly name?: string;\n\n /**\n * A short, descriptive, user-friendly title for the questionnaire.\n */\n readonly title?: string;\n\n /**\n * The URL of a Questionnaire that this Questionnaire is based on.\n */\n readonly derivedFrom?: string[];\n\n /**\n * The status of this questionnaire. Enables tracking the life-cycle of\n * the content.\n */\n readonly status?: string;\n\n /**\n * A Boolean value to indicate that this questionnaire is authored for\n * testing purposes (or education/evaluation/marketing) and is not\n * intended to be used for genuine usage.\n */\n readonly experimental?: boolean;\n\n /**\n * The types of subjects that can be the subject of responses created for\n * the questionnaire.\n */\n readonly subjectType?: string[];\n\n /**\n * The date (and optionally time) when the questionnaire was published.\n * The date must change when the business version changes and it must\n * change if the status code changes. In addition, it should change when\n * the substantive content of the questionnaire changes.\n */\n readonly date?: string;\n\n /**\n * The name of the organization or individual that published the\n * questionnaire.\n */\n readonly publisher?: string;\n\n /**\n * Contact details to assist a user in finding and communicating with the\n * publisher.\n */\n readonly contact?: ContactDetail[];\n\n /**\n * A free text natural language description of the questionnaire from a\n * consumer's perspective.\n */\n readonly description?: string;\n\n /**\n * The content was developed with a focus and intent of supporting the\n * contexts that are listed. These contexts may be general categories\n * (gender, age, ...) or may be references to specific programs\n * (insurance plans, studies, ...) and may be used to assist with\n * indexing and searching for appropriate questionnaire instances.\n */\n readonly useContext?: UsageContext[];\n\n /**\n * A legal or geographic region in which the questionnaire is intended to\n * be used.\n */\n readonly jurisdiction?: CodeableConcept[];\n\n /**\n * Explanation of why this questionnaire is needed and why it has been\n * designed as it has.\n */\n readonly purpose?: string;\n\n /**\n * A copyright statement relating to the questionnaire and/or its\n * contents. Copyright statements are generally legal restrictions on the\n * use and publishing of the questionnaire.\n */\n readonly copyright?: string;\n\n /**\n * The date on which the resource content was approved by the publisher.\n * Approval happens once when the content is officially approved for\n * usage.\n */\n readonly approvalDate?: string;\n\n /**\n * The date on which the resource content was last reviewed. Review\n * happens periodically after approval but does not change the original\n * approval date.\n */\n readonly lastReviewDate?: string;\n\n /**\n * The period during which the questionnaire content was or is planned to\n * be in active use.\n */\n readonly effectivePeriod?: Period;\n\n /**\n * An identifier for this question or group of questions in a particular\n * terminology such as LOINC.\n */\n readonly code?: Coding[];\n\n /**\n * A particular question, question grouping or display text that is part\n * of the questionnaire.\n */\n readonly item?: QuestionnaireItem[];\n}\n\n/**\n * A particular question, question grouping or display text that is part\n * of the questionnaire.\n */\nexport interface QuestionnaireItem {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * An identifier that is unique within the Questionnaire allowing linkage\n * to the equivalent item in a QuestionnaireResponse resource.\n */\n readonly linkId?: string;\n\n /**\n * This element is a URI that refers to an\n * [ElementDefinition](elementdefinition.html) that provides information\n * about this item, including information that might otherwise be\n * included in the instance of the Questionnaire resource. A detailed\n * description of the construction of the URI is shown in Comments,\n * below. If this element is present then the following element values\n * MAY be derived from the Element Definition if the corresponding\n * elements of this Questionnaire resource instance have no value:\n *\n * * code (ElementDefinition.code)\n * * type (ElementDefinition.type)\n * * required (ElementDefinition.min)\n * * repeats (ElementDefinition.max)\n * * maxLength (ElementDefinition.maxLength)\n * * answerValueSet (ElementDefinition.binding)\n * * options (ElementDefinition.binding).\n */\n readonly definition?: string;\n\n /**\n * A terminology code that corresponds to this group or question (e.g. a\n * code from LOINC, which defines many questions and answers).\n */\n readonly code?: Coding[];\n\n /**\n * A short label for a particular group, question or set of display text\n * within the questionnaire used for reference by the individual\n * completing the questionnaire.\n */\n readonly prefix?: string;\n\n /**\n * The name of a section, the text of a question or text content for a\n * display item.\n */\n readonly text?: string;\n\n /**\n * The type of questionnaire item this is - whether text for display, a\n * grouping of other items or a particular type of data to be captured\n * (string, integer, coded choice, etc.).\n */\n readonly type?: string;\n\n /**\n * A constraint indicating that this item should only be enabled\n * (displayed/allow answers to be captured) when the specified condition\n * is true.\n */\n readonly enableWhen?: QuestionnaireItemEnableWhen[];\n\n /**\n * Controls how multiple enableWhen values are interpreted - whether all\n * or any must be true.\n */\n readonly enableBehavior?: string;\n\n /**\n * An indication, if true, that the item must be present in a &quot;completed&quot;\n * QuestionnaireResponse. If false, the item may be skipped when\n * answering the questionnaire.\n */\n readonly required?: boolean;\n\n /**\n * An indication, if true, that the item may occur multiple times in the\n * response, collecting multiple answers for questions or multiple sets\n * of answers for groups.\n */\n readonly repeats?: boolean;\n\n /**\n * An indication, when true, that the value cannot be changed by a human\n * respondent to the Questionnaire.\n */\n readonly readOnly?: boolean;\n\n /**\n * The maximum number of characters that are permitted in the answer to\n * be considered a &quot;valid&quot; QuestionnaireResponse.\n */\n readonly maxLength?: number;\n\n /**\n * A reference to a value set containing a list of codes representing\n * permitted answers for a &quot;choice&quot; or &quot;open-choice&quot; question.\n */\n readonly answerValueSet?: string;\n\n /**\n * One of the permitted answers for a &quot;choice&quot; or &quot;open-choice&quot; question.\n */\n readonly answerOption?: QuestionnaireItemAnswerOption[];\n\n /**\n * One or more values that should be pre-populated in the answer when\n * initially rendering the questionnaire for user input.\n */\n readonly initial?: QuestionnaireItemInitial[];\n\n /**\n * Text, questions and other groups to be nested beneath a question or\n * group.\n */\n readonly item?: QuestionnaireItem[];\n}\n\n/**\n * One of the permitted answers for a &quot;choice&quot; or &quot;open-choice&quot; question.\n */\nexport interface QuestionnaireItemAnswerOption {\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 potential answer that's allowed as the answer to this question.\n */\n readonly valueInteger?: number;\n\n /**\n * A potential answer that's allowed as the answer to this question.\n */\n readonly valueDate?: string;\n\n /**\n * A potential answer that's allowed as the answer to this question.\n */\n readonly valueTime?: string;\n\n /**\n * A potential answer that's allowed as the answer to this question.\n */\n readonly valueString?: string;\n\n /**\n * A potential answer that's allowed as the answer to this question.\n */\n readonly valueCoding?: Coding;\n\n /**\n * A potential answer that's allowed as the answer to this question.\n */\n readonly valueReference?: Reference<Resource>;\n\n /**\n * Indicates whether the answer value is selected when the list of\n * possible answers is initially shown.\n */\n readonly initialSelected?: boolean;\n}\n\n/**\n * A constraint indicating that this item should only be enabled\n * (displayed/allow answers to be captured) when the specified condition\n * is true.\n */\nexport interface QuestionnaireItemEnableWhen {\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 linkId for the question whose answer (or lack of answer) governs\n * whether this item is enabled.\n */\n readonly question?: string;\n\n /**\n * Specifies the criteria by which the question is enabled.\n */\n readonly operator?: string;\n\n /**\n * A value that the referenced question is tested using the specified\n * operator in order for the item to be enabled.\n */\n readonly answerBoolean?: boolean;\n\n /**\n * A value that the referenced question is tested using the specified\n * operator in order for the item to be enabled.\n */\n readonly answerDecimal?: number;\n\n /**\n * A value that the referenced question is tested using the specified\n * operator in order for the item to be enabled.\n */\n readonly answerInteger?: number;\n\n /**\n * A value that the referenced question is tested using the specified\n * operator in order for the item to be enabled.\n */\n readonly answerDate?: string;\n\n /**\n * A value that the referenced question is tested using the specified\n * operator in order for the item to be enabled.\n */\n readonly answerDateTime?: string;\n\n /**\n * A value that the referenced question is tested using the specified\n * operator in order for the item to be enabled.\n */\n readonly answerTime?: string;\n\n /**\n * A value that the referenced question is tested using the specified\n * operator in order for the item to be enabled.\n */\n readonly answerString?: string;\n\n /**\n * A value that the referenced question is tested using the specified\n * operator in order for the item to be enabled.\n */\n readonly answerCoding?: Coding;\n\n /**\n * A value that the referenced question is tested using the specified\n * operator in order for the item to be enabled.\n */\n readonly answerQuantity?: Quantity;\n\n /**\n * A value that the referenced question is tested using the specified\n * operator in order for the item to be enabled.\n */\n readonly answerReference?: Reference<Resource>;\n}\n\n/**\n * One or more values that should be pre-populated in the answer when\n * initially rendering the questionnaire for user input.\n */\nexport interface QuestionnaireItemInitial {\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 value to for an initial answer.\n */\n readonly valueBoolean?: boolean;\n\n /**\n * The actual value to for an initial answer.\n */\n readonly valueDecimal?: number;\n\n /**\n * The actual value to for an initial answer.\n */\n readonly valueInteger?: number;\n\n /**\n * The actual value to for an initial answer.\n */\n readonly valueDate?: string;\n\n /**\n * The actual value to for an initial answer.\n */\n readonly valueDateTime?: string;\n\n /**\n * The actual value to for an initial answer.\n */\n readonly valueTime?: string;\n\n /**\n * The actual value to for an initial answer.\n */\n readonly valueString?: string;\n\n /**\n * The actual value to for an initial answer.\n */\n readonly valueUri?: string;\n\n /**\n * The actual value to for an initial answer.\n */\n readonly valueAttachment?: Attachment;\n\n /**\n * The actual value to for an initial answer.\n */\n readonly valueCoding?: Coding;\n\n /**\n * The actual value to for an initial answer.\n */\n readonly valueQuantity?: Quantity;\n\n /**\n * The actual value to for an initial answer.\n */\n readonly valueReference?: Reference<Resource>;\n}\n"]}