コード例 #1
0
 /**
  * @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);
     }
 }
コード例 #2
0
 /**
  * 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;
 }
コード例 #3
0
 /**
  * construct
  */
 function __construct()
 {
     $this->type = "pmsi";
     parent::__construct();
 }
コード例 #4
0
 /**
  * construct
  */
 function __construct()
 {
     $this->type = "patients";
     parent::__construct();
 }