Preguntas y respuestas funcionando para médicos
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<!-- definition of global property -->
|
<!-- definition of global property -->
|
||||||
<property environment="env" />
|
<property environment="env" />
|
||||||
<property name="jboss.home" value="${env.JBOSS_HOME}" />
|
<property name="jboss.home" value="/opt/wildfly" />
|
||||||
<property name="source" value="." />
|
<property name="source" value="." />
|
||||||
<property name="java.encoding" value="UTF-8" />
|
<property name="java.encoding" value="UTF-8" />
|
||||||
<property name="sourcesrc" value="${source}/src" />
|
<property name="sourcesrc" value="${source}/src" />
|
||||||
|
|||||||
@@ -1,85 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
|
|
||||||
xmlns:p="http://primefaces.org/ui">
|
|
||||||
|
|
||||||
<ui:composition template="../header.xhtml">
|
|
||||||
<ui:define name="content">
|
|
||||||
<h:form id="TestForm">
|
|
||||||
<p:messages id="mesgs" showDetail="true" closable="true" autoupdate="true" />
|
|
||||||
<p:panel id="panelPendingQuestions" header="Listado de preguntas pendientes de respuesta">
|
|
||||||
<div class="ui-g ui-fluid">
|
|
||||||
|
|
||||||
<div class="ui-g-4 ui-md-4">
|
|
||||||
<p:outputLabel for="campo" value="Etiqueta para campo de formulario:" />
|
|
||||||
</div>
|
|
||||||
<div class="ui-g-4 ui-md-4">
|
|
||||||
<p:inputText id="campo" value="Valor del campo del formulario" required="true" requiredMessage="Por favor, especifique un valor" />
|
|
||||||
</div>
|
|
||||||
<div class="ui-g-4 ui-md-4">
|
|
||||||
<p:message for="campo" display="text" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="ui-g-4 ui-md-4">
|
|
||||||
<p:outputLabel for="campo2" value="Etiqueta para campo 2 de formulario:" />
|
|
||||||
</div>
|
|
||||||
<div class="ui-g-4 ui-md-4">
|
|
||||||
<p:inputText id="campo2" value="Valor del campo 2 del formulario" required="true" requiredMessage="Por favor, especifique un valor" />
|
|
||||||
</div>
|
|
||||||
<div class="ui-g-4 ui-md-4">
|
|
||||||
<p:message for="campo" display="text" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="ui-g-4 ui-md-4">
|
|
||||||
<p:outputLabel for="campo3" value="Etiqueta para campo 3 de formulario:" />
|
|
||||||
</div>
|
|
||||||
<div class="ui-g-4 ui-md-4">
|
|
||||||
<p:inputText id="campo3" value="Valor del campo 3 del formulario" required="true" requiredMessage="Por favor, especifique un valor" />
|
|
||||||
</div>
|
|
||||||
<div class="ui-g-4 ui-md-4">
|
|
||||||
<p:message for="campo" display="text" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<p:dataTable widgetVar="dtPendingQuestions" var="qs" value="#{PendingQuestions.lazyDataModelQuestionList}" lazy="true" paginator="true" rows="10" paginatorPosition="bottom" paginatorAlwaysVisible="true"
|
|
||||||
paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}" rowsPerPageTemplate="10,20,30,40">
|
|
||||||
<p:column headerText="Id" width="60px;">
|
|
||||||
<h:outputText value="#{qs.id}" />
|
|
||||||
</p:column>
|
|
||||||
|
|
||||||
<p:column headerText="Title" width="auto">
|
|
||||||
<h:outputText value="#{qs.title}"/>
|
|
||||||
</p:column>
|
|
||||||
|
|
||||||
<p:column headerText="Patient" width="auto">
|
|
||||||
<h:outputText value="#{qs.patient.displayName}" />
|
|
||||||
</p:column>
|
|
||||||
|
|
||||||
<p:column headerText="Status" width="90px;">
|
|
||||||
<h:outputText value="#{qs.status}" />
|
|
||||||
</p:column>
|
|
||||||
<p:column headerText="Acción" width="80px;">
|
|
||||||
<h:outputText value="Responder" />
|
|
||||||
</p:column>
|
|
||||||
|
|
||||||
<f:facet name="paginatorBottomLeft">
|
|
||||||
<p:commandButton type="button" icon="pi pi-refresh" onclick="PF('dtPendingQuestions').getPaginator().setPage(0);" />
|
|
||||||
</f:facet>
|
|
||||||
</p:dataTable>
|
|
||||||
|
|
||||||
<div class="ui-g-12 ui-g-nopad">
|
|
||||||
<div class="ui-g-4 ui-md-4" />
|
|
||||||
<div class="ui-g-2 ui-md-2 ">
|
|
||||||
<p:commandButton validateClient="true" value="Guardar" update="TestForm" action="#{PendingQuestions.saveData}" icon="pi pi-check" />
|
|
||||||
</div>
|
|
||||||
<div class="ui-g-2 ui-md-2">
|
|
||||||
<p:button value="Volver" outcome="/home" icon="pi pi-home" />
|
|
||||||
</div>
|
|
||||||
<div class="ui-g-4 ui-md-4" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</p:panel>
|
|
||||||
</h:form>
|
|
||||||
</ui:define>
|
|
||||||
</ui:composition>
|
|
||||||
</html>
|
|
||||||
80
1.sources/MyHealth/docroot/medicaltest/Questions.xhtml
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||||
|
xmlns:ui="http://java.sun.com/jsf/facelets"
|
||||||
|
xmlns:f="http://java.sun.com/jsf/core"
|
||||||
|
xmlns:h="http://java.sun.com/jsf/html"
|
||||||
|
xmlns:p="http://primefaces.org/ui" xmlns:o="http://omnifaces.org/ui">
|
||||||
|
|
||||||
|
<ui:composition template="../header.xhtml">
|
||||||
|
<ui:define name="content">
|
||||||
|
<h:form id="frmQuestions">
|
||||||
|
<p:growl id="msgs" showDetail="true" closable="true"
|
||||||
|
autoupdate="true" />
|
||||||
|
<p:panel id="panelQuestions" header="Preguntas">
|
||||||
|
<div class="ui-g ui-fluid">
|
||||||
|
<div class="ui-g-3 ui-md-3">
|
||||||
|
<p:commandButton rendered="#{Questions.showCreate}" action="#{Questions.create}" value="Nuevo" update="panelDetail"></p:commandButton>
|
||||||
|
<p:orderList value="#{Questions.pendingQuestions}" var="pq"
|
||||||
|
controlsLocation="none" itemValue="#{pq}">
|
||||||
|
<o:converter converterId="omnifaces.ListConverter"
|
||||||
|
list="#{Questions.pendingQuestions}" />
|
||||||
|
<p:ajax event="select" listener="#{Questions.onSelect}"
|
||||||
|
update="panelDetail"></p:ajax >
|
||||||
|
<p:ajax event="unselect" listener="#{Questions.onUnSelect}"
|
||||||
|
update="panelDetail"></p:ajax>
|
||||||
|
<p:column>
|
||||||
|
<h:graphicImage name="images/#{pq.status}.png"
|
||||||
|
alt="#{pq.status}" styleClass="ui-theme" />
|
||||||
|
</p:column>
|
||||||
|
<p:column>
|
||||||
|
<h:outputText value="#{pq.title}" />
|
||||||
|
</p:column>
|
||||||
|
</p:orderList>
|
||||||
|
</div>
|
||||||
|
<div class="ui-g-1 ui-md-1"></div>
|
||||||
|
<div class="ui-g-8 ui-md-8">
|
||||||
|
<p:panel id="panelDetail" visible="#{Questions.showPanelDetail}" header="Pregunta de #{Questions.selected.patient.name} #{Questions.selected.patient.surname} ">
|
||||||
|
<h:outputText rendered="#{Questions.selected.status != 'NEW'}">#{Questions.selected.title}</h:outputText>
|
||||||
|
<p:inputText rendered="#{Questions.selected.status == 'NEW'}"></p:inputText>
|
||||||
|
<p:textEditor rendered="#{Questions.selected.status == 'NEW'}" value="#{Questions.selected.message}" ></p:textEditor>
|
||||||
|
<h:outputText rendered="#{Questions.selected.status != 'NEW'}" value="#{Questions.selected.message}" escape="false"></h:outputText>
|
||||||
|
<p:panel rendered="#{Questions.selected.status != 'NEW'}" style="border: 0px !important;">
|
||||||
|
<h3>Respuesta:</h3>
|
||||||
|
<p:textEditor rendered="#{Questions.selected.status == 'PENDING'}" value="#{Questions.selected.response}"></p:textEditor>
|
||||||
|
<h:outputText rendered="#{Questions.selected.status == 'ANSWERED'}" value="#{Questions.selected.response}" escape="false"></h:outputText>
|
||||||
|
</p:panel>
|
||||||
|
<br/>
|
||||||
|
<p:commandButton rendered="#{Questions.selected.status != 'ANSWERED'}" value="#{Questions.selected.status == 'NEW' ? 'Preguntar' : 'Responder'}" action="#{Questions.save}" update="frmQuestions" icon="pi pi-save" ></p:commandButton>
|
||||||
|
</p:panel>
|
||||||
|
<!--
|
||||||
|
<p:panel id="panelDetail" visible="#{Questions.showPanelDetail}" header="Pregunta de #{Questions.selected.patient.name} #{Questions.selected.patient.surname} ">
|
||||||
|
<h:div rendered="#{Questions.selected.status == 'NEW'}">
|
||||||
|
<p:inputText rendered="#{Questions.selected.status == 'NEW'}" aria-placeholder="Título de la pregunta"></p:inputText>
|
||||||
|
<p:textEditor rendered="#{Questions.selected.status == 'NEW'}" value="#{Questions.selected.message}" ></p:textEditor>
|
||||||
|
<br/>
|
||||||
|
<p:commandButton rendered="#{Questions.selected.status == 'NEW'}" value="Preguntar" action="#{Questions.save}" update="frmQuestions" icon="pi pi-save" ></p:commandButton>
|
||||||
|
</h:div>
|
||||||
|
|
||||||
|
<h:div rendered="#{Questions.selected.status != 'NEW'}">
|
||||||
|
<h:h3 rendered="#{Questions.selected.status != 'NEW'}">#{Questions.selected.title}</h:h3>
|
||||||
|
<h:outputText rendered="#{Questions.selected.status != 'NEW'}" value="#{Questions.selected.message}" escape="false"></h:outputText>
|
||||||
|
<p:panel visible="#{Questions.selected.status != 'NEW'}" style="border: 0px !important;">
|
||||||
|
<h3>Respuesta:</h3>
|
||||||
|
<p:textEditor rendered="#{Questions.enableResponseEditor}" value="#{Questions.selected.response}"></p:textEditor>
|
||||||
|
<h:outputText visible="#{Questions.enableResponseOutput}" value="#{Questions.selected.response}" escape="false"></h:outputText>
|
||||||
|
</p:panel>
|
||||||
|
<br/>
|
||||||
|
<p:commandButton rendered="#{Questions.selected.status != 'NEW'}" value="Responder" action="#{Questions.save}" update="frmQuestions,listQuestions" icon="pi pi-save" ></p:commandButton>
|
||||||
|
</h:div>
|
||||||
|
</p:panel>
|
||||||
|
-->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</p:panel>
|
||||||
|
</h:form>
|
||||||
|
</ui:define>
|
||||||
|
</ui:composition>
|
||||||
|
</html>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
BODY {
|
body {
|
||||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -37,3 +37,8 @@ ul.ui-menu-list {
|
|||||||
background-color: #d43f3a;
|
background-color: #d43f3a;
|
||||||
border-color: #d9534f;
|
border-color: #d9534f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ui-orderlist .ui-orderlist-list {
|
||||||
|
height: 70vh !important;
|
||||||
|
width: 25vw !important;
|
||||||
|
}
|
||||||
BIN
1.sources/MyHealth/docroot/resources/images/ANSWERED.png
Normal file
|
After Width: | Height: | Size: 775 B |
9
1.sources/MyHealth/docroot/resources/images/ANSWERED.svg
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="215.434px" height="215.434px" viewBox="0 0 215.434 215.434" enable-background="new 0 0 215.434 215.434" xml:space="preserve">
|
||||||
|
<g>
|
||||||
|
<circle fill="#54C147" cx="107.717" cy="107.717" r="106.299"/>
|
||||||
|
<polygon fill="#FFFFFF" points="96.977,121.718 145.084,50.79 168.752,69.02 103.583,164.647 46.678,120.299 63.562,96.402 "/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 696 B |
BIN
1.sources/MyHealth/docroot/resources/images/PENDING.png
Normal file
|
After Width: | Height: | Size: 909 B |
248
1.sources/MyHealth/docroot/resources/images/PENDING.svg
Normal file
@@ -0,0 +1,248 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="71.337982mm"
|
||||||
|
height="65.062035mm"
|
||||||
|
viewBox="0 0 71.337982 65.062035"
|
||||||
|
version="1.1"
|
||||||
|
id="svg8"
|
||||||
|
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
|
||||||
|
sodipodi:docname="Pendiente.svg">
|
||||||
|
<defs
|
||||||
|
id="defs2" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="base"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:zoom="1.4"
|
||||||
|
inkscape:cx="21.631587"
|
||||||
|
inkscape:cy="107.22382"
|
||||||
|
inkscape:document-units="mm"
|
||||||
|
inkscape:current-layer="layer1"
|
||||||
|
showgrid="false"
|
||||||
|
fit-margin-top="0"
|
||||||
|
fit-margin-left="0"
|
||||||
|
fit-margin-right="0"
|
||||||
|
fit-margin-bottom="0"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1015"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="1" />
|
||||||
|
<metadata
|
||||||
|
id="metadata5">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title></dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
inkscape:label="Capa 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1"
|
||||||
|
transform="translate(-46.72982,-68.677315)">
|
||||||
|
<circle
|
||||||
|
style="fill:#ffdd55;fill-opacity:1;stroke-width:0.31121486"
|
||||||
|
id="path3813"
|
||||||
|
cx="81.031158"
|
||||||
|
cy="99.249031"
|
||||||
|
r="29.009672" />
|
||||||
|
<path
|
||||||
|
style="fill:#000000;stroke:none;stroke-width:0.03527778"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
d="m 74.462809,68.91145 c -3.457222,0.529167 -8.854723,2.504722 -12.065001,4.409722 -4.833056,2.892778 -9.771945,8.219723 -12.347223,13.370279 -1.446389,2.8575 -2.751667,7.408334 -3.139722,11.112501 -1.516945,13.864168 6.632222,27.728338 19.438057,33.196388 4.727222,2.01084 7.408333,2.54 13.052778,2.54 6.138334,0 7.231945,-0.28222 7.231945,-1.69333 v -1.02306 l -6.526389,-0.0353 c -6.385278,0 -6.596945,-0.0353 -9.877779,-1.16417 -4.691944,-1.55222 -8.396111,-3.84528 -11.818056,-7.26722 -6.0325,-6.0325 -8.960556,-12.91167 -8.995834,-21.13139 0,-11.394726 6.279445,-21.695838 16.404168,-26.775839 5.856111,-2.963333 13.687779,-3.915833 20.073057,-2.434166 9.136945,2.116666 16.93333,8.466667 20.74333,16.862778 1.23473,2.751667 2.39889,7.090834 2.39889,8.960557 0,1.199444 0.70556,2.43417 1.37584,2.43417 0.14111,0 0.56444,-0.21167 0.91722,-0.493893 0.635,-0.458611 0.635,-0.670277 0.21167,-3.421944 -0.59973,-3.880556 -2.04612,-8.149167 -3.95112,-11.465279 -1.79916,-3.175 -6.20888,-7.972778 -9.348607,-10.230556 -2.963334,-2.116667 -7.549445,-4.198056 -11.112501,-5.08 C 83.67031,68.735061 77.708365,68.417561 74.462809,68.91145 Z"
|
||||||
|
id="path3790" />
|
||||||
|
<path
|
||||||
|
style="fill:#000000;stroke:none;stroke-width:0.03527778"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
d="m 78.625587,74.908673 c -0.599722,0.3175 -0.635,1.199444 -0.635,10.548056 v 10.195278 l -1.023056,0.529167 c -2.434166,1.27 -3.668889,4.056946 -2.892778,6.526386 l 0.423334,1.27 -4.797778,4.62139 c -2.610556,2.54 -4.762501,4.86834 -4.762501,5.18584 0,0.67027 0.881945,1.41111 1.552223,1.23472 0.282222,-0.0706 2.645833,-2.11667 5.221111,-4.55084 3.880556,-3.66888 4.833056,-4.40972 5.397501,-4.16277 1.375833,0.52916 3.845278,0.35277 5.044722,-0.38806 3.4925,-2.15194 3.421945,-7.725833 -0.176389,-9.489722 L 80.812809,95.863674 V 85.738951 c 0,-8.713612 -0.07055,-10.195278 -0.564444,-10.65389 -0.635,-0.670277 -0.811389,-0.670277 -1.622778,-0.176388 z m 2.8575,24.518057 c 1.023056,1.30528 0.917222,2.46944 -0.3175,3.73944 -0.917222,0.88195 -1.27,1.02306 -2.2225,0.84667 -3.421945,-0.67028 -2.998611,-5.503333 0.493889,-5.503333 1.023056,0 1.481667,0.211667 2.046111,0.917223 z"
|
||||||
|
id="path3792" />
|
||||||
|
<path
|
||||||
|
style="fill:#000000;stroke:none;stroke-width:0.03527778"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
d="m 99.192533,104.01284 c -7.47889,2.01083 -12.347223,9.45445 -11.077223,16.93334 1.093611,6.27944 5.644445,11.04194 11.88861,12.3825 2.32834,0.49389 3.10445,0.52916 5.22111,0.17639 5.04473,-0.88195 9.2075,-3.95112 11.25361,-8.32556 2.18723,-4.69195 2.11667,-8.74889 -0.21166,-13.51139 -3.06917,-6.20889 -10.33639,-9.48972 -17.074447,-7.65528 z m 8.254997,2.99861 c 2.57528,0.9525 5.50334,3.66889 6.77334,6.24417 0.88194,1.76389 0.98777,2.39889 0.98777,5.36222 0,2.96334 -0.10583,3.59834 -0.98777,5.36222 -3.70417,7.51417 -13.58195,9.34862 -19.579171,3.66889 -2.751667,-2.57527 -3.704167,-4.62139 -3.880556,-8.32555 -0.211666,-4.445 1.164167,-7.65528 4.480278,-10.44223 3.03389,-2.54 8.254999,-3.35138 12.206109,-1.86972 z"
|
||||||
|
id="path3794" />
|
||||||
|
<circle
|
||||||
|
style="fill:#ffdd55;fill-opacity:1;stroke-width:0.13077107"
|
||||||
|
id="path3813-3"
|
||||||
|
cx="102.99097"
|
||||||
|
cy="118.6227"
|
||||||
|
r="12.189734" />
|
||||||
|
<image
|
||||||
|
y="106.07389"
|
||||||
|
x="90.484489"
|
||||||
|
id="image3875"
|
||||||
|
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOAAAADhCAYAAADRcblEAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
|
||||||
|
WXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH4wwWCB4YJbjQ/wAAABl0RVh0Q29tbWVudABDcmVhdGVk
|
||||||
|
IHdpdGggR0lNUFeBDhcAACAASURBVHja7Z19fFTVue9/a+29ZybJJANJIJFgMEbUIHIsFGsLVw9e
|
||||||
|
I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aY+DQQQYsAO9xz4JydfQPttm1WJoAjL8ypdH8Q7N58/etU++XSqMGBGOf0AFAJc+c
|
||||||
|
+3tlxKzfKSOm+8jaEYCRVIEI1HxXeP/8HevUf5TK0N8AsNR1U2UAkKcBOCt55swPlBGz/l3xfLM+
|
||||||
|
kXuwEIDJo2xpNN9ieT+ZaZ3aWio6PspjTANYOgAtOYGUJiB1SOltYtrllUrW7G0861t/UDK/1kaW
|
||||||
|
jgCMd8w41fL91wzh23O98G2fLkPVHkACcNrTXZUmACOcRJEhL1Pyd/L0a//E3ddtV7Ku25PKSwcE
|
||||||
|
oB3Gr+WbjWy65QAAAPBJREFULDoOfkMGDk8VHVVTRMeOSVK0gTFXJ5RKYljKM6BZAEKQMgTA2sfT
|
||||||
|
plXx9K/v4elX/YWnX7GXgCMA7S6XtHyTZODLiUKvnSD1L64U+qHxMlRbDLNOkdIAY1o4poSjE1AM
|
||||||
|
HVJpdv5gdM0IAELhH2UIACzGc2uYNvYwcxYf4mkl1cw57gBzFe7jacU6vS4CMJWsZRGMk4XS9F4s
|
||||||
|
rfYxMlifJ43m0dL05sBsGCnNEx5ped0AMiA6XGEqoXbSKgF0mjHoADrAM/xMHeVl6uiTUHJbmeo5
|
||||||
|
wbRRTUwb1QAl4xh35NdBG1nLuAsUu8VX/x83CvbHNjG9MAAAAABJRU5ErkJggg==
|
||||||
|
"
|
||||||
|
preserveAspectRatio="none"
|
||||||
|
height="25.097618"
|
||||||
|
width="25.012953" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 17 KiB |
BIN
1.sources/MyHealth/docroot/resources/images/clock.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
36
1.sources/MyHealth/docroot/resources/images/clock.svg
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
<?xml version="1.0" standalone="no"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||||
|
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||||
|
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="225.000000pt" height="225.000000pt" viewBox="0 0 225.000000 225.000000"
|
||||||
|
preserveAspectRatio="xMidYMid meet">
|
||||||
|
|
||||||
|
<g transform="translate(0.000000,225.000000) scale(0.100000,-0.100000)"
|
||||||
|
fill="#000000" stroke="none">
|
||||||
|
<path d="M900 2009 c-98 -15 -251 -71 -342 -125 -137 -82 -277 -233 -350 -379
|
||||||
|
-41 -81 -78 -210 -89 -315 -43 -393 188 -786 551 -941 134 -57 210 -72 370
|
||||||
|
-72 174 0 205 8 205 48 l0 29 -185 1 c-181 0 -187 1 -280 33 -133 44 -238 109
|
||||||
|
-335 206 -171 171 -254 366 -255 599 0 323 178 615 465 759 166 84 388 111
|
||||||
|
569 69 259 -60 480 -240 588 -478 35 -78 68 -201 68 -254 0 -34 20 -69 39 -69
|
||||||
|
4 0 16 6 26 14 18 13 18 19 6 97 -17 110 -58 231 -112 325 -51 90 -176 226
|
||||||
|
-265 290 -84 60 -214 119 -315 144 -98 24 -267 33 -359 19z"/>
|
||||||
|
<path d="M1018 1839 c-17 -9 -18 -34 -18 -299 l0 -289 -29 -15 c-69 -36 -104
|
||||||
|
-115 -82 -185 l12 -36 -136 -131 c-74 -72 -135 -138 -135 -147 0 -19 25 -40
|
||||||
|
44 -35 8 2 75 60 148 129 110 104 137 125 153 118 39 -15 109 -10 143 11 99
|
||||||
|
61 97 219 -5 269 l-33 16 0 287 c0 247 -2 289 -16 302 -18 19 -23 19 -46 5z
|
||||||
|
m81 -695 c29 -37 26 -70 -9 -106 -26 -25 -36 -29 -63 -24 -97 19 -85 156 14
|
||||||
|
156 29 0 42 -6 58 -26z"/>
|
||||||
|
<path d="M1601 1014 c-212 -57 -350 -268 -314 -480 31 -178 160 -313 337 -351
|
||||||
|
66 -14 88 -15 148 -5 143 25 261 112 319 236 62 133 60 248 -6 383 -87 176
|
||||||
|
-293 269 -484 217z m234 -85 c73 -27 156 -104 192 -177 25 -50 28 -68 28 -152
|
||||||
|
0 -84 -3 -102 -28 -152 -105 -213 -385 -265 -555 -104 -78 73 -105 131 -110
|
||||||
|
236 -6 126 33 217 127 296 86 72 234 95 346 53z"/>
|
||||||
|
<path d="M1768 836 c-55 -15 -111 -55 -141 -102 -19 -29 -27 -34 -64 -34 -39
|
||||||
|
0 -73 -19 -73 -40 0 -18 33 -40 61 -40 26 0 29 -3 29 -30 0 -28 -3 -30 -35
|
||||||
|
-30 -39 0 -59 -24 -44 -52 7 -13 22 -18 57 -18 44 0 48 -3 69 -39 28 -48 101
|
||||||
|
-98 158 -106 65 -10 80 -4 80 30 0 27 -4 30 -42 37 -50 8 -91 28 -117 57 l-19
|
||||||
|
21 50 0 c56 0 79 16 68 50 -6 18 -15 20 -76 20 l-69 0 0 30 0 30 63 0 c65 0
|
||||||
|
87 11 87 42 0 23 -30 38 -77 38 l-38 1 32 29 c18 16 49 32 70 35 49 8 67 18
|
||||||
|
71 39 5 22 -16 46 -37 45 -9 0 -37 -6 -63 -13z"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.1 KiB |
BIN
1.sources/MyHealth/docroot/resources/images/quote.png
Normal file
|
After Width: | Height: | Size: 8.4 KiB |
11
1.sources/MyHealth/docroot/resources/images/quote.svg
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" standalone="no"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||||
|
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||||
|
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="225.000000pt" height="225.000000pt" viewBox="0 0 225.000000 225.000000"
|
||||||
|
preserveAspectRatio="xMidYMid meet">
|
||||||
|
|
||||||
|
<g transform="translate(0.000000,225.000000) scale(0.100000,-0.100000)"
|
||||||
|
fill="#000000" stroke="none">
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 438 B |
9
1.sources/MyHealth/ecosystem.json
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"apps" : [{
|
||||||
|
"name": "ANT",
|
||||||
|
"script": "start.sh",
|
||||||
|
"cwd": "./",
|
||||||
|
"ignore_watch": ["*.ear", "*.jar", "*.war", "./build/*", "./dist/*"],
|
||||||
|
"watch": true
|
||||||
|
}]
|
||||||
|
}
|
||||||
@@ -27,6 +27,8 @@ public class QuestionTO implements Serializable {
|
|||||||
|
|
||||||
public QuestionTO() {
|
public QuestionTO() {
|
||||||
super();
|
super();
|
||||||
|
this.patient = new PatientTO();
|
||||||
|
this.fdoctor = new FamilyDoctorTO();
|
||||||
}
|
}
|
||||||
|
|
||||||
public QuestionTO(int id, String title, String message, QuestionStatus status, PatientTO patient,
|
public QuestionTO(int id, String title, String message, QuestionStatus status, PatientTO patient,
|
||||||
@@ -97,4 +99,20 @@ public class QuestionTO implements Serializable {
|
|||||||
this.response = response;
|
this.response = response;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String toString() {
|
||||||
|
return "{"
|
||||||
|
+ "ObjectID" + super.toString()
|
||||||
|
+ ",id" + this.getId()
|
||||||
|
+ ",title" + this.getTitle()
|
||||||
|
+ ",message" + this.getMessage()
|
||||||
|
+ ",response" + this.getResponse()
|
||||||
|
+ ",status" + this.getStatus()
|
||||||
|
+ ",patient-id" + this.getPatient().getId()
|
||||||
|
+ ",patient-name-surname" + this.getPatient().getName() + " " + this.getPatient().getSurname()
|
||||||
|
+ ",fdoctor-id" + this.getDoctor().getId()
|
||||||
|
+ ",fdoctor-name-surname" + this.getDoctor().getName() + " " + this.getDoctor().getSurname()
|
||||||
|
+ "}";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ package common;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public enum QuestionStatus {
|
public enum QuestionStatus {
|
||||||
ANSWERED("Respondida"), PENDING("Pendiente");
|
ANSWERED("Respondida"), PENDING("Pendiente"), NEW("New");
|
||||||
|
|
||||||
private String questionStatusName;
|
private String questionStatusName;
|
||||||
|
|
||||||
|
|||||||
@@ -74,11 +74,35 @@ public class MedicalTestFacadeBean implements MedicalTestFacadeRemote {
|
|||||||
* @param response
|
* @param response
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void answerQuestion(String question, String response) {
|
public void answerQuestion(QuestionTO q) {
|
||||||
|
QuestionJPA qjpa = entman.find(QuestionJPA.class, q.getId());
|
||||||
|
qjpa.setResponse(q.getResponse());
|
||||||
|
qjpa.setStatus(QuestionStatus.ANSWERED);
|
||||||
|
|
||||||
|
PatientJPA patient = entman.find(PatientJPA.class, q.getPatient().getId());
|
||||||
|
// 1. Buscar el médico de familia con ese professionalNumber
|
||||||
|
FamilyDoctorJPA fdoctor = entman.find(FamilyDoctorJPA.class, q.getDoctor().getId());
|
||||||
|
|
||||||
|
qjpa.setPatient(patient);
|
||||||
|
qjpa.setFamilyDoctor(fdoctor);
|
||||||
|
|
||||||
|
entman.persist(qjpa);
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<QuestionTO> listAllPendingQuestions(int familyDoctorId) {
|
public List<QuestionTO> listAllPendingQuestions(int familyDoctorId) {
|
||||||
return null;
|
// TypedQuery<QuestionJPA> query = entman.createQuery("SELECT q from QuestionJPA q where q.status=:status and q.familyDoctor.id=:docId order by q.title", QuestionJPA.class);
|
||||||
|
TypedQuery<QuestionJPA> query = entman.createQuery("SELECT q from QuestionJPA q where q.familyDoctor.id=:docId order by q.status desc, q.title asc", QuestionJPA.class);
|
||||||
|
// query.setParameter("status", QuestionStatus.PENDING);
|
||||||
|
query.setParameter("docId", familyDoctorId);
|
||||||
|
|
||||||
|
List<QuestionJPA> allJPA = query.getResultList();
|
||||||
|
List<QuestionTO> pendingQuestions = new ArrayList<QuestionTO>();
|
||||||
|
|
||||||
|
for (QuestionJPA item : allJPA) {
|
||||||
|
pendingQuestions.add(commonServices.getPOJOforQuestionJPA(item, 1));
|
||||||
|
}
|
||||||
|
|
||||||
|
return pendingQuestions;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Long getPendingQuestionsCount(int familyDoctorId) {
|
public Long getPendingQuestionsCount(int familyDoctorId) {
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ public interface MedicalTestFacadeRemote {
|
|||||||
* @param question
|
* @param question
|
||||||
* @param response
|
* @param response
|
||||||
*/
|
*/
|
||||||
public void answerQuestion(String question, String response);
|
public void answerQuestion(QuestionTO question);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Recuperar las preguntas sin respuesta para un médico
|
* Recuperar las preguntas sin respuesta para un médico
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ import javax.persistence.JoinColumn;
|
|||||||
import javax.persistence.ManyToOne;
|
import javax.persistence.ManyToOne;
|
||||||
import javax.persistence.Table;
|
import javax.persistence.Table;
|
||||||
|
|
||||||
|
import TO.QuestionTO;
|
||||||
import common.QuestionStatus;
|
import common.QuestionStatus;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ public class AuthorizationFilter implements Filter {
|
|||||||
authorized = true;
|
authorized = true;
|
||||||
if (reqURI.indexOf("/visit/CancelVisit") > 0)
|
if (reqURI.indexOf("/visit/CancelVisit") > 0)
|
||||||
authorized = true;
|
authorized = true;
|
||||||
if (reqURI.indexOf("/medicaltest/AddQuestion") > 0)
|
if (reqURI.indexOf("/medicaltest/Questions") > 0)
|
||||||
authorized = true;
|
authorized = true;
|
||||||
if (reqURI.indexOf("/medicaltest/ViewMedicalTest") > 0)
|
if (reqURI.indexOf("/medicaltest/ViewMedicalTest") > 0)
|
||||||
authorized = true;
|
authorized = true;
|
||||||
@@ -121,9 +121,7 @@ public class AuthorizationFilter implements Filter {
|
|||||||
authorized = true;
|
authorized = true;
|
||||||
if (reqURI.indexOf("/medicaltest/MedicalTests") > 0)
|
if (reqURI.indexOf("/medicaltest/MedicalTests") > 0)
|
||||||
authorized = true;
|
authorized = true;
|
||||||
if (reqURI.indexOf("/medicaltest/AnswerQuestion") > 0)
|
if (reqURI.indexOf("/medicaltest/Questions") > 0)
|
||||||
authorized = true;
|
|
||||||
if (reqURI.indexOf("/medicaltest/PendingQuestions") > 0)
|
|
||||||
authorized = true;
|
authorized = true;
|
||||||
if (reqURI.indexOf("/medicaltest/ViewMedicalTest") > 0)
|
if (reqURI.indexOf("/medicaltest/ViewMedicalTest") > 0)
|
||||||
authorized = true;
|
authorized = true;
|
||||||
|
|||||||
@@ -93,18 +93,7 @@ public class MenuMBean implements Serializable {
|
|||||||
|
|
||||||
// Preguntas médicas
|
// Preguntas médicas
|
||||||
if (tipoUsuario == UserType.PATIENT || tipoUsuario == UserType.FAMILY_DOCTOR) {
|
if (tipoUsuario == UserType.PATIENT || tipoUsuario == UserType.FAMILY_DOCTOR) {
|
||||||
subMenu = new DefaultSubMenu("Preguntas", "fa fa-question-circle");
|
model.addElement(createMenuItem("Preguntas", "fa fa-comment-o", "/medicaltest/Questions", null));
|
||||||
|
|
||||||
if (tipoUsuario == UserType.PATIENT)
|
|
||||||
subMenu.addElement(createMenuItem("Hacer pregunta", "fa fa-comment-o", "/medicaltest/MedicalTests", null));
|
|
||||||
|
|
||||||
if (tipoUsuario == UserType.FAMILY_DOCTOR)
|
|
||||||
subMenu.addElement(createMenuItem("Responder pregunta", "fa fa-comments", "/medicaltest/MedicalTests", null));
|
|
||||||
|
|
||||||
if (tipoUsuario == UserType.FAMILY_DOCTOR)
|
|
||||||
subMenu.addElement(createMenuItem("Ver preguntas pendientes", "fa fa-comments-o", "/medicaltest/PendingQuestions", null));
|
|
||||||
|
|
||||||
model.addElement(subMenu);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,55 +0,0 @@
|
|||||||
package managedbean.medicalTest;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
import javax.annotation.PostConstruct;
|
|
||||||
import javax.faces.view.ViewScoped;
|
|
||||||
import javax.inject.Named;
|
|
||||||
|
|
||||||
import org.primefaces.model.LazyDataModel;
|
|
||||||
import org.primefaces.model.SortOrder;
|
|
||||||
|
|
||||||
import TO.QuestionTO;
|
|
||||||
import managedbean.common.ManagedBeanBase;
|
|
||||||
import managedbean.common.SessionUtils;
|
|
||||||
|
|
||||||
@Named("PendingQuestions")
|
|
||||||
@ViewScoped
|
|
||||||
public class PendingQuestionsMBean extends ManagedBeanBase implements Serializable {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
private int familyDoctorId;
|
|
||||||
private LazyDataModel<QuestionTO> lazyDataModelQuestionList;
|
|
||||||
|
|
||||||
public PendingQuestionsMBean() {
|
|
||||||
}
|
|
||||||
|
|
||||||
@PostConstruct
|
|
||||||
public void init() {
|
|
||||||
// Inicialización de variables y propiedades van aquí.
|
|
||||||
this.familyDoctorId = Integer.valueOf(SessionUtils.getUserId());
|
|
||||||
|
|
||||||
this.lazyDataModelQuestionList = new LazyDataModel<QuestionTO>() {
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public List<QuestionTO> load(int first, int pageSize, String sortField, SortOrder sortOrder, Map<String, Object> filters) {
|
|
||||||
Long totalRowCount = getRemoteManagerMedicalTest().getPendingQuestionsCount(familyDoctorId);
|
|
||||||
this.setRowCount(totalRowCount.intValue());
|
|
||||||
|
|
||||||
return getRemoteManagerMedicalTest().listPendingQuestionsPaged(familyDoctorId, (first / pageSize), pageSize);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
public LazyDataModel<QuestionTO> getLazyDataModelQuestionList() {
|
|
||||||
return lazyDataModelQuestionList;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void saveData() {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,191 @@
|
|||||||
|
package managedbean.medicalTest;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import javax.annotation.PostConstruct;
|
||||||
|
import javax.faces.view.ViewScoped;
|
||||||
|
import javax.inject.Named;
|
||||||
|
|
||||||
|
import org.primefaces.event.SelectEvent;
|
||||||
|
|
||||||
|
import TO.PatientTO;
|
||||||
|
import TO.QuestionTO;
|
||||||
|
import common.QuestionStatus;
|
||||||
|
import common.UserType;
|
||||||
|
import managedbean.common.ManagedBeanBase;
|
||||||
|
import managedbean.common.SessionUtils;
|
||||||
|
|
||||||
|
@Named("Questions")
|
||||||
|
@ViewScoped
|
||||||
|
public class QuestionsMBean extends ManagedBeanBase implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
private int userID;
|
||||||
|
private UserType userType;
|
||||||
|
private List<QuestionTO> pendingQuestions;
|
||||||
|
protected String title;
|
||||||
|
protected String message;
|
||||||
|
protected String response;
|
||||||
|
protected QuestionTO selected;
|
||||||
|
|
||||||
|
public QuestionsMBean() {
|
||||||
|
}
|
||||||
|
|
||||||
|
@PostConstruct
|
||||||
|
public void init() {
|
||||||
|
// Inicialización de variables y propiedades van aquí.
|
||||||
|
this.userType = SessionUtils.getUserType();
|
||||||
|
this.userID = Integer.valueOf(SessionUtils.getUserId());
|
||||||
|
|
||||||
|
this.loadQuestions();
|
||||||
|
this.printSelected();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void printSelected() {
|
||||||
|
System.out.println("Selected: ");
|
||||||
|
System.out.println(this.selected);
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<QuestionTO> getPendingQuestions() {
|
||||||
|
return pendingQuestions;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPendingQuestions(List<QuestionTO> value) {
|
||||||
|
this.pendingQuestions = value;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Cargará las preguntas enviadas al médico o escritas por el paciente, esto irá
|
||||||
|
* en función del tipo de usuario en sesión
|
||||||
|
*/
|
||||||
|
private void loadQuestions() {
|
||||||
|
this.printSelected();
|
||||||
|
if (userType == UserType.FAMILY_DOCTOR) {
|
||||||
|
// Listar las preguntas destinadas a él
|
||||||
|
// El método disponible del API básico es referente al doctor
|
||||||
|
this.pendingQuestions = getRemoteManagerMedicalTest().listAllPendingQuestions(userID);
|
||||||
|
} else if (userType == UserType.PATIENT) {
|
||||||
|
// Listar las preguntas realiadas por él
|
||||||
|
// Para reutilizar la misma view, necesitaremos nuevos métodos para el API de
|
||||||
|
// cara a recoger sus preguntas realizadas.
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean getShowCreate() {
|
||||||
|
return userType == UserType.PATIENT;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isShowCreate() {
|
||||||
|
return this.getShowCreate();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setShowCreate() {
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean getDisabledMessage() {
|
||||||
|
if(this.selected != null) {
|
||||||
|
return this.selected.getStatus() != QuestionStatus.NEW;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isDisabledMessage() {
|
||||||
|
return this.getDisabledMessage();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDisabledMessage(boolean bval) {
|
||||||
|
// Nothing to do
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean getEnableResponseEditor() {
|
||||||
|
if(this.selected != null) {
|
||||||
|
return this.selected.getStatus() == QuestionStatus.PENDING;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isEnableResponseEditor() {
|
||||||
|
return this.getEnableResponseEditor();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEnableResponseEditor(boolean bval) {
|
||||||
|
// Nothing to do
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean getEnableResponseOutput() {
|
||||||
|
if(this.selected != null) {
|
||||||
|
return this.selected.getStatus() == QuestionStatus.ANSWERED;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isEnableResponseOutput() {
|
||||||
|
return this.getEnableResponseEditor();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEnableResponseOutput(boolean bval) {
|
||||||
|
// Nothing to do
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onSelect(SelectEvent event) {
|
||||||
|
this.printSelected();
|
||||||
|
this.selected = (QuestionTO) event.getObject();
|
||||||
|
this.printSelected();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onUnSelect(SelectEvent event) {
|
||||||
|
this.selected = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSelected(QuestionTO selected) {
|
||||||
|
this.selected = selected;
|
||||||
|
}
|
||||||
|
|
||||||
|
public QuestionTO getSelected() {
|
||||||
|
return this.selected;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTitle(String title) {
|
||||||
|
this.title = title;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMessage(String message) {
|
||||||
|
this.message = message;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setResponse(String response) {
|
||||||
|
this.response = response;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void save() {
|
||||||
|
getRemoteManagerMedicalTest().answerQuestion(this.selected);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void create() {
|
||||||
|
this.printSelected();
|
||||||
|
String template = "-";
|
||||||
|
this.selected = new QuestionTO();
|
||||||
|
this.selected.setTitle(template);
|
||||||
|
this.selected.setMessage(template);
|
||||||
|
this.selected.setResponse(template);
|
||||||
|
this.selected.setStatus(QuestionStatus.NEW);
|
||||||
|
this.selected.getPatient().setName(template);
|
||||||
|
this.selected.getPatient().setSurname(template);
|
||||||
|
this.printSelected();
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean getShowPanelDetail() {
|
||||||
|
return this.selected != null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isShowPanelDetail() {
|
||||||
|
return this.getShowPanelDetail();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setShowPanelDetail() {
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
5
1.sources/MyHealth/start.sh
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
ant
|
||||||
|
|
||||||
|
read -p "Di hola pringao!" asd
|
||||||