Skip to content

Commit

Permalink
UI Navigation Patients : Enable to use Patient Management services in…
Browse files Browse the repository at this point in the history
… external archive #4195
  • Loading branch information
vrindanayak committed Aug 24, 2023
1 parent 69bb384 commit d1b6774
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dcm4chee-arc-ui2/src/app/study/study/study.service.ts
Expand Up @@ -1356,7 +1356,7 @@ export class StudyService {
}, e);
},
showIf:(e,config)=>{
return this.selectedWebServiceHasClass(options.selectedWebService,"DCM4CHEE_ARC_AET") && !(_.hasIn(e,'attrs.77771015'))
return !(_.hasIn(e,'attrs.77771015'))
},
title: $localize `:@@study.edit_this_patient:Edit this Patient`,
permission: {
Expand Down
Expand Up @@ -134,6 +134,23 @@ export class DictionaryPickerComponent implements OnInit {
}
})
}
if(_.hasIn(this.deviceConfiguratorService.device,"dcmDevice.dcmWebApp")){
const webApps = _.get(this.deviceConfiguratorService.device,"dcmDevice.dcmWebApp");
webApps.forEach(el=>{
if(_.hasIn(el,"dcmWebServiceClass") && el.dcmWebServiceClass.indexOf("PAM") > -1){
this.dcmTags.push({
text:"",
key:`PAMWebApp=${el.dcmWebAppName}`,
description:el.description
})
this.dcmTagsFiltered.push({
text:"",
key:`PAMWebApp=${el.dcmWebAppName}`,
description:el.description
})
}
})
}
break;
case 'dcmSOPClass':
_.forEach(DCM4CHE.SOPClass.nameOf("all"),(m,i)=>{
Expand Down

0 comments on commit d1b6774

Please sign in to comment.