{"id":35017257,"url":"https://github.com/navapbc/piqi-model","last_synced_at":"2026-05-20T22:33:50.689Z","repository":{"id":321828964,"uuid":"1087318619","full_name":"navapbc/piqi-model","owner":"navapbc","description":"An Open Source Library of PIQI Models","archived":false,"fork":false,"pushed_at":"2025-12-15T15:56:37.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-18T21:31:12.763Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/navapbc.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-31T17:57:53.000Z","updated_at":"2025-12-15T15:56:41.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/navapbc/piqi-model","commit_stats":null,"previous_names":["navapbc/piqi-model"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/navapbc/piqi-model","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navapbc%2Fpiqi-model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navapbc%2Fpiqi-model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navapbc%2Fpiqi-model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navapbc%2Fpiqi-model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/navapbc","download_url":"https://codeload.github.com/navapbc/piqi-model/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navapbc%2Fpiqi-model/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33278170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-20T15:12:43.734Z","status":"ssl_error","status_checked_at":"2026-05-20T15:12:42.300Z","response_time":356,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-12-27T05:26:17.431Z","updated_at":"2026-05-20T22:33:50.684Z","avatar_url":"https://github.com/navapbc.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# piqi-model\nThe [Patient Information Quality Improvement (PIQI)](https://build.fhir.org/ig/HL7/piqi/index.html) Framework is an evolving standard that wants to serve as a vehicle for promoting trust in the quality and clinical relevance of the healthcare data that transits our systems.\n\nThis project exists in part to promote engagement and accelerate adoption and education by providing a quick and easy method for generating the domain model classes that represent the [PIQI data model](https://build.fhir.org/ig/HL7/piqi/piqi_framework.html#piqi-data-models).\n\nWhile this project only builds a jar file library intended to be used with Java or Kotlin, the JSON schema could be utilized to build objects for any language that can generate code from a schema (C#, Python, etc.).\n\n## Building It\n\nThis project uses [jsonschema2pojo](https://github.com/joelittlejohn/jsonschema2pojo) to generate Java classses from the JSON schema located in `src/main/resources/Patient.json`.  The following command will create a jar file containing the generated class files and place it in the local Maven repository (located in `~/.m2`) where it can be used as a dependency for other projects.\n\n```\n./gradlew clean publishToMavenLocal\n```\n\n## Using It\nThe jar file may be included in a Gradle project as a dependency in this way in the `build.gradle.kts` file.:\n\n```\n...\ndependencies {\n    implementation(\"com.navapbc.piqi:piqi-model:0.2.0\")\n...\n\n```\n\nFor Maven in `pom.xml`:\n\n```\n...\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.navapbc.piqi\u003c/groupId\u003e\n    \u003cartifactId\u003epiqi-model\u003c/artifactId\u003e\n    \u003cversion\u003e0.2.0\u003c/version\u003e\n\u003c/dependency\u003e\n...\n```\n\n\n## Notes\n* The schema was created as a best effort from the documentation on the HL7 site.  It is an evolving standard so expect changes.\n* *jsonschema2pojo* has many different flags that may be set.  `build.gradle.kts` configures it to use mostly defaults.  It may be necessary to modify the configuration to suit your needs.\n* `SimpleAttribute` is the one class that was not able to be generated in a way that serialized properly according to the PIQI data model.  An additional Gradle task was introduced in `build.gradle.kts` to substitute a hand-coded version that was better suited.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavapbc%2Fpiqi-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnavapbc%2Fpiqi-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavapbc%2Fpiqi-model/lists"}