Post on 07-Dec-2014
description
SOA – RSUD SEKARWANGIKABUPATEN SUKABUMI
MLTI@2010
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
Business Process to Services
Pendaftaran
Pasien
Dokter
RekamMedis
Pembayaran
Services
Pasien DokterRekamMedis
InsertPasien
Get DataPasien
InsertDokter
Get DataDokter
InsertRekam Medik
Get Rekam Medik
Services
Pasien DokterRekamMedis
InsertPasien
Get DataPasien
InsertDokter
Get DataDokter
InsertRekam Medik
Get DataRekam Medik
Discoverable
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
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
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
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
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
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>
TERIMA KASIH
MLTI@2010