Skip to content
bradsawadye edited this page Jul 26, 2019 · 13 revisions

Welcome to Hearth wiki

Hearth is an implementation of a FHIR server. Its currently supporting two versions of FHIR, namely DSTU2 and STU3. The version can be set in the config file, see here

Hearth features

  • it supports both JSON and XML, and conversion between the two using the FHIR.js module. Supports using both the Accepts: header and the _format parameter for defining the response format.
  • it supports the read, vread, search, create, update, delete, _history (on either resource types or specific resources, global history is not supported) and batch/transaction FHIR interactions for ALL resources
  • it supports creation of a resource through the update method for ALL resources. An update where the resource does not exist will create a new resource. For more on this click updateCreate
  • it supports ALL query parameters defined for ALL resources with the exception of parameters of type number or quantity - this is done by reading and processing the downloadable FHIR definitions files (only support the _since param for _history)
  • it supports chained parameter queries to the nth degree
  • it supports query parameter modifiers for string types, including exact and contains
  • it supports query parameter prefixes for dates, including eq, ne, lt, le, gt and ge
  • it supports query parameters for choice-of-type resource properties
  • it supports basic resource matching using the $match operation on a query, see config/matching.json for configuration options.
  • it supports basic (cardinality only) resource validation using the FHIR.js module, this is not enabled by default allowing you to store any extensions or profiles by default - toggle this in the config

Setup and configuration

For usage and configuration click here