Пример #1
0
 private function setInstructionsSection()
 {
     if (isset($this->encounter)) {
         $soap = $this->Encounter->getSoapByEid($this->encounter['eid']);
         $instructions = ['templateId' => ['@attributes' => ['root' => '2.16.840.1.113883.10.20.22.2.45']], 'code' => ['@attributes' => ['code' => '69730-0', 'codeSystem' => '2.16.840.1.113883.6.1', 'codeSystemName' => 'LOINC', 'displayName' => 'Instructions']], 'title' => 'Instructions', 'text' => $soap['instructions'], 'entry' => ['@attributes' => ['nullFlavor' => 'NA'], 'act' => ['@attributes' => ['classCode' => 'ACT', 'moodCode' => 'INT'], 'templateId' => ['@attributes' => ['root' => '2.16.840.1.113883.10.20.22.4.20']], 'code' => ['@attributes' => ['nullFlavor' => 'NA']], 'statusCode' => ['@attributes' => ['nullFlavor' => 'NA']]]]];
         $this->addSection(['section' => $instructions]);
     }
 }