{"id":36541070,"url":"https://github.com/bonfhir/bonfhir","last_synced_at":"2026-01-12T05:46:36.098Z","repository":{"id":186735327,"uuid":"633917774","full_name":"bonfhir/bonfhir","owner":"bonfhir","description":"A collection of projects and libraries to help implement FHIR-based products and solutions.","archived":false,"fork":false,"pushed_at":"2025-09-18T18:46:51.000Z","size":65593,"stargazers_count":61,"open_issues_count":31,"forks_count":14,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-11-23T23:03:56.828Z","etag":null,"topics":["fhir","typescript"],"latest_commit_sha":null,"homepage":"https://bonfhir.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bonfhir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-28T15:22:18.000Z","updated_at":"2025-11-21T15:43:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"a2c549f4-002f-4aa2-9a2d-8fa4749b5071","html_url":"https://github.com/bonfhir/bonfhir","commit_stats":{"total_commits":665,"total_committers":18,"mean_commits":36.94444444444444,"dds":"0.18646616541353378","last_synced_commit":"eaa38d4ef3dddfd9884d8e4b96a6ecf57582f21e"},"previous_names":["bonfhir/bonfhir"],"tags_count":185,"template":false,"template_full_name":null,"purl":"pkg:github/bonfhir/bonfhir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonfhir%2Fbonfhir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonfhir%2Fbonfhir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonfhir%2Fbonfhir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonfhir%2Fbonfhir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bonfhir","download_url":"https://codeload.github.com/bonfhir/bonfhir/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bonfhir%2Fbonfhir/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28335236,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fhir","typescript"],"created_at":"2026-01-12T05:46:35.308Z","updated_at":"2026-01-12T05:46:36.093Z","avatar_url":"https://github.com/bonfhir.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bonfhir\n\nA collection of projects and libraries to help implement [FHIR](https://hl7.org/fhir/)-based products and solutions.\n\nDocumentation: https://bonfhir.dev\n\n# BonFHIR Quickstart\n\n### Prerequisites\n\n- node/npm\n- [Docker](https://docs.docker.com/desktop/)\n\n### Create a starter app from one of the templates\n\n`$ npm create bonfhir`\n\nThe current starter templates are the following:\n\n- **playground:** A simple playground to get started playing with bonFHIR core.\n- **vite:** A Vite SPA project with BonFHIR UI and React-Router.\n- **lambda:** An AWS Lambda serverless application connected to a FHIR Server.\n- **next:** A Next.js app with BonFHIR UI \u0026 Subscription API, with NextAuth\n  integration.\n- **monorepo:** A Monorepo with a Web app (SPA), an AWS Lambda API, and supporting\n  packages. This for more advanced projects.\n\n### Run a sample FHIR server\n\nOnce you have an application up and running the next step is connecting to some data. Provided is a docker image you can run locally with some test data.\n\n_From within your new bonFHIR application_  \nStart the FHIR backend  \n`$ npm run fhir:start-server`\n\nEnsure the backend is running at [localhost:8100](http://localhost:8100)\n\nAuthenticate with credentials `admin@example.com` / `medplum_admin` / Use \"Default Project\"\n\nLoad some test data  \n`npm run fhir:add-sample-data`\n\n**Note:** The following error occurs if using a version of Node prior to 18\n\n\u003e ReferenceError: fetch is not defined\n\n### Start building!\n\nUsing the provided bonFHIR utilities and components start building! Here is a simple React example to get you started\n\n```javascript\nimport { useFhirSearch } from \"@bonfhir/query/r4b\";\nimport { FhirTable, FhirValue } from \"@bonfhir/react/r4b\";\nimport { Paper } from \"@mantine/core\";\n\nexport default function Home() {\n  const patientQuery = useFhirSearch(\"Patient\");\n\n  return (\n    \u003cPaper\u003e\n      \u003cFhirTable\n        {...patientQuery}\n        columns={[\n          {\n            key: \"name\",\n            title: \"Name\",\n            render(patient) {\n              return \u003cFhirValue type=\"HumanName\" value={patient.name} /\u003e;\n            },\n          },\n        ]}\n      /\u003e\n    \u003c/Paper\u003e\n  );\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbonfhir%2Fbonfhir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbonfhir%2Fbonfhir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbonfhir%2Fbonfhir/lists"}