当前位置: 首页>>代码示例>>PHP>>正文


PHP MatchaModel类代码示例

本文整理汇总了PHP中MatchaModel的典型用法代码示例。如果您正苦于以下问题:PHP MatchaModel类的具体用法?PHP MatchaModel怎么用?PHP MatchaModel使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了MatchaModel类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 function __construct()
 {
     if (!isset($this->OfficeNotes)) {
         $this->OfficeNotes = MatchaModel::setSenchaModel('App.model.miscellaneous.OfficeNotes');
     }
     return;
 }
开发者ID:igez,项目名称:gaiaehr,代码行数:7,代码来源:OfficeNotes.php

示例2: __construct

 function __construct()
 {
     if (!isset($this->m)) {
         $this->m = MatchaModel::setSenchaModel('App.model.patient.Medications');
     }
     $this->m->setOrFilterProperties(['id']);
 }
开发者ID:igez,项目名称:gaiaehr,代码行数:7,代码来源:Medications.php

示例3: __construct

 function __construct()
 {
     if (!isset($this->d)) {
         $this->d = MatchaModel::setSenchaModel('App.model.patient.PatientDocuments');
     }
     $this->encrypt = isset($_SESSION['globals']['enable_document_encryption']) && $_SESSION['globals']['enable_document_encryption'];
 }
开发者ID:igez,项目名称:gaiaehr,代码行数:7,代码来源:File.php

示例4: __construct

 function __construct()
 {
     if ($this->a == NULL) {
         $this->a = MatchaModel::setSenchaModel('App.model.miscellaneous.Amendment');
     }
     $this->a->setOrFilterProperties(['assigned_to_uid']);
 }
开发者ID:igez,项目名称:gaiaehr,代码行数:7,代码来源:Amendments.php

示例5: __construct

 function __construct()
 {
     if (!isset($this->v)) {
         $this->v = MatchaModel::setSenchaModel('App.model.patient.Vitals');
     }
     $this->User = new User();
 }
开发者ID:andrewbhandari,项目名称:gaiaehr,代码行数:7,代码来源:Vitals.php

示例6: setInstructionModel

 function setInstructionModel()
 {
     if (isset($this->i)) {
         return $this->i;
     }
     return $this->i = MatchaModel::setSenchaModel('App.model.administration.MedicationInstruction');
 }
开发者ID:songhongji,项目名称:gaiaehr,代码行数:7,代码来源:Rxnorm.php

示例7: getProviderCredentializationModel

 function getProviderCredentializationModel()
 {
     if (!isset($this->pc)) {
         $this->pc = MatchaModel::setSenchaModel('App.model.administration.ProviderCredentialization');
     }
     return $this->pc;
 }
开发者ID:igez,项目名称:gaiaehr,代码行数:7,代码来源:Providers.php

示例8: __construct

 function __construct()
 {
     $this->acl = new ACL();
     if (!isset($this->u)) {
         $this->u = MatchaModel::setSenchaModel('App.model.administration.User');
     }
 }
开发者ID:rrabadia89,项目名称:gaiaehr,代码行数:7,代码来源:User.php

示例9: __construct

 function __construct()
 {
     $this->fp = MatchaModel::setSenchaModel('App.model.administration.FloorPlans');
     $this->fpz = MatchaModel::setSenchaModel('App.model.administration.FloorPlanZones');
     $this->patient = new Patient();
     $this->pool = new PoolArea();
 }
开发者ID:igez,项目名称:gaiaehr,代码行数:7,代码来源:FloorPlans.php

示例10: updateRolePerm

 /**
  * @param stdClass $params
  * @return array
  */
 public function updateRolePerm($params)
 {
     if ($this->arp == null) {
         $this->arp = MatchaModel::setSenchaModel('App.model.administration.AclRolePermissions');
     }
     if (is_array($params)) {
         foreach ($params as $param) {
             $this->saveRolePerm('front_office', $param->perm_key, $param->{'role-front_office'});
             $this->saveRolePerm('auditor', $param->perm_key, $param->{'role-auditor'});
             $this->saveRolePerm('clinician', $param->perm_key, $param->{'role-clinician'});
             $this->saveRolePerm('physician', $param->perm_key, $param->{'role-physician'});
             $this->saveRolePerm('administrator', $param->perm_key, $param->{'role-administrator'});
             $this->saveRolePerm('emergencyaccess', $param->perm_key, $param->{'role-emergencyaccess'});
             $this->saveRolePerm('referrer', $param->perm_key, $param->{'role-referrer'});
         }
         return $params;
     }
     $this->saveRolePerm('front_office', $params->perm_key, $params->{'role-front_office'});
     $this->saveRolePerm('auditor', $params->perm_key, $params->{'role-auditor'});
     $this->saveRolePerm('clinician', $params->perm_key, $params->{'role-clinician'});
     $this->saveRolePerm('physician', $params->perm_key, $params->{'role-physician'});
     $this->saveRolePerm('administrator', $params->perm_key, $params->{'role-administrator'});
     $this->saveRolePerm('emergencyaccess', $params->perm_key, $params->{'role-emergencyaccess'});
     $this->saveRolePerm('referrer', $params->perm_key, $params->{'role-referrer'});
     return $params;
 }
开发者ID:songhongji,项目名称:gaiaehr,代码行数:30,代码来源:Roles.php

示例11: __construct

 function __construct()
 {
     $this->conn = Matcha::getConn();
     if (!isset($this->s)) {
         $this->s = MatchaModel::setSenchaModel('App.model.patient.EncounterService');
     }
 }
开发者ID:igez,项目名称:gaiaehr,代码行数:7,代码来源:Services.php

示例12: __construct

 function __construct()
 {
     $this->modulesDir = ROOT . '/modules/';
     if (!isset($this->m)) {
         $this->m = MatchaModel::setSenchaModel('App.model.administration.Modules');
     }
     $this->setNewModules();
 }
开发者ID:igez,项目名称:gaiaehr,代码行数:8,代码来源:Modules.php

示例13: __construct

 function __construct()
 {
     parent::__construct();
     if ($this->voucher == NULL) {
         $this->voucher = MatchaModel::setSenchaModel('App.model.account.Voucher');
     }
     return;
 }
开发者ID:igez,项目名称:gaiaehr,代码行数:8,代码来源:AccVoucher.php

示例14: __construct

 function __construct()
 {
     $this->conn = Matcha::getConn();
     $this->db = new MatchaHelper();
     if (!isset($this->LO)) {
         $this->LO = MatchaModel::setSenchaModel('App.model.administration.LabObservations');
     }
     return;
 }
开发者ID:igez,项目名称:gaiaehr,代码行数:9,代码来源:Laboratories.php

示例15: setModel

 /**
  * Set Model App.model.patient.PatientsOrders
  */
 private function setModel()
 {
     if (!isset($this->s)) {
         $this->s = MatchaModel::setSenchaModel('App.model.patient.PatientSocialHistory');
     }
     if (!isset($this->ss)) {
         $this->ss = MatchaModel::setSenchaModel('App.model.patient.SmokeStatus');
     }
 }
开发者ID:igez,项目名称:gaiaehr,代码行数:12,代码来源:SocialHistory.php


注:本文中的MatchaModel类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。