How to disable patient info functionality

Patient info functionality is controlled by the PATIENT_INFO_ENABLED variable in the common configuration file for all services - globals.yaml.gotmpl. The configuration file's path is - etc/kodjin/{environment}/globals.yaml.gotmpl

Follow the steps below to disable patient info functionality.

  1. Set PATIENT_INFO_ENABLED to false in kodjin globals:

etc/kodjin/<environment>/globals.yaml.gotmpl

envs:
  patient_info:
    PATIENT_INFO_ENABLED: false
  1. Disable the fhir-server-patient-processor release in kodjin:

etc/kodjin/<environment>/releases.yaml

fhir-server-patient-processor:
  enabled: false
  1. Apply the configuration changes by syncing the releases using rmk tool:

    rmk release sync
    

The clickhouse.ehr.history Kafka topic is shared with history processing. It remains configured if HISTORY_ENABLED is true, even when patient info is disabled. The topic is not configured only when both PATIENT_INFO_ENABLED and HISTORY_ENABLED are false. See How to enable history functionality.