soa – rs final

12
SOA – RSUD SEKARWANGI KABUPATEN SUKABUMI MLTI@2010

Upload: oktana-sakti

Post on 07-Dec-2014

1.386 views

Category:

Education


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Soa – rs final

SOA – RSUD SEKARWANGIKABUPATEN SUKABUMI

MLTI@2010

Page 2: Soa – rs final

Business Process

Pendaftaran Rawat Jalan

Pendaftaran IGD

Input Data Pasien

Input Data Pasien

Tindakan dokter

Perlu dirawat

?

Pulang

Ambil Obat

Rawat Inap

Tindakan dokter dan Perawatan

Sembuh/ boleh pulang

y

n

1. Rumah Sakit belum mempunyai Sistem Informasi

2. Pelayanan mempunyai dua loket pendaftaran, yaitu rawat jalan dan IGD

3. Pasien yang membawa surat pengantar dokter daftar melalui loket rawat jalan

4. Pasien yang tidak membawa surat pengantar daftar melalui loket IGD

5. Proses Pasien ke Poliklinik adalah proses bisnis tersendiri

Page 3: Soa – rs final

Business Process to Services

Pendaftaran

Pasien

Dokter

RekamMedis

Pembayaran

Page 4: Soa – rs final

Services

Pasien DokterRekamMedis

InsertPasien

Get DataPasien

InsertDokter

Get DataDokter

InsertRekam Medik

Get Rekam Medik

Page 5: Soa – rs final

Services

Pasien DokterRekamMedis

InsertPasien

Get DataPasien

InsertDokter

Get DataDokter

InsertRekam Medik

Get DataRekam Medik

Discoverable

Page 6: Soa – rs final

SOA with Web Service Technology

PasienRekamMedik

Dokter

Services

UDDIService Registry

GetData

Pasien

GetData

Dokter

Provider Provider/Requestor Provider

WS

DL

WSD

L

WSDL WSDL

SOAP SOAP

GetData

RekamMedik

WSDL

Page 7: Soa – rs final

SOA with WS Architecture

FungsiInsertPasien

ServiceInsertPasien

PasienRekamMedik

Dokter

FungsiGet

DataPasien

FungsiInsertRekam

Medik

FungsiGet

RekamMedik

FungsiInsertDokter

FungsiGet

DataDokter

ServiceGetData

Pasien

ServiceInsertRekamMedik

ServiceGet

RekamMedik

ServiceInsertDokter

ServiceGet

DataDokter

Process Process Process

GUIPasien

GUIRekamMedik

GUIDokter

Orchestration

XML Data Flow

Page 8: Soa – rs final

XML Data Flow

 <WebService(Namespace:="http://tempuri.org/")> _<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _Public Class GetPasien Inherits System.Web.Services.WebService  <WebMethod()> _ Public Function GetPasien(ByVal IdPasien As String) As String Dim proses As New Pasien(ConfigurationManager.ConnectionStrings("RumahSakit").ConnectionString.ToString) Return proses.GetNmPasien(IdPasien) End Function End Class

GetDataPasien

Page 9: Soa – rs final

XML Data Flow

<message name="getPasienRequest">  <part name="idPasien" type="idP:string"/></message><message name="getPasienResponse"> <part name="idPasien" type="idP:string"/>  <part name="namePasien" type="nP:string"/><part name="addressPasien" type="aP:string"/></message><portType name="dataPasien">  <operation name="getDataPasien">    <input message=" getPasienRequest "/>    <output message=" getPasienResponse "/>  </operation></portType><binding type="dataPasien" name="dP">   <soap:binding style="document"   transport="http://simrs/soap/http" />   <operation>     <soap:operation soapAction=" http://simrs/DataPasien"/>     <input><soap:body use="literal"/></input>     <output><soap:body use="literal"/></output>  </operation></binding>

WSDL GetDataPasien

Page 10: Soa – rs final

XML Data Flow

<businessEntity operator="SIMRS/services/uddi" > <discoveryURLs> </discoveryURLs> <name>XMethods</name> <description xml:lang="en">SIMRS Web services resource </description> <businessServices> <name>Get Data Pasien Info</name> <description xml:lang="en">Get Data Pasien Info sort by idPasien</description> <bindingTemplates> <accessPoint URLType="http">http://SIMRS:80/soap</accessPoint> <tModelInstanceDetails> <tModelInstanceInfo tModelKey="uuid:0e727db0-3e14-11d5-98bf-002035229c64" /> </tModelInstanceDetails> </bindingTemplate> </bindingTemplates> </businessService> </businessServices></businessEntity>

UDDI GetDataPasien

Page 11: Soa – rs final

XML Data Flow

A SOAP request:POST /simrs HTTP/1.1Host: www.example.orgContent-Type: application/soap+xml; charset=utf-8Content-Length: nnn<?xml version="1.0"?><soap:Envelopexmlns:soap="http://www.w3.org/2001/12/soap-envelope"soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">

<soap:Body xmlns:m=" http://simrs/ soap/dataPasien ">  <m:getDataPasien>    <m:idPasien>123456</m:idPasien>  </m:getDataPasien></soap:Body></soap:Envelope>

The SOAP response:HTTP/1.1 200 OKContent-Type: application/soap+xml; charset=utf-8Content-Length: nnn

<?xml version="1.0"?><soap:Envelopexmlns:soap="http://www.w3.org/2001/12/soap-envelope"soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">

<soap:Body xmlns:m="=" http://simrs/soap/dataPasien ">  <m: getPasienResponse ><m:idPasien>123456</m:idPasien><m:namePasien>Gatot Kaca</m:namaPasien><m:addressPasien>Dago Bandung</m:addressPasien>     </m: getPasienResponse ></soap:Body>

</soap:Envelope>

Page 12: Soa – rs final

TERIMA KASIH

MLTI@2010