Agendamiento
This commit is contained in:
parent
131196f3fd
commit
cba4454dae
|
|
@ -19,7 +19,7 @@ public class BodyEntradaConsulta {
|
|||
private Integer registroInicio;
|
||||
private String entidad;
|
||||
private Map<String, Object> parametros;
|
||||
private List<String[]> orden;
|
||||
private List<String> orden;
|
||||
|
||||
public Integer getTipoConsulta() {
|
||||
return tipoConsulta;
|
||||
|
|
@ -61,11 +61,11 @@ public class BodyEntradaConsulta {
|
|||
this.registroInicio = registroInicio;
|
||||
}
|
||||
|
||||
public List<String[]> getOrden() {
|
||||
public List<String> getOrden() {
|
||||
return orden;
|
||||
}
|
||||
|
||||
public void setOrden(List<String[]> orden) {
|
||||
public void setOrden(List<String> orden) {
|
||||
this.orden = orden;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,8 @@ public class Tester {
|
|||
|
||||
public static void main(String[] args) throws IOException {
|
||||
System.out.println("TEST " + DominioConstantes.getDateTime());
|
||||
testAccionService();
|
||||
// testAccionService();
|
||||
testConsultaService();
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -38,6 +39,10 @@ public class Tester {
|
|||
ObjectMapper maper = new ObjectMapper();
|
||||
EntradaConsulta entrada = new EntradaConsulta();
|
||||
entrada.getBodyIn().setTipoConsulta(1);
|
||||
List<String> ord = new ArrayList<>();
|
||||
ord.add("CAMPO");
|
||||
ord.add("ASC");
|
||||
entrada.getBodyIn().setOrden(ord);
|
||||
entrada.getBodyIn().setEntidad(EntidadEnum.Agendamiento.name());
|
||||
|
||||
AgendamientoDTO dto = new AgendamientoDTO();
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
{
|
||||
"headerIn": {
|
||||
"dispositivo": "WeLaptop",
|
||||
|
|
@ -7,7 +6,7 @@
|
|||
"aplicacion": "WeMedicalProV1.0",
|
||||
"tipoTransaccion": "0101114",
|
||||
"usuario": "1715060073",
|
||||
"uuid": "b5a66f87c713a14581ea",
|
||||
"uuid": "d869bdf8953abf817dc01f6ee97cdbde669dda38aa92f7cc9d9ed424836d4bae",
|
||||
"fechaHora": null,
|
||||
"idioma": null,
|
||||
"empresa": null,
|
||||
|
|
@ -18,34 +17,28 @@
|
|||
"entidad": "Agendamiento",
|
||||
"entidades": [
|
||||
{
|
||||
"ageFechaAgenda": null,
|
||||
"ageFechaCita": null,
|
||||
"ageFechaConfirma": null,
|
||||
"ageSintomas": null,
|
||||
"ageValor": null,
|
||||
"ageTelefono": null,
|
||||
"ageObservaciones": null,
|
||||
"ageNotificado": null,
|
||||
"ageEspecialidad": null,
|
||||
"ageMedico": null,
|
||||
"ageDocumentos": null,
|
||||
"ageAprobacion": null,
|
||||
"ageExamenes": null,
|
||||
"ageDiagnostico": null,
|
||||
"agePreexistencia": null,
|
||||
"ageIndicaciones": null,
|
||||
"locCodigo": null,
|
||||
"perBeneficiario": null,
|
||||
"polCodigo": null,
|
||||
"preCodigo": null,
|
||||
"detTipo": null,
|
||||
"usuCodigo": null,
|
||||
"polCodigo": 2077,
|
||||
"perBeneficiario": 3124,
|
||||
"locCodigo": "0701",
|
||||
"preCodigo": 2,
|
||||
"usuCodigo": 1,
|
||||
"detTipo": "23953",
|
||||
"ageFechaRegistro": "05/10/2020 00:32:28",
|
||||
"ageFechaCita": "05/10/2020 12:15:08",
|
||||
"ageSintomas": "prueba sintomas",
|
||||
"ageTelefono": "9873453234",
|
||||
"ageObservaciones": "prueba observaciones",
|
||||
"ageNotificado": 1,
|
||||
"ageEspecialidad": "",
|
||||
"ageMedico": "Luis",
|
||||
"agePreexistencia": "SI",
|
||||
"ageCobertura": "3000",
|
||||
"ageObservaMedico": "observacion prueba medico JAMES",
|
||||
"estado": [
|
||||
{
|
||||
"esaObservaciones": null,
|
||||
"esaEstado": null,
|
||||
"detEstado": null,
|
||||
"usuCodigo": null
|
||||
"usuCodigo": 1,
|
||||
"detEstado": "23909",
|
||||
"esaObservacion": "observaciones prueba cirugia JAMES"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue