show case details in viva vew
This commit is contained in:
@@ -415,6 +415,18 @@ class Case(models.Model, AuthorMixin):
|
||||
}
|
||||
pass
|
||||
|
||||
def get_viva_details(self):
|
||||
return {
|
||||
"title": self.title,
|
||||
"description": self.description,
|
||||
"history": self.history,
|
||||
"discussion": self.discussion,
|
||||
"report": self.report,
|
||||
}
|
||||
|
||||
def get_viva_details_json(self):
|
||||
return json.dumps(self.get_viva_details())
|
||||
|
||||
|
||||
def extract_image_dicom_json_from_ds(ds, url, image_index):
|
||||
to_keep = [
|
||||
|
||||
Reference in New Issue
Block a user