@@ -49,7 +49,7 @@ |
||
49 | 49 | public function __construct($substitution_permission = null) |
50 | 50 | { |
51 | 51 | $this->setAcceptableTypeCodes(['', TypeCodeInterface::SUBJECT]) |
52 | - ->setTypeCode(''); |
|
52 | + ->setTypeCode(''); |
|
53 | 53 | if ($substitution_permission && $substitution_permission instanceof SubstitutionPermission) { |
54 | 54 | $this->setSubstitutionPermission($substitution_permission); |
55 | 55 | } |
@@ -61,7 +61,7 @@ |
||
61 | 61 | $this->setSpecimenPlayingEntity($specimenPlayingEntity); |
62 | 62 | } |
63 | 63 | $this->setAcceptableClassCodes(ClassCodeInterface::RoleClassSpecimen) |
64 | - ->setClassCode(''); |
|
64 | + ->setClassCode(''); |
|
65 | 65 | } |
66 | 66 | |
67 | 67 | /** |
@@ -58,7 +58,7 @@ |
||
58 | 58 | public function __construct($entity = null) |
59 | 59 | { |
60 | 60 | $this->setAcceptableClassCodes(ClassCodeInterface::RoleClassRoot) |
61 | - ->setClassCode(ClassCodeInterface::ROLE); |
|
61 | + ->setClassCode(ClassCodeInterface::ROLE); |
|
62 | 62 | if ($entity) { |
63 | 63 | if ($entity instanceof PlayingEntity) { |
64 | 64 | $this->setPlayingEntity($entity); |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | public function __construct() |
68 | 68 | { |
69 | 69 | $this->setAcceptableClassCodes(ClassCodeInterface::x_InformationRecipientRole) |
70 | - ->setClassCode(''); |
|
70 | + ->setClassCode(''); |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
@@ -77,11 +77,11 @@ discard block |
||
77 | 77 | { |
78 | 78 | $el = $this->createElement($doc); |
79 | 79 | $this->renderIds($el, $doc) |
80 | - ->renderExtCode($el, $doc) |
|
81 | - ->renderAddrs($el, $doc) |
|
82 | - ->renderTelecoms($el, $doc) |
|
83 | - ->renderInformationRecipientPerson($el, $doc) |
|
84 | - ->renderReceivedOrganization($el, $doc); |
|
80 | + ->renderExtCode($el, $doc) |
|
81 | + ->renderAddrs($el, $doc) |
|
82 | + ->renderTelecoms($el, $doc) |
|
83 | + ->renderInformationRecipientPerson($el, $doc) |
|
84 | + ->renderReceivedOrganization($el, $doc); |
|
85 | 85 | return $el; |
86 | 86 | } |
87 | 87 |
@@ -55,7 +55,7 @@ |
||
55 | 55 | public function __construct($drug = null) |
56 | 56 | { |
57 | 57 | $this->setAcceptableClassCodes(ClassCodeInterface::RoleClassManufacturedProduct) |
58 | - ->setClassCode(ClassCodeInterface::MANUFACTURED_PRODUCT); |
|
58 | + ->setClassCode(ClassCodeInterface::MANUFACTURED_PRODUCT); |
|
59 | 59 | if ($drug instanceof ManufacturedLabeledDrug) { |
60 | 60 | $this->setManufacturedLabeledDrug($drug); |
61 | 61 | } elseif ($drug instanceof ManufacturedMaterial) { |
@@ -72,14 +72,14 @@ |
||
72 | 72 | * @param Patient $patient |
73 | 73 | */ |
74 | 74 | public function __construct( |
75 | - Id $id, |
|
76 | - Patient $patient |
|
75 | + Id $id, |
|
76 | + Patient $patient |
|
77 | 77 | ) { |
78 | 78 | $this |
79 | - ->setAcceptableClassCodes(ClassCodeInterface::RoleClassRoot) |
|
80 | - ->setClassCode(ClassCodeInterface::PATIENT) |
|
81 | - ->setPatient($patient) |
|
82 | - ->addId($id); |
|
79 | + ->setAcceptableClassCodes(ClassCodeInterface::RoleClassRoot) |
|
80 | + ->setClassCode(ClassCodeInterface::PATIENT) |
|
81 | + ->setPatient($patient) |
|
82 | + ->addId($id); |
|
83 | 83 | } |
84 | 84 | |
85 | 85 |
@@ -71,11 +71,11 @@ discard block |
||
71 | 71 | * @param null $assigned_person |
72 | 72 | */ |
73 | 73 | public function __construct( |
74 | - $id = null, |
|
75 | - $occupation = null, |
|
76 | - $addr = null, |
|
77 | - array $telecoms = [], |
|
78 | - $assigned_person = null |
|
74 | + $id = null, |
|
75 | + $occupation = null, |
|
76 | + $addr = null, |
|
77 | + array $telecoms = [], |
|
78 | + $assigned_person = null |
|
79 | 79 | ) { |
80 | 80 | if ($id instanceof Id) { |
81 | 81 | $this->addId($id); |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | $this->setAssignedPerson($assigned_person); |
97 | 97 | } |
98 | 98 | $this->setAcceptableClassCodes(ClassCodeInterface::RoleClassAssociative) |
99 | - ->setClassCode(ClassCodeInterface::ASSIGNED); |
|
99 | + ->setClassCode(ClassCodeInterface::ASSIGNED); |
|
100 | 100 | } |
101 | 101 | |
102 | 102 |
@@ -70,8 +70,8 @@ |
||
70 | 70 | public function __construct($code = null) |
71 | 71 | { |
72 | 72 | $this->setAcceptableClassCodes(ClassCodeInterface::EntityClassRoot) |
73 | - ->setClassCode(ClassCodeInterface::ENTITY) |
|
74 | - ->setDeterminerCode(''); |
|
73 | + ->setClassCode(ClassCodeInterface::ENTITY) |
|
74 | + ->setDeterminerCode(''); |
|
75 | 75 | if ($code && $code instanceof Code) { |
76 | 76 | $this->setCode($code); |
77 | 77 | } |
@@ -57,7 +57,7 @@ |
||
57 | 57 | public function __construct($code = null) |
58 | 58 | { |
59 | 59 | $this->setAcceptableClassCodes(ClassCodeInterface::EntityClassManufacturedMaterial) |
60 | - ->setClassCode(ClassCodeInterface::MANUFACTURED_MATERIAL); |
|
60 | + ->setClassCode(ClassCodeInterface::MANUFACTURED_MATERIAL); |
|
61 | 61 | if ($code && $code instanceof Code) { |
62 | 62 | $this->setCode($code); |
63 | 63 | } |