/**
  * Setter root
  *
  * @param String $root String
  *
  * @return void
  */
 public function setRoot($root)
 {
     if (!$root) {
         $this->root = null;
         return;
     }
     $uid = new CCDA_base_uid();
     $uid->setData($root);
     $this->root = $uid;
 }
Esempio n. 2
0
 /**
  * Setter CodeSystem
  *
  * @param String $codeSystem String
  *
  * @return void
  */
 public function setCodeSystem($codeSystem)
 {
     if (!$codeSystem) {
         $this->codeSystem = null;
         return;
     }
     $codeSys = new CCDA_base_uid();
     $codeSys->setData($codeSystem);
     $this->codeSystem = $codeSys;
 }