WebService1


Click here for a complete list of operations.

AgregaFicha

Agrega ficha por integracion

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /WebService1.asmx HTTP/1.1
Host: ws.medicodigital.cl
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "wsMedicoDigital/AgregaFicha"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AgregaFicha xmlns="wsMedicoDigital">
      <prestId>int</prestId>
      <rutPaciente>string</rutPaciente>
      <nombre>string</nombre>
      <apPaterno>string</apPaterno>
      <apMaterno>string</apMaterno>
      <fnac>dateTime</fnac>
      <sexo>string</sexo>
      <direccion>string</direccion>
      <ciudad>string</ciudad>
      <telMovil>string</telMovil>
      <prevision>string</prevision>
      <mail>string</mail>
      <riesgo>string</riesgo>
      <cirugia>string</cirugia>
      <fepi>dateTime</fepi>
      <audifono>boolean</audifono>
      <examinado>boolean</examinado>
      <rutprof>string</rutprof>
      <especialidad>string</especialidad>
      <anamnesis>string</anamnesis>
      <profNombre>string</profNombre>
      <profApPaterno>string</profApPaterno>
      <profApMaterno>string</profApMaterno>
      <examenfisico>string</examenfisico>
      <diagnostico>string</diagnostico>
      <indicaciones>string</indicaciones>
      <medicamento>string</medicamento>
      <usuarioLogin>string</usuarioLogin>
      <usuarioPass>string</usuarioPass>
    </AgregaFicha>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AgregaFichaResponse xmlns="wsMedicoDigital">
      <AgregaFichaResult>boolean</AgregaFichaResult>
    </AgregaFichaResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /WebService1.asmx HTTP/1.1
Host: ws.medicodigital.cl
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AgregaFicha xmlns="wsMedicoDigital">
      <prestId>int</prestId>
      <rutPaciente>string</rutPaciente>
      <nombre>string</nombre>
      <apPaterno>string</apPaterno>
      <apMaterno>string</apMaterno>
      <fnac>dateTime</fnac>
      <sexo>string</sexo>
      <direccion>string</direccion>
      <ciudad>string</ciudad>
      <telMovil>string</telMovil>
      <prevision>string</prevision>
      <mail>string</mail>
      <riesgo>string</riesgo>
      <cirugia>string</cirugia>
      <fepi>dateTime</fepi>
      <audifono>boolean</audifono>
      <examinado>boolean</examinado>
      <rutprof>string</rutprof>
      <especialidad>string</especialidad>
      <anamnesis>string</anamnesis>
      <profNombre>string</profNombre>
      <profApPaterno>string</profApPaterno>
      <profApMaterno>string</profApMaterno>
      <examenfisico>string</examenfisico>
      <diagnostico>string</diagnostico>
      <indicaciones>string</indicaciones>
      <medicamento>string</medicamento>
      <usuarioLogin>string</usuarioLogin>
      <usuarioPass>string</usuarioPass>
    </AgregaFicha>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AgregaFichaResponse xmlns="wsMedicoDigital">
      <AgregaFichaResult>boolean</AgregaFichaResult>
    </AgregaFichaResponse>
  </soap12:Body>
</soap12:Envelope>