zdavatz / amiko-osx

AmiKo Desitin for AmiKo OS X
https://apps.apple.com/ch/app/amiko-desitin/id708142753?mt=12
GNU General Public License v3.0
3 stars 2 forks source link

where does Medidata Button save the XML? #185

Closed zdavatz closed 3 years ago

zdavatz commented 3 years ago

clicking the Mediata Button gives this result:

)
2021-07-05 08:55:56.963022+0200 CoMed Desitin[66082:4130110] [General] *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
2021-07-05 08:55:56.964585+0200 CoMed Desitin[66082:4130110] [General] (
    0   CoreFoundation                      0x00007fff2060487b __exceptionPreprocess + 242
    1   libobjc.A.dylib                     0x00007fff2033cd92 objc_exception_throw + 48
    2   CoreFoundation                      0x00007fff206ba2ea _CFThrowFormattedException + 202
    3   CoreFoundation                      0x00007fff206c5dd1 -[__NSPlaceholderDictionary initWithCapacity:].cold.1 + 0
    4   CoreFoundation                      0x00007fff20513ecd -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 251
    5   CoreFoundation                      0x00007fff20513db8 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49
    6   CoMed Desitin                       0x000000010d4242e9 +[MedidataXMLGenerator xmlInvoicePatientWithPatient:] + 652
    7   CoMed Desitin                       0x000000010d424997 +[MedidataXMLGenerator xmlInvoiceRequestWithOperator:patient:prescriptionItems:] + 964
    8   CoMed Desitin                       0x000000010d424b98 +[MedidataXMLGenerator xmlInvoiceRequestDocumentWithOperator:patient:prescriptionItems:] + 34
    9   CoMed Desitin                       0x000000010d3f4f6d -[MLMainWindowController onSendPrescriptionToMedidata:] + 141
    10  AppKit                              0x00007fff22faa70b -[NSApplication(NSResponder) sendAction:to:from:] + 288
    11  AppKit                              0x00007fff22faa5af -[NSControl sendAction:to:] + 86
    12  AppKit                              0x00007fff22faa4e1 __26-[NSCell _sendActionFrom:]_block_invoke + 131
    13  AppKit                              0x00007fff22faa3e8 -[NSCell _sendActionFrom:] + 171
    14  AppKit                              0x00007fff22faa32e -[NSButtonCell _sendActionFrom:] + 96
    15  AppKit                              0x00007fff22fa7417 NSControlTrackMouse + 1820
    16  AppKit                              0x00007fff22fa6cd3 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 130
    17  AppKit                              0x00007fff22fa6b9a -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 697
    18  AppKit                              0x00007fff22fa5ec2 -[NSControl mouseDown:] + 722
    19  AppKit                              0x00007fff22fa42ae -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 4961
    20  AppKit                              0x00007fff22f13a98 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2594
    21  AppKit                              0x00007fff22f12e56 -[NSWindow(NSEventRouting) sendEvent:] + 347
    22  AppKit                              0x00007fff22f11264 -[NSApplication(NSEvent) sendEvent:] + 352
    23  AppKit                              0x00007fff231ea5fd -[NSApplication _handleEvent:] + 65
    24  AppKit                              0x00007fff22d7a25e -[NSApplication run] + 623
    25  AppKit                              0x00007fff22d4e47c NSApplicationMain + 816
    26  libdyld.dylib                       0x00007fff204acf5d start + 1
    27  ???                                 0x0000000000000003 0x0 + 3
)
2021-07-05 08:56:04.762544+0200 CoMed Desitin[66082:4130110] Num med in basket: 0 -> 2
2021-07-05 08:56:06.497709+0200 CoMed Desitin[66082:4130110] -[MLPrescriptionsAdapter savePrescriptionForPatient:withUniqueHash:andOverwrite:] new currentFileName:file:///Users/zdavatz/Library/Containers/com.ywesee.comedosx/Data/Documents/amk/abe223f6181810b398d4cc21da7ad984a933f0812e4e67785b392b24f11740e2/RZ_2021-07-05T085606.amk
2021-07-05 08:56:13.219759+0200 CoMed Desitin[66082:4130110] [General] *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
2021-07-05 08:56:13.221244+0200 CoMed Desitin[66082:4130110] [General] (
    0   CoreFoundation                      0x00007fff2060487b __exceptionPreprocess + 242
    1   libobjc.A.dylib                     0x00007fff2033cd92 objc_exception_throw + 48
    2   CoreFoundation                      0x00007fff206ba2ea _CFThrowFormattedException + 202
    3   CoreFoundation                      0x00007fff206c5dd1 -[__NSPlaceholderDictionary initWithCapacity:].cold.1 + 0
    4   CoreFoundation                      0x00007fff20513ecd -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 251
    5   CoreFoundation                      0x00007fff20513db8 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49
    6   CoMed Desitin                       0x000000010d4242e9 +[MedidataXMLGenerator xmlInvoicePatientWithPatient:] + 652
    7   CoMed Desitin                       0x000000010d424997 +[MedidataXMLGenerator xmlInvoiceRequestWithOperator:patient:prescriptionItems:] + 964
    8   CoMed Desitin                       0x000000010d424b98 +[MedidataXMLGenerator xmlInvoiceRequestDocumentWithOperator:patient:prescriptionItems:] + 34
    9   CoMed Desitin                       0x000000010d3f4f6d -[MLMainWindowController onSendPrescriptionToMedidata:] + 141
    10  AppKit                              0x00007fff22faa70b -[NSApplication(NSResponder) sendAction:to:from:] + 288
    11  AppKit                              0x00007fff22faa5af -[NSControl sendAction:to:] + 86
    12  AppKit                              0x00007fff22faa4e1 __26-[NSCell _sendActionFrom:]_block_invoke + 131
    13  AppKit                              0x00007fff22faa3e8 -[NSCell _sendActionFrom:] + 171
    14  AppKit                              0x00007fff22faa32e -[NSButtonCell _sendActionFrom:] + 96
    15  AppKit                              0x00007fff22fa7417 NSControlTrackMouse + 1820
    16  AppKit                              0x00007fff22fa6cd3 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 130
    17  AppKit                              0x00007fff22fa6b9a -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 697
    18  AppKit                              0x00007fff22fa5ec2 -[NSControl mouseDown:] + 722
    19  AppKit                              0x00007fff22fa42ae -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 4961
    20  AppKit                              0x00007fff22f13a98 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2594
    21  AppKit                              0x00007fff22f12e56 -[NSWindow(NSEventRouting) sendEvent:] + 347
    22  AppKit                              0x00007fff22f11264 -[NSApplication(NSEvent) sendEvent:] + 352
    23  AppKit                              0x00007fff231ea5fd -[NSApplication _handleEvent:] + 65
    24  AppKit                              0x00007fff22d7a25e -[NSApplication run] + 623
    25  AppKit                              0x00007fff22d4e47c NSApplicationMain + 816
    26  libdyld.dylib                       0x00007fff204acf5d start + 1
    27  ???                                 0x0000000000000003 0x0 + 3
)
zdavatz commented 3 years ago
  1. Another Sample XML that should work: Request_Bsp_Berisha.xml.txt
  2. Die letzte Meldung deutet auf ein Schemafehler im XML. Ich habe hier ein schemakonformes XML im kompletten Request angehängt. Vielleicht hilft dies weiter.
  3. Bitte beachten Sie, dass Sie als Sender die folgende GLN verwenden: 2099988889941 Als Empfänger können Sie unseren Versicherungssimulator verwenden: Versicherung mit Antwortsimulator - GLN 2099988876514