lib/RIM/Act/Act.php 1 location
|
@@ 220-224 (lines=5) @@
|
217 |
|
{ |
218 |
|
$el = $this->createElement($doc); |
219 |
|
|
220 |
|
if ($this->getTemplateIds() !== null) { |
221 |
|
foreach ($this->templateIds as $id) { |
222 |
|
$el->appendChild((new TemplateId($id))->toDOMElement($doc)); |
223 |
|
} |
224 |
|
} |
225 |
|
|
226 |
|
if ($this->getText() !== null) { |
227 |
|
$el->appendChild((new Text($this->getText()))->toDOMElement($doc)); |
lib/RIM/Act/SubstanceAdministration.php 1 location
|
@@ 194-198 (lines=5) @@
|
191 |
|
{ |
192 |
|
$el = $this->createElement($doc); |
193 |
|
|
194 |
|
if ($this->getTemplateIds() !== null) { |
195 |
|
foreach ($this->templateIds as $id) { |
196 |
|
$el->appendChild((new TemplateId($id))->toDOMElement($doc)); |
197 |
|
} |
198 |
|
} |
199 |
|
|
200 |
|
if ($this->getIds() !== null) { |
201 |
|
foreach ($this->getIds()->getIterator() as $id) { |