Skip to content

Commit 3f9234f

Browse files
committed
v3.0.6 output
1 parent 1623dc7 commit 3f9234f

File tree

9,036 files changed

+10691
-33888
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

9,036 files changed

+10691
-33888
lines changed

src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRBase64BinaryPrimitive.php

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
77
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
88
*
9-
* Class creation date: July 10th, 2024 03:24+0000
9+
* Class creation date: August 7th, 2024 02:07+0000
1010
*
1111
* PHPFHIR Copyright:
1212
*
@@ -72,9 +72,7 @@ class FHIRBase64BinaryPrimitive implements PHPFHIRPrimitiveTypeInterface
7272

7373
const FIELD_VALUE = 'value';
7474

75-
/**
76-
* @var null|string
77-
*/
75+
/** @var null|string */
7876
protected null|string $value = null;
7977

8078
/**
@@ -260,12 +258,7 @@ public function xmlSerialize(null|PHPFHIRXmlWriter $xw = null, null|int|PHPFHIRC
260258
$openedRoot = true;
261259
$xw->openRootNode($config, 'base64Binary_primitive', $this->_getSourceXmlns());
262260
}
263-
if (($this->_primitiveXmlLocations[self::FIELD_VALUE] ?? PHPFHIRXmlLocationEnum::ATTRIBUTE) === PHPFHIRXmlLocationEnum::ATTRIBUTE) {
264-
$xw->writeAttribute(self::FIELD_VALUE, $this->getFormattedValue());
265-
}
266-
if (($this->_primitiveXmlLocations[self::FIELD_VALUE] ?? PHPFHIRXmlLocationEnum::ATTRIBUTE) === PHPFHIRXmlLocationEnum::ELEMENT) {
267-
$xw->writeSimpleElement(self::FIELD_VALUE, $this->getFormattedValue());
268-
}
261+
$xw->writeAttribute(self::FIELD_VALUE, $this->getFormattedValue());
269262
if (isset($openedRoot) && $openedRoot) {
270263
$xw->endElement();
271264
}

src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRBinary.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
77
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
88
*
9-
* Class creation date: July 10th, 2024 03:24+0000
9+
* Class creation date: August 7th, 2024 02:07+0000
1010
*
1111
* PHPFHIR Copyright:
1212
*
@@ -74,13 +74,9 @@ class FHIRBinary implements PHPFHIRCommentContainerInterface, PHPFHIRContainedTy
7474
const FIELD_CONTENT_TYPE = 'contentType';
7575
const FIELD_ID = 'id';
7676

77-
/**
78-
* @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRStringPrimitive
79-
*/
77+
/** @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRStringPrimitive */
8078
protected null|FHIRStringPrimitive $contentType = null;
81-
/**
82-
* @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRIdPrimitive
83-
*/
79+
/** @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRIdPrimitive */
8480
protected null|FHIRIdPrimitive $id = null;
8581

8682
/**

src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRBooleanPrimitive.php

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
77
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
88
*
9-
* Class creation date: July 10th, 2024 03:24+0000
9+
* Class creation date: August 7th, 2024 02:07+0000
1010
*
1111
* PHPFHIR Copyright:
1212
*
@@ -72,9 +72,7 @@ class FHIRBooleanPrimitive implements PHPFHIRPrimitiveTypeInterface
7272

7373
const FIELD_VALUE = 'value';
7474

75-
/**
76-
* @var null|bool
77-
*/
75+
/** @var null|bool */
7876
protected null|bool $value = null;
7977

8078
/**
@@ -247,12 +245,7 @@ public function xmlSerialize(null|PHPFHIRXmlWriter $xw = null, null|int|PHPFHIRC
247245
$openedRoot = true;
248246
$xw->openRootNode($config, 'boolean_primitive', $this->_getSourceXmlns());
249247
}
250-
if (($this->_primitiveXmlLocations[self::FIELD_VALUE] ?? PHPFHIRXmlLocationEnum::ATTRIBUTE) === PHPFHIRXmlLocationEnum::ATTRIBUTE) {
251-
$xw->writeAttribute(self::FIELD_VALUE, $this->getFormattedValue());
252-
}
253-
if (($this->_primitiveXmlLocations[self::FIELD_VALUE] ?? PHPFHIRXmlLocationEnum::ATTRIBUTE) === PHPFHIRXmlLocationEnum::ELEMENT) {
254-
$xw->writeSimpleElement(self::FIELD_VALUE, $this->getFormattedValue());
255-
}
248+
$xw->writeAttribute(self::FIELD_VALUE, $this->getFormattedValue());
256249
if (isset($openedRoot) && $openedRoot) {
257250
$xw->endElement();
258251
}

src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRCodePrimitive.php

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
77
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
88
*
9-
* Class creation date: July 10th, 2024 03:24+0000
9+
* Class creation date: August 7th, 2024 02:07+0000
1010
*
1111
* PHPFHIR Copyright:
1212
*
@@ -72,9 +72,7 @@ class FHIRCodePrimitive implements PHPFHIRPrimitiveTypeInterface
7272

7373
const FIELD_VALUE = 'value';
7474

75-
/**
76-
* @var null|string
77-
*/
75+
/** @var null|string */
7876
protected null|string $value = null;
7977

