/** * 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); }