Soa – rs final

1,217 views

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,217
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
38
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Soa – rs final

  1. 1. SOA – RSUD SEKARWANGI KABUPATEN SUKABUMI MLTI@2010
  2. 2. 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
  3. 3. Business Process to Services Pendaf taran Pasien Dokter Rekam Medis Pemba yaran
  4. 4. Services Pasien Dokter Rekam Medis Insert Pasien Get Data Pasien Insert Dokter Get Data Dokter Insert Rekam Medik Get Rekam Medik
  5. 5. Services Pasien Dokter Rekam Medis Insert Pasien Get Data Pasien Insert Dokter Get Data Dokter Insert Rekam Medik Get Data Rekam Medik Discoverable
  6. 6. SOA with Web Service Technology Pasien Rekam Medik Dokter Services UDDI Service Registry Get Data Pasien Get Data Dokter Provider Provider/Requestor Provider SOAP SOAP Get Data Rekam Medik WSDL
  7. 7. SOA with WS Architecture Fungsi Insert Pasien Service Insert Pasien Pasien Rekam Medik Dokter Fungsi Get DataPasien Fungsi InsertRekam Medik Fungsi Get RekamMedik Fungsi Insert Dokter Fungsi Get DataDokter Service Get Data Pasien Service Insert Rekam Medik Service Get Rekam Medik Service Insert Dokter Service Get DataDokter Process Process Process GUI Pasien GUI RekamMedik GUI Dokter Orchestration XML Data Flow
  8. 8. 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.To String) Return proses.GetNmPasien(IdPasien) End Function End Class GetDataPasien
  9. 9. 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
  10. 10. 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
  11. 11. XML Data Flow A SOAP request: POST /simrs HTTP/1.1 Host: www.example.org Content-Type: application/soap+xml; charset=utf-8 Content-Length: nnn <?xml version="1.0"?> <soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soa p-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 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: nnn <?xml version="1.0"?> <soap:Envelope xmlns:soap="http://www.w3.org/2001/12/so ap-envelope" soap:encodingStyle="http://www.w3.org/20 01/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>
  12. 12. TERIMA KASIH MLTI@2010

×