8078
/**
@@ -249,12 +247,7 @@ public function xmlSerialize(null|PHPFHIRXmlWriter $xw = null, null|int|PHPFHIRC
249247
$openedRoot = true;
250248
$xw->openRootNode($config, 'code_primitive', $this->_getSourceXmlns());
251249
}
252-
if (($this->_primitiveXmlLocations[self::FIELD_VALUE] ?? PHPFHIRXmlLocationEnum::ATTRIBUTE) === PHPFHIRXmlLocationEnum::ATTRIBUTE) {
253-
$xw->writeAttribute(self::FIELD_VALUE, $this->getFormattedValue());
254-
}
255-
if (($this->_primitiveXmlLocations[self::FIELD_VALUE] ?? PHPFHIRXmlLocationEnum::ATTRIBUTE) === PHPFHIRXmlLocationEnum::ELEMENT) {
256-
$xw->writeSimpleElement(self::FIELD_VALUE, $this->getFormattedValue());
257-
}
250+
$xw->writeAttribute(self::FIELD_VALUE, $this->getFormattedValue());
258251
if (isset($openedRoot) && $openedRoot) {
259252
$xw->endElement();
260253
}

src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRDatePrimitive.php

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
77
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
88
*
9-
* Class creation date: July 10th, 2024 03:24+0000
9+
* Class creation date: August 7th, 2024 02:07+0000
1010
*
1111
* PHPFHIR Copyright:
1212
*
@@ -72,9 +72,7 @@ class FHIRDatePrimitive implements PHPFHIRPrimitiveTypeInterface
7272

7373
const FIELD_VALUE = 'value';
7474

75-
/**
76-
* @var null|string
77-
*/
75+
/** @var null|string */
7876
protected null|string $value = null;
7977

8078
/**
@@ -290,12 +288,7 @@ public function xmlSerialize(null|PHPFHIRXmlWriter $xw = null, null|int|PHPFHIRC
290288
$openedRoot = true;
291289
$xw->openRootNode($config, 'date_primitive', $this->_getSourceXmlns());
292290
}
293-
if (($this->_primitiveXmlLocations[self::FIELD_VALUE] ?? PHPFHIRXmlLocationEnum::ATTRIBUTE) === PHPFHIRXmlLocationEnum::ATTRIBUTE) {
294-
$xw->writeAttribute(self::FIELD_VALUE, $this->getFormattedValue());
295-
}
296-
if (($this->_primitiveXmlLocations[self::FIELD_VALUE] ?? PHPFHIRXmlLocationEnum::ATTRIBUTE) === PHPFHIRXmlLocationEnum::ELEMENT) {
297-
$xw->writeSimpleElement(self::FIELD_VALUE, $this->getFormattedValue());
298-
}
291+
$xw->writeAttribute(self::FIELD_VALUE, $this->getFormattedValue());
299292
if (isset($openedRoot) && $openedRoot) {
300293
$xw->endElement();
301294
}

src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRDateTimePrimitive.php

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
77
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
88
*
9-
* Class creation date: July 10th, 2024 03:24+0000
9+
* Class creation date: August 7th, 2024 02:07+0000
1010
*
1111
* PHPFHIR Copyright:
1212
*
@@ -72,9 +72,7 @@ class FHIRDateTimePrimitive implements PHPFHIRPrimitiveTypeInterface
7272

7373
const FIELD_VALUE = 'value';
7474

75-
/**
76-
* @var null|string
77-
*/
75+
/** @var null|string */
7876
protected null|string $value = null;
7977

