@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | |
| 108 | 108 | /** |
| 109 | 109 | * |
| 110 | - * @return string |
|
| 110 | + * @return Title |
|
| 111 | 111 | */ |
| 112 | 112 | function getTitle() |
| 113 | 113 | { |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | /** |
| 118 | 118 | * |
| 119 | 119 | * @param \PHPHealth\CDA\Elements\Title $title |
| 120 | - * @return \PHPHealth\CDA2\ClinicalDocument |
|
| 120 | + * @return ClinicalDocument |
|
| 121 | 121 | */ |
| 122 | 122 | function setTitle(Title $title) |
| 123 | 123 | { |
@@ -73,6 +73,9 @@ discard block |
||
| 73 | 73 | return $this; |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | + /** |
|
| 77 | + * @return string |
|
| 78 | + */ |
|
| 76 | 79 | public function getCodeSystem() |
| 77 | 80 | { |
| 78 | 81 | return $this->codeSystem; |
@@ -83,6 +86,9 @@ discard block |
||
| 83 | 86 | return !empty($this->getCodeSystem()); |
| 84 | 87 | } |
| 85 | 88 | |
| 89 | + /** |
|
| 90 | + * @return string |
|
| 91 | + */ |
|
| 86 | 92 | public function getCodeSystemName() |
| 87 | 93 | { |
| 88 | 94 | return $this->codeSystemName; |
@@ -93,6 +99,9 @@ discard block |
||
| 93 | 99 | return !empty($this->getCodeSystemName()); |
| 94 | 100 | } |
| 95 | 101 | |
| 102 | + /** |
|
| 103 | + * @return string |
|
| 104 | + */ |
|
| 96 | 105 | public function getDisplayName() |
| 97 | 106 | { |
| 98 | 107 | return $this->displayName; |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | * {@overrideDoc} |
| 62 | 62 | * |
| 63 | 63 | * @param \DOMDocument $doc |
| 64 | - * @return type |
|
| 64 | + * @return \DOMNode |
|
| 65 | 65 | */ |
| 66 | 66 | public function toDOMElement(\DOMDocument $doc) |
| 67 | 67 | { |
@@ -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 | } |