In the examples (HL7 2.2) you fill the Patient object with:
Code: Select all
Patient = msg->PATIENTRESULT[0]->PATIENT->PID->PatientName
Thanks
Claudio
Code: Select all
Patient = msg->PATIENTRESULT[0]->PATIENT->PID->PatientName
Code: Select all
TdiORU_R01_24 * msg;
TdiPN_24 * Patient;
TdiORU_R01_PATIENTRESULT_ORDEROBSERVATION_OBSERVATION_24 * obs;
AnsiString Surname;
msg = new TdiORU_R01_24;
Patient = new TdiPN_24;
obs = new TdiORU_R01_PATIENTRESULT_ORDEROBSERVATION_OBSERVATION_24;
Surname = msg->PATIENTRESULT[0]->PATIENT->PID->PatientName->Familyname->Surname->AsString;
Users browsing this forum: No registered users and 4 guests