8078
/**
@@ -294,12 +292,7 @@ public function xmlSerialize(null|PHPFHIRXmlWriter $xw = null, null|int|PHPFHIRC
294292
$openedRoot = true;
295293
$xw->openRootNode($config, 'dateTime_primitive', $this->_getSourceXmlns());
296294
}
297-
if (($this->_primitiveXmlLocations[self::FIELD_VALUE] ?? PHPFHIRXmlLocationEnum::ATTRIBUTE) === PHPFHIRXmlLocationEnum::ATTRIBUTE) {
298-
$xw->writeAttribute(self::FIELD_VALUE, $this->getFormattedValue());
299-
}
300-
if (($this->_primitiveXmlLocations[self::FIELD_VALUE] ?? PHPFHIRXmlLocationEnum::ATTRIBUTE) === PHPFHIRXmlLocationEnum::ELEMENT) {
301-
$xw->writeSimpleElement(self::FIELD_VALUE, $this->getFormattedValue());
302-
}
295+
$xw->writeAttribute(self::FIELD_VALUE, $this->getFormattedValue());
303296
if (isset($openedRoot) && $openedRoot) {
304297
$xw->endElement();
305298
}

src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRDecimalPrimitive.php

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
77
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
88
*
9-
* Class creation date: July 10th, 2024 03:24+0000
9+
* Class creation date: August 7th, 2024 02:07+0000
1010
*
1111
* PHPFHIR Copyright:
1212
*
@@ -72,9 +72,7 @@ class FHIRDecimalPrimitive implements PHPFHIRPrimitiveTypeInterface
7272

7373
const FIELD_VALUE = 'value';
7474

75-
/**
76-
* @var null|float
77-
*/
75+
/** @var null|float */
7876
protected null|float $value = null;
7977

8078
/**
@@ -267,12 +265,7 @@ public function xmlSerialize(null|PHPFHIRXmlWriter $xw = null, null|int|PHPFHIRC
267265
$openedRoot = true;
268266
$xw->openRootNode($config, 'decimal_primitive', $this->_getSourceXmlns());
269267
}
270-
if (($this->_primitiveXmlLocations[self::FIELD_VALUE] ?? PHPFHIRXmlLocationEnum::ATTRIBUTE) === PHPFHIRXmlLocationEnum::ATTRIBUTE) {
271-
$xw->writeAttribute(self::FIELD_VALUE, $this->getFormattedValue());
272-
}
273-
if (($this->_primitiveXmlLocations[self::FIELD_VALUE] ?? PHPFHIRXmlLocationEnum::ATTRIBUTE) === PHPFHIRXmlLocationEnum::ELEMENT) {
274-
$xw->writeSimpleElement(self::FIELD_VALUE, $this->getFormattedValue());
275-
}
268+
$xw->writeAttribute(self::FIELD_VALUE, $this->getFormattedValue());
276269
if (isset($openedRoot) && $openedRoot) {
277270
$xw->endElement();
278271
}

src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRElement.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
77
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
88
*
9-
* Class creation date: July 10th, 2024 03:24+0000
9+
* Class creation date: August 7th, 2024 02:07+0000
1010
*
1111
* PHPFHIR Copyright:
1212
*
@@ -85,13 +85,10 @@ class FHIRElement implements PHPFHIRCommentContainerInterface, PHPFHIRTypeInterf
8585
* elements, an \@id referenced from the Narrative, or extensions
8686
*
8787
* An extension - additional local content. The extension URL defines it's meaning
88-
*
8988
* @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRElement\FHIRExtension[]
9089
*/
9190
protected null|array $extension = [];
92-
/**
93-
* @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRIdPrimitive
94-
*/
91+
/** @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRIdPrimitive */
9592
protected null|FHIRIdPrimitive $id = null;
9693

