@medplum/core 0.1.6 → 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 (679) hide show
  1. package/README.md +29 -25
  2. package/dist/cache.d.ts +1 -0
  3. package/dist/cache.js +3 -2
  4. package/dist/cache.js.map +1 -1
  5. package/dist/client.d.ts +72 -54
  6. package/dist/client.js +267 -223
  7. package/dist/client.js.map +1 -1
  8. package/dist/crypto.js +13 -2
  9. package/dist/crypto.js.map +1 -1
  10. package/dist/eventtarget.js +1 -2
  11. package/dist/eventtarget.js.map +1 -1
  12. package/dist/format.d.ts +1 -1
  13. package/dist/format.js +4 -4
  14. package/dist/format.js.map +1 -1
  15. package/dist/index.d.ts +1 -2
  16. package/dist/index.js +1 -2
  17. package/dist/index.js.map +1 -1
  18. package/dist/jwt.js.map +1 -1
  19. package/dist/outcomes.d.ts +4 -1
  20. package/dist/outcomes.js +71 -24
  21. package/dist/outcomes.js.map +1 -1
  22. package/dist/search.js +7 -9
  23. package/dist/search.js.map +1 -1
  24. package/dist/searchparams.d.ts +34 -0
  25. package/dist/searchparams.js +128 -0
  26. package/dist/searchparams.js.map +1 -0
  27. package/dist/storage.d.ts +36 -12
  28. package/dist/storage.js +55 -22
  29. package/dist/storage.js.map +1 -1
  30. package/dist/types.d.ts +3 -5
  31. package/dist/types.js +32 -18
  32. package/dist/types.js.map +1 -1
  33. package/dist/utils.d.ts +14 -3
  34. package/dist/utils.js +57 -12
  35. package/dist/utils.js.map +1 -1
  36. package/package.json +3 -16
  37. package/dist/cache.test.d.ts +0 -1
  38. package/dist/cache.test.js +0 -29
  39. package/dist/cache.test.js.map +0 -1
  40. package/dist/client.test.d.ts +0 -1
  41. package/dist/client.test.js +0 -294
  42. package/dist/client.test.js.map +0 -1
  43. package/dist/eventtarget.test.d.ts +0 -1
  44. package/dist/eventtarget.test.js +0 -44
  45. package/dist/eventtarget.test.js.map +0 -1
  46. package/dist/fhir/Account.d.ts +0 -240
  47. package/dist/fhir/Account.js +0 -7
  48. package/dist/fhir/Account.js.map +0 -1
  49. package/dist/fhir/ActivityDefinition.d.ts +0 -494
  50. package/dist/fhir/ActivityDefinition.js +0 -7
  51. package/dist/fhir/ActivityDefinition.js.map +0 -1
  52. package/dist/fhir/Address.d.ts +0 -74
  53. package/dist/fhir/Address.js +0 -7
  54. package/dist/fhir/Address.js.map +0 -1
  55. package/dist/fhir/AdverseEvent.d.ts +0 -287
  56. package/dist/fhir/AdverseEvent.js +0 -7
  57. package/dist/fhir/AdverseEvent.js.map +0 -1
  58. package/dist/fhir/Age.d.ts +0 -47
  59. package/dist/fhir/Age.js +0 -7
  60. package/dist/fhir/Age.js.map +0 -1
  61. package/dist/fhir/AllergyIntolerance.d.ts +0 -278
  62. package/dist/fhir/AllergyIntolerance.js +0 -7
  63. package/dist/fhir/AllergyIntolerance.js.map +0 -1
  64. package/dist/fhir/Annotation.d.ts +0 -38
  65. package/dist/fhir/Annotation.js +0 -7
  66. package/dist/fhir/Annotation.js.map +0 -1
  67. package/dist/fhir/Appointment.d.ts +0 -273
  68. package/dist/fhir/Appointment.js +0 -7
  69. package/dist/fhir/Appointment.js.map +0 -1
  70. package/dist/fhir/AppointmentResponse.d.ts +0 -123
  71. package/dist/fhir/AppointmentResponse.js +0 -7
  72. package/dist/fhir/AppointmentResponse.js.map +0 -1
  73. package/dist/fhir/Attachment.d.ts +0 -57
  74. package/dist/fhir/Attachment.js +0 -7
  75. package/dist/fhir/Attachment.js.map +0 -1
  76. package/dist/fhir/AuditEvent.d.ts +0 -458
  77. package/dist/fhir/AuditEvent.js +0 -7
  78. package/dist/fhir/AuditEvent.js.map +0 -1
  79. package/dist/fhir/Basic.d.ts +0 -105
  80. package/dist/fhir/Basic.js +0 -7
  81. package/dist/fhir/Basic.js.map +0 -1
  82. package/dist/fhir/Binary.d.ts +0 -58
  83. package/dist/fhir/Binary.js +0 -7
  84. package/dist/fhir/Binary.js.map +0 -1
  85. package/dist/fhir/BiologicallyDerivedProduct.d.ts +0 -356
  86. package/dist/fhir/BiologicallyDerivedProduct.js +0 -7
  87. package/dist/fhir/BiologicallyDerivedProduct.js.map +0 -1
  88. package/dist/fhir/BodyStructure.d.ts +0 -118
  89. package/dist/fhir/BodyStructure.js +0 -7
  90. package/dist/fhir/BodyStructure.js.map +0 -1
  91. package/dist/fhir/Bundle.d.ts +0 -373
  92. package/dist/fhir/Bundle.js +0 -7
  93. package/dist/fhir/Bundle.js.map +0 -1
  94. package/dist/fhir/CapabilityStatement.d.ts +0 -1068
  95. package/dist/fhir/CapabilityStatement.js +0 -7
  96. package/dist/fhir/CapabilityStatement.js.map +0 -1
  97. package/dist/fhir/CarePlan.d.ts +0 -421
  98. package/dist/fhir/CarePlan.js +0 -7
  99. package/dist/fhir/CarePlan.js.map +0 -1
  100. package/dist/fhir/CareTeam.d.ts +0 -203
  101. package/dist/fhir/CareTeam.js +0 -7
  102. package/dist/fhir/CareTeam.js.map +0 -1
  103. package/dist/fhir/CatalogEntry.d.ts +0 -184
  104. package/dist/fhir/CatalogEntry.js +0 -7
  105. package/dist/fhir/CatalogEntry.js.map +0 -1
  106. package/dist/fhir/ChargeItem.d.ts +0 -270
  107. package/dist/fhir/ChargeItem.js +0 -7
  108. package/dist/fhir/ChargeItem.js.map +0 -1
  109. package/dist/fhir/ChargeItemDefinition.d.ts +0 -402
  110. package/dist/fhir/ChargeItemDefinition.js +0 -7
  111. package/dist/fhir/ChargeItemDefinition.js.map +0 -1
  112. package/dist/fhir/Claim.d.ts +0 -1089
  113. package/dist/fhir/Claim.js +0 -7
  114. package/dist/fhir/Claim.js.map +0 -1
  115. package/dist/fhir/ClaimResponse.d.ts +0 -1037
  116. package/dist/fhir/ClaimResponse.js +0 -7
  117. package/dist/fhir/ClaimResponse.js.map +0 -1
  118. package/dist/fhir/ClientApplication.d.ts +0 -54
  119. package/dist/fhir/ClientApplication.js +0 -7
  120. package/dist/fhir/ClientApplication.js.map +0 -1
  121. package/dist/fhir/ClinicalImpression.d.ts +0 -301
  122. package/dist/fhir/ClinicalImpression.js +0 -7
  123. package/dist/fhir/ClinicalImpression.js.map +0 -1
  124. package/dist/fhir/CodeSystem.d.ts +0 -546
  125. package/dist/fhir/CodeSystem.js +0 -7
  126. package/dist/fhir/CodeSystem.js.map +0 -1
  127. package/dist/fhir/CodeableConcept.d.ts +0 -32
  128. package/dist/fhir/CodeableConcept.js +0 -7
  129. package/dist/fhir/CodeableConcept.js.map +0 -1
  130. package/dist/fhir/Coding.d.ts +0 -49
  131. package/dist/fhir/Coding.js +0 -7
  132. package/dist/fhir/Coding.js.map +0 -1
  133. package/dist/fhir/Communication.d.ts +0 -251
  134. package/dist/fhir/Communication.js +0 -7
  135. package/dist/fhir/Communication.js.map +0 -1
  136. package/dist/fhir/CommunicationRequest.d.ts +0 -248
  137. package/dist/fhir/CommunicationRequest.js +0 -7
  138. package/dist/fhir/CommunicationRequest.js.map +0 -1
  139. package/dist/fhir/CompartmentDefinition.d.ts +0 -218
  140. package/dist/fhir/CompartmentDefinition.js +0 -7
  141. package/dist/fhir/CompartmentDefinition.js.map +0 -1
  142. package/dist/fhir/Composition.d.ts +0 -455
  143. package/dist/fhir/Composition.js +0 -7
  144. package/dist/fhir/Composition.js.map +0 -1
  145. package/dist/fhir/ConceptMap.d.ts +0 -523
  146. package/dist/fhir/ConceptMap.js +0 -7
  147. package/dist/fhir/ConceptMap.js.map +0 -1
  148. package/dist/fhir/Condition.d.ts +0 -316
  149. package/dist/fhir/Condition.js +0 -7
  150. package/dist/fhir/Condition.js.map +0 -1
  151. package/dist/fhir/Consent.d.ts +0 -457
  152. package/dist/fhir/Consent.js +0 -7
  153. package/dist/fhir/Consent.js.map +0 -1
  154. package/dist/fhir/ContactDetail.d.ts +0 -30
  155. package/dist/fhir/ContactDetail.js +0 -7
  156. package/dist/fhir/ContactDetail.js.map +0 -1
  157. package/dist/fhir/ContactPoint.d.ts +0 -46
  158. package/dist/fhir/ContactPoint.js +0 -7
  159. package/dist/fhir/ContactPoint.js.map +0 -1
  160. package/dist/fhir/Contract.d.ts +0 -1431
  161. package/dist/fhir/Contract.js +0 -7
  162. package/dist/fhir/Contract.js.map +0 -1
  163. package/dist/fhir/Contributor.d.ts +0 -36
  164. package/dist/fhir/Contributor.js +0 -7
  165. package/dist/fhir/Contributor.js.map +0 -1
  166. package/dist/fhir/Count.d.ts +0 -49
  167. package/dist/fhir/Count.js +0 -7
  168. package/dist/fhir/Count.js.map +0 -1
  169. package/dist/fhir/Coverage.d.ts +0 -323
  170. package/dist/fhir/Coverage.js +0 -7
  171. package/dist/fhir/Coverage.js.map +0 -1
  172. package/dist/fhir/CoverageEligibilityRequest.d.ts +0 -409
  173. package/dist/fhir/CoverageEligibilityRequest.js +0 -7
  174. package/dist/fhir/CoverageEligibilityRequest.js.map +0 -1
  175. package/dist/fhir/CoverageEligibilityResponse.d.ts +0 -430
  176. package/dist/fhir/CoverageEligibilityResponse.js +0 -7
  177. package/dist/fhir/CoverageEligibilityResponse.js.map +0 -1
  178. package/dist/fhir/DataRequirement.d.ts +0 -288
  179. package/dist/fhir/DataRequirement.js +0 -7
  180. package/dist/fhir/DataRequirement.js.map +0 -1
  181. package/dist/fhir/DetectedIssue.d.ts +0 -249
  182. package/dist/fhir/DetectedIssue.js +0 -7
  183. package/dist/fhir/DetectedIssue.js.map +0 -1
  184. package/dist/fhir/Device.d.ts +0 -488
  185. package/dist/fhir/Device.js +0 -7
  186. package/dist/fhir/Device.js.map +0 -1
  187. package/dist/fhir/DeviceDefinition.d.ts +0 -484
  188. package/dist/fhir/DeviceDefinition.js +0 -7
  189. package/dist/fhir/DeviceDefinition.js.map +0 -1
  190. package/dist/fhir/DeviceMetric.d.ts +0 -198
  191. package/dist/fhir/DeviceMetric.js +0 -7
  192. package/dist/fhir/DeviceMetric.js.map +0 -1
  193. package/dist/fhir/DeviceRequest.d.ts +0 -279
  194. package/dist/fhir/DeviceRequest.js +0 -7
  195. package/dist/fhir/DeviceRequest.js.map +0 -1
  196. package/dist/fhir/DeviceUseStatement.d.ts +0 -153
  197. package/dist/fhir/DeviceUseStatement.js +0 -7
  198. package/dist/fhir/DeviceUseStatement.js.map +0 -1
  199. package/dist/fhir/DiagnosticReport.d.ts +0 -239
  200. package/dist/fhir/DiagnosticReport.js +0 -7
  201. package/dist/fhir/DiagnosticReport.js.map +0 -1
  202. package/dist/fhir/Distance.d.ts +0 -46
  203. package/dist/fhir/Distance.js +0 -7
  204. package/dist/fhir/Distance.js.map +0 -1
  205. package/dist/fhir/DocumentManifest.d.ts +0 -190
  206. package/dist/fhir/DocumentManifest.js +0 -7
  207. package/dist/fhir/DocumentManifest.js.map +0 -1
  208. package/dist/fhir/DocumentReference.d.ts +0 -353
  209. package/dist/fhir/DocumentReference.js +0 -7
  210. package/dist/fhir/DocumentReference.js.map +0 -1
  211. package/dist/fhir/Dosage.d.ts +0 -171
  212. package/dist/fhir/Dosage.js +0 -7
  213. package/dist/fhir/Dosage.js.map +0 -1
  214. package/dist/fhir/Duration.d.ts +0 -46
  215. package/dist/fhir/Duration.js +0 -7
  216. package/dist/fhir/Duration.js.map +0 -1
  217. package/dist/fhir/EffectEvidenceSynthesis.d.ts +0 -600
  218. package/dist/fhir/EffectEvidenceSynthesis.js +0 -7
  219. package/dist/fhir/EffectEvidenceSynthesis.js.map +0 -1
  220. package/dist/fhir/Element.d.ts +0 -20
  221. package/dist/fhir/Element.js +0 -7
  222. package/dist/fhir/Element.js.map +0 -1
  223. package/dist/fhir/ElementDefinition.d.ts +0 -2828
  224. package/dist/fhir/ElementDefinition.js +0 -7
  225. package/dist/fhir/ElementDefinition.js.map +0 -1
  226. package/dist/fhir/Encounter.d.ts +0 -546
  227. package/dist/fhir/Encounter.js +0 -7
  228. package/dist/fhir/Encounter.js.map +0 -1
  229. package/dist/fhir/Endpoint.d.ts +0 -139
  230. package/dist/fhir/Endpoint.js +0 -7
  231. package/dist/fhir/Endpoint.js.map +0 -1
  232. package/dist/fhir/EnrollmentRequest.d.ts +0 -108
  233. package/dist/fhir/EnrollmentRequest.js +0 -7
  234. package/dist/fhir/EnrollmentRequest.js.map +0 -1
  235. package/dist/fhir/EnrollmentResponse.d.ts +0 -113
  236. package/dist/fhir/EnrollmentResponse.js +0 -7
  237. package/dist/fhir/EnrollmentResponse.js.map +0 -1
  238. package/dist/fhir/EpisodeOfCare.d.ts +0 -243
  239. package/dist/fhir/EpisodeOfCare.js +0 -7
  240. package/dist/fhir/EpisodeOfCare.js.map +0 -1
  241. package/dist/fhir/EventDefinition.d.ts +0 -252
  242. package/dist/fhir/EventDefinition.js +0 -7
  243. package/dist/fhir/EventDefinition.js.map +0 -1
  244. package/dist/fhir/Evidence.d.ts +0 -251
  245. package/dist/fhir/Evidence.js +0 -7
  246. package/dist/fhir/Evidence.js.map +0 -1
  247. package/dist/fhir/EvidenceVariable.d.ts +0 -369
  248. package/dist/fhir/EvidenceVariable.js +0 -7
  249. package/dist/fhir/EvidenceVariable.js.map +0 -1
  250. package/dist/fhir/ExampleScenario.d.ts +0 -626
  251. package/dist/fhir/ExampleScenario.js +0 -7
  252. package/dist/fhir/ExampleScenario.js.map +0 -1
  253. package/dist/fhir/ExplanationOfBenefit.d.ts +0 -1854
  254. package/dist/fhir/ExplanationOfBenefit.js +0 -7
  255. package/dist/fhir/ExplanationOfBenefit.js.map +0 -1
  256. package/dist/fhir/Expression.d.ts +0 -45
  257. package/dist/fhir/Expression.js +0 -7
  258. package/dist/fhir/Expression.js.map +0 -1
  259. package/dist/fhir/Extension.d.ts +0 -305
  260. package/dist/fhir/Extension.js +0 -7
  261. package/dist/fhir/Extension.js.map +0 -1
  262. package/dist/fhir/FamilyMemberHistory.d.ts +0 -297
  263. package/dist/fhir/FamilyMemberHistory.js +0 -7
  264. package/dist/fhir/FamilyMemberHistory.js.map +0 -1
  265. package/dist/fhir/Flag.d.ts +0 -121
  266. package/dist/fhir/Flag.js +0 -7
  267. package/dist/fhir/Flag.js.map +0 -1
  268. package/dist/fhir/Goal.d.ts +0 -290
  269. package/dist/fhir/Goal.js +0 -7
  270. package/dist/fhir/Goal.js.map +0 -1
  271. package/dist/fhir/GraphDefinition.d.ts +0 -359
  272. package/dist/fhir/GraphDefinition.js +0 -7
  273. package/dist/fhir/GraphDefinition.js.map +0 -1
  274. package/dist/fhir/Group.d.ts +0 -268
  275. package/dist/fhir/Group.js +0 -7
  276. package/dist/fhir/Group.js.map +0 -1
  277. package/dist/fhir/GuidanceResponse.d.ts +0 -184
  278. package/dist/fhir/GuidanceResponse.js +0 -7
  279. package/dist/fhir/GuidanceResponse.js.map +0 -1
  280. package/dist/fhir/HealthcareService.d.ts +0 -351
  281. package/dist/fhir/HealthcareService.js +0 -7
  282. package/dist/fhir/HealthcareService.js.map +0 -1
  283. package/dist/fhir/HumanName.d.ts +0 -57
  284. package/dist/fhir/HumanName.js +0 -7
  285. package/dist/fhir/HumanName.js.map +0 -1
  286. package/dist/fhir/Identifier.d.ts +0 -51
  287. package/dist/fhir/Identifier.js +0 -7
  288. package/dist/fhir/Identifier.js.map +0 -1
  289. package/dist/fhir/ImagingStudy.d.ts +0 -398
  290. package/dist/fhir/ImagingStudy.js +0 -7
  291. package/dist/fhir/ImagingStudy.js.map +0 -1
  292. package/dist/fhir/Immunization.d.ts +0 -440
  293. package/dist/fhir/Immunization.js +0 -7
  294. package/dist/fhir/Immunization.js.map +0 -1
  295. package/dist/fhir/ImmunizationEvaluation.d.ts +0 -146
  296. package/dist/fhir/ImmunizationEvaluation.js +0 -7
  297. package/dist/fhir/ImmunizationEvaluation.js.map +0 -1
  298. package/dist/fhir/ImmunizationRecommendation.d.ts +0 -253
  299. package/dist/fhir/ImmunizationRecommendation.js +0 -7
  300. package/dist/fhir/ImmunizationRecommendation.js.map +0 -1
  301. package/dist/fhir/ImplementationGuide.d.ts +0 -854
  302. package/dist/fhir/ImplementationGuide.js +0 -7
  303. package/dist/fhir/ImplementationGuide.js.map +0 -1
  304. package/dist/fhir/InsurancePlan.d.ts +0 -630
  305. package/dist/fhir/InsurancePlan.js +0 -7
  306. package/dist/fhir/InsurancePlan.js.map +0 -1
  307. package/dist/fhir/Invoice.d.ts +0 -331
  308. package/dist/fhir/Invoice.js +0 -7
  309. package/dist/fhir/Invoice.js.map +0 -1
  310. package/dist/fhir/JsonWebKey.d.ts +0 -99
  311. package/dist/fhir/JsonWebKey.js +0 -7
  312. package/dist/fhir/JsonWebKey.js.map +0 -1
  313. package/dist/fhir/Library.d.ts +0 -276
  314. package/dist/fhir/Library.js +0 -7
  315. package/dist/fhir/Library.js.map +0 -1
  316. package/dist/fhir/Linkage.d.ts +0 -142
  317. package/dist/fhir/Linkage.js +0 -7
  318. package/dist/fhir/Linkage.js.map +0 -1
  319. package/dist/fhir/List.d.ts +0 -193
  320. package/dist/fhir/List.js +0 -7
  321. package/dist/fhir/List.js.map +0 -1
  322. package/dist/fhir/Location.d.ts +0 -278
  323. package/dist/fhir/Location.js +0 -7
  324. package/dist/fhir/Location.js.map +0 -1
  325. package/dist/fhir/Login.d.ts +0 -108
  326. package/dist/fhir/Login.js +0 -7
  327. package/dist/fhir/Login.js.map +0 -1
  328. package/dist/fhir/MarketingStatus.d.ts +0 -82
  329. package/dist/fhir/MarketingStatus.js +0 -7
  330. package/dist/fhir/MarketingStatus.js.map +0 -1
  331. package/dist/fhir/Measure.d.ts +0 -613
  332. package/dist/fhir/Measure.js +0 -7
  333. package/dist/fhir/Measure.js.map +0 -1
  334. package/dist/fhir/MeasureReport.d.ts +0 -460
  335. package/dist/fhir/MeasureReport.js +0 -7
  336. package/dist/fhir/MeasureReport.js.map +0 -1
  337. package/dist/fhir/Media.d.ts +0 -191
  338. package/dist/fhir/Media.js +0 -7
  339. package/dist/fhir/Media.js.map +0 -1
  340. package/dist/fhir/Medication.d.ts +0 -234
  341. package/dist/fhir/Medication.js +0 -7
  342. package/dist/fhir/Medication.js.map +0 -1
  343. package/dist/fhir/MedicationAdministration.d.ts +0 -343
  344. package/dist/fhir/MedicationAdministration.js +0 -7
  345. package/dist/fhir/MedicationAdministration.js.map +0 -1
  346. package/dist/fhir/MedicationDispense.d.ts +0 -332
  347. package/dist/fhir/MedicationDispense.js +0 -7
  348. package/dist/fhir/MedicationDispense.js.map +0 -1
  349. package/dist/fhir/MedicationKnowledge.d.ts +0 -979
  350. package/dist/fhir/MedicationKnowledge.js +0 -7
  351. package/dist/fhir/MedicationKnowledge.js.map +0 -1
  352. package/dist/fhir/MedicationRequest.d.ts +0 -468
  353. package/dist/fhir/MedicationRequest.js +0 -7
  354. package/dist/fhir/MedicationRequest.js.map +0 -1
  355. package/dist/fhir/MedicationStatement.d.ts +0 -210
  356. package/dist/fhir/MedicationStatement.js +0 -7
  357. package/dist/fhir/MedicationStatement.js.map +0 -1
  358. package/dist/fhir/MedicinalProduct.d.ts +0 -449
  359. package/dist/fhir/MedicinalProduct.js +0 -7
  360. package/dist/fhir/MedicinalProduct.js.map +0 -1
  361. package/dist/fhir/MedicinalProductAuthorization.d.ts +0 -267
  362. package/dist/fhir/MedicinalProductAuthorization.js +0 -7
  363. package/dist/fhir/MedicinalProductAuthorization.js.map +0 -1
  364. package/dist/fhir/MedicinalProductContraindication.d.ts +0 -165
  365. package/dist/fhir/MedicinalProductContraindication.js +0 -7
  366. package/dist/fhir/MedicinalProductContraindication.js.map +0 -1
  367. package/dist/fhir/MedicinalProductIndication.d.ts +0 -173
  368. package/dist/fhir/MedicinalProductIndication.js +0 -7
  369. package/dist/fhir/MedicinalProductIndication.js.map +0 -1
  370. package/dist/fhir/MedicinalProductIngredient.d.ts +0 -334
  371. package/dist/fhir/MedicinalProductIngredient.js +0 -7
  372. package/dist/fhir/MedicinalProductIngredient.js.map +0 -1
  373. package/dist/fhir/MedicinalProductInteraction.d.ts +0 -155
  374. package/dist/fhir/MedicinalProductInteraction.js +0 -7
  375. package/dist/fhir/MedicinalProductInteraction.js.map +0 -1
  376. package/dist/fhir/MedicinalProductManufactured.d.ts +0 -111
  377. package/dist/fhir/MedicinalProductManufactured.js +0 -7
  378. package/dist/fhir/MedicinalProductManufactured.js.map +0 -1
  379. package/dist/fhir/MedicinalProductPackaged.d.ts +0 -253
  380. package/dist/fhir/MedicinalProductPackaged.js +0 -7
  381. package/dist/fhir/MedicinalProductPackaged.js.map +0 -1
  382. package/dist/fhir/MedicinalProductPharmaceutical.d.ts +0 -331
  383. package/dist/fhir/MedicinalProductPharmaceutical.js +0 -7
  384. package/dist/fhir/MedicinalProductPharmaceutical.js.map +0 -1
  385. package/dist/fhir/MedicinalProductUndesirableEffect.d.ts +0 -99
  386. package/dist/fhir/MedicinalProductUndesirableEffect.js +0 -7
  387. package/dist/fhir/MedicinalProductUndesirableEffect.js.map +0 -1
  388. package/dist/fhir/MessageDefinition.d.ts +0 -331
  389. package/dist/fhir/MessageDefinition.js +0 -7
  390. package/dist/fhir/MessageDefinition.js.map +0 -1
  391. package/dist/fhir/MessageHeader.d.ts +0 -329
  392. package/dist/fhir/MessageHeader.js +0 -7
  393. package/dist/fhir/MessageHeader.js.map +0 -1
  394. package/dist/fhir/Meta.d.ts +0 -68
  395. package/dist/fhir/Meta.js +0 -7
  396. package/dist/fhir/Meta.js.map +0 -1
  397. package/dist/fhir/MolecularSequence.d.ts +0 -746
  398. package/dist/fhir/MolecularSequence.js +0 -7
  399. package/dist/fhir/MolecularSequence.js.map +0 -1
  400. package/dist/fhir/Money.d.ts +0 -28
  401. package/dist/fhir/Money.js +0 -7
  402. package/dist/fhir/Money.js.map +0 -1
  403. package/dist/fhir/NamingSystem.d.ts +0 -219
  404. package/dist/fhir/NamingSystem.js +0 -7
  405. package/dist/fhir/NamingSystem.js.map +0 -1
  406. package/dist/fhir/Narrative.d.ts +0 -31
  407. package/dist/fhir/Narrative.js +0 -7
  408. package/dist/fhir/Narrative.js.map +0 -1
  409. package/dist/fhir/NutritionOrder.d.ts +0 -558
  410. package/dist/fhir/NutritionOrder.js +0 -7
  411. package/dist/fhir/NutritionOrder.js.map +0 -1
  412. package/dist/fhir/Observation.d.ts +0 -487
  413. package/dist/fhir/Observation.js +0 -7
  414. package/dist/fhir/Observation.js.map +0 -1
  415. package/dist/fhir/ObservationDefinition.d.ts +0 -277
  416. package/dist/fhir/ObservationDefinition.js +0 -7
  417. package/dist/fhir/ObservationDefinition.js.map +0 -1
  418. package/dist/fhir/OperationDefinition.d.ts +0 -468
  419. package/dist/fhir/OperationDefinition.js +0 -7
  420. package/dist/fhir/OperationDefinition.js.map +0 -1
  421. package/dist/fhir/OperationOutcome.d.ts +0 -168
  422. package/dist/fhir/OperationOutcome.js +0 -7
  423. package/dist/fhir/OperationOutcome.js.map +0 -1
  424. package/dist/fhir/Organization.d.ts +0 -187
  425. package/dist/fhir/Organization.js +0 -7
  426. package/dist/fhir/Organization.js.map +0 -1
  427. package/dist/fhir/OrganizationAffiliation.d.ts +0 -141
  428. package/dist/fhir/OrganizationAffiliation.js +0 -7
  429. package/dist/fhir/OrganizationAffiliation.js.map +0 -1
  430. package/dist/fhir/ParameterDefinition.d.ts +0 -56
  431. package/dist/fhir/ParameterDefinition.js +0 -7
  432. package/dist/fhir/ParameterDefinition.js.map +0 -1
  433. package/dist/fhir/Parameters.d.ts +0 -321
  434. package/dist/fhir/Parameters.js +0 -7
  435. package/dist/fhir/Parameters.js.map +0 -1
  436. package/dist/fhir/PasswordChangeRequest.d.ts +0 -50
  437. package/dist/fhir/PasswordChangeRequest.js +0 -7
  438. package/dist/fhir/PasswordChangeRequest.js.map +0 -1
  439. package/dist/fhir/Patient.d.ts +0 -339
  440. package/dist/fhir/Patient.js +0 -7
  441. package/dist/fhir/Patient.js.map +0 -1
  442. package/dist/fhir/PaymentNotice.d.ts +0 -131
  443. package/dist/fhir/PaymentNotice.js +0 -7
  444. package/dist/fhir/PaymentNotice.js.map +0 -1
  445. package/dist/fhir/PaymentReconciliation.d.ts +0 -276
  446. package/dist/fhir/PaymentReconciliation.js +0 -7
  447. package/dist/fhir/PaymentReconciliation.js.map +0 -1
  448. package/dist/fhir/Period.d.ts +0 -31
  449. package/dist/fhir/Period.js +0 -7
  450. package/dist/fhir/Period.js.map +0 -1
  451. package/dist/fhir/Person.d.ts +0 -172
  452. package/dist/fhir/Person.js +0 -7
  453. package/dist/fhir/Person.js.map +0 -1
  454. package/dist/fhir/PlanDefinition.d.ts +0 -855
  455. package/dist/fhir/PlanDefinition.js +0 -7
  456. package/dist/fhir/PlanDefinition.js.map +0 -1
  457. package/dist/fhir/Population.d.ts +0 -61
  458. package/dist/fhir/Population.js +0 -7
  459. package/dist/fhir/Population.js.map +0 -1
  460. package/dist/fhir/Practitioner.d.ts +0 -188
  461. package/dist/fhir/Practitioner.js +0 -7
  462. package/dist/fhir/Practitioner.js.map +0 -1
  463. package/dist/fhir/PractitionerRole.d.ts +0 -254
  464. package/dist/fhir/PractitionerRole.js +0 -7
  465. package/dist/fhir/PractitionerRole.js.map +0 -1
  466. package/dist/fhir/Procedure.d.ts +0 -355
  467. package/dist/fhir/Procedure.js +0 -7
  468. package/dist/fhir/Procedure.js.map +0 -1
  469. package/dist/fhir/ProdCharacteristic.d.ts +0 -112
  470. package/dist/fhir/ProdCharacteristic.js +0 -7
  471. package/dist/fhir/ProdCharacteristic.js.map +0 -1
  472. package/dist/fhir/ProductShelfLife.d.ts +0 -69
  473. package/dist/fhir/ProductShelfLife.js +0 -7
  474. package/dist/fhir/ProductShelfLife.js.map +0 -1
  475. package/dist/fhir/Project.d.ts +0 -46
  476. package/dist/fhir/Project.js +0 -7
  477. package/dist/fhir/Project.js.map +0 -1
  478. package/dist/fhir/ProjectMembership.d.ts +0 -54
  479. package/dist/fhir/ProjectMembership.js +0 -7
  480. package/dist/fhir/ProjectMembership.js.map +0 -1
  481. package/dist/fhir/Provenance.d.ts +0 -270
  482. package/dist/fhir/Provenance.js +0 -7
  483. package/dist/fhir/Provenance.js.map +0 -1
  484. package/dist/fhir/Quantity.d.ts +0 -49
  485. package/dist/fhir/Quantity.js +0 -7
  486. package/dist/fhir/Quantity.js.map +0 -1
  487. package/dist/fhir/Questionnaire.d.ts +0 -610
  488. package/dist/fhir/Questionnaire.js +0 -7
  489. package/dist/fhir/Questionnaire.js.map +0 -1
  490. package/dist/fhir/QuestionnaireResponse.d.ts +0 -305
  491. package/dist/fhir/QuestionnaireResponse.js +0 -7
  492. package/dist/fhir/QuestionnaireResponse.js.map +0 -1
  493. package/dist/fhir/Range.d.ts +0 -29
  494. package/dist/fhir/Range.js +0 -7
  495. package/dist/fhir/Range.js.map +0 -1
  496. package/dist/fhir/Ratio.d.ts +0 -30
  497. package/dist/fhir/Ratio.js +0 -7
  498. package/dist/fhir/Ratio.js.map +0 -1
  499. package/dist/fhir/Reference.d.ts +0 -66
  500. package/dist/fhir/Reference.js +0 -7
  501. package/dist/fhir/Reference.js.map +0 -1
  502. package/dist/fhir/RefreshToken.d.ts +0 -45
  503. package/dist/fhir/RefreshToken.js +0 -7
  504. package/dist/fhir/RefreshToken.js.map +0 -1
  505. package/dist/fhir/RelatedArtifact.d.ts +0 -56
  506. package/dist/fhir/RelatedArtifact.js +0 -7
  507. package/dist/fhir/RelatedArtifact.js.map +0 -1
  508. package/dist/fhir/RelatedPerson.d.ts +0 -190
  509. package/dist/fhir/RelatedPerson.js +0 -7
  510. package/dist/fhir/RelatedPerson.js.map +0 -1
  511. package/dist/fhir/RequestGroup.d.ts +0 -427
  512. package/dist/fhir/RequestGroup.js +0 -7
  513. package/dist/fhir/RequestGroup.js.map +0 -1
  514. package/dist/fhir/ResearchDefinition.d.ts +0 -289
  515. package/dist/fhir/ResearchDefinition.js +0 -7
  516. package/dist/fhir/ResearchDefinition.js.map +0 -1
  517. package/dist/fhir/ResearchElementDefinition.d.ts +0 -430
  518. package/dist/fhir/ResearchElementDefinition.js +0 -7
  519. package/dist/fhir/ResearchElementDefinition.js.map +0 -1
  520. package/dist/fhir/ResearchStudy.d.ts +0 -320
  521. package/dist/fhir/ResearchStudy.js +0 -7
  522. package/dist/fhir/ResearchStudy.js.map +0 -1
  523. package/dist/fhir/ResearchSubject.d.ts +0 -116
  524. package/dist/fhir/ResearchSubject.js +0 -7
  525. package/dist/fhir/ResearchSubject.js.map +0 -1
  526. package/dist/fhir/Resource.d.ts +0 -154
  527. package/dist/fhir/Resource.js +0 -7
  528. package/dist/fhir/Resource.js.map +0 -1
  529. package/dist/fhir/RiskAssessment.d.ts +0 -237
  530. package/dist/fhir/RiskAssessment.js +0 -7
  531. package/dist/fhir/RiskAssessment.js.map +0 -1
  532. package/dist/fhir/RiskEvidenceSynthesis.d.ts +0 -539
  533. package/dist/fhir/RiskEvidenceSynthesis.js +0 -7
  534. package/dist/fhir/RiskEvidenceSynthesis.js.map +0 -1
  535. package/dist/fhir/SampledData.d.ts +0 -61
  536. package/dist/fhir/SampledData.js +0 -7
  537. package/dist/fhir/SampledData.js.map +0 -1
  538. package/dist/fhir/Schedule.d.ts +0 -122
  539. package/dist/fhir/Schedule.js +0 -7
  540. package/dist/fhir/Schedule.js.map +0 -1
  541. package/dist/fhir/SearchParameter.d.ts +0 -278
  542. package/dist/fhir/SearchParameter.js +0 -7
  543. package/dist/fhir/SearchParameter.js.map +0 -1
  544. package/dist/fhir/ServiceRequest.d.ts +0 -288
  545. package/dist/fhir/ServiceRequest.js +0 -7
  546. package/dist/fhir/ServiceRequest.js.map +0 -1
  547. package/dist/fhir/Signature.d.ts +0 -65
  548. package/dist/fhir/Signature.js +0 -7
  549. package/dist/fhir/Signature.js.map +0 -1
  550. package/dist/fhir/Slot.d.ts +0 -133
  551. package/dist/fhir/Slot.js +0 -7
  552. package/dist/fhir/Slot.js.map +0 -1
  553. package/dist/fhir/Specimen.d.ts +0 -357
  554. package/dist/fhir/Specimen.js +0 -7
  555. package/dist/fhir/Specimen.js.map +0 -1
  556. package/dist/fhir/SpecimenDefinition.d.ts +0 -359
  557. package/dist/fhir/SpecimenDefinition.js +0 -7
  558. package/dist/fhir/SpecimenDefinition.js.map +0 -1
  559. package/dist/fhir/StructureDefinition.d.ts +0 -443
  560. package/dist/fhir/StructureDefinition.js +0 -7
  561. package/dist/fhir/StructureDefinition.js.map +0 -1
  562. package/dist/fhir/StructureMap.d.ts +0 -908
  563. package/dist/fhir/StructureMap.js +0 -7
  564. package/dist/fhir/StructureMap.js.map +0 -1
  565. package/dist/fhir/Subscription.d.ts +0 -176
  566. package/dist/fhir/Subscription.js +0 -7
  567. package/dist/fhir/Subscription.js.map +0 -1
  568. package/dist/fhir/Substance.d.ts +0 -212
  569. package/dist/fhir/Substance.js +0 -7
  570. package/dist/fhir/Substance.js.map +0 -1
  571. package/dist/fhir/SubstanceAmount.d.ts +0 -138
  572. package/dist/fhir/SubstanceAmount.js +0 -7
  573. package/dist/fhir/SubstanceAmount.js.map +0 -1
  574. package/dist/fhir/SubstanceNucleicAcid.d.ts +0 -316
  575. package/dist/fhir/SubstanceNucleicAcid.js +0 -7
  576. package/dist/fhir/SubstanceNucleicAcid.js.map +0 -1
  577. package/dist/fhir/SubstancePolymer.d.ts +0 -405
  578. package/dist/fhir/SubstancePolymer.js +0 -7
  579. package/dist/fhir/SubstancePolymer.js.map +0 -1
  580. package/dist/fhir/SubstanceProtein.d.ts +0 -217
  581. package/dist/fhir/SubstanceProtein.js +0 -7
  582. package/dist/fhir/SubstanceProtein.js.map +0 -1
  583. package/dist/fhir/SubstanceReferenceInformation.d.ts +0 -329
  584. package/dist/fhir/SubstanceReferenceInformation.js +0 -7
  585. package/dist/fhir/SubstanceReferenceInformation.js.map +0 -1
  586. package/dist/fhir/SubstanceSourceMaterial.d.ts +0 -594
  587. package/dist/fhir/SubstanceSourceMaterial.js +0 -7
  588. package/dist/fhir/SubstanceSourceMaterial.js.map +0 -1
  589. package/dist/fhir/SubstanceSpecification.d.ts +0 -826
  590. package/dist/fhir/SubstanceSpecification.js +0 -7
  591. package/dist/fhir/SubstanceSpecification.js.map +0 -1
  592. package/dist/fhir/SupplyDelivery.d.ts +0 -195
  593. package/dist/fhir/SupplyDelivery.js +0 -7
  594. package/dist/fhir/SupplyDelivery.js.map +0 -1
  595. package/dist/fhir/SupplyRequest.d.ts +0 -223
  596. package/dist/fhir/SupplyRequest.js +0 -7
  597. package/dist/fhir/SupplyRequest.js.map +0 -1
  598. package/dist/fhir/Task.d.ts +0 -789
  599. package/dist/fhir/Task.js +0 -7
  600. package/dist/fhir/Task.js.map +0 -1
  601. package/dist/fhir/TerminologyCapabilities.d.ts +0 -734
  602. package/dist/fhir/TerminologyCapabilities.js +0 -7
  603. package/dist/fhir/TerminologyCapabilities.js.map +0 -1
  604. package/dist/fhir/TestReport.d.ts +0 -554
  605. package/dist/fhir/TestReport.js +0 -7
  606. package/dist/fhir/TestReport.js.map +0 -1
  607. package/dist/fhir/TestScript.d.ts +0 -1192
  608. package/dist/fhir/TestScript.js +0 -7
  609. package/dist/fhir/TestScript.js.map +0 -1
  610. package/dist/fhir/Timing.d.ts +0 -201
  611. package/dist/fhir/Timing.js +0 -7
  612. package/dist/fhir/Timing.js.map +0 -1
  613. package/dist/fhir/TriggerDefinition.d.ts +0 -63
  614. package/dist/fhir/TriggerDefinition.js +0 -7
  615. package/dist/fhir/TriggerDefinition.js.map +0 -1
  616. package/dist/fhir/UsageContext.d.ts +0 -54
  617. package/dist/fhir/UsageContext.js +0 -7
  618. package/dist/fhir/UsageContext.js.map +0 -1
  619. package/dist/fhir/User.d.ts +0 -44
  620. package/dist/fhir/User.js +0 -7
  621. package/dist/fhir/User.js.map +0 -1
  622. package/dist/fhir/ValueSet.d.ts +0 -736
  623. package/dist/fhir/ValueSet.js +0 -7
  624. package/dist/fhir/ValueSet.js.map +0 -1
  625. package/dist/fhir/VerificationResult.d.ts +0 -340
  626. package/dist/fhir/VerificationResult.js +0 -7
  627. package/dist/fhir/VerificationResult.js.map +0 -1
  628. package/dist/fhir/VisionPrescription.d.ts +0 -261
  629. package/dist/fhir/VisionPrescription.js +0 -7
  630. package/dist/fhir/VisionPrescription.js.map +0 -1
  631. package/dist/fhir/index.d.ts +0 -194
  632. package/dist/fhir/index.js +0 -211
  633. package/dist/fhir/index.js.map +0 -1
  634. package/dist/fhirpath/functions.d.ts +0 -6
  635. package/dist/fhirpath/functions.js +0 -349
  636. package/dist/fhirpath/functions.js.map +0 -1
  637. package/dist/fhirpath/functions.test.d.ts +0 -1
  638. package/dist/fhirpath/functions.test.js +0 -162
  639. package/dist/fhirpath/functions.test.js.map +0 -1
  640. package/dist/fhirpath/index.d.ts +0 -2
  641. package/dist/fhirpath/index.js +0 -15
  642. package/dist/fhirpath/index.js.map +0 -1
  643. package/dist/fhirpath/parse.d.ts +0 -10
  644. package/dist/fhirpath/parse.js +0 -285
  645. package/dist/fhirpath/parse.js.map +0 -1
  646. package/dist/fhirpath/parse.test.d.ts +0 -1
  647. package/dist/fhirpath/parse.test.js +0 -239
  648. package/dist/fhirpath/parse.test.js.map +0 -1
  649. package/dist/fhirpath/tokenize.d.ts +0 -13
  650. package/dist/fhirpath/tokenize.js +0 -43
  651. package/dist/fhirpath/tokenize.js.map +0 -1
  652. package/dist/fhirpath/tokenize.test.d.ts +0 -1
  653. package/dist/fhirpath/tokenize.test.js +0 -69
  654. package/dist/fhirpath/tokenize.test.js.map +0 -1
  655. package/dist/fhirpath/utils.d.ts +0 -13
  656. package/dist/fhirpath/utils.js +0 -34
  657. package/dist/fhirpath/utils.js.map +0 -1
  658. package/dist/fhirpath/utils.test.d.ts +0 -1
  659. package/dist/fhirpath/utils.test.js +0 -22
  660. package/dist/fhirpath/utils.test.js.map +0 -1
  661. package/dist/format.test.d.ts +0 -1
  662. package/dist/format.test.js +0 -127
  663. package/dist/format.test.js.map +0 -1
  664. package/dist/index.test.d.ts +0 -1
  665. package/dist/index.test.js +0 -11
  666. package/dist/index.test.js.map +0 -1
  667. package/dist/outcomes.test.d.ts +0 -1
  668. package/dist/outcomes.test.js +0 -30
  669. package/dist/outcomes.test.js.map +0 -1
  670. package/dist/search.test.d.ts +0 -1
  671. package/dist/search.test.js +0 -70
  672. package/dist/search.test.js.map +0 -1
  673. package/dist/storage.test.d.ts +0 -1
  674. package/dist/storage.test.js +0 -19
  675. package/dist/storage.test.js.map +0 -1
  676. package/dist/tsconfig.tsbuildinfo +0 -1
  677. package/dist/utils.test.d.ts +0 -1
  678. package/dist/utils.test.js +0 -90
  679. package/dist/utils.test.js.map +0 -1
