Skip to content

epicadk/hapi-proto-converter

Repository files navigation

HAPI Struct <> Proto Conversion Tool

The purpose of this project is to implement the HAPI <> Proto converter, a library that converts between Hapi structs and Fhir protos. The Structures defined in the FHIR specification can be broadly categorized into two parts Resources and Base Types. The resources represent the medical data that is to be stored/shared. For example, a patient resource contains data related to a particular patient like their name, address, contact info, etc. Base types define how this data is stored, for example, a string for name and date for DOB. The base types can be further classified into Data types and Primitive types. Primitive Types Cannot be broken down into simpler types. Therefore each Data type and Resource are ultimately a collection of primitive types.

TODO's

  • Proper performance testing
  • DomainResource.Contained element -> Handled differently in Fhir protos and Hapi structs
  • XHTML type elements -> Handled differently in Fhir protos and Hapi structs
  • Resource type elements -> Handled differently in Fhir protos and Hapi structs

About

A library that convert Hapi structs to Fhir protos

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages