mendari 0.1.0__tar.gz

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 (261) hide show
  1. mendari-0.1.0/.gitignore +26 -0
  2. mendari-0.1.0/LICENSE +202 -0
  3. mendari-0.1.0/NOTICE +79 -0
  4. mendari-0.1.0/PKG-INFO +522 -0
  5. mendari-0.1.0/README.md +484 -0
  6. mendari-0.1.0/agents/portal-message-agent/agent.yaml +213 -0
  7. mendari-0.1.0/agents/portal-message-agent/data/examples.jsonl +12 -0
  8. mendari-0.1.0/agents/portal-message-agent/data/test.jsonl +600 -0
  9. mendari-0.1.0/agents/portal-message-agent/data/written.jsonl +300 -0
  10. mendari-0.1.0/agents/portal-message-agent/data/written_grades.jsonl +201 -0
  11. mendari-0.1.0/agents/portal-message-agent/fhir/mapping.yaml +22 -0
  12. mendari-0.1.0/agents/portal-message-agent/fixtures/mock_agent.json +146 -0
  13. mendari-0.1.0/agents/portal-message-agent/fixtures/mock_judge.json +29 -0
  14. mendari-0.1.0/agents/portal-message-agent/logic/rules.yaml +25 -0
  15. mendari-0.1.0/agents/portal-message-agent/schemas/input.schema.json +18 -0
  16. mendari-0.1.0/agents/portal-message-agent/tests/cases.yaml +10 -0
  17. mendari-0.1.0/pyproject.toml +133 -0
  18. mendari-0.1.0/src/mendari/__init__.py +32 -0
  19. mendari-0.1.0/src/mendari/agent_kit.py +689 -0
  20. mendari-0.1.0/src/mendari/alerts.py +347 -0
  21. mendari-0.1.0/src/mendari/cli.py +5215 -0
  22. mendari-0.1.0/src/mendari/core/__init__.py +1 -0
  23. mendari-0.1.0/src/mendari/core/accounts.py +144 -0
  24. mendari-0.1.0/src/mendari/core/actions.py +406 -0
  25. mendari-0.1.0/src/mendari/core/agent.py +1137 -0
  26. mendari-0.1.0/src/mendari/core/agent_store.py +1517 -0
  27. mendari-0.1.0/src/mendari/core/audit.py +6337 -0
  28. mendari-0.1.0/src/mendari/core/caps.py +313 -0
  29. mendari-0.1.0/src/mendari/core/card.py +748 -0
  30. mendari-0.1.0/src/mendari/core/checkpoint.py +123 -0
  31. mendari-0.1.0/src/mendari/core/clock.py +37 -0
  32. mendari-0.1.0/src/mendari/core/connections.py +459 -0
  33. mendari-0.1.0/src/mendari/core/crosswalk.yaml +820 -0
  34. mendari-0.1.0/src/mendari/core/db.py +528 -0
  35. mendari-0.1.0/src/mendari/core/decision.py +1197 -0
  36. mendari-0.1.0/src/mendari/core/https_only.py +37 -0
  37. mendari-0.1.0/src/mendari/core/input_schema.py +585 -0
  38. mendari-0.1.0/src/mendari/core/origin.py +260 -0
  39. mendari-0.1.0/src/mendari/core/packet.py +3103 -0
  40. mendari-0.1.0/src/mendari/core/patterns.py +304 -0
  41. mendari-0.1.0/src/mendari/core/phi.py +390 -0
  42. mendari-0.1.0/src/mendari/core/phi_detect.py +424 -0
  43. mendari-0.1.0/src/mendari/core/phi_names.txt +1297 -0
  44. mendari-0.1.0/src/mendari/core/policy.py +554 -0
  45. mendari-0.1.0/src/mendari/core/query.py +63 -0
  46. mendari-0.1.0/src/mendari/core/rate_buckets.py +86 -0
  47. mendari-0.1.0/src/mendari/core/re2_syntax.py +554 -0
  48. mendari-0.1.0/src/mendari/core/reference.py +78 -0
  49. mendari-0.1.0/src/mendari/core/registry.py +152 -0
  50. mendari-0.1.0/src/mendari/core/schema_graph.py +172 -0
  51. mendari-0.1.0/src/mendari/core/session_seal.py +82 -0
  52. mendari-0.1.0/src/mendari/core/site_cases.py +60 -0
  53. mendari-0.1.0/src/mendari/core/site_codes.py +287 -0
  54. mendari-0.1.0/src/mendari/core/spec.py +1253 -0
  55. mendari-0.1.0/src/mendari/core/status.py +23 -0
  56. mendari-0.1.0/src/mendari/core/templates.py +174 -0
  57. mendari-0.1.0/src/mendari/core/tenancy.py +86 -0
  58. mendari-0.1.0/src/mendari/core/text.py +96 -0
  59. mendari-0.1.0/src/mendari/core/validation_brief.py +432 -0
  60. mendari-0.1.0/src/mendari/core/written.py +937 -0
  61. mendari-0.1.0/src/mendari/dashboard/LICENSE-lucide.txt +39 -0
  62. mendari-0.1.0/src/mendari/dashboard/access.js +133 -0
  63. mendari-0.1.0/src/mendari/dashboard/admin.js +1369 -0
  64. mendari-0.1.0/src/mendari/dashboard/adoption.js +121 -0
  65. mendari-0.1.0/src/mendari/dashboard/agents.js +592 -0
  66. mendari-0.1.0/src/mendari/dashboard/audit.js +431 -0
  67. mendari-0.1.0/src/mendari/dashboard/card.js +452 -0
  68. mendari-0.1.0/src/mendari/dashboard/charts.js +528 -0
  69. mendari-0.1.0/src/mendari/dashboard/connection.js +264 -0
  70. mendari-0.1.0/src/mendari/dashboard/docs/reference.html +21 -0
  71. mendari-0.1.0/src/mendari/dashboard/docs/reference.js +62 -0
  72. mendari-0.1.0/src/mendari/dashboard/docs.html +178 -0
  73. mendari-0.1.0/src/mendari/dashboard/docs.js +56 -0
  74. mendari-0.1.0/src/mendari/dashboard/drawer.js +123 -0
  75. mendari-0.1.0/src/mendari/dashboard/evals.js +182 -0
  76. mendari-0.1.0/src/mendari/dashboard/favicon.ico +0 -0
  77. mendari-0.1.0/src/mendari/dashboard/favicon.svg +1 -0
  78. mendari-0.1.0/src/mendari/dashboard/feedback.js +211 -0
  79. mendari-0.1.0/src/mendari/dashboard/form.js +260 -0
  80. mendari-0.1.0/src/mendari/dashboard/index.html +176 -0
  81. mendari-0.1.0/src/mendari/dashboard/invite.html +82 -0
  82. mendari-0.1.0/src/mendari/dashboard/invite.js +270 -0
  83. mendari-0.1.0/src/mendari/dashboard/labelling.js +196 -0
  84. mendari-0.1.0/src/mendari/dashboard/leaderboard.js +213 -0
  85. mendari-0.1.0/src/mendari/dashboard/main.js +265 -0
  86. mendari-0.1.0/src/mendari/dashboard/manifest.js +267 -0
  87. mendari-0.1.0/src/mendari/dashboard/monitoring.js +165 -0
  88. mendari-0.1.0/src/mendari/dashboard/notice.js +55 -0
  89. mendari-0.1.0/src/mendari/dashboard/operatingpoint.js +20 -0
  90. mendari-0.1.0/src/mendari/dashboard/overview.js +482 -0
  91. mendari-0.1.0/src/mendari/dashboard/palette.js +330 -0
  92. mendari-0.1.0/src/mendari/dashboard/patient.js +167 -0
  93. mendari-0.1.0/src/mendari/dashboard/record.js +36 -0
  94. mendari-0.1.0/src/mendari/dashboard/registry.js +644 -0
  95. mendari-0.1.0/src/mendari/dashboard/report.js +314 -0
  96. mendari-0.1.0/src/mendari/dashboard/review.js +306 -0
  97. mendari-0.1.0/src/mendari/dashboard/router.js +169 -0
  98. mendari-0.1.0/src/mendari/dashboard/settings.js +27 -0
  99. mendari-0.1.0/src/mendari/dashboard/skeleton.js +37 -0
  100. mendari-0.1.0/src/mendari/dashboard/snippets/auth.sh +14 -0
  101. mendari-0.1.0/src/mendari/dashboard/snippets/cds.sh +32 -0
  102. mendari-0.1.0/src/mendari/dashboard/snippets/fhir.sh +51 -0
  103. mendari-0.1.0/src/mendari/dashboard/snippets/quickstart.sh +25 -0
  104. mendari-0.1.0/src/mendari/dashboard/status.html +53 -0
  105. mendari-0.1.0/src/mendari/dashboard/status.js +69 -0
  106. mendari-0.1.0/src/mendari/dashboard/store.js +486 -0
  107. mendari-0.1.0/src/mendari/dashboard/style.css +1425 -0
  108. mendari-0.1.0/src/mendari/dashboard/system.js +420 -0
  109. mendari-0.1.0/src/mendari/dashboard/table.js +124 -0
  110. mendari-0.1.0/src/mendari/dashboard/theme.js +31 -0
  111. mendari-0.1.0/src/mendari/dashboard/trace.js +80 -0
  112. mendari-0.1.0/src/mendari/dashboard/try.js +403 -0
  113. mendari-0.1.0/src/mendari/dashboard/ui.js +550 -0
  114. mendari-0.1.0/src/mendari/dashboard/vendor/swagger-ui/.npmrc +3 -0
  115. mendari-0.1.0/src/mendari/dashboard/vendor/swagger-ui/5.34.0/LICENSE +202 -0
  116. mendari-0.1.0/src/mendari/dashboard/vendor/swagger-ui/5.34.0/NOTICE +2 -0
  117. mendari-0.1.0/src/mendari/dashboard/vendor/swagger-ui/5.34.0/swagger-ui-bundle.js +2 -0
  118. mendari-0.1.0/src/mendari/dashboard/vendor/swagger-ui/5.34.0/swagger-ui-bundle.js.LICENSE.txt +131 -0
  119. mendari-0.1.0/src/mendari/dashboard/vendor/swagger-ui/5.34.0/swagger-ui.css +3 -0
  120. mendari-0.1.0/src/mendari/dashboard/vendor/swagger-ui/manifest.json +14 -0
  121. mendari-0.1.0/src/mendari/dashboard/vendor/swagger-ui/package-lock.json +30 -0
  122. mendari-0.1.0/src/mendari/dashboard/vendor/swagger-ui/package.json +9 -0
  123. mendari-0.1.0/src/mendari/dashboard/written.js +143 -0
  124. mendari-0.1.0/src/mendari/errors.py +221 -0
  125. mendari-0.1.0/src/mendari/evals/__init__.py +20 -0
  126. mendari-0.1.0/src/mendari/evals/behaviour_tests.py +244 -0
  127. mendari-0.1.0/src/mendari/evals/canonical.py +86 -0
  128. mendari-0.1.0/src/mendari/evals/compare.py +205 -0
  129. mendari-0.1.0/src/mendari/evals/confidence.py +470 -0
  130. mendari-0.1.0/src/mendari/evals/corrections.py +88 -0
  131. mendari-0.1.0/src/mendari/evals/coverage.py +156 -0
  132. mendari-0.1.0/src/mendari/evals/dataset_checks.py +227 -0
  133. mendari-0.1.0/src/mendari/evals/feedback.py +150 -0
  134. mendari-0.1.0/src/mendari/evals/figures.py +440 -0
  135. mendari-0.1.0/src/mendari/evals/gate.py +456 -0
  136. mendari-0.1.0/src/mendari/evals/harness.py +239 -0
  137. mendari-0.1.0/src/mendari/evals/leaderboard.py +308 -0
  138. mendari-0.1.0/src/mendari/evals/ledger.py +283 -0
  139. mendari-0.1.0/src/mendari/evals/metrics.py +134 -0
  140. mendari-0.1.0/src/mendari/evals/monitoring.py +488 -0
  141. mendari-0.1.0/src/mendari/evals/operating_point.py +956 -0
  142. mendari-0.1.0/src/mendari/evals/paired.py +260 -0
  143. mendari-0.1.0/src/mendari/evals/pooling.py +343 -0
  144. mendari-0.1.0/src/mendari/evals/probe.py +783 -0
  145. mendari-0.1.0/src/mendari/evals/probe_cases.py +396 -0
  146. mendari-0.1.0/src/mendari/evals/probe_model.py +143 -0
  147. mendari-0.1.0/src/mendari/evals/probe_report.py +343 -0
  148. mendari-0.1.0/src/mendari/evals/probe_tests.py +239 -0
  149. mendari-0.1.0/src/mendari/evals/probe_transforms.py +337 -0
  150. mendari-0.1.0/src/mendari/evals/probe_variants.py +398 -0
  151. mendari-0.1.0/src/mendari/evals/ranking.py +142 -0
  152. mendari-0.1.0/src/mendari/evals/rater_agreement.py +126 -0
  153. mendari-0.1.0/src/mendari/evals/render.py +470 -0
  154. mendari-0.1.0/src/mendari/evals/result.py +295 -0
  155. mendari-0.1.0/src/mendari/evals/share.py +634 -0
  156. mendari-0.1.0/src/mendari/evals/stats.py +686 -0
  157. mendari-0.1.0/src/mendari/evals/store_jobs.py +412 -0
  158. mendari-0.1.0/src/mendari/evals/validation.py +222 -0
  159. mendari-0.1.0/src/mendari/evals/written.py +1144 -0
  160. mendari-0.1.0/src/mendari/hub/__init__.py +2 -0
  161. mendari-0.1.0/src/mendari/hub/acceptance.py +153 -0
  162. mendari-0.1.0/src/mendari/hub/archive.py +400 -0
  163. mendari-0.1.0/src/mendari/hub/badge.py +152 -0
  164. mendari-0.1.0/src/mendari/hub/checkpoint.py +83 -0
  165. mendari-0.1.0/src/mendari/hub/client.py +930 -0
  166. mendari-0.1.0/src/mendari/hub/evaluation_page.py +410 -0
  167. mendari-0.1.0/src/mendari/hub/evaluations.py +896 -0
  168. mendari-0.1.0/src/mendari/hub/registry.py +2795 -0
  169. mendari-0.1.0/src/mendari/hub/registry_keys.json +9 -0
  170. mendari-0.1.0/src/mendari/hub/regression.py +280 -0
  171. mendari-0.1.0/src/mendari/hub/site_evidence.py +213 -0
  172. mendari-0.1.0/src/mendari/hub/site_reports.py +377 -0
  173. mendari-0.1.0/src/mendari/hub/site_signing.py +278 -0
  174. mendari-0.1.0/src/mendari/hub/sites.py +862 -0
  175. mendari-0.1.0/src/mendari/hub/yank.py +188 -0
  176. mendari-0.1.0/src/mendari/install.py +1187 -0
  177. mendari-0.1.0/src/mendari/mcp.py +377 -0
  178. mendari-0.1.0/src/mendari/notices.py +61 -0
  179. mendari-0.1.0/src/mendari/parallel.py +37 -0
  180. mendari-0.1.0/src/mendari/providers/__init__.py +197 -0
  181. mendari-0.1.0/src/mendari/providers/agent.py +945 -0
  182. mendari-0.1.0/src/mendari/providers/agent_calibration.py +359 -0
  183. mendari-0.1.0/src/mendari/providers/base.py +393 -0
  184. mendari-0.1.0/src/mendari/providers/batch.py +91 -0
  185. mendari-0.1.0/src/mendari/providers/calibration.py +58 -0
  186. mendari-0.1.0/src/mendari/providers/check.py +167 -0
  187. mendari-0.1.0/src/mendari/providers/composite.py +181 -0
  188. mendari-0.1.0/src/mendari/providers/credentials.py +37 -0
  189. mendari-0.1.0/src/mendari/providers/deadline.py +101 -0
  190. mendari-0.1.0/src/mendari/providers/fixture.py +88 -0
  191. mendari-0.1.0/src/mendari/providers/http.py +274 -0
  192. mendari-0.1.0/src/mendari/providers/judge.py +303 -0
  193. mendari-0.1.0/src/mendari/providers/llm.py +631 -0
  194. mendari-0.1.0/src/mendari/providers/reach.py +242 -0
  195. mendari-0.1.0/src/mendari/providers/repeat.py +190 -0
  196. mendari-0.1.0/src/mendari/providers/rules.py +274 -0
  197. mendari-0.1.0/src/mendari/providers/signals.py +141 -0
  198. mendari-0.1.0/src/mendari/sandbox/__init__.py +24 -0
  199. mendari-0.1.0/src/mendari/sandbox/bulk_check.py +99 -0
  200. mendari-0.1.0/src/mendari/sandbox/cds_client.py +416 -0
  201. mendari-0.1.0/src/mendari/sandbox/code_systems.py +16 -0
  202. mendari-0.1.0/src/mendari/sandbox/demo.py +335 -0
  203. mendari-0.1.0/src/mendari/sandbox/fhir_records.py +85 -0
  204. mendari-0.1.0/src/mendari/sandbox/fhir_workflow.py +229 -0
  205. mendari-0.1.0/src/mendari/sandbox/pilot_check.py +276 -0
  206. mendari-0.1.0/src/mendari/sandbox/smart_launch.py +238 -0
  207. mendari-0.1.0/src/mendari/server/__init__.py +1 -0
  208. mendari-0.1.0/src/mendari/server/api_docs.py +536 -0
  209. mendari-0.1.0/src/mendari/server/app.py +4365 -0
  210. mendari-0.1.0/src/mendari/server/auth.py +2207 -0
  211. mendari-0.1.0/src/mendari/server/backend_services.py +633 -0
  212. mendari-0.1.0/src/mendari/server/cds_clients.py +756 -0
  213. mendari-0.1.0/src/mendari/server/connection_routes.py +471 -0
  214. mendari-0.1.0/src/mendari/server/cors.py +89 -0
  215. mendari-0.1.0/src/mendari/server/hub_routes.py +492 -0
  216. mendari-0.1.0/src/mendari/server/landing.py +388 -0
  217. mendari-0.1.0/src/mendari/server/limits.py +445 -0
  218. mendari-0.1.0/src/mendari/server/origin.py +229 -0
  219. mendari-0.1.0/src/mendari/server/presets.py +179 -0
  220. mendari-0.1.0/src/mendari/server/readiness.py +133 -0
  221. mendari-0.1.0/src/mendari/server/recalls.py +286 -0
  222. mendari-0.1.0/src/mendari/server/registry_routes.py +660 -0
  223. mendari-0.1.0/src/mendari/server/scopes.py +244 -0
  224. mendari-0.1.0/src/mendari/server/security_log.py +383 -0
  225. mendari-0.1.0/src/mendari/server/sessions.py +240 -0
  226. mendari-0.1.0/src/mendari/server/smart_check.py +254 -0
  227. mendari-0.1.0/src/mendari/server/smart_routes.py +579 -0
  228. mendari-0.1.0/src/mendari/server/snippets.py +92 -0
  229. mendari-0.1.0/src/mendari/server/store_routes.py +865 -0
  230. mendari-0.1.0/src/mendari/server/system.py +1229 -0
  231. mendari-0.1.0/src/mendari/server/system_routes.py +256 -0
  232. mendari-0.1.0/src/mendari/server/vercel.py +86 -0
  233. mendari-0.1.0/src/mendari/settings.py +451 -0
  234. mendari-0.1.0/src/mendari/standards/__init__.py +1 -0
  235. mendari-0.1.0/src/mendari/standards/audit_fhir.py +558 -0
  236. mendari-0.1.0/src/mendari/standards/bulk.py +367 -0
  237. mendari-0.1.0/src/mendari/standards/capability.py +346 -0
  238. mendari-0.1.0/src/mendari/standards/cds_hooks.py +825 -0
  239. mendari-0.1.0/src/mendari/standards/data_coverage.py +519 -0
  240. mendari-0.1.0/src/mendari/standards/decide_op.py +460 -0
  241. mendari-0.1.0/src/mendari/standards/ehr_declarations.py +432 -0
  242. mendari-0.1.0/src/mendari/standards/fhir.py +1614 -0
  243. mendari-0.1.0/src/mendari/standards/fhir_client.py +393 -0
  244. mendari-0.1.0/src/mendari/standards/fhir_r4_structure.json +1 -0
  245. mendari-0.1.0/src/mendari/standards/fhir_search.py +303 -0
  246. mendari-0.1.0/src/mendari/standards/fhir_structure.py +336 -0
  247. mendari-0.1.0/src/mendari/standards/linked.py +429 -0
  248. mendari-0.1.0/src/mendari/standards/oidc.py +129 -0
  249. mendari-0.1.0/src/mendari/standards/search.py +718 -0
  250. mendari-0.1.0/src/mendari/standards/smart.py +321 -0
  251. mendari-0.1.0/src/mendari/standards/task_fhir.py +171 -0
  252. mendari-0.1.0/src/mendari/standards/terminology.py +476 -0
  253. mendari-0.1.0/src/mendari/standards/us_core.py +364 -0
  254. mendari-0.1.0/src/mendari/standards/us_core_6_1_0.json +1302 -0
  255. mendari-0.1.0/src/mendari/templates/base/agent.yaml +130 -0
  256. mendari-0.1.0/src/mendari/templates/base/data/examples.jsonl +12 -0
  257. mendari-0.1.0/src/mendari/templates/base/fixtures/mock_agent.json +115 -0
  258. mendari-0.1.0/src/mendari/templates/base/logic/rules.yaml +25 -0
  259. mendari-0.1.0/src/mendari/templates/base/schemas/input.schema.json +18 -0
  260. mendari-0.1.0/src/mendari/templates/base/tests/cases.yaml +10 -0
  261. mendari-0.1.0/src/mendari/templates/ci/mendari.yml +42 -0
