1 / 9

Login Request Packet

Login Request Packet. General Header. User Name. Password. CheckSum. PacketType (1 byte). Payload Length (2 bytes). 128 bytes. 128 bytes. 1 byte. // From AAA.h typedef struct LoginFuncParameters { WCHAR UserName[AAA_DEFAULT_STRINGLENTGH]; // 64

xaria
Télécharger la présentation

Login Request Packet

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Login Request Packet General Header User Name Password CheckSum PacketType(1 byte) Payload Length(2 bytes) 128 bytes 128 bytes 1 byte // From AAA.h typedef struct LoginFuncParameters { WCHAR UserName[AAA_DEFAULT_STRINGLENTGH]; // 64 WCHAR PassWord[AAA_DEFAULT_STRINGLENTGH]; // 64 // ... } LOGINFUNCPARAMETERS; typedef enum MUMSPacketType { BaMULoginRequestPacketType = 0, BaMULoginResponsePacketType = 1, BaMUPatientSelectionRequestPacketType = 2, BaMUPatientSelectionResponsePacketType = 3, BaMUPRNSelectionRequestPacketType = 4, BaMUPRNSelectionResponsePacketType = 5, BaMUBarcodeScanRequestPacketType = 6, BaMUBarcodeScanResponsePacketType = 7, MUMSCompartmentClosePacketType = 8, BaMURetrievalCompletePacketType = 9, BaMULogoutPacketType = 10, MaximumMUMSPacketType } MUMS_PACKET_TYPE;

  2. BaMU Login Response Packet General Header #Patients Patient 1 … Patient n MUMS hardwaredescription length CheckSum PacketType(1 byte) Payload Length(2 bytes) 1 bytes 292 bytes … 292 bytes 9 bytes 1 byte Patient ID PatientName Gender 32(64 bytes) 112(224 bytes) 4 bytes typedef struct PERSON_NAME_STRUCTURE // From WTMModule.h { WCHAR EnglishGivenName[ENGLISH_GIVEN_NAME_LENGTH]; // 64 WCHAR EnglishLastName[ENGLISH_LAST_NAME_LENGTH]; // 32 WCHAR ChineseGivenName[CHINESE_GIVEN_NAME_LENGTH]; // 8 WCHAR ChineseLastName[CHINESE_LAST_NAME_LENGTH]; // 8 } PERSON_NAME, *PPERSON_NAME; // // Patient ID, from WTMModule.h // WCHAR IdNumber[PERSONAL_ID_NUMBER_LENGTH]; // 16

  3. BaMU Patient Selection Request Packet General Header Patient ID CheckSum PacketType(1 byte) Payload Length(2 bytes) 32(64 bytes) 1 byte

  4. BaMU Patient Selection Response(Prescription) Packet General Header #Medications Medication 1 … Medication n LED Light Color Checksum PacketType(1 byte) Payload Length(2 bytes) 1 bytes 990 bytes … 990 bytes 1 byte 1 byte PrescriptionId Instruction Creation Time Medication Name Dose Unit Dose Size Container Location Medication Id 256 bytes 18 bytes 512 bytes 20 bytes 64 bytes 16 bytes 64 bytes 8 bytes DoseFrequency 32 bytes typedef struct MedicationPartialInfo { WCHAR DoseFreq[MAXIMUM_FREQUENCY_NAME_LENGTH]; // 16 WCHAR PrescriptionId[PRESCRIPTION_ID_LENGTH]; // 32 TIME CreationTime; // 8 bytes WCHAR MedicationName [MEDICATION_SCIENTIFIC_NAME_LENGTH]; // 128 WCHAR MedicationId [MEDICATION_ID_LENGTH]; // 9 WCHAR DoseSize[MAXIMUM_DOSAGE_SIZE_LENGTH]; // 8 WCHAR DoseUnit[MAXIMUM_DOSAGE_UNIT_LENGTH]; // 32 WCHAR ContainerLocation [LOCATION_CODE_LENGTH]; // 10 WCHAR Instruction[MAXIMUM_INSTRUCTION_LENGTH]; // 256 } MEDICATION_PARTIAL_INFO;

  5. BaMU PRN Selection Request Packet General Header #PRNs PRN MedID 1 … PRN MedID n Checksum PacketType(1 byte) Payload Length(2 bytes) 1 bytes 18 bytes … 18 bytes 1 byte

  6. BaMU PRN Selection Response Packet General Header Selection Result Checksum PacketType(1 byte) Payload Length(2 bytes) 1 bytes 1 byte

  7. BaMU Barcode Scan Request Packet General Header Medication ID Checksum PacketType(1 byte) Payload Length(2 bytes) 18 bytes 1 bytes

  8. BaMU Barcode Scan Response Packet General Header Hardware Situation Checksum PacketType(1 byte) Payload Length(2 bytes) 1 byte 1 byte

  9. MUMS Compartment Close Packet General Header Compartment Close Result Checksum PacketType(1 byte) Payload Length(2 bytes) 1 byte 1 byte

More Related