MV sistemas Importação de Dados API

The Importação de Dados API from MV sistemas — 1 operation(s) for importação de dados.

Operations 1

POST /importations/v1/patient-data Importar dados do paciente (fluxo síncrono) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mv-sistemas-importa-o-de-dados-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mv-sistemas-importa-o-de-dados-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Clinic Connect Importação de Dados API
  version: 1.0.0
  description: Esta API permite a integração com o sistema Clinic por meio do Clinic Connect, facilitando a comunicação e o compartilhamento de dados entre plataformas.
servers:
- url: https://api.globalhealth.mv/clinic-connect/api/
  description: Ambiente de PRODUÇÃO
- url: https://api.globalhealth.mv/hml/clinic-connect/api/
  description: Ambiente de HOMOLOGAÇÃO
- url: https://api.globalhealth.mv/qa/clinic-connect/api/
  description: Ambiente de QA
security:
- x-api-key: []
tags:
- name: Importação de Dados
paths:
  /importations/v1/patient-data:
    post:
      tags:
      - Importação de Dados
      summary: Importar dados do paciente (fluxo síncrono)
      description: 'Importa dados do paciente no clinic-service (sync flow). Retorna ID do paciente e mensagem amigável.

        Em caso de erro, nunca expõe stack trace; a mensagem amigável é retornada no corpo da resposta.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectImportationDTO'
      responses:
        '201':
          description: Paciente importado com sucesso.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatientImportResponseDTO'
        '400':
          description: Requisição inválida.
        '401':
          description: Não autorizado.
        '403':
          description: Acesso negado.
        '500':
          description: Erro interno - mensagem amigável retornada no corpo.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatientImportResponseDTO'
      operationId: postImportationsV1PatientData
      x-operation-id-source: derived
components:
  schemas:
    SimpleIdDTO:
      type: object
      properties:
        id:
          type: integer
          format: int64
        externalId:
          type: string
    MedicalRecordImportDTO:
      type: object
      properties:
        date:
          type: string
          example: '2020-01-01'
          description: Data do prontuário.
        time:
          type: string
          example: 08:30:00
          description: Horário do prontuário.
        text:
          type: string
          example: Exemplo de prontuário médico
          description: Texto do prontuário.
        attachmentUrl:
          type: string
        attachmentName:
          type: string
    PatientImportSyncDTO:
      type: object
      description: Dados do paciente para importação síncrona.
      properties:
        id:
          type: integer
          format: int64
          description: Id do paciente quando o cliente envia (opcional; alternativa a externalId ou CPF).
          example: 100
        uuid:
          type: string
          example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
        name:
          type: string
          example: João da Silva
        socialName:
          type: string
          example: João
        motherName:
          type: string
          example: Maria da Silva
        gender:
          type: string
          example: M
        birthDate:
          type: string
          example: '1990-05-15'
        documentNumber:
          type: string
          example: '12345678901'
        email:
          type: string
          example: joao.silva@email.com
        phone:
          type: string
          example: '81999990000'
        zipCode:
          type: string
          example: '50000000'
        address:
          type: string
          example: Rua das Flores
        addressNumber:
          type: string
          example: '123'
        addressComplement:
          type: string
          example: Apto 45
        district:
          type: string
          example: Boa Viagem
        city:
          type: string
          example: Recife
        state:
          type: string
          example: PE
        observation:
          type: string
          example: Paciente hipertenso
        status:
          type: string
          example: ACTIVE
        medicalRecords:
          type: array
          items:
            $ref: '#/components/schemas/MedicalRecordImportDTO'
        insurances:
          type: array
          items:
            $ref: '#/components/schemas/InsuranceImportDTO'
        externalId:
          type: string
          example: PAT001
    InsuranceImportDTO:
      type: object
      properties:
        name:
          type: string
          example: PARTICULAR
          description: Nome do convênio.
        card:
          type: string
          example: '12345678901234'
          description: Número da carteirinha.
        expirationDate:
          type: string
          example: '2025-01-01'
          description: Data de validade da carteirinha.
    ConnectImportationDTO:
      type: object
      description: Payload para importação de dados do paciente (Connect flow).
      properties:
        employee:
          $ref: '#/components/schemas/SimpleIdDTO'
          description: Prestador/colaborador responsável.
        subscription:
          $ref: '#/components/schemas/SimpleIdDTO'
          description: Conta/subscription Clinic Connect.
        clinicId:
          $ref: '#/components/schemas/SimpleIdDTO'
          description: Clínica por id e/ou externalId.
        employeeLogin:
          type: string
          description: Login do prestador.
          example: dr.silva
        patient:
          $ref: '#/components/schemas/PatientImportSyncDTO'
          description: Dados do paciente a importar.
        defaultTextComponentId:
          type: integer
          format: int64
          description: ID do componente de texto padrão (opcional).
          example: 42
    PatientImportResponseDTO:
      type: object
      description: Resposta da importação de paciente (sucesso ou erro amigável).
      properties:
        patientId:
          type: integer
          format: int64
          description: ID do paciente no clinic-service (quando sucesso).
        message:
          type: string
          description: Mensagem amigável (sucesso ou erro).
        success:
          type: boolean
          description: Indica se a importação foi bem-sucedida.
        errors:
          type: array
          items:
            type: string
          description: Lista de erros de validação (quando aplicável).
  securitySchemes:
    x-api-key:
      type: apiKey
      name: x-api-key
      in: header