Guten Morgen zusammen,
Wir haben ein Tomedo Script, wo mit Patienten Daten in Filemaker übertragen werden. Das funktioniert auch sehr gut, wir haben aber immer wieder das Problem, das in DDI´s aus der alten Medys Datenbank immer wieder Enterzeichen im Text sind. Da müssen wir Dan immer wieder in alle DDI´s reinschauen und die entfernen. Gibt es eine Möglichkeit, die Enterzeichen mit dem Script bei der Übertragung zu entfernen? Im Anhang das Script.
Mit freundlichen Grüßen
Sven Kirchner
property theTextPath : "/Users/Shared/Tofi.tab"
set dia to "$[x DDI inf _ inf JN NNNN NNNN mitICD U 0]$"
set someText to ("Patienten_ID" & (ASCII character 9) & "Anrede" & (ASCII character 9) & "Nachname" & (ASCII character 9) & "Vorname" & (ASCII character 9) & "geboren" & (ASCII character 9) & "Strasse" & (ASCII character 9) & "PLZ_Ort" & (ASCII character 9) & "Ort" & (ASCII character 9) & "Telefon" & (ASCII character 9) & "IK Kasse" & (ASCII character 9) & "KK-Name" & (ASCII character 9) & "Dauerdiagnosen" & (ASCII character 9) & "HA Titel" & (ASCII character 9) & "HA Fachabteilung" & (ASCII character 9) & "HA Praxisname" & (ASCII character 9) & "HA Vorname" & (ASCII character 9) & "HA Nachname" & (ASCII character 9) & "HA Strasse" & (ASCII character 9) & "HA PLZ" & (ASCII character 9) & "HA Ort" & (ASCII character 9) & "FA Titel" & (ASCII character 9) & "FA Fachabteilung" & (ASCII character 9) & "FA Praxisname" & (ASCII character 9) & "FA Vorname" & (ASCII character 9) & "FA Nachnamme" & (ASCII character 9) & "FA Strasse" & (ASCII character 9) & "FA PLZ" & (ASCII character 9) & "FA Ort" & (ASCII character 9) & "A3 Titel" & (ASCII character 9) & "A3 Fachabteilung" & (ASCII character 9) & "A3 Praxisname" & (ASCII character 9) & "A3 Vorname" & (ASCII character 9) & "A3 Nachname" & (ASCII character 9) & "A3 Strasse" & (ASCII character 9) & "A3 PLZ" & (ASCII character 9) & "A3 Ort" & (ASCII character 9) & "A4 Titel" & (ASCII character 9) & "A4 Fachabteilung" & (ASCII character 9) & "A4 Praxisname" & (ASCII character 9) & "A4 Vorname" & (ASCII character 9) & "A4 Nachname" & (ASCII character 9) & "A4 Strasse" & (ASCII character 9) & "A4 PLZ" & (ASCII character 9) & "A4 Ort" & (ASCII character 13) & "$[pid]$" & (ASCII character 9) & "$[ua_herrfrau]$" & (ASCII character 9) & "$[patient_name]$" & (ASCII character 9) & "$[patient_vorname]$" & (ASCII character 9) & "$[pg]$" & (ASCII character 9) & "$[ps]$" & (ASCII character 9) & "$[pp]$" & (ASCII character 9) & "$[po]$" & (ASCII character 9) & "$[ptel]$" & (ASCII character 9) & "$[kasse_ik]$" & (ASCII character 9) & "$[kasse_name]$" & (ASCII character 9) & dia & (ASCII character 9) & "$[&p.PatientenDetails.hausarzt.titel]$" & (ASCII character 9) & "$[&p.PatientenDetails.hausarzt.fachgebiet]$" & (ASCII character 9) & "$[&p.patientenDetails.hausarzt.praxisname]$" & (ASCII character 9) & "$[&p.PatientenDetails.hausarzt.vorname]$" & (ASCII character 9) & "$[&p.PatientenDetails.hausarzt.nachname]$" & (ASCII character 9) & "$[&p.PatientenDetails.hausarzt.praxiskontakt.adresse.strasse]$" & (ASCII character 9) & "$[&p.PatientenDetails.hausarzt.praxiskontakt.adresse.plz]$" & (ASCII character 9) & "$[&p.PatientenDetails.hausarzt.praxiskontakt.adresse.ort]$" & (ASCII character 9) & "$[&p.PatientenDetails.ueberweiser.titel]$" & (ASCII character 9) & "$[&p.PatientenDetails.ueberweiser.fachgebiet]$" & (ASCII character 9) & "$[&p.patientenDetails.ueberweiser.praxisname]$" & (ASCII character 9) & "$[&p.PatientenDetails.ueberweiser.vorname]$" & (ASCII character 9) & "$[&p.PatientenDetails.ueberweiser.nachname]$" & (ASCII character 9) & "$[&p.PatientenDetails.ueberweiser.praxiskontakt.adresse.strasse]$" & (ASCII character 9) & "$[&p.PatientenDetails.ueberweiser.praxiskontakt.adresse.plz]$" & (ASCII character 9) & "$[&p.PatientenDetails.ueberweiser.praxiskontakt.adresse.ort]$" & (ASCII character 9) & "$[&p.patientenDetails.folgeArzt.titel]$" & (ASCII character 9) & "$[&p.patientenDetails.folgeArzt.fachgebiet]$" & (ASCII character 9) & "$[&p.patientenDetails.folgeArzt.praxisname]$" & (ASCII character 9) & "$[&p.patientenDetails.folgeArzt.vorname]$" & (ASCII character 9) & "$[&p.patientenDetails.folgeArzt.nachname]$" & (ASCII character 9) & "$[&p.patientenDetails.folgeArzt.praxiskontakt.adresse.strasse]$" & (ASCII character 9) & "$[&p.patientenDetails.folgeArzt.praxiskontakt.adresse.plz]$" & (ASCII character 9) & "$[&p.patientenDetails.folgeArzt.praxiskontakt.adresse.ort]$" & (ASCII character 9) & "$[&p.patientenDetails.weitereAerzteAsSortedArray.arzt.titel.@firstObject]$" & (ASCII character 9) & "$[&p.patientenDetails.weitereAerzteAsSortedArray.arzt.fachgebiet.@firstObject]$" & (ASCII character 9) & "$[&p.patientenDetails.weitereAerzteAsSortedArray.arzt.praxisname.@firstObject]$" & (ASCII character 9) & "$[&p.patientenDetails.weitereAerzteAsSortedArray.arzt.vorname.@firstObject]$" & (ASCII character 9) & "$[&p.patientenDetails.weitereAerzteAsSortedArray.arzt.nachname.@firstObject]$" & (ASCII character 9) & "$[&p.patientenDetails.weitereAerzteAsSortedArray.arzt.praxiskontakt.adresse.strasse.@firstObject]$" & (ASCII character 9) & "$[&p.patientenDetails.weitereAerzteAsSortedArray.arzt.praxiskontakt.adresse.plz.@firstObject]$" & (ASCII character 9) & "$[&p.patientenDetails.weitereAerzteAsSortedArray.arzt.praxiskontakt.adresse.ort.@firstObject]$")
do shell script "open //Users/Shared/FMSTARTausTOM.fmp12"
--display dialog someText
do shell script "echo \"" & someText & "\" > " & theTextPath
Wir haben ein Tomedo Script, wo mit Patienten Daten in Filemaker übertragen werden. Das funktioniert auch sehr gut, wir haben aber immer wieder das Problem, das in DDI´s aus der alten Medys Datenbank immer wieder Enterzeichen im Text sind. Da müssen wir Dan immer wieder in alle DDI´s reinschauen und die entfernen. Gibt es eine Möglichkeit, die Enterzeichen mit dem Script bei der Übertragung zu entfernen? Im Anhang das Script.
Mit freundlichen Grüßen
Sven Kirchner
property theTextPath : "/Users/Shared/Tofi.tab"
set dia to "$[x DDI inf _ inf JN NNNN NNNN mitICD U 0]$"
set someText to ("Patienten_ID" & (ASCII character 9) & "Anrede" & (ASCII character 9) & "Nachname" & (ASCII character 9) & "Vorname" & (ASCII character 9) & "geboren" & (ASCII character 9) & "Strasse" & (ASCII character 9) & "PLZ_Ort" & (ASCII character 9) & "Ort" & (ASCII character 9) & "Telefon" & (ASCII character 9) & "IK Kasse" & (ASCII character 9) & "KK-Name" & (ASCII character 9) & "Dauerdiagnosen" & (ASCII character 9) & "HA Titel" & (ASCII character 9) & "HA Fachabteilung" & (ASCII character 9) & "HA Praxisname" & (ASCII character 9) & "HA Vorname" & (ASCII character 9) & "HA Nachname" & (ASCII character 9) & "HA Strasse" & (ASCII character 9) & "HA PLZ" & (ASCII character 9) & "HA Ort" & (ASCII character 9) & "FA Titel" & (ASCII character 9) & "FA Fachabteilung" & (ASCII character 9) & "FA Praxisname" & (ASCII character 9) & "FA Vorname" & (ASCII character 9) & "FA Nachnamme" & (ASCII character 9) & "FA Strasse" & (ASCII character 9) & "FA PLZ" & (ASCII character 9) & "FA Ort" & (ASCII character 9) & "A3 Titel" & (ASCII character 9) & "A3 Fachabteilung" & (ASCII character 9) & "A3 Praxisname" & (ASCII character 9) & "A3 Vorname" & (ASCII character 9) & "A3 Nachname" & (ASCII character 9) & "A3 Strasse" & (ASCII character 9) & "A3 PLZ" & (ASCII character 9) & "A3 Ort" & (ASCII character 9) & "A4 Titel" & (ASCII character 9) & "A4 Fachabteilung" & (ASCII character 9) & "A4 Praxisname" & (ASCII character 9) & "A4 Vorname" & (ASCII character 9) & "A4 Nachname" & (ASCII character 9) & "A4 Strasse" & (ASCII character 9) & "A4 PLZ" & (ASCII character 9) & "A4 Ort" & (ASCII character 13) & "$[pid]$" & (ASCII character 9) & "$[ua_herrfrau]$" & (ASCII character 9) & "$[patient_name]$" & (ASCII character 9) & "$[patient_vorname]$" & (ASCII character 9) & "$[pg]$" & (ASCII character 9) & "$[ps]$" & (ASCII character 9) & "$[pp]$" & (ASCII character 9) & "$[po]$" & (ASCII character 9) & "$[ptel]$" & (ASCII character 9) & "$[kasse_ik]$" & (ASCII character 9) & "$[kasse_name]$" & (ASCII character 9) & dia & (ASCII character 9) & "$[&p.PatientenDetails.hausarzt.titel]$" & (ASCII character 9) & "$[&p.PatientenDetails.hausarzt.fachgebiet]$" & (ASCII character 9) & "$[&p.patientenDetails.hausarzt.praxisname]$" & (ASCII character 9) & "$[&p.PatientenDetails.hausarzt.vorname]$" & (ASCII character 9) & "$[&p.PatientenDetails.hausarzt.nachname]$" & (ASCII character 9) & "$[&p.PatientenDetails.hausarzt.praxiskontakt.adresse.strasse]$" & (ASCII character 9) & "$[&p.PatientenDetails.hausarzt.praxiskontakt.adresse.plz]$" & (ASCII character 9) & "$[&p.PatientenDetails.hausarzt.praxiskontakt.adresse.ort]$" & (ASCII character 9) & "$[&p.PatientenDetails.ueberweiser.titel]$" & (ASCII character 9) & "$[&p.PatientenDetails.ueberweiser.fachgebiet]$" & (ASCII character 9) & "$[&p.patientenDetails.ueberweiser.praxisname]$" & (ASCII character 9) & "$[&p.PatientenDetails.ueberweiser.vorname]$" & (ASCII character 9) & "$[&p.PatientenDetails.ueberweiser.nachname]$" & (ASCII character 9) & "$[&p.PatientenDetails.ueberweiser.praxiskontakt.adresse.strasse]$" & (ASCII character 9) & "$[&p.PatientenDetails.ueberweiser.praxiskontakt.adresse.plz]$" & (ASCII character 9) & "$[&p.PatientenDetails.ueberweiser.praxiskontakt.adresse.ort]$" & (ASCII character 9) & "$[&p.patientenDetails.folgeArzt.titel]$" & (ASCII character 9) & "$[&p.patientenDetails.folgeArzt.fachgebiet]$" & (ASCII character 9) & "$[&p.patientenDetails.folgeArzt.praxisname]$" & (ASCII character 9) & "$[&p.patientenDetails.folgeArzt.vorname]$" & (ASCII character 9) & "$[&p.patientenDetails.folgeArzt.nachname]$" & (ASCII character 9) & "$[&p.patientenDetails.folgeArzt.praxiskontakt.adresse.strasse]$" & (ASCII character 9) & "$[&p.patientenDetails.folgeArzt.praxiskontakt.adresse.plz]$" & (ASCII character 9) & "$[&p.patientenDetails.folgeArzt.praxiskontakt.adresse.ort]$" & (ASCII character 9) & "$[&p.patientenDetails.weitereAerzteAsSortedArray.arzt.titel.@firstObject]$" & (ASCII character 9) & "$[&p.patientenDetails.weitereAerzteAsSortedArray.arzt.fachgebiet.@firstObject]$" & (ASCII character 9) & "$[&p.patientenDetails.weitereAerzteAsSortedArray.arzt.praxisname.@firstObject]$" & (ASCII character 9) & "$[&p.patientenDetails.weitereAerzteAsSortedArray.arzt.vorname.@firstObject]$" & (ASCII character 9) & "$[&p.patientenDetails.weitereAerzteAsSortedArray.arzt.nachname.@firstObject]$" & (ASCII character 9) & "$[&p.patientenDetails.weitereAerzteAsSortedArray.arzt.praxiskontakt.adresse.strasse.@firstObject]$" & (ASCII character 9) & "$[&p.patientenDetails.weitereAerzteAsSortedArray.arzt.praxiskontakt.adresse.plz.@firstObject]$" & (ASCII character 9) & "$[&p.patientenDetails.weitereAerzteAsSortedArray.arzt.praxiskontakt.adresse.ort.@firstObject]$")
do shell script "open //Users/Shared/FMSTARTausTOM.fmp12"
--display dialog someText
do shell script "echo \"" & someText & "\" > " & theTextPath