public function setQueryParametersParticipantObjectQuery() { $qpd = $this->hl7_msg->getSegmentByName('QPD'); $participant_object_query = $this->msg_xml->addElement($this->query_parameters, 'ParticipantObjectQuery', base64_encode($qpd->data)); $this->query_parameters_participant_object_query = $participant_object_query; }