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 you apply the patch, take a backup of the HDR FHIR 8.2.0.2 war file (oracle-fhir- server.war), hdr_fhir.yaml file and log4j2.properties file in case you want 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 p37379344_HDR_82030_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 and pointing to the new HDR FHIR 8.2.0.2 database schema.
  5. Stop HDR FHIR WebLogic managed server.
  6. Copy the <hdr8203_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 version's hdr_fhir.yaml file are reflected in the new version of the hdr_fhir.yaml file.
  7. Copy the <hdr8203_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 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).
    1. -Dlogging.config=$DOMAIN_HOME\config\fhir\log4j2.properties
    2. -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. Start the FHIR WebLogic managed server.
  10. Deploy the new version of the Healthcare Data Repository FHIR war (oracle-fhir-server.war) module as follows:
    1. Navigate to the WebLogic Web administration interface.
    2. Select Local packaged file or directory that is accessible from the Application Server.
    3. Browse to the <hdr8203_patch_dir> directory where you extracted the patch file (oracle-fhir-server.war) to select and deploy the FHIR war file.