Google Grupları Giriş Sayfasına Git    borland.public.delphi.webservices.soap
Creating Soap Envelope Header and wsa code in win32

İbrahim KAZANCI <ikaza...@yahoo.com>

Hello,

It will be a long message. Because i am confused on many parts of this
soap thing. If i pass this stage i have many questions to ask :)

I'm trying to use a web service of a newly starting hl7 project in
Turkey. (Bad side is that developers are not giving delphi examples,
just c# and java.)

Service wsdl file in "muayene" directory at
http://www.sagliknet.saglik.gov.tr/portal_pages/notlogin/bilisimciler...

I want to add some wsse and wsa (is it required?) header into my httprio
xml output.

I added wsse security tags as described in
http://groups.google.com.tr/group/borland.public.delphi.webservices.s...
and it solved that part. (i added WSSE.pas which given at above link to
uses list.)

But wsa section still missing in created xml.

1. Should i create a TSoapHeader class myself which includes Action,
replyto parameters to add wsa:Action, wsa:replyto, ... information to
soap header.

2. or is there a wsdl file which i should create a pas file from that to
get a wsa structure to use.

3. i try to use Headers := GetService(RIO) as ISOAPHeaders; may be it
will solve but can't find GetService function in 2006. Is it only in D2007?

When i send my xml code at their test site
(http://www.sagliknet.saglik.gov.tr:7750/USBSTest/pages/testHL7WS.jsp)
(with selecting not added ["eklemedim" in Turkish] radiobutton for soap
envelope format) it's returning some xml code back.

But if i select "added" ["ekledim" in Turkish] radiobutton for soap env.
format i get a "The endpoint reference (EPR) for the Operation not found
is
http://TestAppSrv1.esaglik.gov.tr:7750/Muayene/services/MCCI_AR000001...
and the WSA Action =" error for same xml file.

I think my soapheader has some mistakes.

i used following delphi code to create and send header. Is there someone
to tell me what's wrong or missing in the code.

Regards,

Ýbrahim KAZANCI

(frmMain.HnetMuayene : HTTPRIO Component...)
---------------------------------------
var
   netMuayene: MCCI_IN000001TR01;
   netMuayeneServis: MCCI_AR000001TR_PortType;
   netMuayeneAnswer: MCCI_IN000002TR01;
   Hdr: Security;
   Headers: ISOAPHeaders;
   HeadersT: TSOAPHeader;
begin
   Hdr := Security.Create;
   try
     Hdr.MustUnderstand := False;
     Hdr.Timestamp := TimeStamp.Create;
     Hdr.Timestamp.Id :=
'Timestamp-af6fe54b-7723-41f9-8f27-c1b3fecc5ff5'; // should i send this
id or will it be created automatically
     Hdr.Timestamp.Created := Created.Create;
     Hdr.Timestamp.Created.AsDateTime := Now;
     Hdr.Timestamp.Expires := Expires.Create;
     Hdr.Timestamp.Expires.AsDateTime := Now;
     Hdr.UsernameToken := UsernameToken.Create;
     Hdr.UsernameToken.Id :=
'SecurityToken-15a785ac-fc7c-4784-94f7-7f79387fa2f1';  // should i send
this id
     Hdr.UsernameToken.Username := 'xxxx';
     Hdr.UsernameToken.Password := Password.Create;
     Hdr.UsernameToken.Password.Type_ :=
'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-toke...
     Hdr.UsernameToken.Password.Text := 'yyyy';
     Hdr.UsernameToken.Created := Created.Create;
     Hdr.UsernameToken.Created.XSToNative('2008-07-16T14:04:08Z');
   finally
//    Hdr.Free;
   end;

   frmMain.HnetMuayene.Port := '6246';
   frmMain.HnetMuayene.HTTPWebNode.UseUTF8InHeader := true;

   netMuayene := MCCI_IN000001TR01.Create;
   netMuayene.id := id42.Create;
   netMuayene.id.root := '2.16.840.1.113883.3.129.2.1.2';
   netMuayene.id.extension := '5T2504E0-4F89-11D3-9A0C-0305E82C330';
   netMuayene.receiver := MCCI_IN000001TR01_Receiver.Create;
   netMuayene.receiver.typeCode := RCV;
   netMuayene.receiver.device := MCCI_IN000001TR01_Device2.Create;
   netMuayene.receiver.device.classCode := 'DEV';
   netMuayene.receiver.device.determinerCode := 'INSTANCE';
   netMuayene.receiver.device.id := id41.Create;
   netMuayene.receiver.device.id.root := '2.16.840.1.113883.3.129.1.1.5';
   netMuayene.receiver.device.id.extension := 'USBS';
   ....
   ....

   netMuayeneServis := GetMCCI_AR000001TR_PortType(false, '',
frmMain.HnetMuayene);

   // not working "unknown identifier" error about getservice.
   // Headers := GetService(frmMain.HnetMuayene) as ISOAPHeaders;

   Headers := netMuayeneServis as ISoapHeaders;
   Headers.OwnsSentHeaders := True;

   // HeadersT := TSoapHeader.Create;
   // HeadersT.MustUnderstand := False;

   // expecting parameter as TSOAPHeader, so not working as ISOAPHeaders
   // (netMuayeneServis as ISOAPHeaders).send(Headers);

   // doesn't change anything
   // (netMuayeneServis as ISOAPHeaders).send(HeadersT);

   // i dont know if it means anything
   // Headers.Send(HeadersT);

   Headers.Send(hdr);

   // doesn't change anything also
   // frmMain.HnetMuayene.SOAPHeaders.Send(hdr);

   frmMain.HnetMuayene.SOAPHeaders.SetOwnsSentHeaders(True);

   netMuayeneAnswer := MCCI_IN000002TR01.Create;
   try
     netMuayeneAnswer :=
netMuayeneServis.MCCI_AR000001TR_MCCI_IN000001TR(netMuayene);
   except

   end;

my xml/soap file output:
----------------------------
<?xml version="1.0"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <SOAP-ENV:Header>
                <Security
xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-se...">
                        <Timestamp
xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-ut..."
Id="Timestamp-af6fe54b-7723-41f9-8f27-c1b3fecc5ff5">
                                <Created>2008-07-19T14:33:53.153+03:00</Created>
                                <Expires>2008-07-19T14:33:53.153+03:00</Expires>
                        </Timestamp>
                        <UsernameToken Id="SecurityToken-15a785ac-fc7c-4784-94f7-7f79387fa2f1">
                                <Username>xxxx</Username>
                                <Password
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-toke...">yyyy</Password>
                                <Nonce>
                                </Nonce>
                                <Created
xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-ut...">2008-07-16T14:04:08Z</Created>
                        </UsernameToken>
                </Security>
        </SOAP-ENV:Header>
        <SOAP-ENV:Body>
                <MCCI_IN000001TR01 xmlns="urn:hl7-org:v3">
                        <id nullFlavor="" root="2.16.840.1.113883.3.129.2.1.2"
extension="5T2504E0-4F89-11D3-9A0C-0305E82C330"
assigningAuthorityName="" displayable="false" />
                        <creationTime xsi:nil="true" />
                        <responseModeCode xsi:nil="true" />
                        <interactionId xsi:nil="true" />
                        <processingCode xsi:nil="true" />
                        <processingModeCode xsi:nil="true" />
                        <acceptAckCode xsi:nil="true" />
                        <receiver typeCode="RCV">
                                <device classCode="DEV" determinerCode="INSTANCE">
                                        <id nullFlavor="" root="2.16.840.1.113883.3.129.1.1.5"
extension="USBS" assigningAuthorityName="" displayable="false" />
                                </device>
                        </receiver>
                        <sender xsi:nil="true" />
                        <controlActEvent xsi:nil="true" />
                </MCCI_IN000001TR01>
        </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Web Service user guide indicate that wsse part has to be in this format:
----------------------------------------------
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsse="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-se..."...>

   ...
     <wsse:Security soap:mustUnderstand="0">
         ...
        <wsse:UsernameToken>
           <wsse:Username>denemeKullaniciAdi</wsse:Username>
           <wsse:Password>denemeKullaniciSifresi</wsse:Password>
        <wsse:UsernameToken>
       ...
     </ wsse:Security>
  ...
</soap:Envelope>

and their soap template example in their site
(http://www.sagliknet.saglik.gov.tr/portal_pages/notlogin/bilisimciler...)
-----------------------
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-se..."
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-ut..."
xsi:schemaLocation="urn:hl7-org:v3
C:\DOCUME~1\erdinc.sabur\Desktop\msvs_semalari\Muayene\MCCI_IN000001TR01.xs d">
        <soap:Header>
                <wsse:Security>
                        <wsu:Timestamp wsu:Id="Timestamp-5fd6873f-ede3-47da-938f-413bc55408b5">
                                <wsu:Created>2008-05-27T09:30:00Z</wsu:Created>
                                <wsu:Expires>2008-05-27T09:35:00Z</wsu:Expires>
                        </wsu:Timestamp>
                        <wsse:UsernameToken
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-ut..."
wsu:Id="SecurityToken-04ce24bd-9c7c-4ca9-9764-92c53b0662c5">
                                <wsse:Username>xxxx</wsse:Username>
                                <wsse:Password
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-toke...">yyyy</wsse:Password>
                                <wsse:Nonce>gTBAwhKEamVAuLiDhbNCwA==</wsse:Nonce>
                                <wsu:Created>2008-05-27T09:30:00Z</wsu:Created>
                        </wsse:UsernameToken>
                </wsse:Security>
        </soap:Header>
        <soap:Body>
                <MCCI_IN000001TR01 xmlns="urn:hl7-org:v3">
                        <id root="2.16.840.1.113883.3.129.2.1.2"
extension="5b50d046-b567-4fba-a365-60c220c9fae1"/>
                        <creationTime value="20080502102643"/>
                        <responseModeCode code="Q"/>
                        <interactionId root="2.16.840.1.113883.3.129.2.1.1"
extension="MCCI_IN000001TR01"/>
                        <processingCode code="P"/>
                        <processingModeCode code="T"/>
                        <acceptAckCode code="AL"/>
                        <receiver typeCode="RCV">
                                <device classCode="DEV" determinerCode="INSTANCE">
                                        <id root="2.16.840.1.113883.3.129.1.1.5" extension="USBS"/>
                                </device>
                        </receiver>
                        <sender typeCode="SND">
                                <device classCode="DEV" determinerCode="INSTANCE">
                                        <id root="2.16.840.1.113883.3.129.1.1.5" extension="SRDC-Deneme"/>
                                </device>
                        </sender>
                        <controlActEvent classCode="CACT" moodCode="EVN">
                                <subject typeCode="SUBJ">
                                        <examination classCode="DOCCLIN" moodCode="EVN">
                                                <id root="2.16.840.1.113883.3.129.2.1.3"
extension="0006b9bd-b282-0000-8b05-eeb9f3d42015"/>
                                                <code code="MUAYENE" codeSystem="2.16.840.1.113883.3.129.2.2.1"
codeSystemName="Döküman Tipi" codeSystemVersion="1.0"
displayName="Muayene MSVS (Vatandaþ/Yabancý)"/>
                                                <effectiveTime value="20080502102643"/>
                                                <confidentialityCode code="1"
codeSystem="2.16.840.1.113883.3.129.1.2.77" codeSystemName="Gizlilik"
codeSystemVersion="1.0" displayName="Normal"/>
                                                <languageCode code="tr-TR"/>
                                                <versionNumber value="1"/>
                                                <recordTarget typeCode="RCT" contextControlCode="OP">
                                                        <patientRole classCode="PAT">
                                                                <id root="2.16.840.1.113883.3.129.1.1.1" extension="12345678905"/>
                                                                <patient determinerCode="INSTANCE" classCode="PSN">
                                                                        <name>
                                                                                <family>Vatandaþ</family>
                                                                                <given>Kayýt</given>
                                                                        </name>
                                                                        <administrativeGenderCode code="2"
codeSystem="2.16.840.1.113883.3.129.1.2.21" codeSystemName="Cinsiyet"
codeSystemVersion="1.0" displayName="Kadýn"/>
                                                                        <birthTime value="19790828"/>
                                                                        <raceCode code="TR" codeSystem="2.16.840.1.113883.3.129.1.2.52"
codeSystemName="Uyruk" codeSystemVersion="1.0" displayName="Türkiye"/>
                                                                </patient>
                                                        </patientRole>
                                                </recordTarget>
                                                <author typeCode="AUT" contextControlCode="OP">
                                                        <time value="20180402102643"/>
                                                        <assignedAuthor classCode="ASSIGNED">
                                                                <id root="2.16.840.1.113883.3.129.1.1.1" extension="12345678905"/>
                                                        </assignedAuthor>
                                                </author>
                                                <custodian typeCode="CST">
                                                        <assignedCustodian classCode="ASSIGNED">
                                                                <representedHealthcareOrganization classCode="ENT"
determinerCode="INSTANCE">
                                                                        <id root="2.16.840.1.113883.3.129.1.1.6" extension="4553"/>
                                                                </representedHealthcareOrganization>
                                                        </assignedCustodian>
                                                </custodian>
                                                <primaryInformationRecipient typeCode="PRCP">
                                                        <recipient classCode="ASSIGNED">
                                                                <representedMinisteryOfHealth classCode="ORG"
determinerCode="INSTANCE">
                                                                        <id root="2.16.840.1.113883.3.129.1.1.6" extension="5881"/>
                                                                </representedMinisteryOfHealth>
                                                        </recipient>
                                                </primaryInformationRecipient>
                                                <component typeCode="COMP" contextConductionInd="true">
                                                        <structuredBody classCode="DOCBODY" moodCode="EVN">
                                                                <component1 typeCode="COMP" contextConductionInd="true">
                                                                        <testResultDataset classCode="DOCSECT" moodCode="EVN">
                                                                                <id root="2.16.840.1.113883.3.129.2.1.4"
extension="97160bb4-8a90-4a36-a91c-2776a9a97a97"/>
                                                                                <code code="TETKIKSONUCU"
codeSystem="2.16.840.1.113883.3.129.2.2.2" codeSystemName="Veriseti"
codeSystemVersion="1.0" displayName="Tetkik Sonucu Veriseti"/>
                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                <author typeCode="AUT" contextControlCode="OP">
                                                                                        <testDoctor classCode="ASSIGNED">
                                                                                                <id root="2.16.840.1.113883.3.129.1.1.1"
extension="12345678905"/>
                                                                                        </testDoctor>
                                                                                </author>
                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                        <testResultSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="d124ade3-6649-498f-a154-6876cc3441b6"/>
                                                                                                <code code="TETKIKSONUC"
codeSystem="2.16.840.1.113883.3.129.2.2.3" codeSystemName="Veri Kýsmý"
codeSystemVersion="1.0" displayName="Tetkik Sonuç Verisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml">örnek tetkik sonuc
dökümaný</text>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <testResultOrganizer moodCode="EVN" classCode="CLUSTER">
                                                                                                                <statusCode/>
                                                                                                                <performer typeCode="PRF">
                                                                                                                        <studyOrganization classCode="ASSIGNED">
                                                                                                                                <id root="2.16.840.1.113883.3.129.1.1.6" extension="3199"/>
                                                                                                                        </studyOrganization>
                                                                                                                </performer>
                                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                                        <testResult moodCode="EVN" classCode="OBS">
                                                                                                                                <code code="300010"
codeSystem="2.16.840.1.113883.3.129.1.2.2" codeSystemName="BÜT"
codeSystemVersion="1.0" displayName="özel tetkik"/>
                                                                                                                                <activityTime value="20080401"/>
                                                                                                                        </testResult>
                                                                                                                </component>
                                                                                                        </testResultOrganizer>
                                                                                                </component>
                                                                                        </testResultSection>
                                                                                </component>
                                                                        </testResultDataset>
                                                                </component1>
                                                                <component2 typeCode="COMP" contextConductionInd="true">
                                                                        <dischargeDataset classCode="DOCSECT" moodCode="EVN">
                                                                                <id root="2.16.840.1.113883.3.129.2.1.4"
extension="28661575-af59-45be-bdf5-3590385801df"/>
                                                                                <code code="CIKIS" codeSystem="2.16.840.1.113883.3.129.2.2.2"
codeSystemName="Veriseti" codeSystemVersion="1.0" displayName="Çýkýþ
Veriseti"/>
                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                <component1 typeCode="COMP" contextConductionInd="true">
                                                                                        <dischargeDiagnosisSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="b66aa560-8b8e-4078-8236-d7edcdf5ce3a"/>
                                                                                                <code code="TANI" codeSystem="2.16.840.1.113883.3.129.2.2.3"
codeSystemName="Veri Kýsmý" codeSystemVersion="1.0" displayName="Taný
Verisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <dischargeDiagnosis moodCode="EVN" classCode="OBS">
                                                                                                                <code code="SEVKTANISI"
codeSystem="2.16.840.1.113883.3.129.2.2.6" codeSystemName="Taný Tipi"
codeSystemVersion="1.0" displayName="Sevk Tanýsý"/>
                                                                                                                <value code="K55" codeSystem="2.16.840.1.113883.6.3"
codeSystemName="ICD-10" codeSystemVersion="1.0" displayName="DISPEPSI"/>
                                                                                                        </dischargeDiagnosis>
                                                                                                </component>
                                                                                        </dischargeDiagnosisSection>
                                                                                </component1>
                                                                                <component2 typeCode="COMP" contextConductionInd="true">
                                                                                        <dischargeSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="ac4c115f-e1cb-4546-a2e5-db37ea55234b"/>
                                                                                                <code code="CIKIS"
codeSystem="2.16.840.1.113883.3.129.2.2.3" codeSystemName="Veri Kýsmý"
codeSystemVersion="1.0" displayName="Çýkýþ Verisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <discharge classCode="ACT" moodCode="EVN">
                                                                                                                <code code="2" codeSystem="2.16.840.1.113883.3.129.1.2.9"
codeSystemName="Çýkýþ Þekli" codeSystemVersion="1.0" displayName="Kurum
dýþýna sevk"/>
                                                                                                                <effectiveTime value="200804021021"/>
                                                                                                                <destination typeCode="DST">
                                                                                                                        <referralToClinic classCode="SDLOC">
                                                                                                                                <code code="29"
codeSystem="2.16.840.1.113883.3.129.1.2.1" codeSystemName="Klinikler"
codeSystemVersion="1.0" displayName="Ýç Hastalýklarý"/>
                                                                                                                        </referralToClinic>
                                                                                                                </destination>
                                                                                                        </discharge>
                                                                                                </component>
                                                                                        </dischargeSection>
                                                                                </component2>
                                                                        </dischargeDataset>
                                                                </component2>
                                                                <component3 typeCode="COMP" contextConductionInd="true">
                                                                        <examinationDataset classCode="DOCSECT" moodCode="EVN">
                                                                                <id root="2.16.840.1.113883.3.129.2.1.4"
extension="4e7e0004-8e9e-44d2-9a9e-099d071e646a"/>
                                                                                <code code="MUAYENE"
codeSystem="2.16.840.1.113883.3.129.2.2.2" codeSystemName="Veriseti"
codeSystemVersion="1.0" displayName="Muayene Veriseti"/>
                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                <author typeCode="AUT" contextControlCode="OP">
                                                                                        <doctor classCode="ASSIGNED">
                                                                                                <id root="2.16.840.1.113883.3.129.1.1.1"
extension="12345678905"/>
                                                                                        </doctor>
                                                                                </author>
                                                                                <component1 typeCode="COMP" contextConductionInd="true">
                                                                                        <examProtocolNoSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="de380a98-d31f-4a33-a878-7366da629737"/>
                                                                                                <code code="PROTOKOLNO"
codeSystem="2.16.840.1.113883.3.129.2.2.3" codeSystemName="Veri Kýsmý"
codeSystemVersion="1.0" displayName="Protokol No Bilgisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <examProtocolNo moodCode="EVN" classCode="ACT">
                                                                                                                <id root="2.16.840.1.113883.3.129.1.1.4" extension="111"/>
                                                                                                        </examProtocolNo>
                                                                                                </component>
                                                                                        </examProtocolNoSection>
                                                                                </component1>
                                                                                <component2 typeCode="COMP" contextConductionInd="true">
                                                                                        <reportSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="cba90686-fa28-4a0e-9ee6-342d7bcb3302"/>
                                                                                                <code code="RAPOR"
codeSystem="2.16.840.1.113883.3.129.2.2.3" codeSystemName="Veri Kýsmý"
codeSystemVersion="1.0" displayName="Rapor Verisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <report moodCode="EVN" classCode="OBS">
                                                                                                                <code code="4" codeSystem="2.16.840.1.113883.3.129.1.2.8"
codeSystemName="Rapor Türü" codeSystemVersion="1.0" displayName="Hastalýk"/>
                                                                                                                <effectiveTime value="20080401"/>
                                                                                                                <value>rapor doküman</value>
                                                                                                        </report>
                                                                                                </component>
                                                                                        </reportSection>
                                                                                </component2>
                                                                                <component3 typeCode="COMP" contextConductionInd="true">
                                                                                        <investigationSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="59c0024f-d799-498d-8b00-e849136ad426"/>
                                                                                                <code code="BULGU"
codeSystem="2.16.840.1.113883.3.129.2.2.3" codeSystemName="Veri Kýsmý"
codeSystemVersion="1.0" displayName="Bulgu Verisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml">örnek bulgu</text>
                                                                                        </investigationSection>
                                                                                </component3>
                                                                                <component4 typeCode="COMP" contextConductionInd="true">
                                                                                        <historySection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="e3c97aa2-ba47-40d4-a068-881a6c51417a"/>
                                                                                                <code code="HIKAYE"
codeSystem="2.16.840.1.113883.3.129.2.2.3" codeSystemName="Veri Kýsmý"
codeSystemVersion="1.0" displayName="Hikaye Verisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml">muayene hikayesi</text>
                                                                                        </historySection>
                                                                                </component4>
                                                                                <component5 typeCode="COMP" contextConductionInd="true">
                                                                                        <complaintSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="6bde0f05-f303-4109-88ac-c22a23a67094"/>
                                                                                                <code code="SIKAYET"
codeSystem="2.16.840.1.113883.3.129.2.2.3" codeSystemName="Veri Kýsmý"
codeSystemVersion="1.0" displayName="Þikayet Verisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml">Hastanýn þikayeti</text>
                                                                                        </complaintSection>
                                                                                </component5>
                                                                                <component6 typeCode="COMP" contextConductionInd="true">
                                                                                        <testSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="e59daa46-6c71-4eea-852e-406e5a440f13"/>
                                                                                                <code code="TETKIK"
codeSystem="2.16.840.1.113883.3.129.2.2.3" codeSystemName="Veri Kýsmý"
codeSystemVersion="1.0" displayName="Tetkik Verisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <test classCode="OBS" moodCode="EVN">
                                                                                                                <code code="P608270"
codeSystem="2.16.840.1.113883.3.129.1.2.2" codeSystemName="BÜT"
codeSystemVersion="1.0" displayName="Bronkobiliyer fistül onarýmý"/>
                                                                                                                <performer typeCode="PRF">
                                                                                                                        <performerOrganization classCode="ASSIGNED">
                                                                                                                                <id root="2.16.840.1.113883.3.129.1.1.6" extension="4553"/>
                                                                                                                        </performerOrganization>
                                                                                                                </performer>
                                                                                                        </test>
                                                                                                </component>
                                                                                        </testSection>
                                                                                </component6>
                                                                                <component7 typeCode="COMP" contextConductionInd="true">
                                                                                        <procedureSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="cf813e90-e027-4441-9e87-c287bdc5b370"/>
                                                                                                <code code="MUDAHALE"
codeSystem="2.16.840.1.113883.3.129.2.2.3" codeSystemName="Veri Kýsmý"
codeSystemVersion="1.0" displayName="Müdehale Verisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <procedure moodCode="EVN" classCode="PROC">
                                                                                                                <code code="520030"
codeSystem="2.16.840.1.113883.3.129.1.2.2" codeSystemName="BÜT"
codeSystemVersion="1.0" displayName="NORMAL POLIKLINIK MUAYENE ÜCRETLERI"/>
                                                                                                        </procedure>
                                                                                                </component>
                                                                                        </procedureSection>
                                                                                </component7>
                                                                                <component8 typeCode="COMP" contextConductionInd="true">
                                                                                        <diagnosisSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="6c4b1e87-c4f4-42b0-aaeb-05e23a77ed5a"/>
                                                                                                <code code="TANI" codeSystem="2.16.840.1.113883.3.129.2.2.3"
codeSystemName="Veri Kýsmý" codeSystemVersion="1.0" displayName="Taný
Verisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <diagnosis moodCode="EVN" classCode="OBS">
                                                                                                                <code code="ANATANI"
codeSystem="2.16.840.1.113883.3.129.2.2.6" codeSystemName="Taný Tipi"
codeSystemVersion="1.0" displayName="Ana Taný"/>
                                                                                                                <value code="K55" codeSystem="2.16.840.1.113883.6.3"
codeSystemName="ICD-10" codeSystemVersion="1.0" displayName="BARSAÐIN
VASKÜLER BOZUKLUKLARI"/>
                                                                                                        </diagnosis>
                                                                                                </component>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <diagnosis moodCode="EVN" classCode="OBS">
                                                                                                                <code code="EKTANI"
codeSystem="2.16.840.1.113883.3.129.2.2.6" codeSystemName="Taný Tipi"
codeSystemVersion="1.0" displayName="Ek Taný"/>
                                                                                                                <value code="K30" codeSystem="2.16.840.1.113883.6.3"
codeSystemName="ICD-10" codeSystemVersion="1.0" displayName="DISPEPSI"/>
                                                                                                        </diagnosis>
                                                                                                </component>
                                                                                        </diagnosisSection>
                                                                                </component8>
                                                                                <component9 typeCode="COMP" contextConductionInd="true">
                                                                                        <examinationSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="212802ba-7c64-47d5-8e52-b02a6ea44531"/>
                                                                                                <code code="MUAYENE"
codeSystem="2.16.840.1.113883.3.129.2.2.3" codeSystemName="Veri Kýsmý"
codeSystemVersion="1.0" displayName="Muayene Verisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <encounter classCode="ENC" moodCode="EVN">
                                                                                                                <effectiveTime>
                                                                                                                        <low value="200803251021"/>
                                                                                                                        <high value="200804011021"/>
                                                                                                                </effectiveTime>
                                                                                                                <location typeCode="LOC">
                                                                                                                        <clinic classCode="SDLOC">
                                                                                                                                <code code="22"
codeSystem="2.16.840.1.113883.3.129.1.2.1" codeSystemName="Klinikler"
codeSystemVersion="1.0" displayName="Gastroenteroloji"/>
                                                                                                                        </clinic>
                                                                                                                </location>
                                                                                                        </encounter>
                                                                                                </component>
                                                                                        </examinationSection>
                                                                                </component9>
                                                                        </examinationDataset>
                                                                </component3>
                                                                <component4 typeCode="COMP" contextConductionInd="true">
                                                                        <receptionDataset classCode="DOCSECT" moodCode="EVN">
                                                                                <id root="2.16.840.1.113883.3.129.2.1.4"
extension="dd425f3b-a09c-434a-a648-9d67d3775adf"/>
                                                                                <code code="KABUL" codeSystem="2.16.840.1.113883.3.129.2.2.2"
codeSystemName="Veriseti" codeSystemVersion="1.0" displayName="Kabul
Veriseti"/>
                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                <component1 typeCode="COMP" contextConductionInd="true">
                                                                                        <socialSecurityFollowNumberSection classCode="DOCSECT"
moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="c25dd89c-6850-49eb-bf10-c0df3e92e5bf"/>
                                                                                                <code code="SGKTAKIPNO"
codeSystem="2.16.840.1.113883.3.129.2.2.3" codeSystemName="Veri Kýsmý"
codeSystemVersion="1.0" displayName="SGK Takip No Bilgisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml">123</text>
                                                                                        </socialSecurityFollowNumberSection>
                                                                                </component1>
                                                                                <component2 typeCode="COMP" contextConductionInd="true">
                                                                                        <referralSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="54083c07-d5f3-4a85-9fb9-8fcacb253a0b"/>
                                                                                                <code code="SEVK" codeSystem="2.16.840.1.113883.3.129.2.2.3"
codeSystemName="Veri Kýsmý" codeSystemVersion="1.0" displayName="Sevk
Verisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <referral moodCode="EVN" classCode="ACT">
                                                                                                                <effectiveTime value="20080313"/>
                                                                                                                <referrer typeCode="REF" contextControlCode="OP">
                                                                                                                        <referralFromClinic classCode="SDLOC">
                                                                                                                                <code code="22"
codeSystem="2.16.840.1.113883.3.129.1.2.1" codeSystemName="Klinikler"
codeSystemVersion="1.0" displayName="Gastroenteroloji"/>
                                                                                                                        </referralFromClinic>
                                                                                                                </referrer>
                                                                                                                <component typeCode="COMP">
                                                                                                                        <referralDiagnosis moodCode="EVN" classCode="OBS">
                                                                                                                                <code code="SEVKTANISI"
codeSystem="2.16.840.1.113883.3.129.2.2.6" codeSystemName="Taný Tipi"
codeSystemVersion="1.0" displayName="Sevk Tanýsý"/>
                                                                                                                                <value code="K55" codeSystem="2.16.840.1.113883.6.3"
codeSystemName="ICD-10" codeSystemVersion="1.0" displayName="BARSAÐIN
VASKÜLER BOZUKLUKLARI"/>
                                                                                                                        </referralDiagnosis>
                                                                                                                </component>
                                                                                                        </referral>
                                                                                                </component>
                                                                                        </referralSection>
                                                                                </component2>
                                                                                <component3 typeCode="COMP" contextConductionInd="true">
                                                                                        <registrationSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="41f0e5f8-e66a-4af7-bcb9-0dc9a93ba720"/>
                                                                                                <code code="KABUL"
codeSystem="2.16.840.1.113883.3.129.2.2.3" codeSystemName="Veri Kýsmý"
codeSystemVersion="1.0" displayName="Kabul Verisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <registration moodCode="EVN" classCode="ACT">
                                                                                                                <code code="1" codeSystem="2.16.840.1.113883.3.129.1.2.7"
codeSystemName="Kabul Þekli" codeSystemVersion="1.0" displayName="Diðer"/>
                                                                                                                <effectiveTime value="200803231021"/>
                                                                                                        </registration>
                                                                                                </component>
                                                                                        </registrationSection>
                                                                                </component3>
                                                                                <component4 typeCode="COMP" contextConductionInd="true">
                                                                                        <caseTypeSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="537a52e1-36f1-4e04-a4bd-a71056471913"/>
                                                                                                <code code="VAKATURU"
codeSystem="2.16.840.1.113883.3.129.2.2.3" codeSystemName="Veri Kýsmý"
codeSystemVersion="1.0" displayName="Vaka Türü Bilgisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <caseType moodCode="EVN" classCode="ACT">
                                                                                                                <code code="1" codeSystem="2.16.840.1.113883.3.129.1.2.53"
codeSystemName="Vaka Türü" codeSystemVersion="1.0" displayName="Normal"/>
                                                                                                        </caseType>
                                                                                                </component>
                                                                                        </caseTypeSection>
                                                                                </component4>
                                                                        </receptionDataset>
                                                                </component4>
                                                                <component5 typeCode="COMP" contextConductionInd="true">
                                                                        <prescriptionDataset classCode="DOCSECT" moodCode="EVN">
                                                                                <id root="2.16.840.1.113883.3.129.2.1.4"
extension="388c478d-c649-4273-803f-51b3c383f6ac"/>
                                                                                <code code="RECETE" codeSystem="2.16.840.1.113883.3.129.2.2.2"
codeSystemName="Veriseti" codeSystemVersion="1.0" displayName="Reçete
Veriseti"/>
                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                <author typeCode="AUT" contextControlCode="OP">
                                                                                        <assignedDoctor classCode="ASSIGNED">
                                                                                                <id root="2.16.840.1.113883.3.129.1.1.1"
extension="12345678905"/>
                                                                                                <id root="2.16.840.1.113883.3.129.1.1.2" extension="t6464aaa"/>
                                                                                        </assignedDoctor>
                                                                                </author>
                                                                                <component1 typeCode="COMP" contextConductionInd="true">
                                                                                        <medicationSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="4ec898be-2c17-4637-b383-9139be24b305"/>
                                                                                                <code code="ILAC" codeSystem="2.16.840.1.113883.3.129.2.2.3"
codeSystemName="Veri Kýsmý" codeSystemVersion="1.0" displayName="Ýlaç
Verisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <substanceAdministration classCode="SBADM" moodCode="RQO">
                                                                                                                <effectiveTime>
                                                                                                                        <period value="1" unit="d"/>
                                                                                                                </effectiveTime>
                                                                                                                <routeCode code="1"
codeSystem="2.16.840.1.113883.3.129.1.2.47" codeSystemName="Ýlaç
Kullaným Þekli" codeSystemVersion="1.0" displayName="Aðýzdan (Oral)"/>
                                                                                                                <doseQuantity value="6"/>
                                                                                                                <consumable typeCode="CSM">
                                                                                                                        <manufacturedProduct classCode="MANU">
                                                                                                                                <manufacturedMaterial determinerCode="KIND"
classCode="MMAT">
                                                                                                                                        <code code="8699546011209"
codeSystem="2.16.840.1.113883.3.129.1.2.3" codeSystemName="Ýlaçlar"
codeSystemVersion="1.0" displayName="ASPIRIN FORT TABLET 20 TB"/>
                                                                                                                                </manufacturedMaterial>
                                                                                                                        </manufacturedProduct>
                                                                                                                </consumable>
                                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                                        <supply moodCode="INT" classCode="SPLY">
                                                                                                                                <quantity value="4"/>
                                                                                                                        </supply>
                                                                                                                </component>
                                                                                                        </substanceAdministration>
                                                                                                </component>
                                                                                        </medicationSection>
                                                                                </component1>
                                                                                <component2 typeCode="COMP" contextConductionInd="true">
                                                                                        <prescriptionHeaderSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="d7cb1191-033d-4730-9236-d3782ddf0b60"/>
                                                                                                <code code="RECETEBASLIK"
codeSystem="2.16.840.1.113883.3.129.2.2.3" codeSystemName="Veri Kýsmý"
codeSystemVersion="1.0" displayName="Reçete Baþlýk Bilgisinin Olduðu
Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <prescriptionHeader classCode="ACT" moodCode="EVN">
                                                                                                                <code code="1" codeSystem="2.16.840.1.113883.3.129.1.2.48"
codeSystemName="Reçete Türü" codeSystemVersion="1.0" displayName="Normal"/>
                                                                                                                <effectiveTime value="20080401"/>
                                                                                                                <component1 typeCode="COMP" contextConductionInd="true">
                                                                                                                        <protocolNo moodCode="EVN" classCode="ACT">
                                                                                                                                <id root="2.16.840.1.113883.3.129.1.1.4" extension="111"/>
                                                                                                                        </protocolNo>
                                                                                                                </component1>
                                                                                                                <component2 typeCode="COMP" contextConductionInd="true">
                                                                                                                        <sGKRationBook moodCode="EVN" classCode="ACT">
                                                                                                                                <id root="2.16.840.1.113883.3.129.1.1.3"
extension="12321123"/>
                                                                                                                        </sGKRationBook>
                                                                                                                </component2>
                                                                                                        </prescriptionHeader>
                                                                                                </component>
                                                                                        </prescriptionHeaderSection>
                                                                                </component2>
                                                                                <component3 typeCode="COMP" contextConductionInd="true">
                                                                                        <guarantorSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="a0a7a2ea-453a-4b52-b741-d39ff1f968b0"/>
                                                                                                <code code="SOSYALGUVENCEDURUMU"
codeSystem="2.16.840.1.113883.3.129.2.2.3" codeSystemName="Veri Kýsmý"
codeSystemVersion="1.0" displayName="Sosyal Güvence Durumu Bilgilerinin
Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <guarantor moodCode="EVN" classCode="ACT">
                                                                                                                <code code="1" codeSystem="2.16.840.1.113883.3.129.1.2.11"
codeSystemName="Sosyal Güvenlik" codeSystemVersion="1.0" displayName="SSK"/>
                                                                                                        </guarantor>
                                                                                                </component>
                                                                                        </guarantorSection>
                                                                                </component3>
                                                                                <component4 typeCode="COMP" contextConductionInd="true">
                                                                                        <presDiagnosisSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="2a1cbba1-cd5b-4ca1-b602-878c087b9a49"/>
                                                                                                <code code="TANI" codeSystem="2.16.840.1.113883.3.129.2.2.3"
codeSystemName="Veri Kýsmý" codeSystemVersion="1.0" displayName="Taný
Verisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <presDiagnosis moodCode="EVN" classCode="OBS">
                                                                                                                <code code="ANATANI"
codeSystem="2.16.840.1.113883.3.129.2.2.6" codeSystemName="Taný Tipi"
codeSystemVersion="1.0" displayName="Ana Taný"/>
                                                                                                                <value code="K30" codeSystem="2.16.840.1.113883.6.3"
codeSystemName="ICD-10" codeSystemVersion="1.0" displayName="DISPEPSI"/>
                                                                                                        </presDiagnosis>
                                                                                                </component>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <presDiagnosis moodCode="EVN" classCode="OBS">
                                                                                                                <code code="EKTANI"
codeSystem="2.16.840.1.113883.3.129.2.2.6" codeSystemName="Taný Tipi"
codeSystemVersion="1.0" displayName="Ek Taný"/>
                                                                                                                <value code="K30" codeSystem="2.16.840.1.113883.6.3"
codeSystemName="ICD-10" codeSystemVersion="1.0" displayName="DISPEPSI"/>
                                                                                                        </presDiagnosis>
                                                                                                </component>
                                                                                        </presDiagnosisSection>
                                                                                </component4>
                                                                        </prescriptionDataset>
                                                                </component5>
                                                                <component5 typeCode="COMP" contextConductionInd="true">
                                                                        <prescriptionDataset classCode="DOCSECT" moodCode="EVN">
                                                                                <id root="2.16.840.1.113883.3.129.2.1.4"
extension="388c478d-c649-4273-803f-51b3c383f6ac"/>
                                                                                <code code="RECETE" codeSystem="2.16.840.1.113883.3.129.2.2.2"
codeSystemName="Veriseti" codeSystemVersion="1.0" displayName="Reçete
Veriseti"/>
                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                <author typeCode="AUT" contextControlCode="OP">
                                                                                        <assignedDoctor classCode="ASSIGNED">
                                                                                                <id root="2.16.840.1.113883.3.129.1.1.1"
extension="12345678905"/>
                                                                                                <id root="2.16.840.1.113883.3.129.1.1.2" extension="t6464aaa"/>
                                                                                        </assignedDoctor>
                                                                                </author>
                                                                                <component1 typeCode="COMP" contextConductionInd="true">
                                                                                        <medicationSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="4ec898be-2c17-4637-b383-9139be24b305"/>
                                                                                                <code code="ILAC" codeSystem="2.16.840.1.113883.3.129.2.2.3"
codeSystemName="Veri Kýsmý" codeSystemVersion="1.0" displayName="Ýlaç
Verisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <substanceAdministration classCode="SBADM" moodCode="RQO">
                                                                                                                <effectiveTime>
                                                                                                                        <period value="1" unit="d"/>
                                                                                                                </effectiveTime>
                                                                                                                <routeCode code="1"
codeSystem="2.16.840.1.113883.3.129.1.2.47" codeSystemName="Ýlaç
Kullaným Þekli" codeSystemVersion="1.0" displayName="Aðýzdan (Oral)"/>
                                                                                                                <doseQuantity value="6"/>
                                                                                                                <consumable typeCode="CSM">
                                                                                                                        <manufacturedProduct classCode="MANU">
                                                                                                                                <manufacturedMaterial determinerCode="KIND"
classCode="MMAT">
                                                                                                                                        <code code="8699546011209"
codeSystem="2.16.840.1.113883.3.129.1.2.3" codeSystemName="Ýlaçlar"
codeSystemVersion="1.0" displayName="ASPIRIN FORT TABLET 20 TB"/>
                                                                                                                                </manufacturedMaterial>
                                                                                                                        </manufacturedProduct>
                                                                                                                </consumable>
                                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                                        <supply moodCode="INT" classCode="SPLY">
                                                                                                                                <quantity value="4"/>
                                                                                                                        </supply>
                                                                                                                </component>
                                                                                                        </substanceAdministration>
                                                                                                </component>
                                                                                        </medicationSection>
                                                                                </component1>
                                                                                <component2 typeCode="COMP" contextConductionInd="true">
                                                                                        <prescriptionHeaderSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="d7cb1191-033d-4730-9236-d3782ddf0b60"/>
                                                                                                <code code="RECETEBASLIK"
codeSystem="2.16.840.1.113883.3.129.2.2.3" codeSystemName="Veri Kýsmý"
codeSystemVersion="1.0" displayName="Reçete Baþlýk Bilgisinin Olduðu
Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <prescriptionHeader classCode="ACT" moodCode="EVN">
                                                                                                                <code code="1" codeSystem="2.16.840.1.113883.3.129.1.2.48"
codeSystemName="Reçete Türü" codeSystemVersion="1.0" displayName="Normal"/>
                                                                                                                <effectiveTime value="20080401"/>
                                                                                                                <component1 typeCode="COMP" contextConductionInd="true">
                                                                                                                        <protocolNo moodCode="EVN" classCode="ACT">
                                                                                                                                <id root="2.16.840.1.113883.3.129.1.1.4" extension="111"/>
                                                                                                                        </protocolNo>
                                                                                                                </component1>
                                                                                                                <component2 typeCode="COMP" contextConductionInd="true">
                                                                                                                        <sGKRationBook moodCode="EVN" classCode="ACT">
                                                                                                                                <id root="2.16.840.1.113883.3.129.1.1.3"
extension="12321123"/>
                                                                                                                        </sGKRationBook>
                                                                                                                </component2>
                                                                                                        </prescriptionHeader>
                                                                                                </component>
                                                                                        </prescriptionHeaderSection>
                                                                                </component2>
                                                                                <component3 typeCode="COMP" contextConductionInd="true">
                                                                                        <guarantorSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="a0a7a2ea-453a-4b52-b741-d39ff1f968b0"/>
                                                                                                <code code="SOSYALGUVENCEDURUMU"
codeSystem="2.16.840.1.113883.3.129.2.2.3" codeSystemName="Veri Kýsmý"
codeSystemVersion="1.0" displayName="Sosyal Güvence Durumu Bilgilerinin
Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <guarantor moodCode="EVN" classCode="ACT">
                                                                                                                <code code="1" codeSystem="2.16.840.1.113883.3.129.1.2.11"
codeSystemName="Sosyal Güvenlik" codeSystemVersion="1.0" displayName="SSK"/>
                                                                                                        </guarantor>
                                                                                                </component>
                                                                                        </guarantorSection>
                                                                                </component3>
                                                                                <component4 typeCode="COMP" contextConductionInd="true">
                                                                                        <presDiagnosisSection classCode="DOCSECT" moodCode="EVN">
                                                                                                <id root="2.16.840.1.113883.3.129.2.1.5"
extension="2a1cbba1-cd5b-4ca1-b602-878c087b9a49"/>
                                                                                                <code code="TANI" codeSystem="2.16.840.1.113883.3.129.2.2.3"
codeSystemName="Veri Kýsmý" codeSystemVersion="1.0" displayName="Taný
Verisinin Olduðu Bölüm"/>
                                                                                                <text mediaType="text/x-hl7-text+xml"/>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <presDiagnosis moodCode="EVN" classCode="OBS">
                                                                                                                <code code="ANATANI"
codeSystem="2.16.840.1.113883.3.129.2.2.6" codeSystemName="Taný Tipi"
codeSystemVersion="1.0" displayName="Ana Taný"/>
                                                                                                                <value code="K30" codeSystem="2.16.840.1.113883.6.3"
codeSystemName="ICD-10" codeSystemVersion="1.0" displayName="DISPEPSI"/>
                                                                                                        </presDiagnosis>
                                                                                                </component>
                                                                                                <component typeCode="COMP" contextConductionInd="true">
                                                                                                        <presDiagnosis moodCode="EVN" classCode="OBS">
                                                                                                                <code code="EKTANI"
codeSystem="2.16.840.1.113883.3.129.2.2.6" codeSystemName="Taný Tipi"
codeSystemVersion="1.0" displayName="Ek Taný"/>
                                                                                                                <value code="K30" codeSystem="2.16.840.1.113883.6.3"
codeSystemName="ICD-10" codeSystemVersion="1.0" displayName="DISPEPSI"/>
                                                                                                        </presDiagnosis>
                                                                                                </component>
                                                                                        </presDiagnosisSection>
                                                                                </component4>
                                                                        </prescriptionDataset>
                                                                </component5>
                                                        </structuredBody>
                                                </component>
                                        </examination>
                                </subject>
                        </controlActEvent>
                </MCCI_IN000001TR01>
        </soap:Body>
</soap:Envelope>
----------------------------------------------------------------------