@@ -44,8 +44,8 @@ |
||
44 | 44 | public function __construct(ManufacturedProduct $manufacturedProduct) |
45 | 45 | { |
46 | 46 | $this->setAcceptableTypeCodes(['', TypeCodeInterface::CONSUMABLE]) |
47 | - ->setManufacturedProduct($manufacturedProduct) |
|
48 | - ->setTypeCode(TypeCodeInterface::CONSUMABLE); |
|
47 | + ->setManufacturedProduct($manufacturedProduct) |
|
48 | + ->setTypeCode(TypeCodeInterface::CONSUMABLE); |
|
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |
@@ -62,9 +62,9 @@ discard block |
||
62 | 62 | public function __construct(ParticipantRole $participant_role) |
63 | 63 | { |
64 | 64 | $this->setAcceptableTypeCodes(['', TypeCodeInterface::CAUSATIVE_AGENT]) |
65 | - ->setTypeCode(TypeCodeInterface::CAUSATIVE_AGENT) |
|
66 | - ->setContextControlCode('OP') |
|
67 | - ->setParticipantRole($participant_role); |
|
65 | + ->setTypeCode(TypeCodeInterface::CAUSATIVE_AGENT) |
|
66 | + ->setContextControlCode('OP') |
|
67 | + ->setParticipantRole($participant_role); |
|
68 | 68 | } |
69 | 69 | |
70 | 70 | /** |
@@ -79,9 +79,9 @@ discard block |
||
79 | 79 | { |
80 | 80 | $el = $this->createElement($doc); |
81 | 81 | $this->renderContextControlCode($el, $doc) |
82 | - ->renderTime($el, $doc) |
|
83 | - ->renderAwarenessCode($el, $doc) |
|
84 | - ->renderParticipantRole($el, $doc); |
|
82 | + ->renderTime($el, $doc) |
|
83 | + ->renderAwarenessCode($el, $doc) |
|
84 | + ->renderParticipantRole($el, $doc); |
|
85 | 85 | return $el; |
86 | 86 | } |
87 | 87 |
@@ -51,8 +51,8 @@ |
||
51 | 51 | public function __construct(AssignedEntity $assigned_entity, string $type_code) |
52 | 52 | { |
53 | 53 | $this->setAssignedEntity($assigned_entity) |
54 | - ->setAcceptableTypeCodes(TypeCodeInterface::x_EncounterParticipant) |
|
55 | - ->setTypeCode($type_code); |
|
54 | + ->setAcceptableTypeCodes(TypeCodeInterface::x_EncounterParticipant) |
|
55 | + ->setTypeCode($type_code); |
|
56 | 56 | } |
57 | 57 | |
58 | 58 | /** |
@@ -56,8 +56,8 @@ |
||
56 | 56 | public function __construct() |
57 | 57 | { |
58 | 58 | $this->setAcceptableTypeCodes(TypeCodeInterface::ParticipationType) |
59 | - ->setTypeCode(TypeCodeInterface::AUTHENTICATOR) |
|
60 | - ->setContextControlCode(''); |
|
59 | + ->setTypeCode(TypeCodeInterface::AUTHENTICATOR) |
|
60 | + ->setContextControlCode(''); |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | /** |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | public function __construct($assignedEntity = null) |
62 | 62 | { |
63 | 63 | $this->setAcceptableTypeCodes(TypeCodeInterface::ParticipationPhysicalPerformer) |
64 | - ->setTypeCode(TypeCodeInterface::PERFORMER); |
|
64 | + ->setTypeCode(TypeCodeInterface::PERFORMER); |
|
65 | 65 | if ($assignedEntity instanceof AssignedEntity) { |
66 | 66 | $this->setAssignedEntity($assignedEntity); |
67 | 67 | } |
@@ -74,8 +74,8 @@ discard block |
||
74 | 74 | { |
75 | 75 | $el = $this->createElement($doc); |
76 | 76 | $this->renderTime($el, $doc) |
77 | - ->renderModeCode($el, $doc) |
|
78 | - ->renderAssignedEntity($el, $doc); |
|
77 | + ->renderModeCode($el, $doc) |
|
78 | + ->renderAssignedEntity($el, $doc); |
|
79 | 79 | return $el; |
80 | 80 | } |
81 | 81 |
@@ -47,7 +47,7 @@ |
||
47 | 47 | public function __construct($policyOrAccount = null) |
48 | 48 | { |
49 | 49 | $this->setAcceptableTypeCodes(['', TypeCodeInterface::COVERED_BY]) |
50 | - ->setTypeCode(''); |
|
50 | + ->setTypeCode(''); |
|
51 | 51 | if ($policyOrAccount && $policyOrAccount instanceof ExtPolicyOrAccount) { |
52 | 52 | $this->setExtPolicyOrAccount($policyOrAccount); |
53 | 53 | } |
@@ -56,7 +56,7 @@ |
||
56 | 56 | public function __construct($ext_code = null) |
57 | 57 | { |
58 | 58 | $this->setAcceptableClassCodes(array('', ClassCodeInterface::QUALIFICATION)) |
59 | - ->setClassCode(ClassCodeInterface::QUALIFICATION); |
|
59 | + ->setClassCode(ClassCodeInterface::QUALIFICATION); |
|
60 | 60 | if ($ext_code) { |
61 | 61 | $this->setExtCode($ext_code); |
62 | 62 | } |
@@ -76,7 +76,7 @@ |
||
76 | 76 | { |
77 | 77 | $el = $this->createElement($doc); |
78 | 78 | $this->renderCodedValue($el, $doc) |
79 | - ->renderOriginalText($el, $doc); |
|
79 | + ->renderOriginalText($el, $doc); |
|
80 | 80 | return $el; |
81 | 81 | } |
82 | 82 |
@@ -50,7 +50,7 @@ |
||
50 | 50 | { |
51 | 51 | $this->setExtEntitlement($ext_entitlement); |
52 | 52 | $this->setAcceptableTypeCodes(['', TypeCodeInterface::COVERED_BY]) |
53 | - ->setTypeCode(TypeCodeInterface::COVERED_BY); |
|
53 | + ->setTypeCode(TypeCodeInterface::COVERED_BY); |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | public function toDOMElement(\DOMDocument $doc): \DOMElement |