Commit e766cebf by ajil.k

updated

parent 1766131a
...@@ -46,7 +46,8 @@ class Patient: ...@@ -46,7 +46,8 @@ class Patient:
logger.exception(e) logger.exception(e)
print("Exception occurred handling patients due to \"", e, "\"") print("Exception occurred handling patients due to \"", e, "\"")
def send_patient_details(self, patient_id, patient_details): @staticmethod
def send_patient_details(patient_id, patient_details):
try: try:
# Publish the patient information to the doctor's topic # Publish the patient information to the doctor's topic
topic = "hospital/"+str(patient_id) topic = "hospital/"+str(patient_id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment