phenoml 15.0.0 → 16.0.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 (313) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/agent/client/Client.d.ts +5 -5
  3. package/dist/cjs/api/resources/agent/client/Client.js +2 -2
  4. package/dist/cjs/api/resources/agent/client/requests/{AgentGetChatMessagesRequest.d.ts → GetChatMessagesRequest.d.ts} +3 -3
  5. package/dist/{esm/api/resources/agent/client/requests/AgentListRequest.d.mts → cjs/api/resources/agent/client/requests/ListRequest.d.ts} +1 -1
  6. package/dist/cjs/api/resources/agent/client/requests/index.d.ts +2 -2
  7. package/dist/cjs/api/resources/agent/types/{AgentDeleteResponse.d.ts → DeleteResponse.d.ts} +1 -1
  8. package/dist/cjs/api/resources/agent/types/GetChatMessagesRequestOrder.d.ts +5 -0
  9. package/dist/cjs/api/resources/agent/types/{AgentGetChatMessagesRequestOrder.js → GetChatMessagesRequestOrder.js} +2 -2
  10. package/dist/cjs/api/resources/agent/types/GetChatMessagesRequestRole.d.ts +7 -0
  11. package/dist/cjs/api/resources/agent/types/{AgentGetChatMessagesRequestRole.js → GetChatMessagesRequestRole.js} +2 -2
  12. package/dist/cjs/api/resources/agent/types/{AgentGetChatMessagesResponse.d.ts → GetChatMessagesResponse.d.ts} +1 -1
  13. package/dist/cjs/api/resources/agent/types/{AgentListResponse.d.ts → ListResponse.d.ts} +1 -1
  14. package/dist/cjs/api/resources/agent/types/index.d.ts +5 -5
  15. package/dist/cjs/api/resources/agent/types/index.js +5 -5
  16. package/dist/cjs/api/resources/authtoken/client/Client.d.ts +26 -4
  17. package/dist/cjs/api/resources/authtoken/client/Client.js +109 -4
  18. package/dist/cjs/api/resources/authtoken/client/index.d.ts +1 -1
  19. package/dist/cjs/api/resources/authtoken/client/index.js +15 -0
  20. package/dist/cjs/api/resources/authtoken/exports.d.ts +0 -1
  21. package/dist/cjs/api/resources/authtoken/exports.js +0 -1
  22. package/dist/cjs/api/resources/authtoken/index.d.ts +0 -1
  23. package/dist/cjs/api/resources/authtoken/index.js +0 -1
  24. package/dist/cjs/api/resources/construe/client/Client.d.ts +35 -35
  25. package/dist/cjs/api/resources/construe/client/Client.js +43 -43
  26. package/dist/cjs/api/resources/construe/client/requests/{DeleteConstrueCodesSystemsCodesystemRequest.d.ts → DeleteCodeSystemRequest.d.ts} +1 -1
  27. package/dist/{esm/api/resources/construe/client/requests/DeleteConstrueCodesSystemsCodesystemRequest.d.mts → cjs/api/resources/construe/client/requests/ExportCodeSystemRequest.d.ts} +1 -1
  28. package/dist/{esm/api/resources/construe/client/requests/GetConstrueCodesCodesystemCodeIdRequest.d.mts → cjs/api/resources/construe/client/requests/GetCodeRequest.d.ts} +1 -1
  29. package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemRequest.d.ts → GetCodeSystemRequest.d.ts} +1 -1
  30. package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemRequest.d.ts → ListCodesRequest.d.ts} +1 -1
  31. package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchSemanticRequest.d.ts → SearchSemanticRequest.d.ts} +1 -1
  32. package/dist/{esm/api/resources/construe/client/requests/GetConstrueCodesCodesystemSearchTextRequest.d.mts → cjs/api/resources/construe/client/requests/SearchTextRequest.d.ts} +1 -1
  33. package/dist/cjs/api/resources/construe/client/requests/index.d.ts +7 -7
  34. package/dist/{esm/api/resources/construe/types/ConstrueUploadCodeSystemResponse.d.mts → cjs/api/resources/construe/types/UploadCodeSystemResponse.d.ts} +1 -1
  35. package/dist/cjs/api/resources/construe/types/index.d.ts +1 -1
  36. package/dist/cjs/api/resources/construe/types/index.js +1 -1
  37. package/dist/cjs/api/resources/fhir/client/Client.d.ts +12 -12
  38. package/dist/cjs/api/resources/fhir/client/Client.js +6 -6
  39. package/dist/cjs/api/resources/fhir/client/requests/{FhirCreateRequest.d.ts → CreateRequest.d.ts} +1 -1
  40. package/dist/{esm/api/resources/fhir/client/requests/FhirDeleteRequest.d.mts → cjs/api/resources/fhir/client/requests/DeleteRequest.d.ts} +1 -1
  41. package/dist/cjs/api/resources/fhir/client/requests/{FhirExecuteBundleRequest.d.ts → ExecuteBundleRequest.d.ts} +1 -1
  42. package/dist/cjs/api/resources/fhir/client/requests/{FhirPatchRequest.d.ts → PatchRequest.d.ts} +2 -2
  43. package/dist/cjs/api/resources/fhir/client/requests/{FhirSearchRequest.d.ts → SearchRequest.d.ts} +1 -1
  44. package/dist/cjs/api/resources/fhir/client/requests/{FhirUpsertRequest.d.ts → UpsertRequest.d.ts} +1 -1
  45. package/dist/cjs/api/resources/fhir/client/requests/index.d.ts +6 -6
  46. package/dist/cjs/api/resources/fhir/types/{FhirPatchRequestBodyItem.d.ts → PatchRequestBodyItem.d.ts} +3 -3
  47. package/dist/cjs/api/resources/fhir/types/{FhirPatchRequestBodyItem.js → PatchRequestBodyItem.js} +5 -5
  48. package/dist/cjs/api/resources/fhir/types/SearchResponse.d.ts +2 -0
  49. package/dist/cjs/api/resources/fhir/types/index.d.ts +2 -2
  50. package/dist/cjs/api/resources/fhir/types/index.js +2 -2
  51. package/dist/cjs/api/resources/fhirProvider/client/Client.d.ts +2 -2
  52. package/dist/cjs/api/resources/fhirProvider/client/Client.js +1 -4
  53. package/dist/{esm/api/resources/agent/types/AgentDeleteResponse.d.mts → cjs/api/resources/fhirProvider/types/DeleteResponse.d.ts} +1 -1
  54. package/dist/cjs/api/resources/fhirProvider/types/{FhirProviderRemoveAuthConfigResponse.d.ts → RemoveAuthConfigResponse.d.ts} +1 -1
  55. package/dist/cjs/api/resources/fhirProvider/types/index.d.ts +2 -2
  56. package/dist/cjs/api/resources/fhirProvider/types/index.js +2 -2
  57. package/dist/cjs/api/resources/lang2Fhir/client/Client.d.ts +4 -4
  58. package/dist/cjs/api/resources/lang2Fhir/client/Client.js +4 -4
  59. package/dist/cjs/api/resources/lang2Fhir/types/{Lang2FhirUploadProfileResponse.d.ts → UploadProfileResponse.d.ts} +1 -1
  60. package/dist/cjs/api/resources/lang2Fhir/types/index.d.ts +1 -1
  61. package/dist/cjs/api/resources/lang2Fhir/types/index.js +1 -1
  62. package/dist/cjs/api/resources/summary/client/Client.d.ts +3 -88
  63. package/dist/cjs/api/resources/summary/client/Client.js +4 -309
  64. package/dist/cjs/api/resources/summary/client/requests/index.d.ts +0 -2
  65. package/dist/cjs/api/resources/summary/exports.d.ts +1 -0
  66. package/dist/cjs/api/resources/summary/exports.js +1 -0
  67. package/dist/cjs/api/resources/summary/index.d.ts +1 -0
  68. package/dist/cjs/api/resources/summary/index.js +1 -0
  69. package/dist/cjs/api/resources/summary/resources/index.d.ts +3 -0
  70. package/dist/cjs/api/resources/{authtoken → summary}/resources/index.js +4 -3
  71. package/dist/cjs/api/resources/summary/resources/templates/client/Client.d.ts +101 -0
  72. package/dist/cjs/api/resources/summary/resources/templates/client/Client.js +366 -0
  73. package/dist/cjs/api/resources/summary/resources/templates/client/requests/index.d.ts +2 -0
  74. package/dist/cjs/api/resources/summary/resources/templates/client/requests/index.js +2 -0
  75. package/dist/cjs/api/resources/summary/resources/templates/exports.d.ts +2 -0
  76. package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/exports.js +2 -2
  77. package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/index.d.ts +1 -0
  78. package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/index.js +1 -0
  79. package/dist/cjs/api/resources/{workflows/types/WorkflowsDeleteResponse.d.ts → summary/resources/templates/types/TemplatesDeleteResponse.d.ts} +1 -1
  80. package/dist/cjs/api/resources/summary/{types/SummaryGetTemplateResponse.d.ts → resources/templates/types/TemplatesGetResponse.d.ts} +2 -2
  81. package/dist/cjs/api/resources/summary/{types/SummaryListTemplatesResponse.d.ts → resources/templates/types/TemplatesListResponse.d.ts} +2 -2
  82. package/dist/cjs/api/resources/summary/{types/SummaryUpdateTemplateResponse.d.ts → resources/templates/types/TemplatesUpdateResponse.d.ts} +2 -2
  83. package/dist/cjs/api/resources/summary/resources/templates/types/index.d.ts +4 -0
  84. package/dist/cjs/api/resources/summary/resources/templates/types/index.js +20 -0
  85. package/dist/cjs/api/resources/summary/types/index.d.ts +0 -4
  86. package/dist/cjs/api/resources/summary/types/index.js +0 -4
  87. package/dist/cjs/api/resources/workflows/client/Client.d.ts +7 -6
  88. package/dist/cjs/api/resources/workflows/client/Client.js +8 -14
  89. package/dist/{esm/api/resources/workflows/client/requests/WorkflowsGetRequest.d.mts → cjs/api/resources/workflows/client/requests/GetRequest.d.ts} +1 -1
  90. package/dist/cjs/api/resources/workflows/client/requests/{WorkflowsGetRequest.d.ts → ListRequest.d.ts} +1 -1
  91. package/dist/cjs/api/resources/workflows/client/requests/index.d.ts +2 -2
  92. package/dist/cjs/api/resources/workflows/errors/GatewayTimeoutError.d.ts +5 -0
  93. package/dist/cjs/api/resources/workflows/errors/GatewayTimeoutError.js +54 -0
  94. package/dist/cjs/api/resources/workflows/errors/index.d.ts +1 -0
  95. package/dist/cjs/api/resources/workflows/errors/index.js +1 -0
  96. package/dist/{esm/api/resources/workflows/types/WorkflowsDeleteResponse.d.mts → cjs/api/resources/workflows/types/DeleteResponse.d.ts} +1 -1
  97. package/dist/cjs/api/resources/workflows/types/{WorkflowsGetResponse.d.ts → GetResponse.d.ts} +1 -1
  98. package/dist/cjs/api/resources/workflows/types/{WorkflowsUpdateResponse.d.ts → UpdateResponse.d.ts} +1 -1
  99. package/dist/cjs/api/resources/workflows/types/index.d.ts +3 -3
  100. package/dist/cjs/api/resources/workflows/types/index.js +3 -3
  101. package/dist/cjs/auth/OAuthAuthProvider.js +2 -2
  102. package/dist/cjs/version.d.ts +1 -1
  103. package/dist/cjs/version.js +1 -1
  104. package/dist/esm/BaseClient.mjs +2 -2
  105. package/dist/esm/api/resources/agent/client/Client.d.mts +5 -5
  106. package/dist/esm/api/resources/agent/client/Client.mjs +2 -2
  107. package/dist/esm/api/resources/agent/client/requests/{AgentGetChatMessagesRequest.d.mts → GetChatMessagesRequest.d.mts} +3 -3
  108. package/dist/{cjs/api/resources/agent/client/requests/AgentListRequest.d.ts → esm/api/resources/agent/client/requests/ListRequest.d.mts} +1 -1
  109. package/dist/esm/api/resources/agent/client/requests/index.d.mts +2 -2
  110. package/dist/esm/api/resources/agent/types/DeleteResponse.d.mts +4 -0
  111. package/dist/esm/api/resources/agent/types/GetChatMessagesRequestOrder.d.mts +5 -0
  112. package/dist/esm/api/resources/agent/types/{AgentGetChatMessagesRequestOrder.mjs → GetChatMessagesRequestOrder.mjs} +1 -1
  113. package/dist/esm/api/resources/agent/types/GetChatMessagesRequestRole.d.mts +7 -0
  114. package/dist/esm/api/resources/agent/types/{AgentGetChatMessagesRequestRole.mjs → GetChatMessagesRequestRole.mjs} +1 -1
  115. package/dist/esm/api/resources/agent/types/{AgentGetChatMessagesResponse.d.mts → GetChatMessagesResponse.d.mts} +1 -1
  116. package/dist/esm/api/resources/agent/types/{AgentListResponse.d.mts → ListResponse.d.mts} +1 -1
  117. package/dist/esm/api/resources/agent/types/index.d.mts +5 -5
  118. package/dist/esm/api/resources/agent/types/index.mjs +5 -5
  119. package/dist/esm/api/resources/authtoken/client/Client.d.mts +26 -4
  120. package/dist/esm/api/resources/authtoken/client/Client.mjs +76 -4
  121. package/dist/esm/api/resources/authtoken/client/index.d.mts +1 -1
  122. package/dist/esm/api/resources/authtoken/client/index.mjs +1 -1
  123. package/dist/esm/api/resources/authtoken/exports.d.mts +0 -1
  124. package/dist/esm/api/resources/authtoken/exports.mjs +0 -1
  125. package/dist/esm/api/resources/authtoken/index.d.mts +0 -1
  126. package/dist/esm/api/resources/authtoken/index.mjs +0 -1
  127. package/dist/esm/api/resources/construe/client/Client.d.mts +35 -35
  128. package/dist/esm/api/resources/construe/client/Client.mjs +43 -43
  129. package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemExportRequest.d.mts → DeleteCodeSystemRequest.d.mts} +1 -1
  130. package/dist/{cjs/api/resources/construe/client/requests/GetConstrueCodesSystemsCodesystemExportRequest.d.ts → esm/api/resources/construe/client/requests/ExportCodeSystemRequest.d.mts} +1 -1
  131. package/dist/{cjs/api/resources/construe/client/requests/GetConstrueCodesCodesystemCodeIdRequest.d.ts → esm/api/resources/construe/client/requests/GetCodeRequest.d.mts} +1 -1
  132. package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemRequest.d.mts → GetCodeSystemRequest.d.mts} +1 -1
  133. package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemRequest.d.mts → ListCodesRequest.d.mts} +1 -1
  134. package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchSemanticRequest.d.mts → SearchSemanticRequest.d.mts} +1 -1
  135. package/dist/{cjs/api/resources/construe/client/requests/GetConstrueCodesCodesystemSearchTextRequest.d.ts → esm/api/resources/construe/client/requests/SearchTextRequest.d.mts} +1 -1
  136. package/dist/esm/api/resources/construe/client/requests/index.d.mts +7 -7
  137. package/dist/{cjs/api/resources/construe/types/ConstrueUploadCodeSystemResponse.d.ts → esm/api/resources/construe/types/UploadCodeSystemResponse.d.mts} +1 -1
  138. package/dist/esm/api/resources/construe/types/index.d.mts +1 -1
  139. package/dist/esm/api/resources/construe/types/index.mjs +1 -1
  140. package/dist/esm/api/resources/fhir/client/Client.d.mts +12 -12
  141. package/dist/esm/api/resources/fhir/client/Client.mjs +6 -6
  142. package/dist/esm/api/resources/fhir/client/requests/{FhirCreateRequest.d.mts → CreateRequest.d.mts} +1 -1
  143. package/dist/{cjs/api/resources/fhir/client/requests/FhirDeleteRequest.d.ts → esm/api/resources/fhir/client/requests/DeleteRequest.d.mts} +1 -1
  144. package/dist/esm/api/resources/fhir/client/requests/{FhirExecuteBundleRequest.d.mts → ExecuteBundleRequest.d.mts} +1 -1
  145. package/dist/esm/api/resources/fhir/client/requests/{FhirPatchRequest.d.mts → PatchRequest.d.mts} +2 -2
  146. package/dist/esm/api/resources/fhir/client/requests/{FhirSearchRequest.d.mts → SearchRequest.d.mts} +1 -1
  147. package/dist/esm/api/resources/fhir/client/requests/{FhirUpsertRequest.d.mts → UpsertRequest.d.mts} +1 -1
  148. package/dist/esm/api/resources/fhir/client/requests/index.d.mts +6 -6
  149. package/dist/esm/api/resources/fhir/types/{FhirPatchRequestBodyItem.d.mts → PatchRequestBodyItem.d.mts} +3 -3
  150. package/dist/esm/api/resources/fhir/types/{FhirPatchRequestBodyItem.mjs → PatchRequestBodyItem.mjs} +4 -4
  151. package/dist/esm/api/resources/fhir/types/SearchResponse.d.mts +2 -0
  152. package/dist/esm/api/resources/fhir/types/index.d.mts +2 -2
  153. package/dist/esm/api/resources/fhir/types/index.mjs +2 -2
  154. package/dist/esm/api/resources/fhirProvider/client/Client.d.mts +2 -2
  155. package/dist/esm/api/resources/fhirProvider/client/Client.mjs +1 -4
  156. package/dist/esm/api/resources/fhirProvider/types/DeleteResponse.d.mts +4 -0
  157. package/dist/esm/api/resources/fhirProvider/types/{FhirProviderRemoveAuthConfigResponse.d.mts → RemoveAuthConfigResponse.d.mts} +1 -1
  158. package/dist/esm/api/resources/fhirProvider/types/index.d.mts +2 -2
  159. package/dist/esm/api/resources/fhirProvider/types/index.mjs +2 -2
  160. package/dist/esm/api/resources/lang2Fhir/client/Client.d.mts +4 -4
  161. package/dist/esm/api/resources/lang2Fhir/client/Client.mjs +4 -4
  162. package/dist/esm/api/resources/lang2Fhir/types/{Lang2FhirUploadProfileResponse.d.mts → UploadProfileResponse.d.mts} +1 -1
  163. package/dist/esm/api/resources/lang2Fhir/types/index.d.mts +1 -1
  164. package/dist/esm/api/resources/lang2Fhir/types/index.mjs +1 -1
  165. package/dist/esm/api/resources/summary/client/Client.d.mts +3 -88
  166. package/dist/esm/api/resources/summary/client/Client.mjs +4 -309
  167. package/dist/esm/api/resources/summary/client/requests/index.d.mts +0 -2
  168. package/dist/esm/api/resources/summary/exports.d.mts +1 -0
  169. package/dist/esm/api/resources/summary/exports.mjs +1 -0
  170. package/dist/esm/api/resources/summary/index.d.mts +1 -0
  171. package/dist/esm/api/resources/summary/index.mjs +1 -0
  172. package/dist/esm/api/resources/summary/resources/index.d.mts +3 -0
  173. package/dist/esm/api/resources/summary/resources/index.mjs +3 -0
  174. package/dist/esm/api/resources/summary/resources/templates/client/Client.d.mts +101 -0
  175. package/dist/esm/api/resources/summary/resources/templates/client/Client.mjs +329 -0
  176. package/dist/esm/api/resources/summary/resources/templates/client/requests/index.d.mts +2 -0
  177. package/dist/esm/api/resources/summary/resources/templates/client/requests/index.mjs +1 -0
  178. package/dist/esm/api/resources/summary/resources/templates/exports.d.mts +2 -0
  179. package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/exports.mjs +1 -1
  180. package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/index.d.mts +1 -0
  181. package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/index.mjs +1 -0
  182. package/dist/esm/api/resources/summary/resources/templates/types/TemplatesDeleteResponse.d.mts +4 -0
  183. package/dist/esm/api/resources/summary/resources/templates/types/TemplatesGetResponse.d.mts +5 -0
  184. package/dist/esm/api/resources/summary/{types/SummaryListTemplatesResponse.d.mts → resources/templates/types/TemplatesListResponse.d.mts} +2 -2
  185. package/dist/esm/api/resources/summary/{types/SummaryUpdateTemplateResponse.d.mts → resources/templates/types/TemplatesUpdateResponse.d.mts} +2 -2
  186. package/dist/esm/api/resources/summary/resources/templates/types/index.d.mts +4 -0
  187. package/dist/esm/api/resources/summary/resources/templates/types/index.mjs +4 -0
  188. package/dist/esm/api/resources/summary/types/index.d.mts +0 -4
  189. package/dist/esm/api/resources/summary/types/index.mjs +0 -4
  190. package/dist/esm/api/resources/workflows/client/Client.d.mts +7 -6
  191. package/dist/esm/api/resources/workflows/client/Client.mjs +8 -14
  192. package/dist/{cjs/api/resources/workflows/client/requests/WorkflowsListRequest.d.ts → esm/api/resources/workflows/client/requests/GetRequest.d.mts} +1 -1
  193. package/dist/esm/api/resources/workflows/client/requests/{WorkflowsListRequest.d.mts → ListRequest.d.mts} +1 -1
  194. package/dist/esm/api/resources/workflows/client/requests/index.d.mts +2 -2
  195. package/dist/esm/api/resources/workflows/errors/GatewayTimeoutError.d.mts +5 -0
  196. package/dist/esm/api/resources/workflows/errors/GatewayTimeoutError.mjs +17 -0
  197. package/dist/esm/api/resources/workflows/errors/index.d.mts +1 -0
  198. package/dist/esm/api/resources/workflows/errors/index.mjs +1 -0
  199. package/dist/esm/api/resources/workflows/types/DeleteResponse.d.mts +4 -0
  200. package/dist/esm/api/resources/workflows/types/{WorkflowsGetResponse.d.mts → GetResponse.d.mts} +1 -1
  201. package/dist/esm/api/resources/workflows/types/{WorkflowsUpdateResponse.d.mts → UpdateResponse.d.mts} +1 -1
  202. package/dist/esm/api/resources/workflows/types/index.d.mts +3 -3
  203. package/dist/esm/api/resources/workflows/types/index.mjs +3 -3
  204. package/dist/esm/auth/OAuthAuthProvider.mjs +2 -2
  205. package/dist/esm/version.d.mts +1 -1
  206. package/dist/esm/version.mjs +1 -1
  207. package/openapi/openapi.json +11397 -0
  208. package/package.json +14 -12
  209. package/reference.md +140 -139
  210. package/dist/cjs/api/resources/agent/types/AgentGetChatMessagesRequestOrder.d.ts +0 -5
  211. package/dist/cjs/api/resources/agent/types/AgentGetChatMessagesRequestRole.d.ts +0 -7
  212. package/dist/cjs/api/resources/authtoken/resources/auth/client/Client.d.ts +0 -34
  213. package/dist/cjs/api/resources/authtoken/resources/auth/client/Client.js +0 -121
  214. package/dist/cjs/api/resources/authtoken/resources/auth/exports.d.ts +0 -2
  215. package/dist/cjs/api/resources/authtoken/resources/index.d.ts +0 -2
  216. package/dist/cjs/api/resources/fhir/types/FhirSearchResponse.d.ts +0 -2
  217. package/dist/cjs/api/resources/fhirProvider/types/FhirProviderDeleteResponse.d.ts +0 -4
  218. package/dist/cjs/api/resources/summary/types/SummaryDeleteTemplateResponse.d.ts +0 -4
  219. package/dist/esm/api/resources/agent/types/AgentGetChatMessagesRequestOrder.d.mts +0 -5
  220. package/dist/esm/api/resources/agent/types/AgentGetChatMessagesRequestRole.d.mts +0 -7
  221. package/dist/esm/api/resources/authtoken/resources/auth/client/Client.d.mts +0 -34
  222. package/dist/esm/api/resources/authtoken/resources/auth/client/Client.mjs +0 -84
  223. package/dist/esm/api/resources/authtoken/resources/auth/exports.d.mts +0 -2
  224. package/dist/esm/api/resources/authtoken/resources/index.d.mts +0 -2
  225. package/dist/esm/api/resources/authtoken/resources/index.mjs +0 -2
  226. package/dist/esm/api/resources/fhir/types/FhirSearchResponse.d.mts +0 -2
  227. package/dist/esm/api/resources/fhirProvider/types/FhirProviderDeleteResponse.d.mts +0 -4
  228. package/dist/esm/api/resources/summary/types/SummaryDeleteTemplateResponse.d.mts +0 -4
  229. package/dist/esm/api/resources/summary/types/SummaryGetTemplateResponse.d.mts +0 -5
  230. /package/dist/cjs/api/resources/agent/client/requests/{AgentGetChatMessagesRequest.js → GetChatMessagesRequest.js} +0 -0
  231. /package/dist/cjs/api/resources/agent/client/requests/{AgentListRequest.js → ListRequest.js} +0 -0
  232. /package/dist/cjs/api/resources/agent/types/{AgentDeleteResponse.js → DeleteResponse.js} +0 -0
  233. /package/dist/cjs/api/resources/agent/types/{AgentGetChatMessagesResponse.js → GetChatMessagesResponse.js} +0 -0
  234. /package/dist/cjs/api/resources/agent/types/{AgentListResponse.js → ListResponse.js} +0 -0
  235. /package/dist/cjs/api/resources/authtoken/{resources/auth/client → client}/requests/ClientCredentialsRequest.d.ts +0 -0
  236. /package/dist/cjs/api/resources/authtoken/{resources/auth/client → client}/requests/ClientCredentialsRequest.js +0 -0
  237. /package/dist/cjs/api/resources/authtoken/{resources/auth/client → client}/requests/index.d.ts +0 -0
  238. /package/dist/cjs/api/resources/authtoken/{resources/auth/client → client}/requests/index.js +0 -0
  239. /package/dist/cjs/api/resources/construe/client/requests/{DeleteConstrueCodesSystemsCodesystemRequest.js → DeleteCodeSystemRequest.js} +0 -0
  240. /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemCodeIdRequest.js → ExportCodeSystemRequest.js} +0 -0
  241. /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemRequest.js → GetCodeRequest.js} +0 -0
  242. /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchSemanticRequest.js → GetCodeSystemRequest.js} +0 -0
  243. /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchTextRequest.js → ListCodesRequest.js} +0 -0
  244. /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemExportRequest.js → SearchSemanticRequest.js} +0 -0
  245. /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemRequest.js → SearchTextRequest.js} +0 -0
  246. /package/dist/cjs/api/resources/construe/types/{ConstrueUploadCodeSystemResponse.js → UploadCodeSystemResponse.js} +0 -0
  247. /package/dist/cjs/api/resources/fhir/client/requests/{FhirCreateRequest.js → CreateRequest.js} +0 -0
  248. /package/dist/cjs/api/resources/fhir/client/requests/{FhirDeleteRequest.js → DeleteRequest.js} +0 -0
  249. /package/dist/cjs/api/resources/fhir/client/requests/{FhirExecuteBundleRequest.js → ExecuteBundleRequest.js} +0 -0
  250. /package/dist/cjs/api/resources/fhir/client/requests/{FhirPatchRequest.js → PatchRequest.js} +0 -0
  251. /package/dist/cjs/api/resources/fhir/client/requests/{FhirSearchRequest.js → SearchRequest.js} +0 -0
  252. /package/dist/cjs/api/resources/fhir/client/requests/{FhirUpsertRequest.js → UpsertRequest.js} +0 -0
  253. /package/dist/cjs/api/resources/fhir/types/{FhirSearchResponse.js → SearchResponse.js} +0 -0
  254. /package/dist/cjs/api/resources/fhirProvider/types/{FhirProviderDeleteResponse.js → DeleteResponse.js} +0 -0
  255. /package/dist/cjs/api/resources/fhirProvider/types/{FhirProviderRemoveAuthConfigResponse.js → RemoveAuthConfigResponse.js} +0 -0
  256. /package/dist/cjs/api/resources/lang2Fhir/types/{Lang2FhirUploadProfileResponse.js → UploadProfileResponse.js} +0 -0
  257. /package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/client/index.d.ts +0 -0
  258. /package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/client/index.js +0 -0
  259. /package/dist/cjs/api/resources/summary/{client → resources/templates/client}/requests/CreateSummaryTemplateRequest.d.ts +0 -0
  260. /package/dist/cjs/api/resources/summary/{client → resources/templates/client}/requests/CreateSummaryTemplateRequest.js +0 -0
  261. /package/dist/cjs/api/resources/summary/{client → resources/templates/client}/requests/UpdateSummaryTemplateRequest.d.ts +0 -0
  262. /package/dist/cjs/api/resources/summary/{client → resources/templates/client}/requests/UpdateSummaryTemplateRequest.js +0 -0
  263. /package/dist/cjs/api/resources/summary/{types/SummaryDeleteTemplateResponse.js → resources/templates/types/TemplatesDeleteResponse.js} +0 -0
  264. /package/dist/cjs/api/resources/summary/{types/SummaryGetTemplateResponse.js → resources/templates/types/TemplatesGetResponse.js} +0 -0
  265. /package/dist/cjs/api/resources/summary/{types/SummaryListTemplatesResponse.js → resources/templates/types/TemplatesListResponse.js} +0 -0
  266. /package/dist/cjs/api/resources/summary/{types/SummaryUpdateTemplateResponse.js → resources/templates/types/TemplatesUpdateResponse.js} +0 -0
  267. /package/dist/cjs/api/resources/workflows/client/requests/{WorkflowsGetRequest.js → GetRequest.js} +0 -0
  268. /package/dist/cjs/api/resources/workflows/client/requests/{WorkflowsListRequest.js → ListRequest.js} +0 -0
  269. /package/dist/cjs/api/resources/workflows/types/{WorkflowsDeleteResponse.js → DeleteResponse.js} +0 -0
  270. /package/dist/cjs/api/resources/workflows/types/{WorkflowsGetResponse.js → GetResponse.js} +0 -0
  271. /package/dist/cjs/api/resources/workflows/types/{WorkflowsUpdateResponse.js → UpdateResponse.js} +0 -0
  272. /package/dist/esm/api/resources/agent/client/requests/{AgentGetChatMessagesRequest.mjs → GetChatMessagesRequest.mjs} +0 -0
  273. /package/dist/esm/api/resources/agent/client/requests/{AgentListRequest.mjs → ListRequest.mjs} +0 -0
  274. /package/dist/esm/api/resources/agent/types/{AgentDeleteResponse.mjs → DeleteResponse.mjs} +0 -0
  275. /package/dist/esm/api/resources/agent/types/{AgentGetChatMessagesResponse.mjs → GetChatMessagesResponse.mjs} +0 -0
  276. /package/dist/esm/api/resources/agent/types/{AgentListResponse.mjs → ListResponse.mjs} +0 -0
  277. /package/dist/esm/api/resources/authtoken/{resources/auth/client → client}/requests/ClientCredentialsRequest.d.mts +0 -0
  278. /package/dist/esm/api/resources/authtoken/{resources/auth/client → client}/requests/ClientCredentialsRequest.mjs +0 -0
  279. /package/dist/esm/api/resources/authtoken/{resources/auth/client → client}/requests/index.d.mts +0 -0
  280. /package/dist/esm/api/resources/authtoken/{resources/auth/client → client}/requests/index.mjs +0 -0
  281. /package/dist/esm/api/resources/construe/client/requests/{DeleteConstrueCodesSystemsCodesystemRequest.mjs → DeleteCodeSystemRequest.mjs} +0 -0
  282. /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemCodeIdRequest.mjs → ExportCodeSystemRequest.mjs} +0 -0
  283. /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemRequest.mjs → GetCodeRequest.mjs} +0 -0
  284. /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchSemanticRequest.mjs → GetCodeSystemRequest.mjs} +0 -0
  285. /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchTextRequest.mjs → ListCodesRequest.mjs} +0 -0
  286. /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemExportRequest.mjs → SearchSemanticRequest.mjs} +0 -0
  287. /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemRequest.mjs → SearchTextRequest.mjs} +0 -0
  288. /package/dist/esm/api/resources/construe/types/{ConstrueUploadCodeSystemResponse.mjs → UploadCodeSystemResponse.mjs} +0 -0
  289. /package/dist/esm/api/resources/fhir/client/requests/{FhirCreateRequest.mjs → CreateRequest.mjs} +0 -0
  290. /package/dist/esm/api/resources/fhir/client/requests/{FhirDeleteRequest.mjs → DeleteRequest.mjs} +0 -0
  291. /package/dist/esm/api/resources/fhir/client/requests/{FhirExecuteBundleRequest.mjs → ExecuteBundleRequest.mjs} +0 -0
  292. /package/dist/esm/api/resources/fhir/client/requests/{FhirPatchRequest.mjs → PatchRequest.mjs} +0 -0
  293. /package/dist/esm/api/resources/fhir/client/requests/{FhirSearchRequest.mjs → SearchRequest.mjs} +0 -0
  294. /package/dist/esm/api/resources/fhir/client/requests/{FhirUpsertRequest.mjs → UpsertRequest.mjs} +0 -0
  295. /package/dist/esm/api/resources/fhir/types/{FhirSearchResponse.mjs → SearchResponse.mjs} +0 -0
  296. /package/dist/esm/api/resources/fhirProvider/types/{FhirProviderDeleteResponse.mjs → DeleteResponse.mjs} +0 -0
  297. /package/dist/esm/api/resources/fhirProvider/types/{FhirProviderRemoveAuthConfigResponse.mjs → RemoveAuthConfigResponse.mjs} +0 -0
  298. /package/dist/esm/api/resources/lang2Fhir/types/{Lang2FhirUploadProfileResponse.mjs → UploadProfileResponse.mjs} +0 -0
  299. /package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/client/index.d.mts +0 -0
  300. /package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/client/index.mjs +0 -0
  301. /package/dist/esm/api/resources/summary/{client → resources/templates/client}/requests/CreateSummaryTemplateRequest.d.mts +0 -0
  302. /package/dist/esm/api/resources/summary/{client → resources/templates/client}/requests/CreateSummaryTemplateRequest.mjs +0 -0
  303. /package/dist/esm/api/resources/summary/{client → resources/templates/client}/requests/UpdateSummaryTemplateRequest.d.mts +0 -0
  304. /package/dist/esm/api/resources/summary/{client → resources/templates/client}/requests/UpdateSummaryTemplateRequest.mjs +0 -0
  305. /package/dist/esm/api/resources/summary/{types/SummaryDeleteTemplateResponse.mjs → resources/templates/types/TemplatesDeleteResponse.mjs} +0 -0
  306. /package/dist/esm/api/resources/summary/{types/SummaryGetTemplateResponse.mjs → resources/templates/types/TemplatesGetResponse.mjs} +0 -0
  307. /package/dist/esm/api/resources/summary/{types/SummaryListTemplatesResponse.mjs → resources/templates/types/TemplatesListResponse.mjs} +0 -0
  308. /package/dist/esm/api/resources/summary/{types/SummaryUpdateTemplateResponse.mjs → resources/templates/types/TemplatesUpdateResponse.mjs} +0 -0
  309. /package/dist/esm/api/resources/workflows/client/requests/{WorkflowsGetRequest.mjs → GetRequest.mjs} +0 -0
  310. /package/dist/esm/api/resources/workflows/client/requests/{WorkflowsListRequest.mjs → ListRequest.mjs} +0 -0
  311. /package/dist/esm/api/resources/workflows/types/{WorkflowsDeleteResponse.mjs → DeleteResponse.mjs} +0 -0
  312. /package/dist/esm/api/resources/workflows/types/{WorkflowsGetResponse.mjs → GetResponse.mjs} +0 -0
  313. /package/dist/esm/api/resources/workflows/types/{WorkflowsUpdateResponse.mjs → UpdateResponse.mjs} +0 -0
