PageSourceSearch

https://web.drd.at/de/253.cd86af0e0c857ccb.js

js drd.at collected 2026-10-08 12:14:26 UTC 15,279 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdrd_web=self.webpackChunkdrd_web||[]).push([[253],{76948:(v,R,o)=>{o.d(R,{nP:()=>e,Ex:()=>d,iW:()=>T,T9:()=>n,_G:()=>m,e3:()=>u,Iq:()=>t});var e=(()=>{return(i=e||(e={})).PRESCRIPTION="prescription",i.PRESCERIPTION_WITH_EPRESCRIPTION="prescription,eprescription",i.EPRESCRIPTION="eprescription",i.REFERRAL="referral",i.SCAN_REQUEST="scan-request",i.MEDICAL_REPORT="medical-report",i.SICK_CERTIFICATE="sick-certificate",i.BANDAGES_ORDER="bandages-order",i.NUTRITION_ORDER="nutrition-order",i.TRANSPORT_REQUEST="transport-request",i.OTHER="other",e;var i})();const m={[e.PRESCRIPTION]:"records.catTitle.prescriptions",[e.EPRESCRIPTION]:"records.catTitle.ePrescriptions",[e.REFERRAL]:"records.catTitle.referrals",[e.SCAN_REQUEST]:"records.catTitle.scans",[e.MEDICAL_REPORT]:"records.catTitle.reports",[e.SICK_CERTIFICATE]:"records.catTitle.sickLeave",[e.BANDAGES_ORDER]:"records.catTitle.bandagesOrder",[e.NUTRITION_ORDER]:"records.catTitle.nutritionOrder",[e.TRANSPORT_REQUEST]:"records.catTitle.transportRequest",[e.OTHER]:"records.catTitle.other"},u={[e.PRESCRIPTION]:"records.issueCatTitle.prescription",[e.EPRESCRIPTION]:"records.issueCatTitle.eprescription",[e.REFERRAL]:"records.issueCatTitle.referral",[e.SCAN_REQUEST]:"records.issueCatTitle.scan",[e.MEDICAL_REPORT]:"records.issueCatTitle.report",[e.SICK_CERTIFICATE]:"records.issueCatTitle.sickLeave",[e.BANDAGES_ORDER]:"records.issueCatTitle.bandagesOrder",[e.NUTRITION_ORDER]:"records.issueCatTitle.nutritionOrder",[e.TRANSPORT_REQUEST]:"records.issueCatTitle.transportRequest",[e.OTHER]:"records.issueCatTitle.other"},n={[e.PRESCRIPTION]:"records.catLabel.prescription",[e.PRESCERIPTION_WITH_EPRESCRIPTION]:"records.catLabel.prescription",[e.EPRESCRIPTION]:"records.catLabel.eprescription",[e.REFERRAL]:"records.catLabel.referral",[e.SCAN_REQUEST]:"records.catLabel.scan",[e.MEDICAL_REPORT]:"records.catLabel.report",[e.SICK_CERTIFICATE]:"records.catLabel.sickLeave",[e.BANDAGES_ORDER]:"records.catLabel.bandagesOrder",[e.NUTRITION_ORDER]:"records.catLabel.nutritionOrder",[e.TRANSPORT_REQUEST]:"records.catLabel.transportRequest",[e.OTHER]:"records.catLabel.other"},t={[e.PRESCRIPTION]:"pills",[e.EPRESCRIPTION]:"pills",[e.REFERRAL]:"document",[e.SCAN_REQUEST]:"scan",[e.MEDICAL_REPORT]:"medical_record",[e.SICK_CERTIFICATE]:"temperature",[e.BANDAGES_ORDER]:"healing",[e.NUTRITION_ORDER]:"food",[e.TRANSPORT_REQUEST]:"car",[e.OTHER]:"assets"},T={[e.PRESCRIPTION]:"./assets/documents/Prescription.pdf",[e.REFERRAL]:"./assets/documents/Referral.pdf",[e.MEDICAL_REPORT]:"./assets/documents/Report.pdf",[e.SICK_CERTIFICATE]:"./assets/documents/Sick-Certificate.pdf",[e.BANDAGES_ORDER]:"./assets/documents/Order.pdf",[e.NUTRITION_ORDER]:"./assets/documents/Nutrition.pdf",[e.TRANSPORT_REQUEST]:"./assets/documents/Transport.pdf",[e.OTHER]:"Other Docs"};var d=(()=>{return(i=d||(d={})).DRD="drd",i.PATIENT="patient",d;var i})()},25818:(v,R,o)=>{o.d(R,{i:()=>y});var e=o(54631),m=o(93075),u=o(76948),n=o(5e3),t=o(77093),T=o(40228),d=o(69808),i=o(47423),I=o(25245),g=o(67322),S=o(68767);function D(a,_){if(1&a){const r=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",7),n.\u0275\u0275elementStart(1,"div"),n.\u0275\u0275text(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(3,"button",8),n.\u0275\u0275listener("click",function(){return n.\u0275\u0275restoreView(r),n.\u0275\u0275nextContext().onClearFile()}),n.\u0275\u0275element(4,"mat-icon",9),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementEnd()}if(2&a){const r=n.\u0275\u0275nextContext();n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate(r.fileControl.value.name)}}function P(a,_){if(1&a){const r=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",10),n.\u0275\u0275listener("click",function(){return n.\u0275\u0275restoreView(r),n.\u0275\u0275nextContext(),n.\u0275\u0275reference(6).click()}),n.\u0275\u0275elementStart(1,"div"),n.\u0275\u0275text(2),n.\u0275\u0275pipe(3,"translate"),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(4,"mat-icon",11),n.\u0275\u0275elementEnd()}2&a&&(n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate(n.\u0275\u0275pipeBind1(3,1,"documentUpload.file")))}function O(a,_){1&a&&(n.\u0275\u0275elementStart(0,"mat-error",12),n.\u0275\u0275text(1),n.\u0275\u0275pipe(2,"translate"),n.\u0275\u0275elementEnd()),2&a&&(n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",n.\u0275\u0275pipeBind1(2,1,"documentUpload.required")," "))}let y=(()=>{class a{constructor(r){this.formBuilder=r}ngOnInit(){this.form=this.formBuilder.group({name:[""],file:[null,[m.Validators.required]]})}get nameControl(){return this.form.get("name")}get fileControl(){return this.form.get("file")}
1submitDocument(){if(this.form.invalid)return this.form.markAllAsTouched(),null;const r=new e.B,c=this.fileControl.value;return r.name=this.nameControl.value||c.name,r.file=c,r.fileFormat=c.type,r.category=this.category,r.createdBy=u.Ex.PATIENT,r}onClearFile(){this.fileControl.setValue(null)}onFileUploaded(r){this.fileControl.setValue(r),this.nameControl.value||this.nameControl.setValue(r.name)}}return a.\u0275fac=function(r){return new(r||a)(n.\u0275\u0275directiveInject(m.FormBuilder))},a.\u0275cmp=n.\u0275\u0275defineComponent({type:a,selectors:[["app-document-upload-form"]],inputs:{category:"category"},decls:7,vars:7,consts:[["fxLayout","column","fxLayoutAlign","center center",1,"width-full"],[1,"width-full",3,"label","control"],["fxLayout","row","fxLayoutAlign","space-between center","class","width-full",4,"ngIf"],["fxLayout","row","fxLayoutAlign","center center","fxLayoutGap","4px","class","upload-file",3,"click",4,"ngIf"],["class","padding-top-s",4,"ngIf"],["type","file",3,"change"],["uploadInput",""],["fxLayout","row","fxLayoutAlign","space-between center",1,"width-full"],["mat-icon-button","",3,"click"],["svgIcon","close"],["fxLayout","row","fxLayoutAlign","center center","fxLayoutGap","4px",1,"upload-file",3,"click"],["color","primary","svgIcon","upload"],[1,"padding-top-s"]],template:function(r,c){if(1&r){const p=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275element(1,"app-input",1),n.\u0275\u0275template(2,D,5,1,"div",2),n.\u0275\u0275template(3,P,5,3,"div",3),n.\u0275\u0275template(4,O,3,3,"mat-error",4),n.\u0275\u0275elementStart(5,"input",5,6),n.\u0275\u0275listener("change",function(){n.\u0275\u0275restoreView(p);const f=n.\u0275\u0275reference(6);return c.onFileUploaded(null==f.files?null:f.files.item(0)),f.value=""}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementEnd()}2&r&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("label","documentUpload.name")("control",c.nameControl),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",c.fileControl.value),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",!c.fileControl.value),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",(null==c.fileControl?null:c.fileControl.touched)&&(null==c.fileControl?null:c.fileControl.hasError("required"))),n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("display","none"))},directives:[t.xw,t.Wh,T.a,d.O5,i.lW,I.Hw,t.SQ,g.TO],pipes:[S.k],styles:[".upload-file[_ngcontent-%COMP%]{border:1px dashed #33a4b2;border-radius:12px;background-color:#33a4b21a;color:#33a4b2;height:50px;width:100%;cursor:pointer}"]}),a})()},49492:(v,R,o)=>{o.d(R,{d:()=>p});var e=o(48966),m=o(28746),u=o(25818),t=o(5e3),T=o(78558),d=o(57261),i=o(39843),I=o(22324),g=o(77093),S=o(23322),D=o(69808),P=o(10217),O=o(47423),y=o(25245),a=o(68767);function _(s,f){if(1&s){const l=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementContainerStart(0),t.\u0275\u0275elementStart(1,"div",7),t.\u0275\u0275elementStart(2,"button",8),t.\u0275\u0275listener("click",function(){const A=t.\u0275\u0275restoreView(l).$implicit;return t.\u0275\u0275nextContext(2).onSelect(A)}),t.\u0275\u0275element(3,"mat-icon",9),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"div"),t.\u0275\u0275text(5),t.\u0275\u0275pipe(6,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementContainerEnd()}if(2&s){const l=f.$implicit;t.\u0275\u0275advance(3),t.\u0275\u0275property("svgIcon",l.icon),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(6,2,l.title))}}function r(s,f){if(1&s&&(t.\u0275\u0275elementStart(0,"div",5),t.\u0275\u0275template(1,_,7,4,"ng-container",6),t.\u0275\u0275elementEnd()),2&s){const l=t.\u0275\u0275nextContext();t.\u0275\u0275advance(1),t.\u0275\u0275property("ngForOf",l.categories)}}function c(s,f){if(1&s&&t.\u0275\u0275element(0,"app-document-upload-form",10),2&s){const l=t.\u0275\u0275nextContext();t.\u0275\u0275property("category",l.selectedCategory)}}let p=(()=>{class s{constructor(l,E,C,A,U,x){this.dialogRef=l,this.documentCategoriesService=E,this.documentUploadService=C,this.documentConfiguration=A,this.snackBar=U,this.translation=x}ngOnInit(){this.categories=this.documentCategoriesService.categories.filter(l=>!!l.category)}onSelect(l){this.selectedCategory=l.category}onCancel(){this.selectedCategory=null}onClose(){this.dialogRef.close()}onSave(){const l=this.documentUploadForm.submitDocument();console.log("-----------"),console.log(this.documentConfiguration),l&&(this.loading=!0,this.documentUploadService.uploadDocument(Object.assign(Object.assign({},this.documentConfiguration),l),this.documentConfiguration.roles?[this.documentConfiguration.roles[0].user]:void 0).pipe((0,m.x)(()=>this.loading=!1)).subscribe({next:()=>this.success()}))}success(){this.snackBar.open(this.translation.transform("documents.uploaded")),this.onClose()}}return s.\u0275fac=function(l){return new(l||s)(t.\u0275\u0275directiveInject(e.so),t.\u0275\u0275directiveInject(T.SQ),t.\u0275\u0275directiveInject(T.p4),t.\u0275\u0275directiveInject(e.WI),t.\u0275\u0275directiveInject(d.ux),t.\u0275\u0275directiveInject(i.kM))},s.\u0275cmp=t.\u0275\u0275defineComponent({type:s,selectors:[["app-document-upload-dialog"]],viewQuery:function(l,E){if(1&l&&t.\u0275\u0275viewQuery(u.i,5),2&l){let C;t.\u0275\u0275queryRefresh(C=t.\u0275\u0275loadQuery())&&(E.documentUploadForm=C.first)}},decls:9,vars:12,consts:[[3,"title","hasButtons","confirmLabel","loading","cancel","closeDialog","confirm"],["fxLayout","column","fxLayoutAlign","center center",1,"width-full",3,"ngClass.gt-sm"],[1,"text-align-center","mat-title","margin-bottom-l"],["gdGap","32px 24px","gdColumns","auto auto auto",4,"ngIf","ngIfElse"],["createDocumentForm",""],["gdGap","32px 24px","gdColumns","auto auto auto"],[4,"ngFor","ngForOf"],["fxLayout","column","fxLayoutAlign","center center","fxLayoutGap","12px",1,"container__category"],["mat-fab","","color","primary",3,"click"],[3,"svgIcon"],[3,"category"]],template:function(l,E){if(1&l&&(t.\u0275\u0275elementStart(0,"app-dialog",0),t.\u0275\u0275listener("cancel",function(){return E.onCancel()})("closeDialog",function(){return E.onClose()})("confirm",function(){return E.onSave()}),t.\u0275\u0275elementStart(1,"div",1),t.\u0275\u0275elementStart(2,"span",2),t.\u0275\u0275text(3),t.\u0275\u0275pipe(4,"translate"),t.\u0275\u0275pipe(5,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(6,r,2,1,"div",3),t.\u0275\u0275template(7,c,1,1,"ng-template",null,4,t.\u0275\u0275templateRefExtractor),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementEnd()),2&l){const C=t.\u0275\u0275reference(8);t.\u0275\u0275property("title","documentUpload.document")("hasButtons",!!E.selectedCategory)("confirmLabel","submit")("loading",E.loading),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngClass.gt-sm","padding-horizontal-xxl"),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate1(" ",E.selectedCategory?t.\u0275\u0275pipeBind1(4,8,"documentUpload.moreInfo"):t.\u0275\u0275pipeBind1(5,10,"documentUpload.cho
1oseType")," "),t.\u0275\u0275advance(3),t.\u0275\u0275property("ngIf",!E.selectedCategory)("ngIfElse",C)}},directives:[I.a,g.xw,g.Wh,S.oO,D.O5,P.Gx,P.A0,D.sg,g.SQ,O.lW,y.Hw,u.i],pipes:[a.k],styles:[".container__category[_ngcontent-%COMP%]{font-size:14px}@media only screen and (min-width: 960px){.container__category[_ngcontent-%COMP%]{font-size:16px}}app-document-upload-form[_ngcontent-%COMP%]{width:90%}"]}),s})()},74925:(v,R,o)=>{o.d(R,{d:()=>e.d});var e=o(49492)},31929:(v,R,o)=>{o.d(R,{_:()=>T});var e=o(87639),m=o(78558),u=o(5e3);o(25818),o(49492);let T=(()=>{class d{}return d.\u0275fac=function(I){return new(I||d)},d.\u0275mod=u.\u0275\u0275defineNgModule({type:d}),d.\u0275inj=u.\u0275\u0275defineInjector({providers:[...m.uZ],imports:[[e.m]]}),d})()},78558:(v,R,o)=>{o.d(R,{SQ:()=>u,p4:()=>O,uZ:()=>y});var e=o(76948),m=o(5e3);let u=(()=>{class a{constructor(){}get categories(){return[{icon:e.Iq[e.nP.PRESCRIPTION],category:e.nP.PRESCRIPTION,title:e._G[e.nP.PRESCRIPTION],createdBy:e.Ex.DRD,link:`medical-profile/${e.nP.PRESCRIPTION}`},{icon:e.Iq[e.nP.REFERRAL],category:e.nP.REFERRAL,title:e._G[e.nP.REFERRAL],createdBy:e.Ex.DRD,link:`medical-profile/${e.nP.REFERRAL}`},{icon:e.Iq[e.nP.SCAN_REQUEST],category:e.nP.SCAN_REQUEST,title:e._G[e.nP.SCAN_REQUEST],createdBy:e.Ex.DRD,link:`medical-profile/${e.nP.SCAN_REQUEST}`},{icon:e.Iq[e.nP.MEDICAL_REPORT],category:e.nP.MEDICAL_REPORT,title:e._G[e.nP.MEDICAL_REPORT],createdBy:e.Ex.DRD,link:`medical-profile/${e.nP.MEDICAL_REPORT}`},{icon:e.Iq[e.nP.SICK_CERTIFICATE],category:e.nP.SICK_CERTIFICATE,title:e._G[e.nP.SICK_CERTIFICATE],createdBy:e.Ex.DRD,link:`medical-profile/${e.nP.SICK_CERTIFICATE}`},{icon:e.Iq[e.nP.BANDAGES_ORDER],category:e.nP.BANDAGES_ORDER,title:e._G[e.nP.BANDAGES_ORDER],createdBy:e.Ex.DRD,link:`medical-profile/${e.nP.BANDAGES_ORDER}`},{icon:e.Iq[e.nP.NUTRITION_ORDER],category:e.nP.NUTRITION_ORDER,title:e._G[e.nP.NUTRITION_ORDER],createdBy:e.Ex.DRD,link:`medical-profile/${e.nP.NUTRITION_ORDER}`},{icon:e.Iq[e.nP.TRANSPORT_REQUEST],category:e.nP.TRANSPORT_REQUEST,title:e._G[e.nP.TRANSPORT_REQUEST],createdBy:e.Ex.DRD,link:`medical-profile/${e.nP.TRANSPORT_REQUEST}`},{icon:"anamnesis",title:"anamnesis.title",createdBy:e.Ex.DRD,link:"medical-profile/anamnesis"},{icon:"consultation",title:"consultations.title",createdBy:e.Ex.DRD,link:"medical-profile/consultations"},{icon:e.Iq[e.nP.OTHER],category:e.nP.OTHER,title:e._G[e.nP.OTHER],createdBy:e.Ex.DRD,link:`medical-profile/${e.nP.OTHER}`},{icon:"eye",title:"records.shared",createdBy:e.Ex.PATIENT,link:"medical-profile/shared"}]}}return a.\u0275fac=function(r){return new(r||a)},a.\u0275prov=m.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac}),a})();var n=o(39646),t=o(63900),T=o(18505),d=o(40289),i=o(39841),I=o(38949),g=o(64360),S=o(82327),D=o(75837),P=o(48616);let O=(()=>{class a extends d.Id{constructor(r,c,p,s){super(s),this.documentFileService=r,this.usersRepository=c,this.busMessagingService=p,this.repository=s}uploadDocument(r,c=[]){return(0,n.of)(c).pipe((0,t.w)(p=>p.length?(0,i.a)(p.map(s=>this.usersRepository.get(s))):(0,n.of)(void 0)),(0,t.w)(p=>this.documentFileService.encryptDocument(r,p)),(0,t.w)(()=>super.add(r)),(0,T.b)(p=>this.busMessagingService.message={type:I.hx.NEW_ISSUED_DOCUMENT,message:p}))}}return a.\u0275fac=function(r){return new(r||a)(m.\u0275\u0275inject(g.P0),m.\u0275\u0275inject(S.m),m.\u0275\u0275inject(D.LF),m.\u0275\u0275inject(P.k))},a.\u0275prov=m.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac}),a})();const y=[u,O]}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.