|
|
|
### CREAR PREAUTORIZACION
|
|
|
|
|
|
|
|
###### Endpoint
|
|
|
|
|
|
|
|
`[POST] /preautorizaciones`
|
|
|
|
|
|
|
|
<details><summary>Request</summary>
|
|
|
|
|
|
|
|
###### Request
|
|
|
|
|
|
|
|
| Propiedad | Tipo | Desc. | Requerido |
|
|
|
|
| ------ | ------ |------ | ------ |
|
|
|
|
| convenio | string | Tabla del CM | * |
|
|
|
|
| socio | string | Nº de afiliado | * |
|
|
|
|
| referencia_plan | string | Plan (del convenio) | * |
|
|
|
|
|
|
|
|
</details>
|
|
|
|
<details><summary>Response</summary>
|
|
|
|
|
|
|
|
| Propiedad | Tipo | Desc. |
|
|
|
|
| ------ | ------ |------ | ------ |
|
|
|
|
| preautorizacion | string | Nº de preautorizacion |
|
|
|
|
| plan | string | Plan (equivalencia del CM) |
|
|
|
|
| convenio | string | Nº interno del CM |
|
|
|
|
| resultado | enum | **ERROR** / **OK** |
|
|
|
|
| mensaje | string | Mensaje de error |
|
|
|
|
|
|
|
|
### VALIDACION DE PROFESIONALES
|
|
|
|
|
|
|
|
###### Endpoint
|
| ... | ... | @@ -10,8 +37,8 @@ |
|
|
|
|
|
|
|
| Propiedad | Tipo | Desc. | Requerido |
|
|
|
|
| ------ | ------ |------ | ------ |
|
|
|
|
| preautorizacion | string | Nº de preautorizacion | * |
|
|
|
|
| matricula | string | | * |
|
|
|
|
| convenio | string | Tabla del CM | * |
|
|
|
|
| tipo | enum | **E**: Efector, **S**: Solicitante, **F**: Facturacion |
|
|
|
|
|
|
|
|
</details>
|
| ... | ... | @@ -21,12 +48,13 @@ |
|
|
|
|
|
|
|
| Propiedad | Tipo | Desc. |
|
|
|
|
| ------ | ------ |------ |
|
|
|
|
| resultado | enum | **ERROR** / **OK** |
|
|
|
|
| mensaje | string | Mensaje de error |
|
|
|
|
| preautorizacion | string | Nº de preautorizacion | * |
|
|
|
|
| nombre | string | |
|
|
|
|
| matricula | string | |
|
|
|
|
| cuit | string | |
|
|
|
|
| convenio | string | Tabla del CM |
|
|
|
|
| cuit | string | CUIT del CM |
|
|
|
|
| convenio | string | Nº interno del CM |
|
|
|
|
| resultado | enum | **ERROR** / **OK** |
|
|
|
|
| mensaje | string | Mensaje de error |
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
| ... | ... | @@ -42,13 +70,9 @@ |
|
|
|
|
|
|
|
| Propiedad | Tipo | Desc. | Requerido |
|
|
|
|
| ------ | ------ |------ | ------ |
|
|
|
|
| preautorizacion | string | Nº de preautorizacion | * |
|
|
|
|
| codigo | string | | * |
|
|
|
|
| cantidad | number | | |
|
|
|
|
| convenio | string | Tabla del CM | * |
|
|
|
|
| credencial | string | Credencial del socio | |
|
|
|
|
| matricula_efector | string | | |
|
|
|
|
| matricula_solicitante | string | | |
|
|
|
|
| matricula_facturacion | string | | |
|
|
|
|
|
|
|
|
</details>
|
|
|
|
<details><summary>Response</summary>
|
| ... | ... | @@ -57,14 +81,17 @@ |
|
|
|
|
|
|
|
| Propiedad | Tipo | Desc. |
|
|
|
|
| ------ | ------ |------ |
|
|
|
|
| preautorizacion | string | Nº de preautorizacion | * |
|
|
|
|
| codigo | string | Codigo de la prestacion |
|
|
|
|
| descripcion | string | Nombre de la prestacion |
|
|
|
|
| cantidad | number | Default: 1 |
|
|
|
|
| arancel | number | Copago |
|
|
|
|
| importe | number | Total copago (cant * arancel) |
|
|
|
|
| convenio | string | Nº interno del CM |
|
|
|
|
| permite_planilla | **S** / **N** | permite planilla |
|
|
|
|
| permite_recetario | **S** / **N** | permite recetario |
|
|
|
|
| resultado | enum | **ERROR** / **OK** |
|
|
|
|
| mensaje | string | Mensaje de error |
|
|
|
|
| codigo | string | |
|
|
|
|
| descripcion | string | |
|
|
|
|
| cantidad | number | |
|
|
|
|
| arancel | number | |
|
|
|
|
| importe | number | |
|
|
|
|
| convenio | string | |
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
| ... | ... | @@ -80,8 +107,9 @@ |
|
|
|
|
|
|
|
| Propiedad | Tipo | Desc. | Requerido |
|
|
|
|
| ------ | ------ |------ | ------ |
|
|
|
|
| q | string | Texto a buscar | * |
|
|
|
|
| convenio | string | Tabla del CM | * |
|
|
|
|
| q | string | Buscar desde el principio | * |
|
|
|
|
| c | string | Buscar dentro | * |
|
|
|
|
|
|
|
|
</details>
|
|
|
|
<details><summary>Response</summary>
|
| ... | ... | @@ -101,68 +129,6 @@ |
|
|
|
| ------ | ------ |------ |
|
|
|
|
| codigo | string | |
|
|
|
|
| descripcion | string | |
|
|
|
|
| arancel | number | |
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
### VALIDACION PREVIA A AUTORIZAR
|
|
|
|
|
|
|
|
###### Endpoint
|
|
|
|
|
|
|
|
`[POST] /validar`
|
|
|
|
|
|
|
|
<details><summary>Request</summary>
|
|
|
|
|
|
|
|
###### Request
|
|
|
|
|
|
|
|
| Propiedad | Tipo | Desc. | Requerido |
|
|
|
|
| ------ | ------ | ------ | ------ |
|
|
|
|
| id | uuid(36) | ID en el CA | * |
|
|
|
|
| estado | string | **pending** | * |
|
|
|
|
| convenio | string | Tabla del CM | * |
|
|
|
|
| socio | object | Objeto Socio | * |
|
|
|
|
| efector | object | Objeto Prestador | * |
|
|
|
|
| facturacion | object | Objeto Prestador | |
|
|
|
|
| solicitante | object | Objeto Prestador | |
|
|
|
|
| prestaciones | array | Lista de objetos Prestacion | * |
|
|
|
|
|
|
|
|
###### Socio
|
|
|
|
|
|
|
|
| Propiedad | Tipo | Desc. | Requerido |
|
|
|
|
| ------ | ------ |------ | ------ |
|
|
|
|
| credencial | string | | * |
|
|
|
|
| nombre | string | |
|
|
|
|
| plan | string | |
|
|
|
|
|
|
|
|
###### Profesional
|
|
|
|
|
|
|
|
| Propiedad | Tipo | Desc. | Requerido |
|
|
|
|
| ------ | ------ |------ | ------ |
|
|
|
|
| nombre | string | | |
|
|
|
|
| matricula | string | | * |
|
|
|
|
| cuit | string | | |
|
|
|
|
|
|
|
|
###### Prestacion
|
|
|
|
|
|
|
|
| Propiedad | Tipo | Desc. | Requerido |
|
|
|
|
| ------ | ------ |------ | ------ |
|
|
|
|
| codigo | string | | * |
|
|
|
|
| descripcion | string | | |
|
|
|
|
| cantidad | number | | * |
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<details><summary>Response</summary>
|
|
|
|
|
|
|
|
###### Response
|
|
|
|
|
|
|
|
| Propiedad | Tipo | Desc. |
|
|
|
|
| ------ | ------ |------ |
|
|
|
|
| resultado | enum | **ERROR** / **OK** |
|
|
|
|
| mensaje | string | Mensaje de error |
|
|
|
|
| referencia | string | Referencia en el CM |
|
|
|
|
| permite_planilla | string array | lista de codigos que permiten planilla |
|
|
|
|
| permite_recetario | string array | lista de codigos que permiten recetario |
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
| ... | ... | @@ -179,10 +145,10 @@ |
|
|
|
| Propiedad | Tipo | Desc. | Requerido |
|
|
|
|
| ------ | ------ |------ |------ |
|
|
|
|
| id | uuid(36) | ID en el CA | * |
|
|
|
|
| referencia | string | ID en el CM | * |
|
|
|
|
| preautorizacion | string | Nº de preautorizacion | * |
|
|
|
|
| referencia_convenio | string | Ref. en el Convenio (si existe) | |
|
|
|
|
| convenio | string | Tabla del CM | * |
|
|
|
|
| estado | string | Estado actual de la autorizacion | * |
|
|
|
|
| estado | **ACEPTADO** / **RECHAZADO** | Estado actual de la autorizacion | * |
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
| ... | ... | @@ -192,8 +158,9 @@ |
|
|
|
|
|
|
|
| Propiedad | Tipo | Desc. |
|
|
|
|
| ------ | ------ |------ |
|
|
|
|
| autorizacion | string | Nº de autorizacion (para el BONO) |
|
|
|
|
| resultado | enum | **ERROR** / **OK** |
|
|
|
|
| mensaje | string | Mensaje de error |
|
|
|
|
| autorizacion | string | Nº de autorizacion |
|
|
|
|
|
|
|
|
|
|
|
|
</details> |
|
|
\ No newline at end of file |