@@ -23,7 +23,7 @@ export declare class FhirClient {
23
23
  * - "Patient" (for resource type operations)
24
24
  * - "Patient/123" (for specific resource operations)
25
25
  * - "Patient/123/_history" (for history operations)
26
- * @param {phenoml.fhir.FhirSearchRequest} request
26
+ * @param {phenoml.fhir.SearchRequest} request
27
27
  * @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
28
28
  *
29
29
  * @throws {@link phenoml.fhir.BadRequestError}
@@ -40,7 +40,7 @@ export declare class FhirClient {
40
40
  * "X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c..."
41
41
  * })
42
42
  */
43
- search(fhir_provider_id: string, fhir_path: string, request?: phenoml.fhir.FhirSearchRequest, requestOptions?: FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.fhir.FhirSearchResponse>;
43
+ search(fhir_provider_id: string, fhir_path: string, request?: phenoml.fhir.SearchRequest, requestOptions?: FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.fhir.SearchResponse>;
44
44
  private __search;
45
45
  /**
46
46
  * Creates a new FHIR resource on the specified provider. The request body should contain a valid FHIR resource in JSON format.
@@ -55,7 +55,7 @@ export declare class FhirClient {
55
55
  * - "Patient" (for resource type operations)
56
56
  * - "Patient/123" (for specific resource operations)
57
57
  * - "Patient/123/_history" (for history operations)
58
- * @param {phenoml.fhir.FhirCreateRequest} request
58
+ * @param {phenoml.fhir.CreateRequest} request
59
59
  * @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
60
60
  *
61
61
  * @throws {@link phenoml.fhir.BadRequestError}
@@ -74,7 +74,7 @@ export declare class FhirClient {
74
74
  * }
75
75
  * })
76
76
  */
77
- create(fhir_provider_id: string, fhir_path: string, request: phenoml.fhir.FhirCreateRequest, requestOptions?: FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.fhir.FhirResource>;
77
+ create(fhir_provider_id: string, fhir_path: string, request: phenoml.fhir.CreateRequest, requestOptions?: FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.fhir.FhirResource>;
78
78
  private __create;
79
79
  /**
80
80
  * Creates or updates a FHIR resource on the specified provider. If the resource exists, it will be updated; otherwise, it will be created.
@@ -89,7 +89,7 @@ export declare class FhirClient {
89
89
  * - "Patient" (for resource type operations)
90
90
  * - "Patient/123" (for specific resource operations)
91
91
  * - "Patient/123/_history" (for history operations)
92
- * @param {phenoml.fhir.FhirUpsertRequest} request
92
+ * @param {phenoml.fhir.UpsertRequest} request
93
93
  * @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
94
94
  *
95
95
  * @throws {@link phenoml.fhir.BadRequestError}
@@ -109,7 +109,7 @@ export declare class FhirClient {
109
109
  * }
110
110
  * })
111
111
  */
112
- upsert(fhir_provider_id: string, fhir_path: string, request: phenoml.fhir.FhirUpsertRequest, requestOptions?: FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.fhir.FhirResource>;
112
+ upsert(fhir_provider_id: string, fhir_path: string, request: phenoml.fhir.UpsertRequest, requestOptions?: FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.fhir.FhirResource>;
113
113
  private __upsert;
114
114
  /**
115
115
  * Deletes a FHIR resource from the specified provider.
@@ -124,7 +124,7 @@ export declare class FhirClient {
124
124
  * - "Patient" (for resource type operations)
125
125
  * - "Patient/123" (for specific resource operations)
126
126
  * - "Patient/123/_history" (for history operations)
127
- * @param {phenoml.fhir.FhirDeleteRequest} request
127
+ * @param {phenoml.fhir.DeleteRequest} request
128
128
  * @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
129
129
  *
130
130
  * @throws {@link phenoml.fhir.BadRequestError}
@@ -141,7 +141,7 @@ export declare class FhirClient {
141
141
  * "X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c..."
142
142
  * })
143
143
  */
144
- delete(fhir_provider_id: string, fhir_path: string, request?: phenoml.fhir.FhirDeleteRequest, requestOptions?: FhirClient.RequestOptions): core.HttpResponsePromise<Record<string, unknown>>;
144
+ delete(fhir_provider_id: string, fhir_path: string, request?: phenoml.fhir.DeleteRequest, requestOptions?: FhirClient.RequestOptions): core.HttpResponsePromise<Record<string, unknown>>;
145
145
  private __delete;
146
146
  /**
147
147
  * Partially updates a FHIR resource on the specified provider using JSON Patch operations as defined in RFC 6902.
@@ -161,7 +161,7 @@ export declare class FhirClient {
161
161
  * - "Patient" (for resource type operations)
162
162
  * - "Patient/123" (for specific resource operations)
163
163
  * - "Patient/123/_history" (for history operations)
164
- * @param {phenoml.fhir.FhirPatchRequest} request
164
+ * @param {phenoml.fhir.PatchRequest} request
165
165
  * @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
166
166
  *
167
167
  * @throws {@link phenoml.fhir.BadRequestError}
@@ -234,7 +234,7 @@ export declare class FhirClient {
234
234
  * }]
235
235
  * })
236
236
  */
237
- patch(fhir_provider_id: string, fhir_path: string, request: phenoml.fhir.FhirPatchRequest, requestOptions?: FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.fhir.FhirResource>;
237
+ patch(fhir_provider_id: string, fhir_path: string, request: phenoml.fhir.PatchRequest, requestOptions?: FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.fhir.FhirResource>;
238
238
  private __patch;
239
239
  /**
240
240
  * Executes a FHIR Bundle transaction or batch operation on the specified provider. This allows multiple FHIR resources to be processed in a single request.
@@ -246,7 +246,7 @@ export declare class FhirClient {
246
246
  * @param {string} fhir_provider_id - The ID of the FHIR provider to use. Can be either:
247
247
  * - A UUID representing the provider ID
248
248
  * - A provider name (legacy support - will just use the most recently updated provider with this name)
249
- * @param {phenoml.fhir.FhirExecuteBundleRequest} request
249
+ * @param {phenoml.fhir.ExecuteBundleRequest} request
250
250
  * @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
251
251
  *
252
252
  * @throws {@link phenoml.fhir.BadRequestError}
@@ -294,6 +294,6 @@ export declare class FhirClient {
294
294
  * }
295
295
  * })
296
296
  */
297
- executeBundle(fhir_provider_id: string, request: phenoml.fhir.FhirExecuteBundleRequest, requestOptions?: FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.fhir.FhirBundle>;
297
+ executeBundle(fhir_provider_id: string, request: phenoml.fhir.ExecuteBundleRequest, requestOptions?: FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.fhir.FhirBundle>;
298
298
  private __executeBundle;
299
299
  }
@@ -69,7 +69,7 @@ class FhirClient {
69
69
  * - "Patient" (for resource type operations)
70
70
  * - "Patient/123" (for specific resource operations)
71
71
  * - "Patient/123/_history" (for history operations)
72
- * @param {phenoml.fhir.FhirSearchRequest} request
72
+ * @param {phenoml.fhir.SearchRequest} request
73
73
  * @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
74
74
  *
75
75
  * @throws {@link phenoml.fhir.BadRequestError}
@@ -159,7 +159,7 @@ class FhirClient {
159
159
  * - "Patient" (for resource type operations)
160
160
  * - "Patient/123" (for specific resource operations)
161
161
  * - "Patient/123/_history" (for history operations)
162
- * @param {phenoml.fhir.FhirCreateRequest} request
162
+ * @param {phenoml.fhir.CreateRequest} request
163
163
  * @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
164
164
  *
165
165
  * @throws {@link phenoml.fhir.BadRequestError}
@@ -245,7 +245,7 @@ class FhirClient {
245
245
  * - "Patient" (for resource type operations)
246
246
  * - "Patient/123" (for specific resource operations)
247
247
  * - "Patient/123/_history" (for history operations)
248
- * @param {phenoml.fhir.FhirUpsertRequest} request
248
+ * @param {phenoml.fhir.UpsertRequest} request
249
249
  * @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
250
250
  *
251
251
  * @throws {@link phenoml.fhir.BadRequestError}
@@ -332,7 +332,7 @@ class FhirClient {
332
332
  * - "Patient" (for resource type operations)
333
333
  * - "Patient/123" (for specific resource operations)
334
334
  * - "Patient/123/_history" (for history operations)
335
- * @param {phenoml.fhir.FhirDeleteRequest} request
335
+ * @param {phenoml.fhir.DeleteRequest} request
336
336
  * @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
337
337
  *
338
338
  * @throws {@link phenoml.fhir.BadRequestError}
@@ -420,7 +420,7 @@ class FhirClient {
420
420
  * - "Patient" (for resource type operations)
421
421
  * - "Patient/123" (for specific resource operations)
422
422
  * - "Patient/123/_history" (for history operations)
423
- * @param {phenoml.fhir.FhirPatchRequest} request
423
+ * @param {phenoml.fhir.PatchRequest} request
424
424
  * @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
425
425
  *
426
426
  * @throws {@link phenoml.fhir.BadRequestError}
@@ -559,7 +559,7 @@ class FhirClient {
559
559
  * @param {string} fhir_provider_id - The ID of the FHIR provider to use. Can be either:
560
560
  * - A UUID representing the provider ID
561
561
  * - A provider name (legacy support - will just use the most recently updated provider with this name)
562
- * @param {phenoml.fhir.FhirExecuteBundleRequest} request
562
+ * @param {phenoml.fhir.ExecuteBundleRequest} request
563
563
  * @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
564
564
  *
565
565
  * @throws {@link phenoml.fhir.BadRequestError}
@@ -9,7 +9,7 @@ import type * as phenoml from "../../../../index.js";
9
9
  * }
10
10
  * }
11
11
  */
12
- export interface FhirCreateRequest {
12
+ export interface CreateRequest {
13
13
  /**
14
14
  * Optional header for on-behalf-of authentication. Used when making requests on behalf of another user or entity.
15
15
  * Must be in the format: Patient/{uuid} or Practitioner/{uuid}
@@ -5,7 +5,7 @@
5
5
  * "X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c..."
6
6
  * }
7
7
  */
8
- export interface FhirDeleteRequest {
8
+ export interface DeleteRequest {
9
9
  /**
10
10
  * Optional header for on-behalf-of authentication. Used when making requests on behalf of another user or entity.
11
11
  * Must be in the format: Patient/{uuid} or Practitioner/{uuid}
@@ -38,7 +38,7 @@ import type * as phenoml from "../../../../index.js";
38
38
  * }
39
39
  * }
40
40
  */
41
- export interface FhirExecuteBundleRequest {
41
+ export interface ExecuteBundleRequest {
42
42
  /**
43
43
  * Optional header for on-behalf-of authentication. Used when making requests on behalf of another user or entity.
44
44
  * Must be in the format: Patient/{uuid} or Practitioner/{uuid}
@@ -62,7 +62,7 @@ import type * as phenoml from "../../../../index.js";
62
62
  * }]
63
63
  * }
64
64
  */
65
- export interface FhirPatchRequest {
65
+ export interface PatchRequest {
66
66
  /**
67
67
  * Optional header for on-behalf-of authentication. Used when making requests on behalf of another user or entity.
68
68
  * Must be in the format: Patient/{uuid} or Practitioner/{uuid}
@@ -74,5 +74,5 @@ export interface FhirPatchRequest {
74
74
  */
75
75
  "X-Phenoml-Fhir-Provider"?: string;
76
76
  /** Array of JSON Patch operations following RFC 6902 */
77
- body: phenoml.fhir.FhirPatchRequestBodyItem[];
77
+ body: phenoml.fhir.PatchRequestBodyItem[];
78
78
  }
@@ -5,7 +5,7 @@
5
5
  * "X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c..."
6
6
  * }
7
7
  */
8
- export interface FhirSearchRequest {
8
+ export interface SearchRequest {
9
9
  /**
10
10
  * FHIR-compliant query parameters for search operations. Supports standard FHIR search parameters including:
11
11
  * - Resource-specific search parameters (e.g., name for Patient, status for Observation)
@@ -10,7 +10,7 @@ import type * as phenoml from "../../../../index.js";
10
10
  * }
11
11
  * }
12
12
  */
13
- export interface FhirUpsertRequest {
13
+ export interface UpsertRequest {
14
14
  /**
15
15
  * Optional header for on-behalf-of authentication. Used when making requests on behalf of another user or entity.
16
16
  * Must be in the format: Patient/{uuid} or Practitioner/{uuid}
@@ -1,6 +1,6 @@
1
- export type { FhirCreateRequest } from "./FhirCreateRequest.js";
2
- export type { FhirDeleteRequest } from "./FhirDeleteRequest.js";
3
- export type { FhirExecuteBundleRequest } from "./FhirExecuteBundleRequest.js";
4
- export type { FhirPatchRequest } from "./FhirPatchRequest.js";
5
- export type { FhirSearchRequest } from "./FhirSearchRequest.js";
6
- export type { FhirUpsertRequest } from "./FhirUpsertRequest.js";
1
+ export type { CreateRequest } from "./CreateRequest.js";
2
+ export type { DeleteRequest } from "./DeleteRequest.js";
3
+ export type { ExecuteBundleRequest } from "./ExecuteBundleRequest.js";
4
+ export type { PatchRequest } from "./PatchRequest.js";
5
+ export type { SearchRequest } from "./SearchRequest.js";
6
+ export type { UpsertRequest } from "./UpsertRequest.js";
@@ -1,6 +1,6 @@
1
- export interface FhirPatchRequestBodyItem {
1
+ export interface PatchRequestBodyItem {
2
2
  /** The operation to perform */
3
- op: FhirPatchRequestBodyItem.Op;
3
+ op: PatchRequestBodyItem.Op;
4
4
  /** JSON Pointer to the target location */
5
5
  path: string;
6
6
  /** The value to use (required for add, replace, test operations) */
@@ -8,7 +8,7 @@ export interface FhirPatchRequestBodyItem {
8
8
  /** Source location for move and copy operations (JSON Pointer) */
9
9
  from?: string | undefined;
10
10
  }
11
- export declare namespace FhirPatchRequestBodyItem {
11
+ export declare namespace PatchRequestBodyItem {
12
12
  /** The operation to perform */
13
13
  const Op: {
14
14
  readonly Add: "add";
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.FhirPatchRequestBodyItem = void 0;
5
- var FhirPatchRequestBodyItem;
6
- (function (FhirPatchRequestBodyItem) {
4
+ exports.PatchRequestBodyItem = void 0;
5
+ var PatchRequestBodyItem;
6
+ (function (PatchRequestBodyItem) {
7
7
  /** The operation to perform */
8
- FhirPatchRequestBodyItem.Op = {
8
+ PatchRequestBodyItem.Op = {
9
9
  Add: "add",
10
10
  Remove: "remove",
11
11
  Replace: "replace",
@@ -13,4 +13,4 @@ var FhirPatchRequestBodyItem;
13
13
  Copy: "copy",
14
14
  Test: "test",
15
15
  };
16
- })(FhirPatchRequestBodyItem || (exports.FhirPatchRequestBodyItem = FhirPatchRequestBodyItem = {}));
16
+ })(PatchRequestBodyItem || (exports.PatchRequestBodyItem = PatchRequestBodyItem = {}));
@@ -0,0 +1,2 @@
1
+ import type * as phenoml from "../../../index.js";
2
+ export type SearchResponse = phenoml.fhir.FhirBundle | phenoml.fhir.FhirResource;
@@ -1,5 +1,5 @@
1
1
  export * from "./ErrorResponse.js";
2
2
  export * from "./FhirBundle.js";
3
- export * from "./FhirPatchRequestBodyItem.js";
4
3
  export * from "./FhirResource.js";
5
- export * from "./FhirSearchResponse.js";
4
+ export * from "./PatchRequestBodyItem.js";
5
+ export * from "./SearchResponse.js";
@@ -16,6 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ErrorResponse.js"), exports);
18
18
  __exportStar(require("./FhirBundle.js"), exports);
19
- __exportStar(require("./FhirPatchRequestBodyItem.js"), exports);
20
19
  __exportStar(require("./FhirResource.js"), exports);
21
- __exportStar(require("./FhirSearchResponse.js"), exports);
20
+ __exportStar(require("./PatchRequestBodyItem.js"), exports);
21
+ __exportStar(require("./SearchResponse.js"), exports);
@@ -88,7 +88,7 @@ export declare class FhirProviderClient {
88
88
  * @example
89
89
  * await client.fhirProvider.delete("fhir_provider_id")
90
90
  */
91
- delete(fhir_provider_id: string, requestOptions?: FhirProviderClient.RequestOptions): core.HttpResponsePromise<phenoml.fhirProvider.FhirProviderDeleteResponse>;
91
+ delete(fhir_provider_id: string, requestOptions?: FhirProviderClient.RequestOptions): core.HttpResponsePromise<phenoml.fhirProvider.DeleteResponse>;
92
92
  private __delete;
93
93
  /**
94
94
  * Adds a new authentication configuration to an existing FHIR provider.
@@ -162,6 +162,6 @@ export declare class FhirProviderClient {
162
162
  * auth_config_id: "auth-config-456"
163
163
  * })
164
164
  */
165
- removeAuthConfig(fhir_provider_id: string, request: phenoml.fhirProvider.FhirProviderRemoveAuthConfigRequest, requestOptions?: FhirProviderClient.RequestOptions): core.HttpResponsePromise<phenoml.fhirProvider.FhirProviderRemoveAuthConfigResponse>;
165
+ removeAuthConfig(fhir_provider_id: string, request: phenoml.fhirProvider.FhirProviderRemoveAuthConfigRequest, requestOptions?: FhirProviderClient.RequestOptions): core.HttpResponsePromise<phenoml.fhirProvider.RemoveAuthConfigResponse>;
166
166
  private __removeAuthConfig;
167
167
  }
@@ -282,10 +282,7 @@ class FhirProviderClient {
282
282
  logging: this._options.logging,
283
283
  });
284
284
  if (_response.ok) {
285
- return {
286
- data: _response.body,
287
- rawResponse: _response.rawResponse,
288
- };
285
+ return { data: _response.body, rawResponse: _response.rawResponse };
289
286
  }
290
287
  if (_response.error.reason === "status-code") {
291
288
  switch (_response.error.statusCode) {
@@ -1,4 +1,4 @@
1
- export interface AgentDeleteResponse {
1
+ export interface DeleteResponse {
2
2
  success?: boolean | undefined;
3
3
  message?: string | undefined;
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import type * as phenoml from "../../../index.js";
2
- export interface FhirProviderRemoveAuthConfigResponse {
2
+ export interface RemoveAuthConfigResponse {
3
3
  success?: boolean | undefined;
4
4
  message?: string | undefined;
5
5
  data?: phenoml.fhirProvider.FhirProviderTemplate | undefined;
@@ -1,11 +1,10 @@
1
1
  export * from "./AuthMethod.js";
2
2
  export * from "./ClientSecretAuth.js";
3
+ export * from "./DeleteResponse.js";
3
4
  export * from "./FhirProviderAddAuthConfigRequest.js";
4
5
  export * from "./FhirProviderAuthConfig.js";
5
6
  export * from "./FhirProviderCreateRequestAuth.js";
6
- export * from "./FhirProviderDeleteResponse.js";
7
7
  export * from "./FhirProviderListResponse.js";
8
- export * from "./FhirProviderRemoveAuthConfigResponse.js";
9
8
  export * from "./FhirProviderResponse.js";
10
9
  export * from "./FhirProviderSandboxInfo.js";
11
10
  export * from "./FhirProviderTemplate.js";
@@ -16,6 +15,7 @@ export * from "./JwtAuth.js";
16
15
  export * from "./NoAuth.js";
17
16
  export * from "./OnBehalfOfAuth.js";
18
17
  export * from "./Provider.js";
18
+ export * from "./RemoveAuthConfigResponse.js";
19
19
  export * from "./Role.js";
20
20
  export * from "./ServiceAccountKey.js";
21
21
  export * from "./ServiceAccountMetadata.js";
@@ -16,12 +16,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AuthMethod.js"), exports);
18
18
  __exportStar(require("./ClientSecretAuth.js"), exports);
19
+ __exportStar(require("./DeleteResponse.js"), exports);
19
20
  __exportStar(require("./FhirProviderAddAuthConfigRequest.js"), exports);
20
21
  __exportStar(require("./FhirProviderAuthConfig.js"), exports);
21
22
  __exportStar(require("./FhirProviderCreateRequestAuth.js"), exports);
22
- __exportStar(require("./FhirProviderDeleteResponse.js"), exports);
23
23
  __exportStar(require("./FhirProviderListResponse.js"), exports);
24
- __exportStar(require("./FhirProviderRemoveAuthConfigResponse.js"), exports);
25
24
  __exportStar(require("./FhirProviderResponse.js"), exports);
26
25
  __exportStar(require("./FhirProviderSandboxInfo.js"), exports);
27
26
  __exportStar(require("./FhirProviderTemplate.js"), exports);
@@ -32,6 +31,7 @@ __exportStar(require("./JwtAuth.js"), exports);
32
31
  __exportStar(require("./NoAuth.js"), exports);
33
32
  __exportStar(require("./OnBehalfOfAuth.js"), exports);
34
33
  __exportStar(require("./Provider.js"), exports);
34
+ __exportStar(require("./RemoveAuthConfigResponse.js"), exports);
35
35
  __exportStar(require("./Role.js"), exports);
36
36
  __exportStar(require("./ServiceAccountKey.js"), exports);
37
37
  __exportStar(require("./ServiceAccountMetadata.js"), exports);
@@ -112,7 +112,7 @@ export declare class Lang2FhirClient {
112
112
  * profile_context: "When clinical text describes cardiology-specific findings, prefer this profile over the generic US Core Condition."
113
113
  * })
114
114
  */
115
- uploadProfile(request: phenoml.lang2Fhir.ProfileUploadRequest, requestOptions?: Lang2FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.lang2Fhir.Lang2FhirUploadProfileResponse>;
115
+ uploadProfile(request: phenoml.lang2Fhir.ProfileUploadRequest, requestOptions?: Lang2FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.lang2Fhir.UploadProfileResponse>;
116
116
  private __uploadProfile;
117
117
  /**
118
118
  * Extracts text from a document (PDF or image) and converts it into a structured FHIR resource.
@@ -152,12 +152,12 @@ export declare class Lang2FhirClient {
152
152
  * @throws {@link phenoml.lang2Fhir.InternalServerError}
153
153
  *
154
154
  * @example
155
- * await client.lang2Fhir.extractMultipleFhirResourcesFromADocument({
155
+ * await client.lang2Fhir.documentMulti({
156
156
  * version: "R4",
157
157
  * content: "JVBERi0xLjQKJeLjz9MK...(base64-encoded PDF or image bytes)",
158
158
  * provider: "medplum"
159
159
  * })
160
160
  */
161
- extractMultipleFhirResourcesFromADocument(request: phenoml.lang2Fhir.DocumentMultiRequest, requestOptions?: Lang2FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.lang2Fhir.DocumentMultiResponse>;
162
- private __extractMultipleFhirResourcesFromADocument;
161
+ documentMulti(request: phenoml.lang2Fhir.DocumentMultiRequest, requestOptions?: Lang2FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.lang2Fhir.DocumentMultiResponse>;
162
+ private __documentMulti;
163
163
  }
@@ -417,16 +417,16 @@ class Lang2FhirClient {
417
417
  * @throws {@link phenoml.lang2Fhir.InternalServerError}
418
418
  *
419
419
  * @example
420
- * await client.lang2Fhir.extractMultipleFhirResourcesFromADocument({
420
+ * await client.lang2Fhir.documentMulti({
421
421
  * version: "R4",
422
422
  * content: "JVBERi0xLjQKJeLjz9MK...(base64-encoded PDF or image bytes)",
423
423
  * provider: "medplum"
424
424
  * })
425
425
  */
426
- extractMultipleFhirResourcesFromADocument(request, requestOptions) {
427
- return core.HttpResponsePromise.fromPromise(this.__extractMultipleFhirResourcesFromADocument(request, requestOptions));
426
+ documentMulti(request, requestOptions) {
427
+ return core.HttpResponsePromise.fromPromise(this.__documentMulti(request, requestOptions));
428
428
  }
429
- __extractMultipleFhirResourcesFromADocument(request, requestOptions) {
429
+ __documentMulti(request, requestOptions) {
430
430
  return __awaiter(this, void 0, void 0, function* () {
431
431
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
432
432
  const _authRequest = yield this._options.authProvider.getAuthRequest();
@@ -1,4 +1,4 @@
1
- export interface Lang2FhirUploadProfileResponse {
1
+ export interface UploadProfileResponse {
2
2
  message?: string | undefined;
3
3
  /** The lowercase StructureDefinition id, used as the profile's unique identifier and lookup key. Pass this value as the `resource` parameter to `/lang2fhir/create` or `/lang2fhir/profile/json/:version/:resource` to use this profile. */
4
4
  id?: string | undefined;
@@ -2,7 +2,7 @@ export * from "./CreateMultiResponse.js";
2
2
  export * from "./DocumentConfig.js";
3
3
  export * from "./DocumentMultiResponse.js";
4
4
  export * from "./FhirResource.js";
5
- export * from "./Lang2FhirUploadProfileResponse.js";
6
5
  export * from "./PageClassification.js";
7
6
  export * from "./PageFilter.js";
8
7
  export * from "./SearchResponse.js";
8
+ export * from "./UploadProfileResponse.js";
@@ -18,7 +18,7 @@ __exportStar(require("./CreateMultiResponse.js"), exports);
18
18
  __exportStar(require("./DocumentConfig.js"), exports);
19
19
  __exportStar(require("./DocumentMultiResponse.js"), exports);
20
20
  __exportStar(require("./FhirResource.js"), exports);
21
- __exportStar(require("./Lang2FhirUploadProfileResponse.js"), exports);
22
21
  __exportStar(require("./PageClassification.js"), exports);
23
22
  __exportStar(require("./PageFilter.js"), exports);
24
23
  __exportStar(require("./SearchResponse.js"), exports);
24
+ __exportStar(require("./UploadProfileResponse.js"), exports);
@@ -2,6 +2,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
2
2
  import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
3
3
  import * as core from "../../../../core/index.js";
4
4
  import * as phenoml from "../../../index.js";
5
+ import { TemplatesClient } from "../resources/templates/client/Client.js";
5
6
  export declare namespace SummaryClient {
6
7
  type Options = BaseClientOptions;
7
8
  interface RequestOptions extends BaseRequestOptions {
@@ -9,95 +10,9 @@ export declare namespace SummaryClient {
9
10
  }
10
11
  export declare class SummaryClient {
11
12
  protected readonly _options: NormalizedClientOptionsWithAuth<SummaryClient.Options>;
13
+ protected _templates: TemplatesClient | undefined;
12
14
  constructor(options?: SummaryClient.Options);
13
- /**
14
- * Retrieves all summary templates for the authenticated user
15
- *
16
- * @param {SummaryClient.RequestOptions} requestOptions - Request-specific configuration.
17
- *
18
- * @throws {@link phenoml.summary.UnauthorizedError}
19
- * @throws {@link phenoml.summary.InternalServerError}
20
- *
21
- * @example
22
- * await client.summary.listTemplates()
23
- */
24
- listTemplates(requestOptions?: SummaryClient.RequestOptions): core.HttpResponsePromise<phenoml.summary.SummaryListTemplatesResponse>;
25
- private __listTemplates;
26
- /**
27
- * Creates a summary template from an example using LLM function calling
28
- *
29
- * @param {phenoml.summary.CreateSummaryTemplateRequest} request
30
- * @param {SummaryClient.RequestOptions} requestOptions - Request-specific configuration.
31
- *
32
- * @throws {@link phenoml.summary.BadRequestError}
33
- * @throws {@link phenoml.summary.UnauthorizedError}
34
- * @throws {@link phenoml.summary.InternalServerError}
35
- *
36
- * @example
37
- * await client.summary.createTemplate({
38
- * name: "Discharge Summary",
39
- * example_summary: "Patient John Doe, age 45, was admitted on 2024-01-10 with Type 2 Diabetes. Discharged on 2024-01-15 with Metformin 500mg BID.",
40
- * target_resources: ["Patient", "Condition", "MedicationRequest"],
41
- * mode: "narrative"
42
- * })
43
- */
44
- createTemplate(request: phenoml.summary.CreateSummaryTemplateRequest, requestOptions?: SummaryClient.RequestOptions): core.HttpResponsePromise<phenoml.summary.CreateSummaryTemplateResponse>;
45
- private __createTemplate;
46
- /**
47
- * Retrieves a specific summary template
48
- *
49
- * @param {string} id - Template ID
50
- * @param {SummaryClient.RequestOptions} requestOptions - Request-specific configuration.
51
- *
52
- * @throws {@link phenoml.summary.UnauthorizedError}
53
- * @throws {@link phenoml.summary.ForbiddenError}
54
- * @throws {@link phenoml.summary.NotFoundError}
55
- * @throws {@link phenoml.summary.InternalServerError}
56
- *
57
- * @example
58
- * await client.summary.getTemplate("id")
59
- */
60
- getTemplate(id: string, requestOptions?: SummaryClient.RequestOptions): core.HttpResponsePromise<phenoml.summary.SummaryGetTemplateResponse>;
61
- private __getTemplate;
62
- /**
63
- * Updates an existing summary template
64
- *
65
- * @param {string} id - Template ID
66
- * @param {phenoml.summary.UpdateSummaryTemplateRequest} request
67
- * @param {SummaryClient.RequestOptions} requestOptions - Request-specific configuration.
68
- *
69
- * @throws {@link phenoml.summary.BadRequestError}
70
- * @throws {@link phenoml.summary.UnauthorizedError}
71
- * @throws {@link phenoml.summary.ForbiddenError}
72
- * @throws {@link phenoml.summary.NotFoundError}
73
- * @throws {@link phenoml.summary.InternalServerError}
74
- *
75
- * @example
76
- * await client.summary.updateTemplate("id", {
77
- * name: "Discharge Summary",
78
- * template: "Patient {{Patient.name[0].text}} was discharged on {{Encounter[0].period.end}} with {{MedicationRequest[0].medicationCodeableConcept.coding[0].display}} {{MedicationRequest[0].dosageInstruction[0].text}}.",
79
- * target_resources: ["Patient", "Encounter", "MedicationRequest"],
80
- * mode: "narrative"
81
- * })
82
- */
83
- updateTemplate(id: string, request: phenoml.summary.UpdateSummaryTemplateRequest, requestOptions?: SummaryClient.RequestOptions): core.HttpResponsePromise<phenoml.summary.SummaryUpdateTemplateResponse>;
84
- private __updateTemplate;
85
- /**
86
- * Deletes a summary template
87
- *
88
- * @param {string} id - Template ID
89
- * @param {SummaryClient.RequestOptions} requestOptions - Request-specific configuration.
90
- *
91
- * @throws {@link phenoml.summary.UnauthorizedError}
92
- * @throws {@link phenoml.summary.ForbiddenError}
93
- * @throws {@link phenoml.summary.NotFoundError}
94
- * @throws {@link phenoml.summary.InternalServerError}
95
- *
96
- * @example
97
- * await client.summary.deleteTemplate("id")
98
- */
99
- deleteTemplate(id: string, requestOptions?: SummaryClient.RequestOptions): core.HttpResponsePromise<phenoml.summary.SummaryDeleteTemplateResponse>;
100
- private __deleteTemplate;
15
+ get templates(): TemplatesClient;
101
16
  /**
102
17
  * Creates a summary from FHIR resources using one of three modes:
103
18
  * - **narrative**: Uses a template to substitute FHIR data into placeholders (requires template_id)