Download SAIO - User Manual - P.S.Elettronica
Transcript
If the machine specified in the paragraph 1 receives a buffer data with a length different from sizeof (CSizecRequest +) or if it receives a buffer data with the same length and with identification code different from IMPORT_PATIENTS, it must discard the communication. 1) In the positive case, the machine specified in paragraph 1, will dial a buffer data with the following format/ unsigned char cResponse[sizeof(unsigned char) + (NUM_PAZIENTI*SIZE_DATAPATIENT)]; [0] = NUM_PAZIENTI; //numero pazienti da inviare; [1..n] = DATAPATIENT[NUM_PAZIENTI]; //strutture dati dei pazienti da inviare; in the 0 position will be insert the number of sent patients and from position1 will be insert the data structure, such as DATAPATIENT in a sequence similar to the number of patients unsigned char cSize[4]; cSize[0..3] = sizeof(cResponse); The buffer response that will be sent to the SAIO communication channel and it will be the result of the connections of the buffers CSize + cResponse. On top of the buffer will be copied the actual number of bytes that identifies the data import response. Use the file specified in Appendix "A" to implement the communication buffer between the SAIO and the third parties. 10.2 Export Patient The export of patient data to an external database is performed in the feature "Current data / Change Trace", "Current data / Print", "Search test / Advanced Search" and "Search Test / Print". The start of this feature requires the following steps: 1. Enter the IP address or the machine name to which send patient data. 2. The connection with the machine will start via the communication channel SOCKET_IMP_EXP_PORT (3300) 81