@@ -1,1192 +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?: 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[];
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
- * A structured set of tests against a FHIR server or client
221
- * implementation to determine compliance against the FHIR specification.
222
- */
223
- export interface TestScriptAction {
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
- * The operation to perform.
258
- */
259
- readonly operation?: TestScriptOperation;
260
- /**
261
- * Evaluates the results of previous operations to determine if the
262
- * server under test behaves appropriately.
263
- */
264
- readonly assert?: TestScriptAssert;
265
- }
266
- /**
267
- * A structured set of tests against a FHIR server or client
268
- * implementation to determine compliance against the FHIR specification.
269
- */
270
- export interface TestScriptAction1 {
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
- * An operation would involve a REST request to a server.
305
- */
306
- readonly operation?: TestScriptOperation;
307
- /**
308
- * Evaluates the results of previous operations to determine if the
309
- * server under test behaves appropriately.
310
- */
311
- readonly assert?: TestScriptAssert;
312
- }
313
- /**
314
- * A structured set of tests against a FHIR server or client
315
- * implementation to determine compliance against the FHIR specification.
316
- */
317
- export interface TestScriptAction2 {
318
- /**
319
- * Unique id for the element within a resource (for internal references).
320
- * This may be any string value that does not contain spaces.
321
- */
322
- readonly id?: string;
323
- /**
324
- * May be used to represent additional information that is not part of
325
- * the basic definition of the element. To make the use of extensions
326
- * safe and manageable, there is a strict set of governance applied to
327
- * the definition and use of extensions. Though any implementer can
328
- * define an extension, there is a set of requirements that SHALL be met
329
- * as part of the definition of the extension.
330
- */
331
- readonly extension?: Extension[];
332
- /**
333
- * May be used to represent additional information that is not part of
334
- * the basic definition of the element and that modifies the
335
- * understanding of the element in which it is contained and/or the
336
- * understanding of the containing element's descendants. Usually
337
- * modifier elements provide negation or qualification. To make the use
338
- * of extensions safe and manageable, there is a strict set of governance
339
- * applied to the definition and use of extensions. Though any
340
- * implementer can define an extension, there is a set of requirements
341
- * that SHALL be met as part of the definition of the extension.
342
- * Applications processing a resource are required to check for modifier
343
- * extensions.
344
- *
345
- * Modifier extensions SHALL NOT change the meaning of any elements on
346
- * Resource or DomainResource (including cannot change the meaning of
347
- * modifierExtension itself).
348
- */
349
- readonly modifierExtension?: Extension[];
350
- /**
351
- * An operation would involve a REST request to a server.
352
- */
353
- readonly operation?: TestScriptOperation;
354
- }
355
- /**
356
- * A structured set of tests against a FHIR server or client
357
- * implementation to determine compliance against the FHIR specification.
358
- */
359
- export interface TestScriptAssert {
360
- /**
361
- * Unique id for the element within a resource (for internal references).
362
- * This may be any string value that does not contain spaces.
363
- */
364
- readonly id?: string;
365
- /**
366
- * May be used to represent additional information that is not part of
367
- * the basic definition of the element. To make the use of extensions
368
- * safe and manageable, there is a strict set of governance applied to
369
- * the definition and use of extensions. Though any implementer can
370
- * define an extension, there is a set of requirements that SHALL be met
371
- * as part of the definition of the extension.
372
- */
373
- readonly extension?: Extension[];
374
- /**
375
- * May be used to represent additional information that is not part of
376
- * the basic definition of the element and that modifies the
377
- * understanding of the element in which it is contained and/or the
378
- * understanding of the containing element's descendants. Usually
379
- * modifier elements provide negation or qualification. To make the use
380
- * of extensions safe and manageable, there is a strict set of governance
381
- * applied to the definition and use of extensions. Though any
382
- * implementer can define an extension, there is a set of requirements
383
- * that SHALL be met as part of the definition of the extension.
384
- * Applications processing a resource are required to check for modifier
385
- * extensions.
386
- *
387
- * Modifier extensions SHALL NOT change the meaning of any elements on
388
- * Resource or DomainResource (including cannot change the meaning of
389
- * modifierExtension itself).
390
- */
391
- readonly modifierExtension?: Extension[];
392
- /**
393
- * The label would be used for tracking/logging purposes by test engines.
394
- */
395
- readonly label?: string;
396
- /**
397
- * The description would be used by test engines for tracking and
398
- * reporting purposes.
399
- */
400
- readonly description?: string;
401
- /**
402
- * The direction to use for the assertion.
403
- */
404
- readonly direction?: string;
405
- /**
406
- * Id of the source fixture used as the contents to be evaluated by
407
- * either the "source/expression" or "sourceId/path" definition.
408
- */
409
- readonly compareToSourceId?: string;
410
- /**
411
- * The FHIRPath expression to evaluate against the source fixture. When
412
- * compareToSourceId is defined, either compareToSourceExpression or
413
- * compareToSourcePath must be defined, but not both.
414
- */
415
- readonly compareToSourceExpression?: string;
416
- /**
417
- * XPath or JSONPath expression to evaluate against the source fixture.
418
- * When compareToSourceId is defined, either compareToSourceExpression or
419
- * compareToSourcePath must be defined, but not both.
420
- */
421
- readonly compareToSourcePath?: string;
422
- /**
423
- * The mime-type contents to compare against the request or response
424
- * message 'Content-Type' header.
425
- */
426
- readonly contentType?: string;
427
- /**
428
- * The FHIRPath expression to be evaluated against the request or
429
- * response message contents - HTTP headers and payload.
430
- */
431
- readonly expression?: string;
432
- /**
433
- * The HTTP header field name e.g. 'Location'.
434
- */
435
- readonly headerField?: string;
436
- /**
437
- * The ID of a fixture. Asserts that the response contains at a minimum
438
- * the fixture specified by minimumId.
439
- */
440
- readonly minimumId?: string;
441
- /**
442
- * Whether or not the test execution performs validation on the bundle
443
- * navigation links.
444
- */
445
- readonly navigationLinks?: boolean;
446
- /**
447
- * The operator type defines the conditional behavior of the assert. If
448
- * not defined, the default is equals.
449
- */
450
- readonly operator?: string;
451
- /**
452
- * The XPath or JSONPath expression to be evaluated against the fixture
453
- * representing the response received from server.
454
- */
455
- readonly path?: string;
456
- /**
457
- * The request method or HTTP operation code to compare against that used
458
- * by the client system under test.
459
- */
460
- readonly requestMethod?: string;
461
- /**
462
- * The value to use in a comparison against the request URL path string.
463
- */
464
- readonly requestURL?: string;
465
- /**
466
- * The type of the resource. See
467
- * http://build.fhir.org/resourcelist.html.
468
- */
469
- readonly resource?: string;
470
- /**
471
- * okay | created | noContent | notModified | bad | forbidden | notFound
472
- * | methodNotAllowed | conflict | gone | preconditionFailed |
473
- * unprocessable.
474
- */
475
- readonly response?: string;
476
- /**
477
- * The value of the HTTP response code to be tested.
478
- */
479
- readonly responseCode?: string;
480
- /**
481
- * Fixture to evaluate the XPath/JSONPath expression or the headerField
482
- * against.
483
- */
484
- readonly sourceId?: string;
485
- /**
486
- * The ID of the Profile to validate against.
487
- */
488
- readonly validateProfileId?: string;
489
- /**
490
- * The value to compare to.
491
- */
492
- readonly value?: string;
493
- /**
494
- * Whether or not the test execution will produce a warning only on error
495
- * for this assert.
496
- */
497
- readonly warningOnly?: boolean;
498
- }
499
- /**
500
- * A structured set of tests against a FHIR server or client
501
- * implementation to determine compliance against the FHIR specification.
502
- */
503
- export interface TestScriptCapability {
504
- /**
505
- * Unique id for the element within a resource (for internal references).
506
- * This may be any string value that does not contain spaces.
507
- */
508
- readonly id?: string;
509
- /**
510
- * May be used to represent additional information that is not part of
511
- * the basic definition of the element. To make the use of extensions
512
- * safe and manageable, there is a strict set of governance applied to
513
- * the definition and use of extensions. Though any implementer can
514
- * define an extension, there is a set of requirements that SHALL be met
515
- * as part of the definition of the extension.
516
- */
517
- readonly extension?: Extension[];
518
- /**
519
- * May be used to represent additional information that is not part of
520
- * the basic definition of the element and that modifies the
521
- * understanding of the element in which it is contained and/or the
522
- * understanding of the containing element's descendants. Usually
523
- * modifier elements provide negation or qualification. To make the use
524
- * of extensions safe and manageable, there is a strict set of governance
525
- * applied to the definition and use of extensions. Though any
526
- * implementer can define an extension, there is a set of requirements
527
- * that SHALL be met as part of the definition of the extension.
528
- * Applications processing a resource are required to check for modifier
529
- * extensions.
530
- *
531
- * Modifier extensions SHALL NOT change the meaning of any elements on
532
- * Resource or DomainResource (including cannot change the meaning of
533
- * modifierExtension itself).
534
- */
535
- readonly modifierExtension?: Extension[];
536
- /**
537
- * Whether or not the test execution will require the given capabilities
538
- * of the server in order for this test script to execute.
539
- */
540
- readonly required?: boolean;
541
- /**
542
- * Whether or not the test execution will validate the given capabilities
543
- * of the server in order for this test script to execute.
544
- */
545
- readonly validated?: boolean;
546
- /**
547
- * Description of the capabilities that this test script is requiring the
548
- * server to support.
549
- */
550
- readonly description?: string;
551
- /**
552
- * Which origin server these requirements apply to.
553
- */
554
- readonly origin?: number[];
555
- /**
556
- * Which server these requirements apply to.
557
- */
558
- readonly destination?: number;
559
- /**
560
- * Links to the FHIR specification that describes this interaction and
561
- * the resources involved in more detail.
562
- */
563
- readonly link?: string[];
564
- /**
565
- * Minimum capabilities required of server for test script to execute
566
- * successfully. If server does not meet at a minimum the referenced
567
- * capability statement, then all tests in this script are skipped.
568
- */
569
- readonly capabilities?: string;
570
- }
571
- /**
572
- * A structured set of tests against a FHIR server or client
573
- * implementation to determine compliance against the FHIR specification.
574
- */
575
- export interface TestScriptDestination {
576
- /**
577
- * Unique id for the element within a resource (for internal references).
578
- * This may be any string value that does not contain spaces.
579
- */
580
- readonly id?: string;
581
- /**
582
- * May be used to represent additional information that is not part of
583
- * the basic definition of the element. To make the use of extensions
584
- * safe and manageable, there is a strict set of governance applied to
585
- * the definition and use of extensions. Though any implementer can
586
- * define an extension, there is a set of requirements that SHALL be met
587
- * as part of the definition of the extension.
588
- */
589
- readonly extension?: Extension[];
590
- /**
591
- * May be used to represent additional information that is not part of
592
- * the basic definition of the element and that modifies the
593
- * understanding of the element in which it is contained and/or the
594
- * understanding of the containing element's descendants. Usually
595
- * modifier elements provide negation or qualification. To make the use
596
- * of extensions safe and manageable, there is a strict set of governance
597
- * applied to the definition and use of extensions. Though any
598
- * implementer can define an extension, there is a set of requirements
599
- * that SHALL be met as part of the definition of the extension.
600
- * Applications processing a resource are required to check for modifier
601
- * extensions.
602
- *
603
- * Modifier extensions SHALL NOT change the meaning of any elements on
604
- * Resource or DomainResource (including cannot change the meaning of
605
- * modifierExtension itself).
606
- */
607
- readonly modifierExtension?: Extension[];
608
- /**
609
- * Abstract name given to a destination server in this test script. The
610
- * name is provided as a number starting at 1.
611
- */
612
- readonly index?: number;
613
- /**
614
- * The type of destination profile the test system supports.
615
- */
616
- readonly profile?: Coding;
617
- }
618
- /**
619
- * A structured set of tests against a FHIR server or client
620
- * implementation to determine compliance against the FHIR specification.
621
- */
622
- export interface TestScriptFixture {
623
- /**
624
- * Unique id for the element within a resource (for internal references).
625
- * This may be any string value that does not contain spaces.
626
- */
627
- readonly id?: string;
628
- /**
629
- * May be used to represent additional information that is not part of
630
- * the basic definition of the element. To make the use of extensions
631
- * safe and manageable, there is a strict set of governance applied to
632
- * the definition and use of extensions. Though any implementer can
633
- * define an extension, there is a set of requirements that SHALL be met
634
- * as part of the definition of the extension.
635
- */
636
- readonly extension?: Extension[];
637
- /**
638
- * May be used to represent additional information that is not part of
639
- * the basic definition of the element and that modifies the
640
- * understanding of the element in which it is contained and/or the
641
- * understanding of the containing element's descendants. Usually
642
- * modifier elements provide negation or qualification. To make the use
643
- * of extensions safe and manageable, there is a strict set of governance
644
- * applied to the definition and use of extensions. Though any
645
- * implementer can define an extension, there is a set of requirements
646
- * that SHALL be met as part of the definition of the extension.
647
- * Applications processing a resource are required to check for modifier
648
- * extensions.
649
- *
650
- * Modifier extensions SHALL NOT change the meaning of any elements on
651
- * Resource or DomainResource (including cannot change the meaning of
652
- * modifierExtension itself).
653
- */
654
- readonly modifierExtension?: Extension[];
655
- /**
656
- * Whether or not to implicitly create the fixture during setup. If true,
657
- * the fixture is automatically created on each server being tested
658
- * during setup, therefore no create operation is required for this
659
- * fixture in the TestScript.setup section.
660
- */
661
- readonly autocreate?: boolean;
662
- /**
663
- * Whether or not to implicitly delete the fixture during teardown. If
664
- * true, the fixture is automatically deleted on each server being tested
665
- * during teardown, therefore no delete operation is required for this
666
- * fixture in the TestScript.teardown section.
667
- */
668
- readonly autodelete?: boolean;
669
- /**
670
- * Reference to the resource (containing the contents of the resource
671
- * needed for operations).
672
- */
673
- readonly resource?: Reference;
674
- }
675
- /**
676
- * A structured set of tests against a FHIR server or client
677
- * implementation to determine compliance against the FHIR specification.
678
- */
679
- export interface TestScriptLink {
680
- /**
681
- * Unique id for the element within a resource (for internal references).
682
- * This may be any string value that does not contain spaces.
683
- */
684
- readonly id?: string;
685
- /**
686
- * May be used to represent additional information that is not part of
687
- * the basic definition of the element. To make the use of extensions
688
- * safe and manageable, there is a strict set of governance applied to
689
- * the definition and use of extensions. Though any implementer can
690
- * define an extension, there is a set of requirements that SHALL be met
691
- * as part of the definition of the extension.
692
- */
693
- readonly extension?: Extension[];
694
- /**
695
- * May be used to represent additional information that is not part of
696
- * the basic definition of the element and that modifies the
697
- * understanding of the element in which it is contained and/or the
698
- * understanding of the containing element's descendants. Usually
699
- * modifier elements provide negation or qualification. To make the use
700
- * of extensions safe and manageable, there is a strict set of governance
701
- * applied to the definition and use of extensions. Though any
702
- * implementer can define an extension, there is a set of requirements
703
- * that SHALL be met as part of the definition of the extension.
704
- * Applications processing a resource are required to check for modifier
705
- * extensions.
706
- *
707
- * Modifier extensions SHALL NOT change the meaning of any elements on
708
- * Resource or DomainResource (including cannot change the meaning of
709
- * modifierExtension itself).
710
- */
711
- readonly modifierExtension?: Extension[];
712
- /**
713
- * URL to a particular requirement or feature within the FHIR
714
- * specification.
715
- */
716
- readonly url?: string;
717
- /**
718
- * Short description of the link.
719
- */
720
- readonly description?: string;
721
- }
722
- /**
723
- * A structured set of tests against a FHIR server or client
724
- * implementation to determine compliance against the FHIR specification.
725
- */
726
- export interface TestScriptMetadata {
727
- /**
728
- * Unique id for the element within a resource (for internal references).
729
- * This may be any string value that does not contain spaces.
730
- */
731
- readonly id?: string;
732
- /**
733
- * May be used to represent additional information that is not part of
734
- * the basic definition of the element. To make the use of extensions
735
- * safe and manageable, there is a strict set of governance applied to
736
- * the definition and use of extensions. Though any implementer can
737
- * define an extension, there is a set of requirements that SHALL be met
738
- * as part of the definition of the extension.
739
- */
740
- readonly extension?: Extension[];
741
- /**
742
- * May be used to represent additional information that is not part of
743
- * the basic definition of the element and that modifies the
744
- * understanding of the element in which it is contained and/or the
745
- * understanding of the containing element's descendants. Usually
746
- * modifier elements provide negation or qualification. To make the use
747
- * of extensions safe and manageable, there is a strict set of governance
748
- * applied to the definition and use of extensions. Though any
749
- * implementer can define an extension, there is a set of requirements
750
- * that SHALL be met as part of the definition of the extension.
751
- * Applications processing a resource are required to check for modifier
752
- * extensions.
753
- *
754
- * Modifier extensions SHALL NOT change the meaning of any elements on
755
- * Resource or DomainResource (including cannot change the meaning of
756
- * modifierExtension itself).
757
- */
758
- readonly modifierExtension?: Extension[];
759
- /**
760
- * A link to the FHIR specification that this test is covering.
761
- */
762
- readonly link?: TestScriptLink[];
763
- /**
764
- * Capabilities that must exist and are assumed to function correctly on
765
- * the FHIR server being tested.
766
- */
767
- readonly capability?: TestScriptCapability[];
768
- }
769
- /**
770
- * A structured set of tests against a FHIR server or client
771
- * implementation to determine compliance against the FHIR specification.
772
- */
773
- export interface TestScriptOperation {
774
- /**
775
- * Unique id for the element within a resource (for internal references).
776
- * This may be any string value that does not contain spaces.
777
- */
778
- readonly id?: string;
779
- /**
780
- * May be used to represent additional information that is not part of
781
- * the basic definition of the element. To make the use of extensions
782
- * safe and manageable, there is a strict set of governance applied to
783
- * the definition and use of extensions. Though any implementer can
784
- * define an extension, there is a set of requirements that SHALL be met
785
- * as part of the definition of the extension.
786
- */
787
- readonly extension?: Extension[];
788
- /**
789
- * May be used to represent additional information that is not part of
790
- * the basic definition of the element and that modifies the
791
- * understanding of the element in which it is contained and/or the
792
- * understanding of the containing element's descendants. Usually
793
- * modifier elements provide negation or qualification. To make the use
794
- * of extensions safe and manageable, there is a strict set of governance
795
- * applied to the definition and use of extensions. Though any
796
- * implementer can define an extension, there is a set of requirements
797
- * that SHALL be met as part of the definition of the extension.
798
- * Applications processing a resource are required to check for modifier
799
- * extensions.
800
- *
801
- * Modifier extensions SHALL NOT change the meaning of any elements on
802
- * Resource or DomainResource (including cannot change the meaning of
803
- * modifierExtension itself).
804
- */
805
- readonly modifierExtension?: Extension[];
806
- /**
807
- * Server interaction or operation type.
808
- */
809
- readonly type?: Coding;
810
- /**
811
- * The type of the resource. See
812
- * http://build.fhir.org/resourcelist.html.
813
- */
814
- readonly resource?: string;
815
- /**
816
- * The label would be used for tracking/logging purposes by test engines.
817
- */
818
- readonly label?: string;
819
- /**
820
- * The description would be used by test engines for tracking and
821
- * reporting purposes.
822
- */
823
- readonly description?: string;
824
- /**
825
- * The mime-type to use for RESTful operation in the 'Accept' header.
826
- */
827
- readonly accept?: string;
828
- /**
829
- * The mime-type to use for RESTful operation in the 'Content-Type'
830
- * header.
831
- */
832
- readonly contentType?: string;
833
- /**
834
- * The server where the request message is destined for. Must be one of
835
- * the server numbers listed in TestScript.destination section.
836
- */
837
- readonly destination?: number;
838
- /**
839
- * Whether or not to implicitly send the request url in encoded format.
840
- * The default is true to match the standard RESTful client behavior. Set
841
- * to false when communicating with a server that does not support
842
- * encoded url paths.
843
- */
844
- readonly encodeRequestUrl?: boolean;
845
- /**
846
- * The HTTP method the test engine MUST use for this operation regardless
847
- * of any other operation details.
848
- */
849
- readonly method?: string;
850
- /**
851
- * The server where the request message originates from. Must be one of
852
- * the server numbers listed in TestScript.origin section.
853
- */
854
- readonly origin?: number;
855
- /**
856
- * Path plus parameters after [type]. Used to set parts of the request
857
- * URL explicitly.
858
- */
859
- readonly params?: string;
860
- /**
861
- * Header elements would be used to set HTTP headers.
862
- */
863
- readonly requestHeader?: TestScriptRequestHeader[];
864
- /**
865
- * The fixture id (maybe new) to map to the request.
866
- */
867
- readonly requestId?: string;
868
- /**
869
- * The fixture id (maybe new) to map to the response.
870
- */
871
- readonly responseId?: string;
872
- /**
873
- * The id of the fixture used as the body of a PUT or POST request.
874
- */
875
- readonly sourceId?: string;
876
- /**
877
- * Id of fixture used for extracting the [id], [type], and [vid] for GET
878
- * requests.
879
- */
880
- readonly targetId?: string;
881
- /**
882
- * Complete request URL.
883
- */
884
- readonly url?: string;
885
- }
886
- /**
887
- * A structured set of tests against a FHIR server or client
888
- * implementation to determine compliance against the FHIR specification.
889
- */
890
- export interface TestScriptOrigin {
891
- /**
892
- * Unique id for the element within a resource (for internal references).
893
- * This may be any string value that does not contain spaces.
894
- */
895
- readonly id?: string;
896
- /**
897
- * May be used to represent additional information that is not part of
898
- * the basic definition of the element. To make the use of extensions
899
- * safe and manageable, there is a strict set of governance applied to
900
- * the definition and use of extensions. Though any implementer can
901
- * define an extension, there is a set of requirements that SHALL be met
902
- * as part of the definition of the extension.
903
- */
904
- readonly extension?: Extension[];
905
- /**
906
- * May be used to represent additional information that is not part of
907
- * the basic definition of the element and that modifies the
908
- * understanding of the element in which it is contained and/or the
909
- * understanding of the containing element's descendants. Usually
910
- * modifier elements provide negation or qualification. To make the use
911
- * of extensions safe and manageable, there is a strict set of governance
912
- * applied to the definition and use of extensions. Though any
913
- * implementer can define an extension, there is a set of requirements
914
- * that SHALL be met as part of the definition of the extension.
915
- * Applications processing a resource are required to check for modifier
916
- * extensions.
917
- *
918
- * Modifier extensions SHALL NOT change the meaning of any elements on
919
- * Resource or DomainResource (including cannot change the meaning of
920
- * modifierExtension itself).
921
- */
922
- readonly modifierExtension?: Extension[];
923
- /**
924
- * Abstract name given to an origin server in this test script. The name
925
- * is provided as a number starting at 1.
926
- */
927
- readonly index?: number;
928
- /**
929
- * The type of origin profile the test system supports.
930
- */
931
- readonly profile?: Coding;
932
- }
933
- /**
934
- * A structured set of tests against a FHIR server or client
935
- * implementation to determine compliance against the FHIR specification.
936
- */
937
- export interface TestScriptRequestHeader {
938
- /**
939
- * Unique id for the element within a resource (for internal references).
940
- * This may be any string value that does not contain spaces.
941
- */
942
- readonly id?: string;
943
- /**
944
- * May be used to represent additional information that is not part of
945
- * the basic definition of the element. To make the use of extensions
946
- * safe and manageable, there is a strict set of governance applied to
947
- * the definition and use of extensions. Though any implementer can
948
- * define an extension, there is a set of requirements that SHALL be met
949
- * as part of the definition of the extension.
950
- */
951
- readonly extension?: Extension[];
952
- /**
953
- * May be used to represent additional information that is not part of
954
- * the basic definition of the element and that modifies the
955
- * understanding of the element in which it is contained and/or the
956
- * understanding of the containing element's descendants. Usually
957
- * modifier elements provide negation or qualification. To make the use
958
- * of extensions safe and manageable, there is a strict set of governance
959
- * applied to the definition and use of extensions. Though any
960
- * implementer can define an extension, there is a set of requirements
961
- * that SHALL be met as part of the definition of the extension.
962
- * Applications processing a resource are required to check for modifier
963
- * extensions.
964
- *
965
- * Modifier extensions SHALL NOT change the meaning of any elements on
966
- * Resource or DomainResource (including cannot change the meaning of
967
- * modifierExtension itself).
968
- */
969
- readonly modifierExtension?: Extension[];
970
- /**
971
- * The HTTP header field e.g. "Accept".
972
- */
973
- readonly field?: string;
974
- /**
975
- * The value of the header e.g. "application/fhir+xml".
976
- */
977
- readonly value?: string;
978
- }
979
- /**
980
- * A structured set of tests against a FHIR server or client
981
- * implementation to determine compliance against the FHIR specification.
982
- */
983
- export interface TestScriptSetup {
984
- /**
985
- * Unique id for the element within a resource (for internal references).
986
- * This may be any string value that does not contain spaces.
987
- */
988
- readonly id?: string;
989
- /**
990
- * May be used to represent additional information that is not part of
991
- * the basic definition of the element. To make the use of extensions
992
- * safe and manageable, there is a strict set of governance applied to
993
- * the definition and use of extensions. Though any implementer can
994
- * define an extension, there is a set of requirements that SHALL be met
995
- * as part of the definition of the extension.
996
- */
997
- readonly extension?: Extension[];
998
- /**
999
- * May be used to represent additional information that is not part of
1000
- * the basic definition of the element and that modifies the
1001
- * understanding of the element in which it is contained and/or the
1002
- * understanding of the containing element's descendants. Usually
1003
- * modifier elements provide negation or qualification. To make the use
1004
- * of extensions safe and manageable, there is a strict set of governance
1005
- * applied to the definition and use of extensions. Though any
1006
- * implementer can define an extension, there is a set of requirements
1007
- * that SHALL be met as part of the definition of the extension.
1008
- * Applications processing a resource are required to check for modifier
1009
- * extensions.
1010
- *
1011
- * Modifier extensions SHALL NOT change the meaning of any elements on
1012
- * Resource or DomainResource (including cannot change the meaning of
1013
- * modifierExtension itself).
1014
- */
1015
- readonly modifierExtension?: Extension[];
1016
- /**
1017
- * Action would contain either an operation or an assertion.
1018
- */
1019
- readonly action?: TestScriptAction[];
1020
- }
1021
- /**
1022
- * A structured set of tests against a FHIR server or client
1023
- * implementation to determine compliance against the FHIR specification.
1024
- */
1025
- export interface TestScriptTeardown {
1026
- /**
1027
- * Unique id for the element within a resource (for internal references).
1028
- * This may be any string value that does not contain spaces.
1029
- */
1030
- readonly id?: string;
1031
- /**
1032
- * May be used to represent additional information that is not part of
1033
- * the basic definition of the element. To make the use of extensions
1034
- * safe and manageable, there is a strict set of governance applied to
1035
- * the definition and use of extensions. Though any implementer can
1036
- * define an extension, there is a set of requirements that SHALL be met
1037
- * as part of the definition of the extension.
1038
- */
1039
- readonly extension?: Extension[];
1040
- /**
1041
- * May be used to represent additional information that is not part of
1042
- * the basic definition of the element and that modifies the
1043
- * understanding of the element in which it is contained and/or the
1044
- * understanding of the containing element's descendants. Usually
1045
- * modifier elements provide negation or qualification. To make the use
1046
- * of extensions safe and manageable, there is a strict set of governance
1047
- * applied to the definition and use of extensions. Though any
1048
- * implementer can define an extension, there is a set of requirements
1049
- * that SHALL be met as part of the definition of the extension.
1050
- * Applications processing a resource are required to check for modifier
1051
- * extensions.
1052
- *
1053
- * Modifier extensions SHALL NOT change the meaning of any elements on
1054
- * Resource or DomainResource (including cannot change the meaning of
1055
- * modifierExtension itself).
1056
- */
1057
- readonly modifierExtension?: Extension[];
1058
- /**
1059
- * The teardown action will only contain an operation.
1060
- */
1061
- readonly action?: TestScriptAction2[];
1062
- }
1063
- /**
1064
- * A structured set of tests against a FHIR server or client
1065
- * implementation to determine compliance against the FHIR specification.
1066
- */
1067
- export interface TestScriptTest {
1068
- /**
1069
- * Unique id for the element within a resource (for internal references).
1070
- * This may be any string value that does not contain spaces.
1071
- */
1072
- readonly id?: string;
1073
- /**
1074
- * May be used to represent additional information that is not part of
1075
- * the basic definition of the element. To make the use of extensions
1076
- * safe and manageable, there is a strict set of governance applied to
1077
- * the definition and use of extensions. Though any implementer can
1078
- * define an extension, there is a set of requirements that SHALL be met
1079
- * as part of the definition of the extension.
1080
- */
1081
- readonly extension?: Extension[];
1082
- /**
1083
- * May be used to represent additional information that is not part of
1084
- * the basic definition of the element and that modifies the
1085
- * understanding of the element in which it is contained and/or the
1086
- * understanding of the containing element's descendants. Usually
1087
- * modifier elements provide negation or qualification. To make the use
1088
- * of extensions safe and manageable, there is a strict set of governance
1089
- * applied to the definition and use of extensions. Though any
1090
- * implementer can define an extension, there is a set of requirements
1091
- * that SHALL be met as part of the definition of the extension.
1092
- * Applications processing a resource are required to check for modifier
1093
- * extensions.
1094
- *
1095
- * Modifier extensions SHALL NOT change the meaning of any elements on
1096
- * Resource or DomainResource (including cannot change the meaning of
1097
- * modifierExtension itself).
1098
- */
1099
- readonly modifierExtension?: Extension[];
1100
- /**
1101
- * The name of this test used for tracking/logging purposes by test
1102
- * engines.
1103
- */
1104
- readonly name?: string;
1105
- /**
1106
- * A short description of the test used by test engines for tracking and
1107
- * reporting purposes.
1108
- */
1109
- readonly description?: string;
1110
- /**
1111
- * Action would contain either an operation or an assertion.
1112
- */
1113
- readonly action?: TestScriptAction1[];
1114
- }
1115
- /**
1116
- * A structured set of tests against a FHIR server or client
1117
- * implementation to determine compliance against the FHIR specification.
1118
- */
1119
- export interface TestScriptVariable {
1120
- /**
1121
- * Unique id for the element within a resource (for internal references).
1122
- * This may be any string value that does not contain spaces.
1123
- */
1124
- readonly id?: string;
1125
- /**
1126
- * May be used to represent additional information that is not part of
1127
- * the basic definition of the element. To make the use of extensions
1128
- * safe and manageable, there is a strict set of governance applied to
1129
- * the definition and use of extensions. Though any implementer can
1130
- * define an extension, there is a set of requirements that SHALL be met
1131
- * as part of the definition of the extension.
1132
- */
1133
- readonly extension?: Extension[];
1134
- /**
1135
- * May be used to represent additional information that is not part of
1136
- * the basic definition of the element and that modifies the
1137
- * understanding of the element in which it is contained and/or the
1138
- * understanding of the containing element's descendants. Usually
1139
- * modifier elements provide negation or qualification. To make the use
1140
- * of extensions safe and manageable, there is a strict set of governance
1141
- * applied to the definition and use of extensions. Though any
1142
- * implementer can define an extension, there is a set of requirements
1143
- * that SHALL be met as part of the definition of the extension.
1144
- * Applications processing a resource are required to check for modifier
1145
- * extensions.
1146
- *
1147
- * Modifier extensions SHALL NOT change the meaning of any elements on
1148
- * Resource or DomainResource (including cannot change the meaning of
1149
- * modifierExtension itself).
1150
- */
1151
- readonly modifierExtension?: Extension[];
1152
- /**
1153
- * Descriptive name for this variable.
1154
- */
1155
- readonly name?: string;
1156
- /**
1157
- * A default, hard-coded, or user-defined value for this variable.
1158
- */
1159
- readonly defaultValue?: string;
1160
- /**
1161
- * A free text natural language description of the variable and its
1162
- * purpose.
1163
- */
1164
- readonly description?: string;
1165
- /**
1166
- * The FHIRPath expression to evaluate against the fixture body. When
1167
- * variables are defined, only one of either expression, headerField or
1168
- * path must be specified.
1169
- */
1170
- readonly expression?: string;
1171
- /**
1172
- * Will be used to grab the HTTP header field value from the headers that
1173
- * sourceId is pointing to.
1174
- */
1175
- readonly headerField?: string;
1176
- /**
1177
- * Displayable text string with hint help information to the user when
1178
- * entering a default value.
1179
- */
1180
- readonly hint?: string;
1181
- /**
1182
- * XPath or JSONPath to evaluate against the fixture body. When
1183
- * variables are defined, only one of either expression, headerField or
1184
- * path must be specified.
1185
- */
1186
- readonly path?: string;
1187
- /**
1188
- * Fixture to evaluate the XPath/JSONPath expression or the headerField
1189
- * against within this variable.
1190
- */
1191
- readonly sourceId?: string;
1192
- }