.
This commit is contained in:
@@ -612,6 +612,29 @@ class Series(SeriesBase):
|
||||
|
||||
return series_json
|
||||
|
||||
def get_ohif_dicom_json(self, case_title_as_patient_name = True):
|
||||
series_json = []
|
||||
series_json.append(self.get_series_dicom_json())
|
||||
|
||||
patient_name = ""
|
||||
if case_title_as_patient_name:
|
||||
patient_name = self.title
|
||||
|
||||
return {
|
||||
"studies": [
|
||||
{
|
||||
"StudyInstanceUID": "1.3.6.1.4.1.14519.5.2.1.6279.6001.298806137288633453246975630178",
|
||||
"StudyDate": "20000101",
|
||||
"StudyTime": "",
|
||||
"PatientName": patient_name,
|
||||
"PatientID": "LIDC-IDRI-0001",
|
||||
"AccessionNumber": "",
|
||||
"PatientAge": "",
|
||||
"PatientSex": "",
|
||||
"series": series_json,
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
class CaseCollection(ExamOrCollectionGenericBase):
|
||||
app_name = "atlas"
|
||||
|
||||
Reference in New Issue
Block a user