{"id":19260362,"url":"https://github.com/mitre/fhir-server","last_synced_at":"2025-04-21T16:31:44.447Z","repository":{"id":66776170,"uuid":"68946092","full_name":"mitre/fhir-server","owner":"mitre","description":"A fast, open source, HL7 FHIR server","archived":false,"fork":false,"pushed_at":"2016-09-26T17:51:36.000Z","size":11,"stargazers_count":36,"open_issues_count":0,"forks_count":16,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-01T14:22:11.336Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/mitre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-22T17:37:42.000Z","updated_at":"2025-03-05T17:59:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea179a7a-d09b-4068-8a80-73d3c4f50780","html_url":"https://github.com/mitre/fhir-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Ffhir-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Ffhir-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Ffhir-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitre%2Ffhir-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitre","download_url":"https://codeload.github.com/mitre/fhir-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250090900,"owners_count":21373273,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-09T19:20:10.313Z","updated_at":"2025-04-21T16:31:43.100Z","avatar_url":"https://github.com/mitre.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fhir-server\nA fast, open source, HL7 FHIR server\n\nThis project provides [HL7 FHIR DSTU2](http://hl7.org/fhir/DSTU2/index.html) models and a generic FHIR server implemented in Go and using MongoDB as storage. This is not a complete implementation, as it is tuned toward the primary use cases of the [Intervention Engine](https://github.com/intervention-engine/ie), [eCQM Engine](https://github.com/mitre/ecqm), [Patient Matching Test Harness](https://github.com/mitre/ptmatch)\n +and [Synthetic Mass](https://github.com/synthetichealth/syntheticmass) projects.\n\nThe code in this project is a small wrapper around the [FHIR Server Library](https://github.com/intervention-engine/fhir).\n\n## Building and Running fhir-server Locally\nTo install the FHIR server, please begin by referencing the following sections of the Intervention Engine install guide:\n\n- (Prerequisite) [Install Git](https://github.com/intervention-engine/ie/blob/master/docs/dev_install.md#install-git)\n- (Prerequisite) [Install Go](https://github.com/intervention-engine/ie/blob/master/docs/dev_install.md#install-go)\n- (Prerequisite) [Install MongoDB](https://github.com/intervention-engine/ie/blob/master/docs/dev_install.md#install-mongodb)\n- (Prerequisite) [Run MongoDB](https://github.com/intervention-engine/ie/blob/master/docs/dev_install.md#run-mongodb)\n- Clone this repository into your GOPATH\n\nBefore you can run the FHIR server, you must install its dependencies via `go get` and build the `fhir` executable:\n\n```\n$ cd $GOPATH/src/github.com/mitre/fhir-server\n$ go get\n$ go build\n```\n\nThe above commands do not need to be run again unless you make (or download) changes to the *fhir* source code.\n\nOnce the executable is built, you can run it without any arguments:\n\n```\n$ ./fhir-server\n```\n\nIf you are concurrently modifying the *fhir* source code, sometimes it is easier to combine the build and run steps into a single command (forcing a recompile on every run):\n\n```\n$ go run server.go\n```\n\nThe *fhir* server accepts connections on port 3001 by default.\n\nIf you wish to test the server with synthetic patient data, please reference [Generate and Upload Synthetic Patient Data](https://github.com/intervention-engine/ie/blob/master/docs/dev_install.md#generate-and-upload-synthetic-patient-data).\n\n## License\n\nCopyright 2016 The MITRE Corporation\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitre%2Ffhir-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitre%2Ffhir-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitre%2Ffhir-server/lists"}