9794
/**

src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRElement/FHIRAddress.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
77
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
88
*
9-
* Class creation date: July 10th, 2024 03:24+0000
9+
* Class creation date: August 7th, 2024 02:07+0000
1010
*
1111
* PHPFHIR Copyright:
1212
*
@@ -102,7 +102,6 @@ class FHIRAddress extends FHIRElement
102102
* If the element is present, it must have either a \@value, an \@id, or extensions
103103
*
104104
* The purpose of this address.
105-
*
106105
* @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRElement\FHIRAddressUse
107106
*/
108107
protected null|FHIRAddressUse $use = null;
@@ -111,7 +110,6 @@ class FHIRAddress extends FHIRElement
111110
* If the element is present, it must have either a \@value, an \@id, or extensions
112111
*
113112
* A full text representation of the address.
114-
*
115113
* @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRElement\FHIRString
116114
*/
117115
protected null|FHIRString $text = null;
@@ -121,7 +119,6 @@ class FHIRAddress extends FHIRElement
121119
*
122120
* This component contains the house number, apartment number, street name, street
123121
* direction, P.O. Box number, delivery hints, and similar address information.
124-
*
125122
* @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRElement\FHIRString[]
126123
*/
127124
protected null|array $line = [];
@@ -130,7 +127,6 @@ class FHIRAddress extends FHIRElement
130127
* If the element is present, it must have either a \@value, an \@id, or extensions
131128
*
132129
* The name of the city, town, village or other community or delivery center.
133-
*
134130
* @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRElement\FHIRString
135131
*/
136132
protected null|FHIRString $city = null;
@@ -140,7 +136,6 @@ class FHIRAddress extends FHIRElement
140136
*
141137
* Sub-unit of a country with limited sovereignty in a federally organized country.
142138
* A code may be used if codes are in common use (i.e. US 2 letter state codes).
143-
*
144139
* @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRElement\FHIRString
145140
*/
146141
protected null|FHIRString $state = null;
@@ -149,7 +144,6 @@ class FHIRAddress extends FHIRElement
149144
* If the element is present, it must have either a \@value, an \@id, or extensions
150145
*
151146
* A postal code designating a region defined by the postal service.
152-
*
153147
* @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRElement\FHIRString
154148
*/
155149
protected null|FHIRString $zip = null;
@@ -158,7 +152,6 @@ class FHIRAddress extends FHIRElement
158152
* If the element is present, it must have either a \@value, an \@id, or extensions
159153
*
160154
* Country - a nation as commonly understood or generally accepted.
161-
*
162155
* @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRElement\FHIRString
163156
*/
164157
protected null|FHIRString $country = null;
@@ -168,7 +161,6 @@ class FHIRAddress extends FHIRElement
168161
* elements, an \@id referenced from the Narrative, or extensions
169162
*
170163
* Time period when address was/is in use.
171-
*
172164
* @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRElement\FHIRPeriod
173165
*/
174166
protected null|FHIRPeriod $period = null;

src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRElement/FHIRAddressUse.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
77
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
88
*
9-
* Class creation date: July 10th, 2024 03:24+0000
9+
* Class creation date: August 7th, 2024 02:07+0000
1010
*
1111
* PHPFHIR Copyright:
1212
*
@@ -81,9 +81,7 @@ class FHIRAddressUse extends FHIRElement
8181

8282
const FIELD_VALUE = 'value';
8383

84-
/**
85-
* @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRStringPrimitive\FHIRAddressUseList
86-
*/
84+
/** @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRStringPrimitive\FHIRAddressUseList */
8785
protected null|FHIRAddressUseList $value = null;
8886

8987
/**

src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRElement/FHIRAggregationMode.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
77
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
88
*
9-
* Class creation date: July 10th, 2024 03:24+0000
9+
* Class creation date: August 7th, 2024 02:07+0000
1010
*
1111
* PHPFHIR Copyright:
1212
*
@@ -81,9 +81,7 @@ class FHIRAggregationMode extends FHIRElement
8181

8282
const FIELD_VALUE = 'value';
8383

84-
/**
85-
* @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRStringPrimitive\FHIRAggregationModeList
86-
*/
84+
/** @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRStringPrimitive\FHIRAggregationModeList */
8785
protected null|FHIRAggregationModeList $value = null;
8886

8987
/**

src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRElement/FHIRAlertStatus.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
77
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
88
*
9-
* Class creation date: July 10th, 2024 03:24+0000
9+
* Class creation date: August 7th, 2024 02:07+0000
1010
*
1111
* PHPFHIR Copyright:
1212
*
@@ -82,9 +82,7 @@ class FHIRAlertStatus extends FHIRElement
8282

8383
const FIELD_VALUE = 'value';
8484

85-
/**
86-
* @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRStringPrimitive\FHIRAlertStatusList
87-
*/
85+
/** @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRStringPrimitive\FHIRAlertStatusList */
8886
protected null|FHIRAlertStatusList $value = null;
8987

9088
/**

0 commit comments

Comments
 (0)