Composite Hazard Functions Reflecting Competing Latent Processes