@technicise-healthcare/ssssh-technicise-his-app 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/391.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_technicise_healthcare_ssssh_technicise_his_app=globalThis.webpackChunk_technicise_healthcare_ssssh_technicise_his_app||[]).push([[391],{441:(e,t,n)=>{n.r(t),n.d(t,{default:()=>B});var i=n(6072),r=n.n(i),l=n(1504),a=n(3941),s=n(5072),o=n.n(s),d=n(7825),p=n.n(d),c=n(7659),m=n.n(c),A=n(5056),u=n.n(A),g=n(540),h=n.n(g),_=n(1113),f=n.n(_),x=n(2307),b={};b.styleTagTransform=f(),b.setAttributes=u(),b.insert=m().bind(null,"head"),b.domAPI=p(),b.insertStyleElement=h(),o()(x.A,b);const E=x.A&&x.A.locals?x.A.locals:void 0;var y=n(9324),C=n(7126);const v=n.p+"d15f98b3baeeb7fb.png";function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}const B=function(){var e,t,n,s,o,d,p,c,m,A,u,g,h,_,f,x,b,B,S,w,D,F,N,k,G,I,z,H,R,P=(0,a.useTranslation)().t,O=(H=(0,i.useState)(!1),R=2,function(e){if(Array.isArray(e))return e}(H)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,l=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(l.push(i.value),!t||l.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return l}}(H,R)||function(e,t){if(e){if("string"==typeof e)return T(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?T(e,t):void 0}}(H,R)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),L=O[0],j=O[1],W=null===(e=window.location.pathname.split("/patient/")[1])||void 0===e?void 0:e.split("/")[0],Y=((0,i.useRef)(null),function(e){var t=null!==e?"".concat(C.restBaseUrl,"/patient/").concat(e,"?v=custom:(uuid,display,auditInfo:(dateCreated,creator),identifiers:(identifier,uuid,preferred,location:(uuid,name),identifierType:(uuid,name)),person:(gender,birthdate,age,names:(givenName,middleName,familyName),addresses:(address1,address2,cityVillage,stateProvince,country,postalCode,preferred),attributes:(uuid,value,attributeType:(uuid,name))))"):null,n=(0,y.Ay)(t,C.openmrsFetch),i=n.data,r=n.error,l=n.isLoading;return{patientDetails:null==i?void 0:i.data,isLoading:l,error:r}}(W).patientDetails),M=(u=null==Y?void 0:Y.uuid,_=u?"".concat(C.restBaseUrl,"/relationship?v=full&person=").concat(u):null,f=(0,y.Ay)(_,C.openmrsFetch),x=f.data,b=f.error,B=f.isLoading,{relationships:null!==(h=null==x||null===(g=x.data)||void 0===g?void 0:g.results)&&void 0!==h?h:[],isLoading:B,error:b}).relationships,Q=void 0===M?[]:M,V=null!==(S=null==Y||null===(t=Y.person.addresses)||void 0===t?void 0:t.find(function(e){return e.preferred}))&&void 0!==S?S:null==Y||null===(n=Y.person.addresses)||void 0===n?void 0:n[0],U=V?[V.address1,V.cityVillage,V.stateProvince].filter(Boolean).join(", "):"",q=null!==(w=null==V?void 0:V.cityVillage)&&void 0!==w?w:"",J=null!==(D=null==V?void 0:V.stateProvince)&&void 0!==D?D:"",$=null!==(F=null==V?void 0:V.postalCode)&&void 0!==F?F:"",X=null!==(N=null==V?void 0:V.country)&&void 0!==N?N:"India",K=null!==(k=null==Y||null===(s=Y.person.attributes)||void 0===s?void 0:s.filter(function(e){return"14d4f066-15f5-102d-96e4-000c29c2a5d7"===e.attributeType.uuid}).map(function(e){return e.value}))&&void 0!==k?k:[],Z=null!==(G=K[0])&&void 0!==G?G:"",ee=null!==(I=K[1])&&void 0!==I?I:"";return r().createElement(r().Fragment,null,r().createElement(l.XSD,{className:E.menuitem,itemText:P("printSlip","Print Reg. Slip"),onClick:function(){return j(!0)}}),r().createElement(l.aFV,{open:L,size:"md",onRequestClose:function(){return j(!1)},hasScrollingContent:!0,passiveModal:!0},Y&&r().createElement("div",{style:{border:"1px solid #000",padding:"1rem",fontFamily:"Arial, sans-serif",fontSize:"13px",color:"#000"}},r().createElement("div",{style:{display:"grid",gridTemplateColumns:"1fr 2fr",alignItems:"flex-start",columnGap:"1rem",marginBottom:"0.75rem"}},r().createElement("div",null,r().createElement("img",{src:v,alt:"Hospital Logo",style:{width:"200px",maxWidth:"100%"}})),r().createElement("div",null,r().createElement("div",{style:{fontWeight:"bold",fontSize:"16px"}},"Sri Sathya Sai Sanjeevani International Centre"),r().createElement("div",{style:{fontWeight:"bold"}},"For Child Heart Care & Research"),r().createElement("div",null,"Bhagola, NH-2, Delhi-Mathura Road, Palwal Dist, Haryana-121102"),r().createElement("div",null,"Telephone : 01275-298130"))),r().createElement("div",{style:{textAlign:"center",fontWeight:"bold",borderTop:"1px solid #000",borderBottom:"1px solid #000",padding:"4px",marginBottom:"6px"}},"REGISTRATION FORM"),r().createElement("table",{style:{width:"100%",borderCollapse:"collapse"}},r().createElement("tbody",null,r().createElement("tr",null,r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},r().createElement("b",null,"MR No :")),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},null===(d=Y.identifiers)||void 0===d||null===(o=d[0])||void 0===o?void 0:o.identifier),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},r().createElement("b",null,"Regn. Date :")),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},(null===(p=Y.auditInfo)||void 0===p?void 0:p.dateCreated)?new Date(Y.auditInfo.dateCreated).toLocaleDateString():"")),r().createElement("tr",null,r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},r().createElement("b",null,"Patient Name :")),r().createElement("td",{colSpan:3,style:{border:"1px solid #000",padding:"4px"}},Y.person.names[0].givenName," ",null!==(z=null===(c=Y.person.names[0])||void 0===c?void 0:c.familyName)&&void 0!==z?z:"")),r().createElement("tr",null,r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},r().createElement("b",null,"Date of Birth :")),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},null===(m=Y.person.birthdate)||void 0===m?void 0:m.split("T")[0]),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},r().createElement("b",null,"Age :")),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},Y.person.age," Y")),r().createElement("tr",null,r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},r().createElement("b",null,"Gender :")),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},Y.person.gender),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},r().createElement("b",null,"Country :")),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},"India")),r().createElement("tr",null,r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},r().createElement("b",null,"Guardian Name :")),r().createElement("td",{colSpan:3,style:{border:"1px solid #000",padding:"4px"}},Q.length?Q[0].personA.uuid===Y.uuid?Q[0].personB.display:Q[0].personA.display:"")),r().createElement("tr",null,r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},r().createElement("b",null,"Relationship :")),r().createElement("td",{colSpan:3,style:{border:"1px solid #000",padding:"4px"}},Q.length?null===(A=Q[0].relationshipType)||void 0===A?void 0:A.display:"")),r().createElement("tr",null,r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},r().createElement("b",null,"Address :")),r().createElement("td",{colSpan:3,style:{border:"1px solid #000",padding:"4px"}},U)),r().createElement("tr",null,r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},r().createElement("b",null,"City :")),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},q),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},r().createElement("b",null,"Pin Code :")),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},$)),r().createElement("tr",null,r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},r().createElement("b",null,"Country :")),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},X),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},r().createElement("b",null,"State :")),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},J)),r().createElement("tr",null,r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},r().createElement("b",null,"Contact 1 :")),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},Z),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},r().createElement("b",null,"Contact 2 :")),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},ee)),r().createElement("tr",null,r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},r().createElement("b",null,"Address Proof Type :")),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},"Aadhaar Card"),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},r().createElement("b",null,"Reference No :")),r().createElement("td",{style:{border:"1px solid #000",padding:"4px"}})))),r().createElement("div",{style:{marginTop:"10px",borderTop:"1px solid #000",paddingTop:"6px",fontSize:"11px",textAlign:"center",lineHeight:"1.4"}},r().createElement("div",null,"All Medical Services viz, OPD, Investigations, Admission, Surgeries, Interventions, including food are provided"),r().createElement("div",{style:{fontWeight:"bold",marginTop:"2px"}},"TOTALLY FREE OF COST."),r().createElement("div",null,"There are no charges / fee of any kind levied on the patients at this Hospital."),r().createElement("div",{style:{marginTop:"4px",fontWeight:"bold"}},"SATURDAY OPD IS TILL 1 PM ONLY."),r().createElement("div",{style:{fontWeight:"bold"}},"NO OPD / ADMISSIONS ON SUNDAY & NATIONAL HOLIDAYS"),r().createElement("div",{style:{marginTop:"6px"}},"शनिवार ओपीडी का समय 1.00 बजे तक है। रविवार ओपीडी बंद है।"),r().createElement("div",{style:{marginTop:"4px"}},"12 से कम उम्र के मरीज के साथ 2 अभिभावक और 12 से अधिक उम्र के मरीज के साथ 1 अभिभावक का ही प्रवेश मान्य है।"))),r().createElement("div",{style:{display:"flex",justifyContent:"flex-end",marginTop:"1rem"}},r().createElement(l.$nd,{size:"sm",kind:"primary",onClick:function(){window.print()}},"Print"))))}},2307:(e,t,n)=>{n.d(t,{A:()=>s});var i=n(2996),r=n.n(i),l=n(159),a=n.n(l)()(r());a.push([e.id,".-ssssh-technicise-his__patient-register-slip__formGrid___BmW-a{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.-ssssh-technicise-his__patient-register-slip__menuitem___aNjYl{max-width:none}.-ssssh-technicise-his__patient-register-slip__extraButtonsRow___QfW2L{display:flex;gap:.5rem;margin-bottom:1rem}.-ssssh-technicise-his__patient-register-slip__jsonPreview___4\\+TQ4{background:#f4f4f4;border-radius:.25rem;padding:.75rem;max-height:300px;overflow:auto;font-family:monospace;font-size:.85rem;margin-bottom:1rem}.-ssssh-technicise-his__patient-register-slip__logBox___TVecN{background:#161616;color:#e0e0e0;padding:.75rem;border-radius:.25rem;font-family:monospace;font-size:.85rem;max-height:200px;overflow-y:auto;margin-bottom:1rem}.-ssssh-technicise-his__patient-register-slip__logsContainer___ix4CE{margin-bottom:1rem}.-ssssh-technicise-his__patient-register-slip__logsHeading___ktFzp{font-size:1rem;font-weight:600;margin-bottom:.25rem;color:#161616}[data-carbon-theme=g100] .-ssssh-technicise-his__patient-register-slip__logsHeading___ktFzp{color:#f4f4f4}.-ssssh-technicise-his__patient-register-slip__fetchedDataContainer___jmJpz{margin-top:1rem}.-ssssh-technicise-his__patient-register-slip__fetchedDataHeading___xG-6Q{font-size:1rem;font-weight:600;margin-bottom:.25rem;color:#161616}[data-carbon-theme=g100] .-ssssh-technicise-his__patient-register-slip__fetchedDataHeading___xG-6Q{color:#f4f4f4}","",{version:3,sources:["webpack://./src/patient-register-slip/patient-register-slip.scss"],names:[],mappings:"AAAA,gEACE,YAAA,CACA,6BAAA,CACA,QAAA,CAGF,gEACE,cAAA,CAGF,uEACE,YAAA,CACA,SAAA,CACA,kBAAA,CAGF,oEACE,kBAAA,CACA,oBAAA,CACA,cAAA,CACA,gBAAA,CACA,aAAA,CACA,qBAAA,CACA,gBAAA,CACA,kBAAA,CAGF,8DACE,kBAAA,CACA,aAAA,CACA,cAAA,CACA,oBAAA,CACA,qBAAA,CACA,gBAAA,CACA,gBAAA,CACA,eAAA,CACA,kBAAA,CAGF,qEACE,kBAAA,CAGF,mEACE,cAAA,CACA,eAAA,CACA,oBAAA,CACA,aAAA,CAGF,4FACE,aAAA,CAGF,4EACE,eAAA,CAGF,0EACE,cAAA,CACA,eAAA,CACA,oBAAA,CACA,aAAA,CAGF,mGACE,aAAA",sourcesContent:[".formGrid {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 1rem;\n}\n\n.menuitem {\n max-width: none;\n}\n\n.extraButtonsRow {\n display: flex;\n gap: 0.5rem;\n margin-bottom: 1rem;\n}\n\n.jsonPreview {\n background: #f4f4f4;\n border-radius: 0.25rem;\n padding: 0.75rem;\n max-height: 300px;\n overflow: auto;\n font-family: monospace;\n font-size: 0.85rem;\n margin-bottom: 1rem;\n}\n\n.logBox {\n background: #161616;\n color: #e0e0e0;\n padding: 0.75rem;\n border-radius: 0.25rem;\n font-family: monospace;\n font-size: 0.85rem;\n max-height: 200px;\n overflow-y: auto;\n margin-bottom: 1rem;\n}\n\n.logsContainer {\n margin-bottom: 1rem;\n}\n\n.logsHeading {\n font-size: 1rem;\n font-weight: 600;\n margin-bottom: 0.25rem;\n color: #161616;\n}\n\n[data-carbon-theme='g100'] .logsHeading {\n color: #f4f4f4;\n}\n\n.fetchedDataContainer {\n margin-top: 1rem;\n}\n\n.fetchedDataHeading {\n font-size: 1rem;\n font-weight: 600;\n margin-bottom: 0.25rem;\n color: #161616;\n}\n\n[data-carbon-theme='g100'] .fetchedDataHeading {\n color: #f4f4f4;\n}\n\n"],sourceRoot:""}]),a.locals={formGrid:"-ssssh-technicise-his__patient-register-slip__formGrid___BmW-a",menuitem:"-ssssh-technicise-his__patient-register-slip__menuitem___aNjYl",extraButtonsRow:"-ssssh-technicise-his__patient-register-slip__extraButtonsRow___QfW2L",jsonPreview:"-ssssh-technicise-his__patient-register-slip__jsonPreview___4+TQ4",logBox:"-ssssh-technicise-his__patient-register-slip__logBox___TVecN",logsContainer:"-ssssh-technicise-his__patient-register-slip__logsContainer___ix4CE",logsHeading:"-ssssh-technicise-his__patient-register-slip__logsHeading___ktFzp",fetchedDataContainer:"-ssssh-technicise-his__patient-register-slip__fetchedDataContainer___jmJpz",fetchedDataHeading:"-ssssh-technicise-his__patient-register-slip__fetchedDataHeading___xG-6Q"};const s=a}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_technicise_healthcare_ssssh_technicise_his_app=globalThis.webpackChunk_technicise_healthcare_ssssh_technicise_his_app||[]).push([[391],{441:(e,t,n)=>{n.r(t),n.d(t,{default:()=>B});var r=n(6072),i=n.n(r),l=n(1504),a=n(3941),o=n(5072),s=n.n(o),d=n(7825),p=n.n(d),c=n(7659),m=n.n(c),A=n(5056),u=n.n(A),g=n(540),h=n.n(g),_=n(1113),f=n.n(_),x=n(2307),b={};b.styleTagTransform=f(),b.setAttributes=u(),b.insert=m().bind(null,"head"),b.domAPI=p(),b.insertStyleElement=h(),s()(x.A,b);const E=x.A&&x.A.locals?x.A.locals:void 0;var y=n(9324),C=n(7126);const v=n.p+"d15f98b3baeeb7fb.png";function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var S=function(e){var t,n,r,l,a,o,s=e.patientDetails,d=e.relationships,p=e.fullAddress,c=e.city,m=e.state,A=e.pinCode,u=e.country,g=e.contact1,h=e.contact2,_=function(e){if(!e)return"";var t=new Date(e),n=String(t.getDate()).padStart(2,"0"),r=String(t.getMonth()+1).padStart(2,"0"),i=t.getFullYear();return"".concat(n,"-").concat(r,"-").concat(i)};return i().createElement("div",{style:{border:"1px solid #000",padding:"1rem",fontFamily:"Arial, sans-serif",fontSize:"13px",color:"#000"}},i().createElement("div",{style:{display:"grid",gridTemplateColumns:"1fr 2fr",alignItems:"flex-start",columnGap:"1rem",marginBottom:"0.75rem"}},i().createElement("div",null,i().createElement("img",{src:v,alt:"Hospital Logo",style:{width:"200px",maxWidth:"100%"}})),i().createElement("div",null,i().createElement("div",{style:{fontWeight:"bold",fontSize:"16px"}},"Sri Sathya Sai Sanjeevani International Centre"),i().createElement("div",{style:{fontWeight:"bold"}},"For Child Heart Care & Research"),i().createElement("div",null,"Bhagola, NH-2, Delhi-Mathura Road, Palwal Dist, Haryana-121102"),i().createElement("div",null,"Telephone : 01275-298130"))),i().createElement("div",{style:{textAlign:"center",fontWeight:"bold",borderTop:"1px solid #000",borderBottom:"1px solid #000",padding:"4px",marginBottom:"6px"}},"REGISTRATION FORM"),i().createElement("table",{style:{width:"100%",borderCollapse:"collapse"}},i().createElement("tbody",null,i().createElement("tr",null,i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},i().createElement("b",null,"MR No :")),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},null===(n=s.identifiers)||void 0===n||null===(t=n[0])||void 0===t?void 0:t.identifier),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},i().createElement("b",null,"Regn. Date :")),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},(null===(r=s.auditInfo)||void 0===r?void 0:r.dateCreated)?_(s.auditInfo.dateCreated):"")),i().createElement("tr",null,i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},i().createElement("b",null,"Patient Name :")),i().createElement("td",{colSpan:3,style:{border:"1px solid #000",padding:"4px"}},s.person.names[0].givenName," ",null!==(o=null===(l=s.person.names[0])||void 0===l?void 0:l.familyName)&&void 0!==o?o:"")),i().createElement("tr",null,i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},i().createElement("b",null,"Date of Birth :")),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},_(s.person.birthdate)),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},i().createElement("b",null,"Age :")),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},s.person.age," Y")),i().createElement("tr",null,i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},i().createElement("b",null,"Gender :")),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},s.person.gender),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},i().createElement("b",null,"Country :")),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},"India")),i().createElement("tr",null,i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},i().createElement("b",null,"Guardian Name :")),i().createElement("td",{colSpan:3,style:{border:"1px solid #000",padding:"4px"}},d.length?d[0].personA.uuid===s.uuid?d[0].personB.display:d[0].personA.display:"")),i().createElement("tr",null,i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},i().createElement("b",null,"Relationship :")),i().createElement("td",{colSpan:3,style:{border:"1px solid #000",padding:"4px"}},d.length?null===(a=d[0].relationshipType)||void 0===a?void 0:a.display:"")),i().createElement("tr",null,i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},i().createElement("b",null,"Address :")),i().createElement("td",{colSpan:3,style:{border:"1px solid #000",padding:"4px"}},p)),i().createElement("tr",null,i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},i().createElement("b",null,"City :")),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},c),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},i().createElement("b",null,"Pin Code :")),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},A)),i().createElement("tr",null,i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},i().createElement("b",null,"Country :")),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},u),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},i().createElement("b",null,"State :")),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},m)),i().createElement("tr",null,i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},i().createElement("b",null,"Contact 1 :")),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},g),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},i().createElement("b",null,"Contact 2 :")),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},h)),i().createElement("tr",null,i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},i().createElement("b",null,"Address Proof Type :")),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},"Aadhaar Card"),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}},i().createElement("b",null,"Reference No :")),i().createElement("td",{style:{border:"1px solid #000",padding:"4px"}})))),i().createElement("div",{style:{marginTop:"10px",borderTop:"1px solid #000",paddingTop:"6px",fontSize:"11px",textAlign:"center",lineHeight:"1.4"}},i().createElement("div",null,"All Medical Services viz, OPD, Investigations, Admission, Surgeries, Interventions, including food are provided"),i().createElement("div",{style:{fontWeight:"bold",marginTop:"2px"}},"TOTALLY FREE OF COST."),i().createElement("div",null,"There are no charges / fee of any kind levied on the patients at this Hospital."),i().createElement("div",{style:{marginTop:"4px",fontWeight:"bold"}},"SATURDAY OPD IS TILL 1 PM ONLY."),i().createElement("div",{style:{fontWeight:"bold"}},"NO OPD / ADMISSIONS ON SUNDAY & NATIONAL HOLIDAYS"),i().createElement("div",{style:{marginTop:"6px"}},"शनिवार ओपीडी का समय 1.00 बजे तक है। रविवार ओपीडी बंद है।"),i().createElement("div",{style:{marginTop:"4px"}},"12 से कम उम्र के मरीज के साथ 2 अभिभावक और 12 से अधिम उम्र के मरीज के साथ 1 अभिभावक का ही प्रवेश मान्य है।")))};const B=function(){var e,t,n,o,s,d,p,c,m,A,u,g,h,_,f,x,b,v,B,w,D,F,H=(0,a.useTranslation)().t,N=(D=(0,r.useState)(!1),F=2,function(e){if(Array.isArray(e))return e}(D)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,l=[],a=!0,o=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(l.push(r.value),!t||l.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(o)throw i}}return l}}(D,F)||function(e,t){if(e){if("string"==typeof e)return T(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?T(e,t):void 0}}(D,F)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),k=N[0],G=N[1],I=null===(e=window.location.pathname.split("/patient/")[1])||void 0===e?void 0:e.split("/")[0],z=(0,r.useRef)(null),R=function(e){var t=null!==e?"".concat(C.restBaseUrl,"/patient/").concat(e,"?v=custom:(uuid,display,auditInfo:(dateCreated,creator),identifiers:(identifier,uuid,preferred,location:(uuid,name),identifierType:(uuid,name)),person:(gender,birthdate,age,names:(givenName,middleName,familyName),addresses:(address1,address2,cityVillage,stateProvince,country,postalCode,preferred),attributes:(uuid,value,attributeType:(uuid,name))))"):null,n=(0,y.Ay)(t,C.openmrsFetch),r=n.data,i=n.error,l=n.isLoading;return{patientDetails:null==r?void 0:r.data,isLoading:l,error:i}}(I).patientDetails,L=(s=null==R?void 0:R.uuid,c=s?"".concat(C.restBaseUrl,"/relationship?v=full&person=").concat(s):null,m=(0,y.Ay)(c,C.openmrsFetch),A=m.data,u=m.error,g=m.isLoading,{relationships:null!==(p=null==A||null===(d=A.data)||void 0===d?void 0:d.results)&&void 0!==p?p:[],isLoading:g,error:u}).relationships,P=void 0===L?[]:L,O=null!==(h=null==R||null===(t=R.person.addresses)||void 0===t?void 0:t.find(function(e){return e.preferred}))&&void 0!==h?h:null==R||null===(n=R.person.addresses)||void 0===n?void 0:n[0],j=O?[O.address1,O.cityVillage,O.stateProvince].filter(Boolean).join(", "):"",M=null!==(_=null==O?void 0:O.cityVillage)&&void 0!==_?_:"",W=null!==(f=null==O?void 0:O.stateProvince)&&void 0!==f?f:"",Y=null!==(x=null==O?void 0:O.postalCode)&&void 0!==x?x:"",Q=null!==(b=null==O?void 0:O.country)&&void 0!==b?b:"India",V=null!==(v=null==R||null===(o=R.person.attributes)||void 0===o?void 0:o.filter(function(e){return"14d4f066-15f5-102d-96e4-000c29c2a5d7"===e.attributeType.uuid}).map(function(e){return e.value}))&&void 0!==v?v:[],U=null!==(B=V[0])&&void 0!==B?B:"",q=null!==(w=V[1])&&void 0!==w?w:"";if(!R)return null;var J={patientDetails:R,relationships:P,fullAddress:j,city:M,state:W,pinCode:Y,country:Q,contact1:U,contact2:q};return i().createElement(i().Fragment,null,i().createElement(l.XSD,{className:E.menuitem,itemText:H("printSlip","Print Reg. Slip"),onClick:function(){return G(!0)}}),i().createElement("div",{style:{display:"none"}},i().createElement("div",{ref:z},i().createElement(S,J))),i().createElement(l.aFV,{open:k,size:"md",onRequestClose:function(){return G(!1)},hasScrollingContent:!0,passiveModal:!0},i().createElement(S,J),i().createElement("div",{style:{display:"flex",justifyContent:"flex-end",marginTop:"1rem"}},i().createElement(l.$nd,{size:"sm",kind:"primary",onClick:function(){var e,t=null===(e=z.current)||void 0===e?void 0:e.innerHTML,n=document.body.innerHTML;t&&(document.body.innerHTML=t,window.print(),document.body.innerHTML=n,window.location.reload())}},"Print"))))}},2307:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2996),i=n.n(r),l=n(159),a=n.n(l)()(i());a.push([e.id,".-ssssh-technicise-his__patient-register-slip__formGrid___BmW-a{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.-ssssh-technicise-his__patient-register-slip__menuitem___aNjYl{max-width:none}.-ssssh-technicise-his__patient-register-slip__extraButtonsRow___QfW2L{display:flex;gap:.5rem;margin-bottom:1rem}.-ssssh-technicise-his__patient-register-slip__jsonPreview___4\\+TQ4{background:#f4f4f4;border-radius:.25rem;padding:.75rem;max-height:300px;overflow:auto;font-family:monospace;font-size:.85rem;margin-bottom:1rem}.-ssssh-technicise-his__patient-register-slip__logBox___TVecN{background:#161616;color:#e0e0e0;padding:.75rem;border-radius:.25rem;font-family:monospace;font-size:.85rem;max-height:200px;overflow-y:auto;margin-bottom:1rem}.-ssssh-technicise-his__patient-register-slip__logsContainer___ix4CE{margin-bottom:1rem}.-ssssh-technicise-his__patient-register-slip__logsHeading___ktFzp{font-size:1rem;font-weight:600;margin-bottom:.25rem;color:#161616}[data-carbon-theme=g100] .-ssssh-technicise-his__patient-register-slip__logsHeading___ktFzp{color:#f4f4f4}.-ssssh-technicise-his__patient-register-slip__fetchedDataContainer___jmJpz{margin-top:1rem}.-ssssh-technicise-his__patient-register-slip__fetchedDataHeading___xG-6Q{font-size:1rem;font-weight:600;margin-bottom:.25rem;color:#161616}[data-carbon-theme=g100] .-ssssh-technicise-his__patient-register-slip__fetchedDataHeading___xG-6Q{color:#f4f4f4}","",{version:3,sources:["webpack://./src/patient-register-slip/patient-register-slip.scss"],names:[],mappings:"AAAA,gEACE,YAAA,CACA,6BAAA,CACA,QAAA,CAGF,gEACE,cAAA,CAGF,uEACE,YAAA,CACA,SAAA,CACA,kBAAA,CAGF,oEACE,kBAAA,CACA,oBAAA,CACA,cAAA,CACA,gBAAA,CACA,aAAA,CACA,qBAAA,CACA,gBAAA,CACA,kBAAA,CAGF,8DACE,kBAAA,CACA,aAAA,CACA,cAAA,CACA,oBAAA,CACA,qBAAA,CACA,gBAAA,CACA,gBAAA,CACA,eAAA,CACA,kBAAA,CAGF,qEACE,kBAAA,CAGF,mEACE,cAAA,CACA,eAAA,CACA,oBAAA,CACA,aAAA,CAGF,4FACE,aAAA,CAGF,4EACE,eAAA,CAGF,0EACE,cAAA,CACA,eAAA,CACA,oBAAA,CACA,aAAA,CAGF,mGACE,aAAA",sourcesContent:[".formGrid {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 1rem;\n}\n\n.menuitem {\n max-width: none;\n}\n\n.extraButtonsRow {\n display: flex;\n gap: 0.5rem;\n margin-bottom: 1rem;\n}\n\n.jsonPreview {\n background: #f4f4f4;\n border-radius: 0.25rem;\n padding: 0.75rem;\n max-height: 300px;\n overflow: auto;\n font-family: monospace;\n font-size: 0.85rem;\n margin-bottom: 1rem;\n}\n\n.logBox {\n background: #161616;\n color: #e0e0e0;\n padding: 0.75rem;\n border-radius: 0.25rem;\n font-family: monospace;\n font-size: 0.85rem;\n max-height: 200px;\n overflow-y: auto;\n margin-bottom: 1rem;\n}\n\n.logsContainer {\n margin-bottom: 1rem;\n}\n\n.logsHeading {\n font-size: 1rem;\n font-weight: 600;\n margin-bottom: 0.25rem;\n color: #161616;\n}\n\n[data-carbon-theme='g100'] .logsHeading {\n color: #f4f4f4;\n}\n\n.fetchedDataContainer {\n margin-top: 1rem;\n}\n\n.fetchedDataHeading {\n font-size: 1rem;\n font-weight: 600;\n margin-bottom: 0.25rem;\n color: #161616;\n}\n\n[data-carbon-theme='g100'] .fetchedDataHeading {\n color: #f4f4f4;\n}\n\n"],sourceRoot:""}]),a.locals={formGrid:"-ssssh-technicise-his__patient-register-slip__formGrid___BmW-a",menuitem:"-ssssh-technicise-his__patient-register-slip__menuitem___aNjYl",extraButtonsRow:"-ssssh-technicise-his__patient-register-slip__extraButtonsRow___QfW2L",jsonPreview:"-ssssh-technicise-his__patient-register-slip__jsonPreview___4+TQ4",logBox:"-ssssh-technicise-his__patient-register-slip__logBox___TVecN",logsContainer:"-ssssh-technicise-his__patient-register-slip__logsContainer___ix4CE",logsHeading:"-ssssh-technicise-his__patient-register-slip__logsHeading___ktFzp",fetchedDataContainer:"-ssssh-technicise-his__patient-register-slip__fetchedDataContainer___jmJpz",fetchedDataHeading:"-ssssh-technicise-his__patient-register-slip__fetchedDataHeading___xG-6Q"};const o=a}}]);
|
package/dist/391.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"391.js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@technicise-healthcare/ssssh-technicise-his-app/./src/patient-register-slip/patient-register-slip.scss?efbc","webpack://@technicise-healthcare/ssssh-technicise-his-app/./src/patient-register-slip/patient-register-slip.component.tsx","webpack://@technicise-healthcare/ssssh-technicise-his-app/./src/components/patientInfo/usePatientDetails.ts","webpack://@technicise-healthcare/ssssh-technicise-his-app/./src/patient-register-slip/patient-register-slip.scss"],"names":["options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","undefined","window","patientDetails","relationships","patientUuid","data","url","useSWR","error","isLoading","preferredAddress","phoneNumbers","useTranslation","t","useState","open","setOpen","patientId","location","pathname","split","useRef","restBaseUrl","openmrsFetch","usePatientDetails","uuid","results","person","addresses","find","a","preferred","fullAddress","address1","cityVillage","stateProvince","filter","Boolean","join","city","state","pinCode","postalCode","country","attributes","attributeType","map","value","contact1","contact2","OverflowMenuItem","className","styles","menuitem","itemText","onClick","Modal","size","onRequestClose","hasScrollingContent","passiveModal","div","style","border","padding","fontFamily","fontSize","color","display","gridTemplateColumns","alignItems","columnGap","marginBottom","img","src","logo","alt","width","maxWidth","fontWeight","textAlign","borderTop","borderBottom","table","borderCollapse","tbody","tr","td","b","identifiers","identifier","auditInfo","dateCreated","Date","toLocaleDateString","colSpan","names","givenName","familyName","birthdate","age","gender","length","personA","personB","relationshipType","marginTop","paddingTop","lineHeight","justifyContent","Button","kind","print","___CSS_LOADER_EXPORT___","push","module","id"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"391.js","mappings":"gYAWIA,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKnB,QAAe,KAAW,IAAQM,OAAS,IAAQA,YAASC,E,qKClBnE,IAAMC,EAUD,Y,IAuEiEC,EAAAA,EAKvDA,EAS2CA,EA6CpBC,EA7CoBD,EArFlDA,EAAAA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,KAAK,KAAKM,KAAK,UAAUT,QApDrB,W,IACI3B,EAAhBqC,EAAgC,QAAhBrC,EAAAA,EAASsC,eAATtC,IAAAA,OAAAA,EAAAA,EAAkBuC,UAClCC,EAAmBC,SAASC,KAAKH,UAEnCF,IACFI,SAASC,KAAKH,UAAYF,EAC1BvD,OAAO6D,QACPF,SAASC,KAAKH,UAAYC,EAC1B1D,OAAOe,SAAS+C,SAEpB,GA0C+D,WAOjE,C,kEEjVIC,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,04CAA24C,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,oEAAoE,MAAQ,GAAG,SAAW,6bAA6b,eAAiB,CAAC,glCAAglC,WAAa,MAErlGH,EAAwBvI,OAAS,CAChC,SAAY,iEACZ,SAAY,iEACZ,gBAAmB,wEACnB,YAAe,oEACf,OAAU,+DACV,cAAiB,sEACjB,YAAe,oEACf,qBAAwB,6EACxB,mBAAsB,4EAEvB,S","sources":["webpack://@technicise-healthcare/ssssh-technicise-his-app/./src/patient-register-slip/patient-register-slip.scss?efbc","webpack://@technicise-healthcare/ssssh-technicise-his-app/./src/patient-register-slip/patient-register-slip.component.tsx","webpack://@technicise-healthcare/ssssh-technicise-his-app/./src/components/patientInfo/usePatientDetails.ts","webpack://@technicise-healthcare/ssssh-technicise-his-app/./src/patient-register-slip/patient-register-slip.scss"],"names":["options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","undefined","RegistrationFormContent","patientDetails","relationships","fullAddress","city","state","pinCode","country","contact1","contact2","formatDate","dateString","date","Date","day","String","getDate","padStart","month","getMonth","year","getFullYear","div","style","border","padding","fontFamily","fontSize","color","display","gridTemplateColumns","alignItems","columnGap","marginBottom","img","src","logo","alt","width","maxWidth","fontWeight","textAlign","borderTop","borderBottom","table","borderCollapse","tbody","tr","td","b","identifiers","identifier","auditInfo","dateCreated","colSpan","person","names","givenName","familyName","birthdate","age","gender","length","personA","uuid","personB","relationshipType","marginTop","paddingTop","lineHeight","window","patientUuid","data","url","useSWR","error","isLoading","preferredAddress","phoneNumbers","useTranslation","t","useState","open","setOpen","patientId","location","pathname","split","printRef","useRef","restBaseUrl","openmrsFetch","usePatientDetails","results","addresses","find","a","preferred","address1","cityVillage","stateProvince","filter","Boolean","join","postalCode","attributes","attributeType","map","value","formProps","OverflowMenuItem","className","styles","menuitem","itemText","onClick","ref","Modal","size","onRequestClose","hasScrollingContent","passiveModal","justifyContent","Button","kind","printContents","current","innerHTML","originalContents","document","body","print","reload","___CSS_LOADER_EXPORT___","push","module","id"],"sourceRoot":""}
|
package/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":"^2.24.0"},"extensions":[{"component":"patientRegisterSlip","slot":"patient-actions-slot","online":true,"offline":true,"name":"patient-register-slip","meta":{"title":"Print Reg. Slip","order":6}},{"component":"patientRegistrationLink","slot":"homepage-dashboard-slot","name":"custom-patient-registration-link","meta":{"title":"Patient Registration","name":"patient-registration","slot":"patient-registration-dashboard-slot","order":1}},{"component":"root","name":"patient-registration-dashboard-root","slot":"patient-registration-dashboard-slot"}],"pages":[{"component":"patientDetails","route":"patient-details/:pid"},{"route":"shift-patient-registration","component":"patientRegistrationPage"}],"version":"1.0.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":"^2.24.0"},"extensions":[{"component":"patientRegisterSlip","slot":"patient-actions-slot","online":true,"offline":true,"name":"patient-register-slip","meta":{"title":"Print Reg. Slip","order":6}},{"component":"patientRegistrationLink","slot":"homepage-dashboard-slot","name":"custom-patient-registration-link","meta":{"title":"Patient Registration","name":"patient-registration","slot":"patient-registration-dashboard-slot","order":1}},{"component":"root","name":"patient-registration-dashboard-root","slot":"patient-registration-dashboard-slot"}],"pages":[{"component":"patientDetails","route":"patient-details/:pid"},{"route":"shift-patient-registration","component":"patientRegistrationPage"}],"version":"1.0.5"}
|
|
@@ -320,9 +320,9 @@
|
|
|
320
320
|
"initial": false,
|
|
321
321
|
"entry": false,
|
|
322
322
|
"recorded": false,
|
|
323
|
-
"size":
|
|
323
|
+
"size": 39800,
|
|
324
324
|
"sizes": {
|
|
325
|
-
"javascript":
|
|
325
|
+
"javascript": 33242,
|
|
326
326
|
"asset": 6558
|
|
327
327
|
},
|
|
328
328
|
"names": [],
|
|
@@ -338,7 +338,7 @@
|
|
|
338
338
|
"391.js.map",
|
|
339
339
|
"d15f98b3baeeb7fb.png"
|
|
340
340
|
],
|
|
341
|
-
"hash": "
|
|
341
|
+
"hash": "0d6057915d3b1a4d",
|
|
342
342
|
"childrenByOrder": {}
|
|
343
343
|
},
|
|
344
344
|
{
|
package/package.json
CHANGED