expertise host, rounding button, dan issue view per study
This commit is contained in:
@@ -24,6 +24,7 @@ window.config = {
|
|||||||
prefetch: 25,
|
prefetch: 25,
|
||||||
},
|
},
|
||||||
expertise: true, //* Tambahan untuk enable expertise (CustomizableViewportOverlay)
|
expertise: true, //* Tambahan untuk enable expertise (CustomizableViewportOverlay)
|
||||||
|
expertise_host: `http://128.199.154.150`,
|
||||||
// filterQueryParam: false,
|
// filterQueryParam: false,
|
||||||
// defaultDataSourceName: 'dicomweb',
|
// defaultDataSourceName: 'dicomweb',
|
||||||
defaultDataSourceName: 'local-proxy',
|
defaultDataSourceName: 'local-proxy',
|
||||||
|
|||||||
@@ -359,46 +359,7 @@ const SidePanel = ({
|
|||||||
|
|
||||||
const response = await fetch(url);
|
const response = await fetch(url);
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
// console.log('Study data:', data);
|
console.log('Study data:', data);
|
||||||
|
|
||||||
const data = {
|
|
||||||
study: {
|
|
||||||
accession_no: 'CR.250411.001',
|
|
||||||
study_iuid: '1.2.826.0.1.3680043.9.7307.1.20250411001',
|
|
||||||
study_description: '',
|
|
||||||
study_datetime: '20250411093937',
|
|
||||||
number_of_series: '1',
|
|
||||||
number_of_instances: '1',
|
|
||||||
modality: 'CR',
|
|
||||||
patient_mrn: '00000941',
|
|
||||||
patient_name: 'NEFANNY RIDWAN',
|
|
||||||
patient_sex: 'F',
|
|
||||||
patient_date_of_birth: '19881127',
|
|
||||||
patient_age: '36Y 4M 14D',
|
|
||||||
expertise: [
|
|
||||||
{
|
|
||||||
expertise:
|
|
||||||
'Keterangan : MCU\r\n\r\nRadiografi Thorax PA (inspirasi kurang)\r\n\r\nCor : besar dan bentuk normal\r\nPulmo : tak tampak infiltrat\r\nTrachea tampak di tengah\r\nSinus phrenicocostalis kanan kiri tajam\r\nHemidiafragma kanan kiri tampak baik\r\nTulang-tulang tampak baik\r\nSoft tissue tak tampak kelainan\r\n\r\nKesan :\r\nTidak tampak kelainan signifikan pada pemeriksaan saat ini\r\n\r\nBTK,',
|
|
||||||
radiologist: 'dr. Hendra Boy Situmorang, Sp.Rad ',
|
|
||||||
expertise_dttm: '2025-04-11 09:43',
|
|
||||||
radiologist_edit: null,
|
|
||||||
expertise_edit_dttm: '0000-00-00 00:00',
|
|
||||||
ordering_physician: 'dr. Laksmitasari Dewi',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
series: [
|
|
||||||
{
|
|
||||||
series_number: '1',
|
|
||||||
series_iuid: '1.2.156.112536.2.560.28134011043131122.1519098341436.1',
|
|
||||||
series_description: 'V04_0014',
|
|
||||||
number_of_instances: 1,
|
|
||||||
thumbnail:
|
|
||||||
'http://192.168.22.3/nv/wado_proxy_thumb.php?requestType=WADO&studyUID=1.2.826.0.1.3680043.9.7307.1.20250411001&seriesUID=1.2.156.112536.2.560.28134011043131122.1519098341436.1&objectUID=1.2.156.112536.2.560.28134011043131122.1519098341436.4&rows=123',
|
|
||||||
sop_iuids: ['1.2.156.112536.2.560.28134011043131122.1519098341436.4'],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
if (data?.study?.expertise && data.study.expertise.length > 0) {
|
if (data?.study?.expertise && data.study.expertise.length > 0) {
|
||||||
setExpertiseData(data.study.expertise[0]);
|
setExpertiseData(data.study.expertise[0]);
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ const StudyItem = ({
|
|||||||
<>
|
<>
|
||||||
{/* Expertise Button */}
|
{/* Expertise Button */}
|
||||||
<div
|
<div
|
||||||
className="bg-primary-dark hover:bg-primary-active my-4 w-full cursor-pointer border border-white py-2 text-center text-white"
|
className="bg-primary-dark hover:bg-primary-active mx-4 my-4 cursor-pointer rounded-lg border border-white py-2 text-center text-white"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
// Trigger the expertise panel in the right side panel (segmentation Panel)
|
// Trigger the expertise panel in the right side panel (segmentation Panel)
|
||||||
servicesManager.services.panelService.activatePanel(
|
servicesManager.services.panelService.activatePanel(
|
||||||
|
|||||||
Reference in New Issue
Block a user