Install the Patch on the Middle Tier

After you extract the contents of the patch set file, you can install the patch on the middle tier.

To install the patch on the middle tier:

  1. Before applying the patch, back up the existing HDR FHIR WAR file — either the 8.2.0.2 or 8.2.0.3 version of oracle-fhir-server.war, depending on which one you are currently using — along with the corresponding hdr_fhir.yaml and log4j2.properties files, in case you need to revert.
  2. Navigate to the WebLogic Web administration interface and undeploy the HDR FHIR WAR module to remove it.
  3. Extract the contents of p38064577_82050_Generic.zip to a directory on the middle tier.
  4. Ensure that HDR FHIR DataSource (FhirDataSource) with corresponding jndi name (jdbc/FhirDataSource) is already created.
  5. Stop HDR FHIR WebLogic managed server.
  6. Copy the <hdr8205_patch_dir>/server/hdr_fhir.yaml to <fhir_domain>/config/fhir. Ensure that any properties configured as per your requirement or environment in the previous HDR 8.2.0.2/8.2.0.3 version's hdr_fhir.yaml file are reflected in the new version of the hdr_fhir.yaml file.
  7. Copy the <hdr8205_patch_dir>/server/log4j2.properties to <fhir_domain>/config/fhir. Ensure that any properties configured as per your requirement or environment in the previous HDR 8.2.0.2/8.2.0.3 version's log4j2.properties file are reflected in the new version of the log4j2.properties file.
  8. Ensure that the following JVM argument under JAVA_OPTIONS are properly configured in the startManagedWebLogic.sh file (for example: $WL_HOME/user_projects/domains/fhir_domain/bin/startManagedWebLogic.sh).
    • -Dlogging.config=$DOMAIN_HOME\config\fhir\log4j2.properties
    • -Dhdr_fhir_config_location=$DOMAIN_HOME\config\fhir\hdr_fhir.yaml

    Example

    JAVA_OPTIONS="-Dhdr_fhir_config_location=$DOMAIN_HOME/config/fhir/hdr_fhir.yaml -Dlogging.config =$DOMAIN_HOME/config/fhir/log4j2.properties ${JAVA_OPTIONS}" && export JAVA_OPTIONS
  9. Ensure that the following properties in $DOMAIN_HOME/config/fhir/hdr_fhir.yaml file is set to true or false based on your requirement.
    • search_query_result_cache_enabled: true/false
  10. Start the FHIR WebLogic managed server.
  11. Deploy the new version of the HDR FHIR war (oracle-fhir-server.war) module as follows:
    • Navigate to the WebLogic Web administration interface.
    • Select Local packaged file or directory that is accessible from the Application Server.
    • Browse to the <hdr8205_patch_dir> directory where you extracted the patch file (oracle-fhir-server.war) to select and deploy the FHIR war file.
You can now perform the post-installation steps.