@@ -26,9 +26,7 @@ |
||
| 26 | 26 | |
| 27 | 27 | namespace PHPHealth\CDA; |
| 28 | 28 | |
| 29 | -use PHPHealth\CDA\DataType\Quantity\DateAndTime\TimeStamp; |
|
| 30 | 29 | use PHPHealth\CDA\DataType\Identifier\InstanceIdentifier; |
| 31 | -use PHPHealth\CDA\DataType\Code\CodedValue; |
|
| 32 | 30 | use PHPHealth\CDA\Elements\Code; |
| 33 | 31 | use PHPHealth\CDA\Elements\Title; |
| 34 | 32 | use PHPHealth\CDA\Elements\EffectiveTime; |
@@ -33,13 +33,13 @@ |
||
| 33 | 33 | */ |
| 34 | 34 | abstract class AnyType |
| 35 | 35 | { |
| 36 | - /** |
|
| 37 | - * |
|
| 38 | - * Add attribute to the given element. |
|
| 39 | - * |
|
| 40 | - * The data type are responsible to add the given attribute, content child |
|
| 41 | - * to the Element. |
|
| 42 | - * |
|
| 43 | - */ |
|
| 36 | + /** |
|
| 37 | + * |
|
| 38 | + * Add attribute to the given element. |
|
| 39 | + * |
|
| 40 | + * The data type are responsible to add the given attribute, content child |
|
| 41 | + * to the Element. |
|
| 42 | + * |
|
| 43 | + */ |
|
| 44 | 44 | abstract public function setValueToElement(\DOMElement &$el, \DOMDocument $doc = null); |
| 45 | 45 | } |
@@ -26,7 +26,6 @@ |
||
| 26 | 26 | |
| 27 | 27 | namespace PHPHealth\CDA\RIM\Entity; |
| 28 | 28 | |
| 29 | -use PHPHealth\CDA\ElementInterface; |
|
| 30 | 29 | use PHPHealth\CDA\ClinicalDocument as CDA; |
| 31 | 30 | use PHPHealth\CDA\DataType\Quantity\DateAndTime\TimeStamp; |
| 32 | 31 | use PHPHealth\CDA\DataType\Collection\Set; |
@@ -26,7 +26,6 @@ |
||
| 26 | 26 | |
| 27 | 27 | namespace PHPHealth\CDA\RIM\Role; |
| 28 | 28 | |
| 29 | -use PHPHealth\CDA\Elements\AbstractElement; |
|
| 30 | 29 | use PHPHealth\CDA\DataType\Identifier\InstanceIdentifier; |
| 31 | 30 | use PHPHealth\CDA\DataType\Collection\Set; |
| 32 | 31 | use PHPHealth\CDA\RIM\Entity\Patient; |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | // only for php7.0 |
| 41 | 41 | $data = random_bytes(16); |
| 42 | 42 | |
| 43 | - //assert(strlen($data) == 16); |
|
| 43 | + //assert(strlen($data) == 16); |
|
| 44 | 44 | |
| 45 | 45 | $data[6] = chr(ord($data[6]) & 0x0f | 0x40); // set version to 0100 |
| 46 | 46 | $data[8] = chr(ord($data[8]) & 0x3f | 0x80); // set bits 6-7 to 10 |
@@ -35,7 +35,6 @@ |
||
| 35 | 35 | use PHPHealth\CDA\RIM\Participation\Consumable; |
| 36 | 36 | use PHPHealth\CDA\Elements\DoseQuantity; |
| 37 | 37 | use PHPHealth\CDA\DataType\Identifier\InstanceIdentifier; |
| 38 | -use PHPHealth\CDA\DataType\TextAndMultimedia\CharacterString; |
|
| 39 | 38 | |
| 40 | 39 | /** |
| 41 | 40 | * |