/** * @see parent::updateFormFields */ function updateFormFields() { parent::updateFormFields(); $this->_parent_class = "CInteropSender"; if (CModule::getActive("hprimxml")) { $this->_tag_hprimxml = CHPrimXML::getObjectTag($this->group_id); } if (CModule::getActive("phast")) { $this->_tag_phast = CPhast::getTagPhast($this->group_id); } if (CModule::getActive("hl7")) { $this->_tag_hl7 = CHL7::getObjectTag($this->group_id); } }
/** * Get object handlers * * @param CEAIObjectHandler $objectHandler Object handler * * @return mixed */ function getFormatObjectHandler(CEAIObjectHandler $objectHandler) { $hprim_object_handlers = CHPrimXML::getObjectHandlers(); $object_handler_class = get_class($objectHandler); if (array_key_exists($object_handler_class, $hprim_object_handlers)) { return $hprim_object_handlers[$object_handler_class]; } return null; }
/** * construct */ function __construct() { $this->type = "pmsi"; parent::__construct(); }
/** * construct */ function __construct() { $this->type = "patients"; parent::__construct(); }