{"id":37019894,"url":"https://github.com/rahulsom/fhir-protobuf","last_synced_at":"2026-01-14T02:13:47.253Z","repository":{"id":57722312,"uuid":"112045712","full_name":"rahulsom/fhir-protobuf","owner":"rahulsom","description":"Unofficial FHIR Protobuf Parser","archived":true,"fork":false,"pushed_at":"2018-03-11T19:17:13.000Z","size":263,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-06-30T21:42:15.329Z","etag":null,"topics":["fhir","healthcare","java","protobuf3"],"latest_commit_sha":null,"homepage":"","language":"Java","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/rahulsom.png","metadata":{"files":{"readme":"README.adoc","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}},"created_at":"2017-11-26T00:56:59.000Z","updated_at":"2023-01-28T21:00:26.000Z","dependencies_parsed_at":"2022-08-29T23:01:33.422Z","dependency_job_id":null,"html_url":"https://github.com/rahulsom/fhir-protobuf","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"purl":"pkg:github/rahulsom/fhir-protobuf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulsom%2Ffhir-protobuf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulsom%2Ffhir-protobuf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulsom%2Ffhir-protobuf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulsom%2Ffhir-protobuf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rahulsom","download_url":"https://codeload.github.com/rahulsom/fhir-protobuf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulsom%2Ffhir-protobuf/sbom","scorecard":{"id":759114,"data":{"date":"2025-08-11","repo":{"name":"github.com/rahulsom/fhir-protobuf","commit":"02174376b53e1e88295e4c666e34d8ef564e9d5d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/10 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T22:45:20.508Z","repository_id":57722312,"created_at":"2025-08-22T22:45:20.508Z","updated_at":"2025-08-22T22:45:20.508Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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","healthcare","java","protobuf3"],"created_at":"2026-01-14T02:13:46.485Z","updated_at":"2026-01-14T02:13:47.245Z","avatar_url":"https://github.com/rahulsom.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"= FHIR Protobuf\n\nExperimental FHIR parser that serializes to Protobuf.\nSee https://gist.github.com/rahulsom/598cd37924197d6ee2526483a3d539d2[this] to see motivation.\n\nWARNING: **This is not an official FHIR format.**\nThis was written before google open sourced their implementation of https://github.com/google/fhir[fhir protocol buffers].\nBased on what we've seen on the mailing lists, it appears that the google implementation will be adopted as an official standard.\n\n== Features\n\n* [x] Parse and Create Protobufs using Protobuf DSL\n* [x] Parse and Create Protobuf's JSON using Protobuf DSL\n* [x] Convert Standard JSON to Protobuf JSON\n* [x] Convert Protobuf JSON to Standard JSON\n\n== Usage\n\nDownload the library you need from Maven\n\n[cols=\"1,3\"]\n|===\n\na| Types\n\nimage::https://maven-badges.herokuapp.com/maven-central/com.github.rahulsom/fhir-protobuf-types/badge.svg[link=https://maven-badges.herokuapp.com/maven-central/com.github.rahulsom/fhir-protobuf-types]\n| Contains types for parsing Protobuf binary and JSON formats.\n\na|Translate\n\nimage::https://maven-badges.herokuapp.com/maven-central/com.github.rahulsom/fhir-protobuf-translate/badge.svg[link=https://maven-badges.herokuapp.com/maven-central/com.github.rahulsom/fhir-protobuf-translate]\n| Supports translation of FHIR JSON to Protobuf JSON and back. Depends on _Types_.\n\n|===\n\nOnce released, the artifact will ba available on Maven Central.\nUntil then, snapshots can be downloaded from https://oss.sonatype.org/content/repositories/snapshots/com/github/rahulsom/fhir-protobuf/[Sonatype OSS].\n\nTo create a practitioner\n[source,java]\n----\nPractitioner practitioner = Practitioner.newBuilder().\n        setId(\"Practitioner_1\").\n        addName(HumanName.newBuilder().\n                addGiven(\"Bob\").\n                setFamily(\"Kelso\")).\n        setGender(Practitioner_gender.Practitioner_gender_male).\n        addIdentifier(Identifier.newBuilder().\n                setSystem(\"https://stmarys.com/practitioners\").\n                setValue(\"BK001\")).\n        build();\n----\n\nTo serialize to Protobuf Binary Format\n\n[source,java]\n----\nbyte[] protobufByteArray = practitioner.toByteArray();\n----\n\nTo parse from Protobuf Binary Format\n\n[source,java]\n----\nPractitioner practitionerFromBinary = Practitioner.parseFrom(protobufByteArray);\n----\n\nTo serialize to Protobuf Json Format\n\n[source,java]\n----\nString protobufJson = JsonFormat.printer().print(practitioner);\n----\n\nTo parseFrom Protobuf Json Format\n\n[source,java]\n----\nPractitioner.Builder jsonPractitionerBuilder = Practitioner.newBuilder();\nJsonFormat.parser().merge(protobufJson, jsonPractitionerBuilder);\nPractitioner practitionerFromJson = jsonPractitionerBuilder.build();\n----\n\nTo translate FHIR Json to Protobuf Json\n\n[source,java]\n----\nString protoJson = Converter.fromFhirJson(fhirJsonAsString);\n----\n\nTo translate Protobuf Json to FHIR Json\n\n[source,java]\n----\nString fhirJson = Converter.toFhirJson(protoJson);\n----\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahulsom%2Ffhir-protobuf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frahulsom%2Ffhir-protobuf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahulsom%2Ffhir-protobuf/lists"}