@@ -64,9 +64,9 @@ discard block |
||
64 | 64 | * @param null $assigningAuthorityName |
65 | 65 | */ |
66 | 66 | public function __construct( |
67 | - $root, |
|
68 | - $extension = null, |
|
69 | - $assigningAuthorityName = null |
|
67 | + $root, |
|
68 | + $extension = null, |
|
69 | + $assigningAuthorityName = null |
|
70 | 70 | ) { |
71 | 71 | $this->root = $root; |
72 | 72 | $this->extension = $extension; |
@@ -87,8 +87,8 @@ discard block |
||
87 | 87 | |
88 | 88 | if ($this->hasAssigningAuthorityName()) { |
89 | 89 | $el->setAttribute( |
90 | - CDA::NS_CDA . 'assigningAuthorityName', |
|
91 | - $this->getAssigningAuthorityName() |
|
90 | + CDA::NS_CDA . 'assigningAuthorityName', |
|
91 | + $this->getAssigningAuthorityName() |
|
92 | 92 | ); |
93 | 93 | } |
94 | 94 | } |
@@ -112,7 +112,7 @@ |
||
112 | 112 | */ |
113 | 113 | public |
114 | 114 | function setDeceasedTime( |
115 | - DeceasedTime $deceased_time |
|
115 | + DeceasedTime $deceased_time |
|
116 | 116 | ): self { |
117 | 117 | $this->deceased_time = $deceased_time; |
118 | 118 | return $this; |
@@ -87,7 +87,7 @@ |
||
87 | 87 | $this->addTemplateId($ii); |
88 | 88 | } else { |
89 | 89 | throw new \UnexpectedValueException( |
90 | - sprintf('The values of templateIds must contains only %s', InstanceIdentifier::class)); |
|
90 | + sprintf('The values of templateIds must contains only %s', InstanceIdentifier::class)); |
|
91 | 91 | } |
92 | 92 | } |
93 | 93 | return $this; |
@@ -55,8 +55,8 @@ |
||
55 | 55 | public function __construct(SpecimenRole $specimen_role) |
56 | 56 | { |
57 | 57 | $this->setSpecimenRole($specimen_role) |
58 | - ->setAcceptableTypeCodes(TypeCodeInterface::SpecimenType) |
|
59 | - ->setTypeCode(''); |
|
58 | + ->setAcceptableTypeCodes(TypeCodeInterface::SpecimenType) |
|
59 | + ->setTypeCode(''); |
|
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |
@@ -45,8 +45,8 @@ |
||
45 | 45 | public function __construct(PatientRole $patientRole) |
46 | 46 | { |
47 | 47 | $this->setAcceptableTypeCodes(['', TypeCodeInterface::RECORD_TARGET]) |
48 | - ->setPatientRole($patientRole) |
|
49 | - ->setTypeCode(TypeCodeInterface::RECORD_TARGET); |
|
48 | + ->setPatientRole($patientRole) |
|
49 | + ->setTypeCode(TypeCodeInterface::RECORD_TARGET); |
|
50 | 50 | } |
51 | 51 | |
52 | 52 | /** |
@@ -59,10 +59,10 @@ |
||
59 | 59 | { |
60 | 60 | parent::__construct(); |
61 | 61 | $this->setAcceptableTypeCodes(['', TypeCodeInterface::LEGAL_AUTHENTICATOR]) |
62 | - ->setTypeCode('') |
|
63 | - ->setTime($time) |
|
64 | - ->setSignatureCode($signature_code) |
|
65 | - ->setAssignedEntity($assigned_entity); |
|
62 | + ->setTypeCode('') |
|
63 | + ->setTime($time) |
|
64 | + ->setSignatureCode($signature_code) |
|
65 | + ->setAssignedEntity($assigned_entity); |
|
66 | 66 | } |
67 | 67 | |
68 | 68 | protected function getElementTag(): string |
@@ -52,11 +52,11 @@ discard block |
||
52 | 52 | * @param AssignedAuthor $assignedAuthor |
53 | 53 | */ |
54 | 54 | public function __construct( |
55 | - $time_stamp = null, |
|
56 | - $assignedAuthor = null |
|
55 | + $time_stamp = null, |
|
56 | + $assignedAuthor = null |
|
57 | 57 | ) { |
58 | 58 | $this->setAcceptableTypeCodes(['', TypeCodeInterface::AUTHOR]) |
59 | - ->setTypeCode(TypeCodeInterface::AUTHOR); |
|
59 | + ->setTypeCode(TypeCodeInterface::AUTHOR); |
|
60 | 60 | if ($time_stamp && $time_stamp instanceof TimeStamp) { |
61 | 61 | $this->setTime($time_stamp); |
62 | 62 | } |
@@ -74,8 +74,8 @@ discard block |
||
74 | 74 | { |
75 | 75 | $el = $this->createElement($doc); |
76 | 76 | $this->renderFunctionCodedValue($el, $doc) |
77 | - ->renderTime($el, $doc) |
|
78 | - ->renderAssignedAuthor($el, $doc); |
|
77 | + ->renderTime($el, $doc) |
|
78 | + ->renderAssignedAuthor($el, $doc); |
|
79 | 79 | return $el; |
80 | 80 | } |
81 | 81 |
@@ -50,8 +50,8 @@ |
||
50 | 50 | public function __construct(ManufacturedProduct $manufactured_product) |
51 | 51 | { |
52 | 52 | $this->setAcceptableTypeCodes(['', TypeCodeInterface::PRODUCT]) |
53 | - ->setTypeCode(TypeCodeInterface::PRODUCT) |
|
54 | - ->setManufacturedProduct($manufactured_product); |
|
53 | + ->setTypeCode(TypeCodeInterface::PRODUCT) |
|
54 | + ->setManufacturedProduct($manufactured_product); |
|
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |
@@ -44,8 +44,8 @@ |
||
44 | 44 | public function __construct(AssignedCustodian $assignedCustodian) |
45 | 45 | { |
46 | 46 | $this->setAcceptableTypeCodes(['', TypeCodeInterface::CUSTODIAN]) |
47 | - ->setAssignedCustodian($assignedCustodian) |
|
48 | - ->setTypeCode(TypeCodeInterface::CUSTODIAN); |
|
47 | + ->setAssignedCustodian($assignedCustodian) |
|
48 | + ->setTypeCode(TypeCodeInterface::CUSTODIAN); |
|
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |