Homologar
  1. Prescripciones
Homologar
  • Introducción
  • API
    • Primeros pasos
    • Prescripciones
      • Nueva orden
        POST
      • Obtención de órdenes
        GET
      • Obtención de prácticas
        GET
      • Obtención de coberturas
        GET
  • Schemas
    • order
      • primitives
        • gender
        • date
        • state
        • documentType
        • documentNumber
        • cuil
        • email
        • phone
      • create-order
      • create-patient
      • create-doctor
      • create-diagnosis
      • create-item
      • create-healthInsurance
      • create-address
      • create-license
      • create-order-response
      • practice
      • order-item-response
  1. Prescripciones

Nueva orden

POST
/orders
Crea una orden.
Puede emitirse cualquier tipo de orden médica: de estudio, licencia, certificado, etc.

Solicitud

Autorización
Proporciona tu token bearer en el encabezado
Authorization
al realizar solicitudes a recursos protegidos.
Ejemplo:
Authorization: Bearer ********************
Parámetros del Body application/json

Ejemplos

Respuestas

🟢200Order created successfully
application/json
Body

Solicitud Ejemplo de Solicitud
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.homolog.ar/orders' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "doctor": {
        "name": "string",
        "surname": "string",
        "gender": "m",
        "birthDate": "2019-08-24",
        "documentType": "dni",
        "documentNumber": "string",
        "cuil": "stringstrin",
        "email": "user@example.com",
        "phone": 8,
        "address": {
            "street": "string",
            "number": "string",
            "floor": "string",
            "apartment": "string",
            "postalCode": "string",
            "state": "CABA",
            "city": "string",
            "municipality": "string",
            "locality": "string",
            "notes": "string",
            "text": "string"
        },
        "refepsCode": 0,
        "license": {
            "type": "n",
            "state": "CABA",
            "number": 0,
            "specialty": {
                "text": "string"
            }
        }
    },
    "patient": {
        "name": "string",
        "surname": "string",
        "gender": "m",
        "birthDate": "2019-08-24",
        "documentType": "dni",
        "documentNumber": "string",
        "cuil": "stringstrin",
        "email": "user@example.com",
        "phone": 8,
        "healthInsurance": {
            "id": "string",
            "number": "string",
            "plan": "string",
            "token": "string"
        },
        "address": {
            "street": "string",
            "number": "string",
            "floor": "string",
            "apartment": "string",
            "postalCode": "string",
            "state": "CABA",
            "city": "string",
            "municipality": "string",
            "locality": "string",
            "notes": "string",
            "text": "string"
        }
    },
    "date": "2019-08-24",
    "diagnosis": {
        "classifier": "cie10",
        "code": "string",
        "text": "string"
    },
    "reference": "string",
    "items": [
        {
            "quantity": 1,
            "practiceId": "string",
            "notes": "string"
        }
    ]
}'
Respuesta Ejemplo de Respuesta
{
    "id": 0,
    "doctor": {
        "name": "string",
        "surname": "string",
        "gender": "m",
        "birthDate": "2019-08-24",
        "documentType": "dni",
        "documentNumber": "string",
        "cuil": "stringstrin",
        "email": "user@example.com",
        "phone": 8,
        "address": {
            "street": "string",
            "number": "string",
            "floor": "string",
            "apartment": "string",
            "postalCode": "string",
            "state": "CABA",
            "city": "string",
            "municipality": "string",
            "locality": "string",
            "notes": "string",
            "text": "string"
        },
        "refepsCode": 0,
        "license": {
            "type": "n",
            "state": "CABA",
            "number": 0,
            "specialty": {
                "text": "string"
            }
        }
    },
    "patient": {
        "name": "string",
        "surname": "string",
        "gender": "m",
        "birthDate": "2019-08-24",
        "documentType": "dni",
        "documentNumber": "string",
        "cuil": "stringstrin",
        "email": "user@example.com",
        "phone": 8,
        "healthInsurance": {
            "id": "string",
            "number": "string",
            "plan": "string",
            "token": "string"
        },
        "address": {
            "street": "string",
            "number": "string",
            "floor": "string",
            "apartment": "string",
            "postalCode": "string",
            "state": "CABA",
            "city": "string",
            "municipality": "string",
            "locality": "string",
            "notes": "string",
            "text": "string"
        }
    },
    "date": "2019-08-24",
    "diagnosis": {
        "classifier": "cie10",
        "code": "string",
        "text": "string"
    },
    "reference": "string",
    "items": {
        "quantity": 1,
        "practiceId": "string",
        "notes": "string",
        "cuir": "string"
    }
}
Modificado en 2025-11-14 17:11:03
Anterior
Primeros pasos
Siguiente
Obtención de órdenes
Built with