@@ -56,7 +56,7 @@ |
||
56 | 56 | $el = $doc->createElement(CDA::NS_CDA.$this->getElementTag()); |
57 | 57 | |
58 | 58 | if (count($properties) > 0) { |
59 | - foreach($properties as $property) { |
|
59 | + foreach ($properties as $property) { |
|
60 | 60 | $this->{$property}->setValueToElement($el); |
61 | 61 | } |
62 | 62 | } |
@@ -64,7 +64,7 @@ |
||
64 | 64 | { |
65 | 65 | $component = $doc->createElement('component'); |
66 | 66 | |
67 | - foreach($this->getComponents() as $subComponent) { |
|
67 | + foreach ($this->getComponents() as $subComponent) { |
|
68 | 68 | $component->appendChild($subComponent->toDOMElement($doc)); |
69 | 69 | } |
70 | 70 |
@@ -234,7 +234,7 @@ |
||
234 | 234 | $dom->appendChild($doc); |
235 | 235 | // set the NS |
236 | 236 | $doc->setAttributeNS('http://www.w3.org/2001/XMLSchema-instance', |
237 | - 'xsi:schemaLocation','urn:hl7-org:v3 CDA.xsd'); |
|
237 | + 'xsi:schemaLocation', 'urn:hl7-org:v3 CDA.xsd'); |
|
238 | 238 | // add typeId |
239 | 239 | $doc->appendChild($this->typeId->toDOMElement($dom)); |
240 | 240 | // add id |