/** * Construct * * @param string $i18n i18n * * @return \CHL7v2EventADT */ function __construct($i18n = null) { parent::__construct($i18n); $this->profil = $i18n ? "PAM_{$i18n}" : "PAM"; $this->msg_codes = array(array($this->event_type, $this->code, "{$this->event_type}_{$this->struct_code}")); $this->transaction = CIHE::getPAMTransaction($this->code, $i18n); }
/** * Construct * * @return CHL7v2EventDEC */ function __construct() { parent::__construct(); $this->profil = "DEC"; $this->msg_codes = array(array($this->event_type, $this->code)); $this->transaction = CIHE::getDECTransaction($this->code); }
/** * Construct * * @return \CHL7v2EventORM */ function __construct() { parent::__construct(); $this->profil = "SWF"; $this->msg_codes = array(array($this->event_type, $this->code, "{$this->event_type}_{$this->code}")); $this->transaction = CIHE::getSWFTransaction($this->code); }
/** * Construct * * @return \CHL7v2EventQBP */ function __construct() { parent::__construct(); $this->msg_codes = array(array($this->event_type, $this->code, "{$this->event_type}_{$this->struct_code}")); $this->transaction = CPDQ::getPDQTransaction($this->code); }