@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,1184 +0,0 @@
1
- import { CodeableConcept } from './CodeableConcept';
2
- import { Coding } from './Coding';
3
- import { ContactDetail } from './ContactDetail';
4
- import { Extension } from './Extension';
5
- import { Identifier } from './Identifier';
6
- import { Meta } from './Meta';
7
- import { Narrative } from './Narrative';
8
- import { Reference } from './Reference';
9
- import { Resource } from './Resource';
10
- import { UsageContext } from './UsageContext';
11
- /**
12
- * A structured set of tests against a FHIR server or client
13
- * implementation to determine compliance against the FHIR specification.
14
- */
15
- export interface TestScript {
16
- /**
17
- * This is a TestScript resource
18
- */
19
- readonly resourceType: 'TestScript';
20
- /**
21
- * The logical id of the resource, as used in the URL for the resource.
22
- * Once assigned, this value never changes.
23
- */
24
- readonly id?: string;
25
- /**
26
- * The metadata about the resource. This is content that is maintained by
27
- * the infrastructure. Changes to the content might not always be
28
- * associated with version changes to the resource.
29
- */
30
- readonly meta?: Meta;
31
- /**
32
- * A reference to a set of rules that were followed when the resource was
33
- * constructed, and which must be understood when processing the content.
34
- * Often, this is a reference to an implementation guide that defines the
35
- * special rules along with other profiles etc.
36
- */
37
- readonly implicitRules?: string;
38
- /**
39
- * The base language in which the resource is written.
40
- */
41
- readonly language?: string;
42
- /**
43
- * A human-readable narrative that contains a summary of the resource and
44
- * can be used to represent the content of the resource to a human. The
45
- * narrative need not encode all the structured data, but is required to
46
- * contain sufficient detail to make it "clinically safe" for a human to
47
- * just read the narrative. Resource definitions may define what content
48
- * should be represented in the narrative to ensure clinical safety.
49
- */
50
- readonly text?: Narrative;
51
- /**
52
- * These resources do not have an independent existence apart from the
53
- * resource that contains them - they cannot be identified independently,
54
- * and nor can they have their own independent transaction scope.
55
- */
56
- readonly contained?: Resource[];
57
- /**
58
- * May be used to represent additional information that is not part of
59
- * the basic definition of the resource. To make the use of extensions
60
- * safe and manageable, there is a strict set of governance applied to
61
- * the definition and use of extensions. Though any implementer can
62
- * define an extension, there is a set of requirements that SHALL be met
63
- * as part of the definition of the extension.
64
- */
65
- readonly extension?: Extension[];
66
- /**
67
- * May be used to represent additional information that is not part of
68
- * the basic definition of the resource and that modifies the
69
- * understanding of the element that contains it and/or the understanding
70
- * of the containing element's descendants. Usually modifier elements
71
- * provide negation or qualification. To make the use of extensions safe
72
- * and manageable, there is a strict set of governance applied to the
73
- * definition and use of extensions. Though any implementer is allowed to
74
- * define an extension, there is a set of requirements that SHALL be met
75
- * as part of the definition of the extension. Applications processing a
76
- * resource are required to check for modifier extensions.
77
- *
78
- * Modifier extensions SHALL NOT change the meaning of any elements on
79
- * Resource or DomainResource (including cannot change the meaning of
80
- * modifierExtension itself).
81
- */
82
- readonly modifierExtension?: Extension[];
83
- /**
84
- * An absolute URI that is used to identify this test script when it is
85
- * referenced in a specification, model, design or an instance; also
86
- * called its canonical identifier. This SHOULD be globally unique and
87
- * SHOULD be a literal address at which at which an authoritative
88
- * instance of this test script is (or will be) published. This URL can
89
- * be the target of a canonical reference. It SHALL remain the same when
90
- * the test script is stored on different servers.
91
- */
92
- readonly url?: string;
93
- /**
94
- * A formal identifier that is used to identify this test script when it
95
- * is represented in other formats, or referenced in a specification,
96
- * model, design or an instance.
97
- */
98
- readonly identifier?: Identifier;
99
- /**
100
- * The identifier that is used to identify this version of the test
101
- * script when it is referenced in a specification, model, design or
102
- * instance. This is an arbitrary value managed by the test script author
103
- * and is not expected to be globally unique. For example, it might be a
104
- * timestamp (e.g. yyyymmdd) if a managed version is not available. There
105
- * is also no expectation that versions can be placed in a
106
- * lexicographical sequence.
107
- */
108
- readonly version?: string;
109
- /**
110
- * A natural language name identifying the test script. This name should
111
- * be usable as an identifier for the module by machine processing
112
- * applications such as code generation.
113
- */
114
- readonly name?: string;
115
- /**
116
- * A short, descriptive, user-friendly title for the test script.
117
- */
118
- readonly title?: string;
119
- /**
120
- * The status of this test script. Enables tracking the life-cycle of the
121
- * content.
122
- */
123
- readonly status?: string;
124
- /**
125
- * A Boolean value to indicate that this test script is authored for
126
- * testing purposes (or education/evaluation/marketing) and is not
127
- * intended to be used for genuine usage.
128
- */
129
- readonly experimental?: boolean;
130
- /**
131
- * The date (and optionally time) when the test script was published.
132
- * The date must change when the business version changes and it must
133
- * change if the status code changes. In addition, it should change when
134
- * the substantive content of the test script changes.
135
- */
136
- readonly date?: string;
137
- /**
138
- * The name of the organization or individual that published the test
139
- * script.
140
- */
141
- readonly publisher?: string;
142
- /**
143
- * Contact details to assist a user in finding and communicating with the
144
- * publisher.
145
- */
146
- readonly contact?: ContactDetail[];
147
- /**
148
- * A free text natural language description of the test script from a
149
- * consumer's perspective.
150
- */
151
- readonly description?: string;
152
- /**
153
- * The content was developed with a focus and intent of supporting the
154
- * contexts that are listed. These contexts may be general categories
155
- * (gender, age, ...) or may be references to specific programs
156
- * (insurance plans, studies, ...) and may be used to assist with
157
- * indexing and searching for appropriate test script instances.
158
- */
159
- readonly useContext?: UsageContext[];
160
- /**
161
- * A legal or geographic region in which the test script is intended to
162
- * be used.
163
- */
164
- readonly jurisdiction?: CodeableConcept[];
165
- /**
166
- * Explanation of why this test script is needed and why it has been
167
- * designed as it has.
168
- */
169
- readonly purpose?: string;
170
- /**
171
- * A copyright statement relating to the test script and/or its contents.
172
- * Copyright statements are generally legal restrictions on the use and
173
- * publishing of the test script.
174
- */
175
- readonly copyright?: string;
176
- /**
177
- * An abstract server used in operations within this test script in the
178
- * origin element.
179
- */
180
- readonly origin?: TestScriptOrigin[];
181
- /**
182
- * An abstract server used in operations within this test script in the
183
- * destination element.
184
- */
185
- readonly destination?: TestScriptDestination[];
186
- /**
187
- * The required capability must exist and are assumed to function
188
- * correctly on the FHIR server being tested.
189
- */
190
- readonly metadata?: TestScriptMetadata;
191
- /**
192
- * Fixture in the test script - by reference (uri). All fixtures are
193
- * required for the test script to execute.
194
- */
195
- readonly fixture?: TestScriptFixture[];
196
- /**
197
- * Reference to the profile to be used for validation.
198
- */
199
- readonly profile?: Reference<Resource>[];
200
- /**
201
- * Variable is set based either on element value in response body or on
202
- * header field value in the response headers.
203
- */
204
- readonly variable?: TestScriptVariable[];
205
- /**
206
- * A series of required setup operations before tests are executed.
207
- */
208
- readonly setup?: TestScriptSetup;
209
- /**
210
- * A test in this script.
211
- */
212
- readonly test?: TestScriptTest[];
213
- /**
214
- * A series of operations required to clean up after all the tests are
215
- * executed (successfully or otherwise).
216
- */
217
- readonly teardown?: TestScriptTeardown;
218
- }
219
- /**
220
- * An abstract server used in operations within this test script in the
221
- * destination element.
222
- */
223
- export interface TestScriptDestination {
224
- /**
225
- * Unique id for the element within a resource (for internal references).
226
- * This may be any string value that does not contain spaces.
227
- */
228
- readonly id?: string;
229
- /**
230
- * May be used to represent additional information that is not part of
231
- * the basic definition of the element. To make the use of extensions
232
- * safe and manageable, there is a strict set of governance applied to
233
- * the definition and use of extensions. Though any implementer can
234
- * define an extension, there is a set of requirements that SHALL be met
235
- * as part of the definition of the extension.
236
- */
237
- readonly extension?: Extension[];
238
- /**
239
- * May be used to represent additional information that is not part of
240
- * the basic definition of the element and that modifies the
241
- * understanding of the element in which it is contained and/or the
242
- * understanding of the containing element's descendants. Usually
243
- * modifier elements provide negation or qualification. To make the use
244
- * of extensions safe and manageable, there is a strict set of governance
245
- * applied to the definition and use of extensions. Though any
246
- * implementer can define an extension, there is a set of requirements
247
- * that SHALL be met as part of the definition of the extension.
248
- * Applications processing a resource are required to check for modifier
249
- * extensions.
250
- *
251
- * Modifier extensions SHALL NOT change the meaning of any elements on
252
- * Resource or DomainResource (including cannot change the meaning of
253
- * modifierExtension itself).
254
- */
255
- readonly modifierExtension?: Extension[];
256
- /**
257
- * Abstract name given to a destination server in this test script. The
258
- * name is provided as a number starting at 1.
259
- */
260
- readonly index?: number;
261
- /**
262
- * The type of destination profile the test system supports.
263
- */
264
- readonly profile?: Coding;
265
- }
266
- /**
267
- * Fixture in the test script - by reference (uri). All fixtures are
268
- * required for the test script to execute.
269
- */
270
- export interface TestScriptFixture {
271
- /**
272
- * Unique id for the element within a resource (for internal references).
273
- * This may be any string value that does not contain spaces.
274
- */
275
- readonly id?: string;
276
- /**
277
- * May be used to represent additional information that is not part of
278
- * the basic definition of the element. To make the use of extensions
279
- * safe and manageable, there is a strict set of governance applied to
280
- * the definition and use of extensions. Though any implementer can
281
- * define an extension, there is a set of requirements that SHALL be met
282
- * as part of the definition of the extension.
283
- */
284
- readonly extension?: Extension[];
285
- /**
286
- * May be used to represent additional information that is not part of
287
- * the basic definition of the element and that modifies the
288
- * understanding of the element in which it is contained and/or the
289
- * understanding of the containing element's descendants. Usually
290
- * modifier elements provide negation or qualification. To make the use
291
- * of extensions safe and manageable, there is a strict set of governance
292
- * applied to the definition and use of extensions. Though any
293
- * implementer can define an extension, there is a set of requirements
294
- * that SHALL be met as part of the definition of the extension.
295
- * Applications processing a resource are required to check for modifier
296
- * extensions.
297
- *
298
- * Modifier extensions SHALL NOT change the meaning of any elements on
299
- * Resource or DomainResource (including cannot change the meaning of
300
- * modifierExtension itself).
301
- */
302
- readonly modifierExtension?: Extension[];
303
- /**
304
- * Whether or not to implicitly create the fixture during setup. If true,
305
- * the fixture is automatically created on each server being tested
306
- * during setup, therefore no create operation is required for this
307
- * fixture in the TestScript.setup section.
308
- */
309
- readonly autocreate?: boolean;
310
- /**
311
- * Whether or not to implicitly delete the fixture during teardown. If
312
- * true, the fixture is automatically deleted on each server being tested
313
- * during teardown, therefore no delete operation is required for this
314
- * fixture in the TestScript.teardown section.
315
- */
316
- readonly autodelete?: boolean;
317
- /**
318
- * Reference to the resource (containing the contents of the resource
319
- * needed for operations).
320
- */
321
- readonly resource?: Reference<Resource>;
322
- }
323
- /**
324
- * The required capability must exist and are assumed to function
325
- * correctly on the FHIR server being tested.
326
- */
327
- export interface TestScriptMetadata {
328
- /**
329
- * Unique id for the element within a resource (for internal references).
330
- * This may be any string value that does not contain spaces.
331
- */
332
- readonly id?: string;
333
- /**
334
- * May be used to represent additional information that is not part of
335
- * the basic definition of the element. To make the use of extensions
336
- * safe and manageable, there is a strict set of governance applied to
337
- * the definition and use of extensions. Though any implementer can
338
- * define an extension, there is a set of requirements that SHALL be met
339
- * as part of the definition of the extension.
340
- */
341
- readonly extension?: Extension[];
342
- /**
343
- * May be used to represent additional information that is not part of
344
- * the basic definition of the element and that modifies the
345
- * understanding of the element in which it is contained and/or the
346
- * understanding of the containing element's descendants. Usually
347
- * modifier elements provide negation or qualification. To make the use
348
- * of extensions safe and manageable, there is a strict set of governance
349
- * applied to the definition and use of extensions. Though any
350
- * implementer can define an extension, there is a set of requirements
351
- * that SHALL be met as part of the definition of the extension.
352
- * Applications processing a resource are required to check for modifier
353
- * extensions.
354
- *
355
- * Modifier extensions SHALL NOT change the meaning of any elements on
356
- * Resource or DomainResource (including cannot change the meaning of
357
- * modifierExtension itself).
358
- */
359
- readonly modifierExtension?: Extension[];
360
- /**
361
- * A link to the FHIR specification that this test is covering.
362
- */
363
- readonly link?: TestScriptMetadataLink[];
364
- /**
365
- * Capabilities that must exist and are assumed to function correctly on
366
- * the FHIR server being tested.
367
- */
368
- readonly capability?: TestScriptMetadataCapability[];
369
- }
370
- /**
371
- * Capabilities that must exist and are assumed to function correctly on
372
- * the FHIR server being tested.
373
- */
374
- export interface TestScriptMetadataCapability {
375
- /**
376
- * Unique id for the element within a resource (for internal references).
377
- * This may be any string value that does not contain spaces.
378
- */
379
- readonly id?: string;
380
- /**
381
- * May be used to represent additional information that is not part of
382
- * the basic definition of the element. To make the use of extensions
383
- * safe and manageable, there is a strict set of governance applied to
384
- * the definition and use of extensions. Though any implementer can
385
- * define an extension, there is a set of requirements that SHALL be met
386
- * as part of the definition of the extension.
387
- */
388
- readonly extension?: Extension[];
389
- /**
390
- * May be used to represent additional information that is not part of
391
- * the basic definition of the element and that modifies the
392
- * understanding of the element in which it is contained and/or the
393
- * understanding of the containing element's descendants. Usually
394
- * modifier elements provide negation or qualification. To make the use
395
- * of extensions safe and manageable, there is a strict set of governance
396
- * applied to the definition and use of extensions. Though any
397
- * implementer can define an extension, there is a set of requirements
398
- * that SHALL be met as part of the definition of the extension.
399
- * Applications processing a resource are required to check for modifier
400
- * extensions.
401
- *
402
- * Modifier extensions SHALL NOT change the meaning of any elements on
403
- * Resource or DomainResource (including cannot change the meaning of
404
- * modifierExtension itself).
405
- */
406
- readonly modifierExtension?: Extension[];
407
- /**
408
- * Whether or not the test execution will require the given capabilities
409
- * of the server in order for this test script to execute.
410
- */
411
- readonly required?: boolean;
412
- /**
413
- * Whether or not the test execution will validate the given capabilities
414
- * of the server in order for this test script to execute.
415
- */
416
- readonly validated?: boolean;
417
- /**
418
- * Description of the capabilities that this test script is requiring the
419
- * server to support.
420
- */
421
- readonly description?: string;
422
- /**
423
- * Which origin server these requirements apply to.
424
- */
425
- readonly origin?: number[];
426
- /**
427
- * Which server these requirements apply to.
428
- */
429
- readonly destination?: number;
430
- /**
431
- * Links to the FHIR specification that describes this interaction and
432
- * the resources involved in more detail.
433
- */
434
- readonly link?: string[];
435
- /**
436
- * Minimum capabilities required of server for test script to execute
437
- * successfully. If server does not meet at a minimum the referenced
438
- * capability statement, then all tests in this script are skipped.
439
- */
440
- readonly capabilities?: string;
441
- }
442
- /**
443
- * A link to the FHIR specification that this test is covering.
444
- */
445
- export interface TestScriptMetadataLink {
446
- /**
447
- * Unique id for the element within a resource (for internal references).
448
- * This may be any string value that does not contain spaces.
449
- */
450
- readonly id?: string;
451
- /**
452
- * May be used to represent additional information that is not part of
453
- * the basic definition of the element. To make the use of extensions
454
- * safe and manageable, there is a strict set of governance applied to
455
- * the definition and use of extensions. Though any implementer can
456
- * define an extension, there is a set of requirements that SHALL be met
457
- * as part of the definition of the extension.
458
- */
459
- readonly extension?: Extension[];
460
- /**
461
- * May be used to represent additional information that is not part of
462
- * the basic definition of the element and that modifies the
463
- * understanding of the element in which it is contained and/or the
464
- * understanding of the containing element's descendants. Usually
465
- * modifier elements provide negation or qualification. To make the use
466
- * of extensions safe and manageable, there is a strict set of governance
467
- * applied to the definition and use of extensions. Though any
468
- * implementer can define an extension, there is a set of requirements
469
- * that SHALL be met as part of the definition of the extension.
470
- * Applications processing a resource are required to check for modifier
471
- * extensions.
472
- *
473
- * Modifier extensions SHALL NOT change the meaning of any elements on
474
- * Resource or DomainResource (including cannot change the meaning of
475
- * modifierExtension itself).
476
- */
477
- readonly modifierExtension?: Extension[];
478
- /**
479
- * URL to a particular requirement or feature within the FHIR
480
- * specification.
481
- */
482
- readonly url?: string;
483
- /**
484
- * Short description of the link.
485
- */
486
- readonly description?: string;
487
- }
488
- /**
489
- * An abstract server used in operations within this test script in the
490
- * origin element.
491
- */
492
- export interface TestScriptOrigin {
493
- /**
494
- * Unique id for the element within a resource (for internal references).
495
- * This may be any string value that does not contain spaces.
496
- */
497
- readonly id?: string;
498
- /**
499
- * May be used to represent additional information that is not part of
500
- * the basic definition of the element. To make the use of extensions
501
- * safe and manageable, there is a strict set of governance applied to
502
- * the definition and use of extensions. Though any implementer can
503
- * define an extension, there is a set of requirements that SHALL be met
504
- * as part of the definition of the extension.
505
- */
506
- readonly extension?: Extension[];
507
- /**
508
- * May be used to represent additional information that is not part of
509
- * the basic definition of the element and that modifies the
510
- * understanding of the element in which it is contained and/or the
511
- * understanding of the containing element's descendants. Usually
512
- * modifier elements provide negation or qualification. To make the use
513
- * of extensions safe and manageable, there is a strict set of governance
514
- * applied to the definition and use of extensions. Though any
515
- * implementer can define an extension, there is a set of requirements
516
- * that SHALL be met as part of the definition of the extension.
517
- * Applications processing a resource are required to check for modifier
518
- * extensions.
519
- *
520
- * Modifier extensions SHALL NOT change the meaning of any elements on
521
- * Resource or DomainResource (including cannot change the meaning of
522
- * modifierExtension itself).
523
- */
524
- readonly modifierExtension?: Extension[];
525
- /**
526
- * Abstract name given to an origin server in this test script. The name
527
- * is provided as a number starting at 1.
528
- */
529
- readonly index?: number;
530
- /**
531
- * The type of origin profile the test system supports.
532
- */
533
- readonly profile?: Coding;
534
- }
535
- /**
536
- * A series of required setup operations before tests are executed.
537
- */
538
- export interface TestScriptSetup {
539
- /**
540
- * Unique id for the element within a resource (for internal references).
541
- * This may be any string value that does not contain spaces.
542
- */
543
- readonly id?: string;
544
- /**
545
- * May be used to represent additional information that is not part of
546
- * the basic definition of the element. To make the use of extensions
547
- * safe and manageable, there is a strict set of governance applied to
548
- * the definition and use of extensions. Though any implementer can
549
- * define an extension, there is a set of requirements that SHALL be met
550
- * as part of the definition of the extension.
551
- */
552
- readonly extension?: Extension[];
553
- /**
554
- * May be used to represent additional information that is not part of
555
- * the basic definition of the element and that modifies the
556
- * understanding of the element in which it is contained and/or the
557
- * understanding of the containing element's descendants. Usually
558
- * modifier elements provide negation or qualification. To make the use
559
- * of extensions safe and manageable, there is a strict set of governance
560
- * applied to the definition and use of extensions. Though any
561
- * implementer can define an extension, there is a set of requirements
562
- * that SHALL be met as part of the definition of the extension.
563
- * Applications processing a resource are required to check for modifier
564
- * extensions.
565
- *
566
- * Modifier extensions SHALL NOT change the meaning of any elements on
567
- * Resource or DomainResource (including cannot change the meaning of
568
- * modifierExtension itself).
569
- */
570
- readonly modifierExtension?: Extension[];
571
- /**
572
- * Action would contain either an operation or an assertion.
573
- */
574
- readonly action?: TestScriptSetupAction[];
575
- }
576
- /**
577
- * Action would contain either an operation or an assertion.
578
- */
579
- export interface TestScriptSetupAction {
580
- /**
581
- * Unique id for the element within a resource (for internal references).
582
- * This may be any string value that does not contain spaces.
583
- */
584
- readonly id?: string;
585
- /**
586
- * May be used to represent additional information that is not part of
587
- * the basic definition of the element. To make the use of extensions
588
- * safe and manageable, there is a strict set of governance applied to
589
- * the definition and use of extensions. Though any implementer can
590
- * define an extension, there is a set of requirements that SHALL be met
591
- * as part of the definition of the extension.
592
- */
593
- readonly extension?: Extension[];
594
- /**
595
- * May be used to represent additional information that is not part of
596
- * the basic definition of the element and that modifies the
597
- * understanding of the element in which it is contained and/or the
598
- * understanding of the containing element's descendants. Usually
599
- * modifier elements provide negation or qualification. To make the use
600
- * of extensions safe and manageable, there is a strict set of governance
601
- * applied to the definition and use of extensions. Though any
602
- * implementer can define an extension, there is a set of requirements
603
- * that SHALL be met as part of the definition of the extension.
604
- * Applications processing a resource are required to check for modifier
605
- * extensions.
606
- *
607
- * Modifier extensions SHALL NOT change the meaning of any elements on
608
- * Resource or DomainResource (including cannot change the meaning of
609
- * modifierExtension itself).
610
- */
611
- readonly modifierExtension?: Extension[];
612
- /**
613
- * The operation to perform.
614
- */
615
- readonly operation?: TestScriptSetupActionOperation;
616
- /**
617
- * Evaluates the results of previous operations to determine if the
618
- * server under test behaves appropriately.
619
- */
620
- readonly assert?: TestScriptSetupActionAssert;
621
- }
622
- /**
623
- * Evaluates the results of previous operations to determine if the
624
- * server under test behaves appropriately.
625
- */
626
- export interface TestScriptSetupActionAssert {
627
- /**
628
- * Unique id for the element within a resource (for internal references).
629
- * This may be any string value that does not contain spaces.
630
- */
631
- readonly id?: string;
632
- /**
633
- * May be used to represent additional information that is not part of
634
- * the basic definition of the element. To make the use of extensions
635
- * safe and manageable, there is a strict set of governance applied to
636
- * the definition and use of extensions. Though any implementer can
637
- * define an extension, there is a set of requirements that SHALL be met
638
- * as part of the definition of the extension.
639
- */
640
- readonly extension?: Extension[];
641
- /**
642
- * May be used to represent additional information that is not part of
643
- * the basic definition of the element and that modifies the
644
- * understanding of the element in which it is contained and/or the
645
- * understanding of the containing element's descendants. Usually
646
- * modifier elements provide negation or qualification. To make the use
647
- * of extensions safe and manageable, there is a strict set of governance
648
- * applied to the definition and use of extensions. Though any
649
- * implementer can define an extension, there is a set of requirements
650
- * that SHALL be met as part of the definition of the extension.
651
- * Applications processing a resource are required to check for modifier
652
- * extensions.
653
- *
654
- * Modifier extensions SHALL NOT change the meaning of any elements on
655
- * Resource or DomainResource (including cannot change the meaning of
656
- * modifierExtension itself).
657
- */
658
- readonly modifierExtension?: Extension[];
659
- /**
660
- * The label would be used for tracking/logging purposes by test engines.
661
- */
662
- readonly label?: string;
663
- /**
664
- * The description would be used by test engines for tracking and
665
- * reporting purposes.
666
- */
667
- readonly description?: string;
668
- /**
669
- * The direction to use for the assertion.
670
- */
671
- readonly direction?: string;
672
- /**
673
- * Id of the source fixture used as the contents to be evaluated by
674
- * either the &quot;source/expression&quot; or &quot;sourceId/path&quot; definition.
675
- */
676
- readonly compareToSourceId?: string;
677
- /**
678
- * The FHIRPath expression to evaluate against the source fixture. When
679
- * compareToSourceId is defined, either compareToSourceExpression or
680
- * compareToSourcePath must be defined, but not both.
681
- */
682
- readonly compareToSourceExpression?: string;
683
- /**
684
- * XPath or JSONPath expression to evaluate against the source fixture.
685
- * When compareToSourceId is defined, either compareToSourceExpression or
686
- * compareToSourcePath must be defined, but not both.
687
- */
688
- readonly compareToSourcePath?: string;
689
- /**
690
- * The mime-type contents to compare against the request or response
691
- * message 'Content-Type' header.
692
- */
693
- readonly contentType?: string;
694
- /**
695
- * The FHIRPath expression to be evaluated against the request or
696
- * response message contents - HTTP headers and payload.
697
- */
698
- readonly expression?: string;
699
- /**
700
- * The HTTP header field name e.g. 'Location'.
701
- */
702
- readonly headerField?: string;
703
- /**
704
- * The ID of a fixture. Asserts that the response contains at a minimum
705
- * the fixture specified by minimumId.
706
- */
707
- readonly minimumId?: string;
708
- /**
709
- * Whether or not the test execution performs validation on the bundle
710
- * navigation links.
711
- */
712
- readonly navigationLinks?: boolean;
713
- /**
714
- * The operator type defines the conditional behavior of the assert. If
715
- * not defined, the default is equals.
716
- */
717
- readonly operator?: string;
718
- /**
719
- * The XPath or JSONPath expression to be evaluated against the fixture
720
- * representing the response received from server.
721
- */
722
- readonly path?: string;
723
- /**
724
- * The request method or HTTP operation code to compare against that used
725
- * by the client system under test.
726
- */
727
- readonly requestMethod?: string;
728
- /**
729
- * The value to use in a comparison against the request URL path string.
730
- */
731
- readonly requestURL?: string;
732
- /**
733
- * The type of the resource. See
734
- * http://build.fhir.org/resourcelist.html.
735
- */
736
- readonly resource?: string;
737
- /**
738
- * okay | created | noContent | notModified | bad | forbidden | notFound
739
- * | methodNotAllowed | conflict | gone | preconditionFailed |
740
- * unprocessable.
741
- */
742
- readonly response?: string;
743
- /**
744
- * The value of the HTTP response code to be tested.
745
- */
746
- readonly responseCode?: string;
747
- /**
748
- * Fixture to evaluate the XPath/JSONPath expression or the headerField
749
- * against.
750
- */
751
- readonly sourceId?: string;
752
- /**
753
- * The ID of the Profile to validate against.
754
- */
755
- readonly validateProfileId?: string;
756
- /**
757
- * The value to compare to.
758
- */
759
- readonly value?: string;
760
- /**
761
- * Whether or not the test execution will produce a warning only on error
762
- * for this assert.
763
- */
764
- readonly warningOnly?: boolean;
765
- }
766
- /**
767
- * The operation to perform.
768
- */
769
- export interface TestScriptSetupActionOperation {
770
- /**
771
- * Unique id for the element within a resource (for internal references).
772
- * This may be any string value that does not contain spaces.
773
- */
774
- readonly id?: string;
775
- /**
776
- * May be used to represent additional information that is not part of
777
- * the basic definition of the element. To make the use of extensions
778
- * safe and manageable, there is a strict set of governance applied to
779
- * the definition and use of extensions. Though any implementer can
780
- * define an extension, there is a set of requirements that SHALL be met
781
- * as part of the definition of the extension.
782
- */
783
- readonly extension?: Extension[];
784
- /**
785
- * May be used to represent additional information that is not part of
786
- * the basic definition of the element and that modifies the
787
- * understanding of the element in which it is contained and/or the
788
- * understanding of the containing element's descendants. Usually
789
- * modifier elements provide negation or qualification. To make the use
790
- * of extensions safe and manageable, there is a strict set of governance
791
- * applied to the definition and use of extensions. Though any
792
- * implementer can define an extension, there is a set of requirements
793
- * that SHALL be met as part of the definition of the extension.
794
- * Applications processing a resource are required to check for modifier
795
- * extensions.
796
- *
797
- * Modifier extensions SHALL NOT change the meaning of any elements on
798
- * Resource or DomainResource (including cannot change the meaning of
799
- * modifierExtension itself).
800
- */
801
- readonly modifierExtension?: Extension[];
802
- /**
803
- * Server interaction or operation type.
804
- */
805
- readonly type?: Coding;
806
- /**
807
- * The type of the resource. See
808
- * http://build.fhir.org/resourcelist.html.
809
- */
810
- readonly resource?: string;
811
- /**
812
- * The label would be used for tracking/logging purposes by test engines.
813
- */
814
- readonly label?: string;
815
- /**
816
- * The description would be used by test engines for tracking and
817
- * reporting purposes.
818
- */
819
- readonly description?: string;
820
- /**
821
- * The mime-type to use for RESTful operation in the 'Accept' header.
822
- */
823
- readonly accept?: string;
824
- /**
825
- * The mime-type to use for RESTful operation in the 'Content-Type'
826
- * header.
827
- */
828
- readonly contentType?: string;
829
- /**
830
- * The server where the request message is destined for. Must be one of
831
- * the server numbers listed in TestScript.destination section.
832
- */
833
- readonly destination?: number;
834
- /**
835
- * Whether or not to implicitly send the request url in encoded format.
836
- * The default is true to match the standard RESTful client behavior. Set
837
- * to false when communicating with a server that does not support
838
- * encoded url paths.
839
- */
840
- readonly encodeRequestUrl?: boolean;
841
- /**
842
- * The HTTP method the test engine MUST use for this operation regardless
843
- * of any other operation details.
844
- */
845
- readonly method?: string;
846
- /**
847
- * The server where the request message originates from. Must be one of
848
- * the server numbers listed in TestScript.origin section.
849
- */
850
- readonly origin?: number;
851
- /**
852
- * Path plus parameters after [type]. Used to set parts of the request
853
- * URL explicitly.
854
- */
855
- readonly params?: string;
856
- /**
857
- * Header elements would be used to set HTTP headers.
858
- */
859
- readonly requestHeader?: TestScriptSetupActionOperationRequestHeader[];
860
- /**
861
- * The fixture id (maybe new) to map to the request.
862
- */
863
- readonly requestId?: string;
864
- /**
865
- * The fixture id (maybe new) to map to the response.
866
- */
867
- readonly responseId?: string;
868
- /**
869
- * The id of the fixture used as the body of a PUT or POST request.
870
- */
871
- readonly sourceId?: string;
872
- /**
873
- * Id of fixture used for extracting the [id], [type], and [vid] for GET
874
- * requests.
875
- */
876
- readonly targetId?: string;
877
- /**
878
- * Complete request URL.
879
- */
880
- readonly url?: string;
881
- }
882
- /**
883
- * Header elements would be used to set HTTP headers.
884
- */
885
- export interface TestScriptSetupActionOperationRequestHeader {
886
- /**
887
- * Unique id for the element within a resource (for internal references).
888
- * This may be any string value that does not contain spaces.
889
- */
890
- readonly id?: string;
891
- /**
892
- * May be used to represent additional information that is not part of
893
- * the basic definition of the element. To make the use of extensions
894
- * safe and manageable, there is a strict set of governance applied to
895
- * the definition and use of extensions. Though any implementer can
896
- * define an extension, there is a set of requirements that SHALL be met
897
- * as part of the definition of the extension.
898
- */
899
- readonly extension?: Extension[];
900
- /**
901
- * May be used to represent additional information that is not part of
902
- * the basic definition of the element and that modifies the
903
- * understanding of the element in which it is contained and/or the
904
- * understanding of the containing element's descendants. Usually
905
- * modifier elements provide negation or qualification. To make the use
906
- * of extensions safe and manageable, there is a strict set of governance
907
- * applied to the definition and use of extensions. Though any
908
- * implementer can define an extension, there is a set of requirements
909
- * that SHALL be met as part of the definition of the extension.
910
- * Applications processing a resource are required to check for modifier
911
- * extensions.
912
- *
913
- * Modifier extensions SHALL NOT change the meaning of any elements on
914
- * Resource or DomainResource (including cannot change the meaning of
915
- * modifierExtension itself).
916
- */
917
- readonly modifierExtension?: Extension[];
918
- /**
919
- * The HTTP header field e.g. &quot;Accept&quot;.
920
- */
921
- readonly field?: string;
922
- /**
923
- * The value of the header e.g. &quot;application/fhir+xml&quot;.
924
- */
925
- readonly value?: string;
926
- }
927
- /**
928
- * A series of operations required to clean up after all the tests are
929
- * executed (successfully or otherwise).
930
- */
931
- export interface TestScriptTeardown {
932
- /**
933
- * Unique id for the element within a resource (for internal references).
934
- * This may be any string value that does not contain spaces.
935
- */
936
- readonly id?: string;
937
- /**
938
- * May be used to represent additional information that is not part of
939
- * the basic definition of the element. To make the use of extensions
940
- * safe and manageable, there is a strict set of governance applied to
941
- * the definition and use of extensions. Though any implementer can
942
- * define an extension, there is a set of requirements that SHALL be met
943
- * as part of the definition of the extension.
944
- */
945
- readonly extension?: Extension[];
946
- /**
947
- * May be used to represent additional information that is not part of
948
- * the basic definition of the element and that modifies the
949
- * understanding of the element in which it is contained and/or the
950
- * understanding of the containing element's descendants. Usually
951
- * modifier elements provide negation or qualification. To make the use
952
- * of extensions safe and manageable, there is a strict set of governance
953
- * applied to the definition and use of extensions. Though any
954
- * implementer can define an extension, there is a set of requirements
955
- * that SHALL be met as part of the definition of the extension.
956
- * Applications processing a resource are required to check for modifier
957
- * extensions.
958
- *
959
- * Modifier extensions SHALL NOT change the meaning of any elements on
960
- * Resource or DomainResource (including cannot change the meaning of
961
- * modifierExtension itself).
962
- */
963
- readonly modifierExtension?: Extension[];
964
- /**
965
- * The teardown action will only contain an operation.
966
- */
967
- readonly action?: TestScriptTeardownAction[];
968
- }
969
- /**
970
- * The teardown action will only contain an operation.
971
- */
972
- export interface TestScriptTeardownAction {
973
- /**
974
- * Unique id for the element within a resource (for internal references).
975
- * This may be any string value that does not contain spaces.
976
- */
977
- readonly id?: string;
978
- /**
979
- * May be used to represent additional information that is not part of
980
- * the basic definition of the element. To make the use of extensions
981
- * safe and manageable, there is a strict set of governance applied to
982
- * the definition and use of extensions. Though any implementer can
983
- * define an extension, there is a set of requirements that SHALL be met
984
- * as part of the definition of the extension.
985
- */
986
- readonly extension?: Extension[];
987
- /**
988
- * May be used to represent additional information that is not part of
989
- * the basic definition of the element and that modifies the
990
- * understanding of the element in which it is contained and/or the
991
- * understanding of the containing element's descendants. Usually
992
- * modifier elements provide negation or qualification. To make the use
993
- * of extensions safe and manageable, there is a strict set of governance
994
- * applied to the definition and use of extensions. Though any
995
- * implementer can define an extension, there is a set of requirements
996
- * that SHALL be met as part of the definition of the extension.
997
- * Applications processing a resource are required to check for modifier
998
- * extensions.
999
- *
1000
- * Modifier extensions SHALL NOT change the meaning of any elements on
1001
- * Resource or DomainResource (including cannot change the meaning of
1002
- * modifierExtension itself).
1003
- */
1004
- readonly modifierExtension?: Extension[];
1005
- /**
1006
- * An operation would involve a REST request to a server.
1007
- */
1008
- readonly operation?: TestScriptSetupActionOperation;
1009
- }
1010
- /**
1011
- * A test in this script.
1012
- */
1013
- export interface TestScriptTest {
1014
- /**
1015
- * Unique id for the element within a resource (for internal references).
1016
- * This may be any string value that does not contain spaces.
1017
- */
1018
- readonly id?: string;
1019
- /**
1020
- * May be used to represent additional information that is not part of
1021
- * the basic definition of the element. To make the use of extensions
1022
- * safe and manageable, there is a strict set of governance applied to
1023
- * the definition and use of extensions. Though any implementer can
1024
- * define an extension, there is a set of requirements that SHALL be met
1025
- * as part of the definition of the extension.
1026
- */
1027
- readonly extension?: Extension[];
1028
- /**
1029
- * May be used to represent additional information that is not part of
1030
- * the basic definition of the element and that modifies the
1031
- * understanding of the element in which it is contained and/or the
1032
- * understanding of the containing element's descendants. Usually
1033
- * modifier elements provide negation or qualification. To make the use
1034
- * of extensions safe and manageable, there is a strict set of governance
1035
- * applied to the definition and use of extensions. Though any
1036
- * implementer can define an extension, there is a set of requirements
1037
- * that SHALL be met as part of the definition of the extension.
1038
- * Applications processing a resource are required to check for modifier
1039
- * extensions.
1040
- *
1041
- * Modifier extensions SHALL NOT change the meaning of any elements on
1042
- * Resource or DomainResource (including cannot change the meaning of
1043
- * modifierExtension itself).
1044
- */
1045
- readonly modifierExtension?: Extension[];
1046
- /**
1047
- * The name of this test used for tracking/logging purposes by test
1048
- * engines.
1049
- */
1050
- readonly name?: string;
1051
- /**
1052
- * A short description of the test used by test engines for tracking and
1053
- * reporting purposes.
1054
- */
1055
- readonly description?: string;
1056
- /**
1057
- * Action would contain either an operation or an assertion.
1058
- */
1059
- readonly action?: TestScriptTestAction[];
1060
- }
1061
- /**
1062
- * Action would contain either an operation or an assertion.
1063
- */
1064
- export interface TestScriptTestAction {
1065
- /**
1066
- * Unique id for the element within a resource (for internal references).
1067
- * This may be any string value that does not contain spaces.
1068
- */
1069
- readonly id?: string;
1070
- /**
1071
- * May be used to represent additional information that is not part of
1072
- * the basic definition of the element. To make the use of extensions
1073
- * safe and manageable, there is a strict set of governance applied to
1074
- * the definition and use of extensions. Though any implementer can
1075
- * define an extension, there is a set of requirements that SHALL be met
1076
- * as part of the definition of the extension.
1077
- */
1078
- readonly extension?: Extension[];
1079
- /**
1080
- * May be used to represent additional information that is not part of
1081
- * the basic definition of the element and that modifies the
1082
- * understanding of the element in which it is contained and/or the
1083
- * understanding of the containing element's descendants. Usually
1084
- * modifier elements provide negation or qualification. To make the use
1085
- * of extensions safe and manageable, there is a strict set of governance
1086
- * applied to the definition and use of extensions. Though any
1087
- * implementer can define an extension, there is a set of requirements
1088
- * that SHALL be met as part of the definition of the extension.
1089
- * Applications processing a resource are required to check for modifier
1090
- * extensions.
1091
- *
1092
- * Modifier extensions SHALL NOT change the meaning of any elements on
1093
- * Resource or DomainResource (including cannot change the meaning of
1094
- * modifierExtension itself).
1095
- */
1096
- readonly modifierExtension?: Extension[];
1097
- /**
1098
- * An operation would involve a REST request to a server.
1099
- */
1100
- readonly operation?: TestScriptSetupActionOperation;
1101
- /**
1102
- * Evaluates the results of previous operations to determine if the
1103
- * server under test behaves appropriately.
1104
- */
1105
- readonly assert?: TestScriptSetupActionAssert;
1106
- }
1107
- /**
1108
- * Variable is set based either on element value in response body or on
1109
- * header field value in the response headers.
1110
- */
1111
- export interface TestScriptVariable {
1112
- /**
1113
- * Unique id for the element within a resource (for internal references).
1114
- * This may be any string value that does not contain spaces.
1115
- */
1116
- readonly id?: string;
1117
- /**
1118
- * May be used to represent additional information that is not part of
1119
- * the basic definition of the element. To make the use of extensions
1120
- * safe and manageable, there is a strict set of governance applied to
1121
- * the definition and use of extensions. Though any implementer can
1122
- * define an extension, there is a set of requirements that SHALL be met
1123
- * as part of the definition of the extension.
1124
- */
1125
- readonly extension?: Extension[];
1126
- /**
1127
- * May be used to represent additional information that is not part of
1128
- * the basic definition of the element and that modifies the
1129
- * understanding of the element in which it is contained and/or the
1130
- * understanding of the containing element's descendants. Usually
1131
- * modifier elements provide negation or qualification. To make the use
1132
- * of extensions safe and manageable, there is a strict set of governance
1133
- * applied to the definition and use of extensions. Though any
1134
- * implementer can define an extension, there is a set of requirements
1135
- * that SHALL be met as part of the definition of the extension.
1136
- * Applications processing a resource are required to check for modifier
1137
- * extensions.
1138
- *
1139
- * Modifier extensions SHALL NOT change the meaning of any elements on
1140
- * Resource or DomainResource (including cannot change the meaning of
1141
- * modifierExtension itself).
1142
- */
1143
- readonly modifierExtension?: Extension[];
1144
- /**
1145
- * Descriptive name for this variable.
1146
- */
1147
- readonly name?: string;
1148
- /**
1149
- * A default, hard-coded, or user-defined value for this variable.
1150
- */
1151
- readonly defaultValue?: string;
1152
- /**
1153
- * A free text natural language description of the variable and its
1154
- * purpose.
1155
- */
1156
- readonly description?: string;
1157
- /**
1158
- * The FHIRPath expression to evaluate against the fixture body. When
1159
- * variables are defined, only one of either expression, headerField or
1160
- * path must be specified.
1161
- */
1162
- readonly expression?: string;
1163
- /**
1164
- * Will be used to grab the HTTP header field value from the headers that
1165
- * sourceId is pointing to.
1166
- */
1167
- readonly headerField?: string;
1168
- /**
1169
- * Displayable text string with hint help information to the user when
1170
- * entering a default value.
1171
- */
1172
- readonly hint?: string;
1173
- /**
1174
- * XPath or JSONPath to evaluate against the fixture body. When
1175
- * variables are defined, only one of either expression, headerField or
1176
- * path must be specified.
1177
- */
1178
- readonly path?: string;
1179
- /**
1180
- * Fixture to evaluate the XPath/JSONPath expression or the headerField
1181
- * against within this variable.
1182
- */
1183
- readonly sourceId?: string;
1184
- }