Manual indexing

It is possible to trigger a manual reindexing of data in the Oracle HDR-FHIR repository.

To perform a manual reindex, invoke the following operation at the server (root) level of the FHIR Endpoint (that is, the base URL of the FHIR endpoint). To specify parameters, a resource of type Parameters must be included as the body of a POST request.

  • Operation:

    $mark-all-resources-for-reindexing

  • Parameter:

    type: Optional. If supplied, specifies the specific resource type to reindex. If not specified, all resource types are reindexed.

See the following examples for more details.

To perform reindexing on specific resource type, ex Patient, here is the sample payload. We can also include multiple resources.

Content-Type: application/fhir+json
{
  "resourceType": "Parameters",
  "parameter": [ {
    "name": "type",
    "valueString": "Patient"
  } ]
}

For all resource types, here is the payload example.

Content-Type: application/fhir+json
{
  "resourceType": "Parameters",
  "parameter": []
}

The status of the reindexing will be recorded in this HFJ_RES_REINDEX_JOB table while re-indexing. The record will be purged once the reindexing operation is completed.