/**
  * Construct
  *
  * @return \CHL7v2EventQCN
  */
 function __construct()
 {
     parent::__construct();
     $this->profil = "PDQ";
     $this->msg_codes = array(array($this->event_type, $this->code, "{$this->event_type}_{$this->code}"));
     $this->transaction = CPDQ::getPDQTransaction($this->code);
 }
Example #2
0
 /**
  * Return Patient Demographics Query (PDQ) transaction
  *
  * @param string $code Event code
  * @param string $i18n Internationalization
  *
  * @return object An instance of PDQ transaction
  */
 static function getPDQTransaction($code, $i18n = null)
 {
     return CPDQ::getTransaction($code);
 }