@@ -0,0 +1,26 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ .venv*/
4
+ dist/
5
+ build/
6
+ *.egg-info/
7
+ .pytest_cache/
8
+ .ruff_cache/
9
+ .mypy_cache/
10
+ .coverage
11
+ htmlcov/
12
+ .env
13
+ *.db
14
+ *.db-wal
15
+ *.db-shm
16
+ /var/
17
+ .DS_Store
18
+ .vercel/
19
+ .env*
20
+ !.env.example
21
+ # Local agent tooling installed by integrations (not part of the app)
22
+ .agents/
23
+ .claude/skills/
24
+ skills-lock.json
25
+ # mkdocs build output (at the root only: deploy/site/ is a template)
26
+ /site/
mendari-0.1.0/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
mendari-0.1.0/NOTICE ADDED
@@ -0,0 +1,79 @@
1
+ Mendari
2
+ Copyright 2026 The Mendari authors
3
+
4
+ Licensed under the Apache License, Version 2.0 (LICENSE).
5
+
6
+ This product includes the following third-party material:
7
+
8
+ Swagger UI 5.34.0
9
+ src/mendari/dashboard/vendor/swagger-ui/5.34.0/: the API reference (/docs/reference)
10
+ Licence: Apache License 2.0.
11
+ swagger-ui
12
+ Copyright 2020-2021 SmartBear Software Inc.
13
+ Its bundle's own notices, for the code it bundles (MIT, BSD-3-Clause, and Apache-2.0 or MPL-2.0): swagger-ui-bundle.js.LICENSE.txt beside it.
14
+
15
+ Lucide icons
16
+ the SVG symbols in src/mendari/dashboard/index.html and docs.html
17
+ Licence: ISC License; portions from Feather, MIT License.
18
+ Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2022 as part of Feather (MIT).
19
+ All other copyright (c) for Lucide are held by Lucide Contributors 2022.
20
+ The licences in full: src/mendari/dashboard/LICENSE-lucide.txt.
21
+
22
+ HL7 FHIR R4 and US Core 6.1.0
23
+ src/mendari/standards/fhir_r4_structure.json and us_core_6_1_0.json, derived from the published specifications by scripts/fhir_r4_schema.py and scripts/us_core_subset.py
24
+ Licence: CC0 1.0 (HL7 International's FHIR specifications).
25
+ HL7 and FHIR are registered trademarks of Health Level Seven International.
26
+
27
+ The source repository also carries, in no package:
28
+
29
+ LOINC
30
+ LOINC codes in tests: the observations of the chart-summary test fixture's synthetic records (tests/support/fixture_records.py, tests/fixtures/us-core/chart.json)
31
+ Licence: the LOINC License (https://loinc.org/license).
32
+ This material contains content from LOINC® (http://loinc.org). LOINC is copyright © 1995-2026,
33
+ Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC)
34
+ Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a
35
+ registered United States trademark of Regenstrief Institute, Inc.
36
+
37
+ RxNorm
38
+ RxNorm codes in tests: the medications of the chart-summary test fixture's synthetic records (tests/support/fixture_records.py, tests/fixtures/us-core/chart.json)
39
+ Licence: public domain (U.S. National Library of Medicine: RxNorm's normalized names and codes).
40
+ This product uses publicly available data courtesy of the U.S. National Library of Medicine
41
+ (NLM), National Institutes of Health, Department of Health and Human Services; NLM is not
42
+ responsible for the product and does not endorse or recommend this or any other product.
43
+
44
+ ICD-10-CM
45
+ ICD-10-CM codes in tests: the conditions of the chart-summary test fixture and its synthetic records (tests/fixtures/agents/chart-summary, tests/support/fixture_records.py, tests/fixtures/us-core/chart.json)
46
+ Licence: free to use from the U.S. National Center for Health Statistics, which adapted it from the World Health Organization's copyrighted ICD-10 with WHO's authorization, for U.S. government purposes.
47
+
48
+ ICD-10-PCS
49
+ procedure codes and their titles in tests: the orders of the chart-summary test fixture's synthetic records (tests/support/fixture_records.py, tests/fixtures/us-core/chart.json)
50
+ Licence: public domain (U.S. Centers for Medicare & Medicaid Services).
51
+
52
+ SNOMED CT
53
+ SNOMED CT codes in test inputs and tests (tests/: the US Core fixtures code procedures and referrals in SNOMED CT), the scan that keeps them out of the packages (scripts/check_snomed.py), and the project's notes and history
54
+ Licence: SNOMED International's licence terms.
55
+ SNOMED and SNOMED CT are registered trademarks of SNOMED International.
56
+
57
+ axe-core 4.14.0
58
+ tests/browser/vendor/axe-core/4.14.0/: the browser tests' accessibility checks
59
+ Licence: Mozilla Public License 2.0.
60
+ Copyright (c) Deque Systems, Inc.
61
+ Its third-party notices: LICENSE-3RD-PARTY.txt beside it.
62
+
63
+ Newsreader
64
+ web/fonts/newsreader.woff2: the mendari.co page's display face (its Latin subset, as Google Fonts serves it)
65
+ Licence: SIL Open Font License 1.1.
66
+ Copyright 2020 The Newsreader Project Authors (http://github.com/productiontype/Newsreader)
67
+ The licence in full: web/fonts/OFL-newsreader.txt.
68
+
69
+ Public Sans
70
+ web/fonts/public-sans.woff2: the mendari.co page's text face (its Latin subset, as Google Fonts serves it)
71
+ Licence: SIL Open Font License 1.1.
72
+ Copyright 2015 The Public Sans Project Authors (https://github.com/uswds/public-sans)
73
+ The licence in full: web/fonts/OFL-public-sans.txt.
74
+
75
+ IBM Plex Mono
76
+ web/fonts/ibm-plex-mono-400.woff2 and ibm-plex-mono-500.woff2: the mendari.co page's monospace face (IBM's own Latin-1 web files from @ibm/plex-mono 2.5.0, unmodified)
77
+ Licence: SIL Open Font License 1.1.
78
+ Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
79
+ The licence in full: web/fonts/OFL-ibm-plex-mono.txt.