Skip to content

Commit

Permalink
latest output from generator
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone committed Dec 7, 2019
1 parent 2846bfe commit 0d67bd2
Show file tree
Hide file tree
Showing 6,202 changed files with 183,561 additions and 109,269 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
*
* Class creation date: November 30th, 2019 23:37+0000
* Class creation date: December 7th, 2019 16:36+0000
*
* PHPFHIR Copyright:
*
Expand Down Expand Up @@ -68,7 +68,7 @@ class FHIRBase64BinaryPrimitive implements PHPFHIRTypeInterface
const FIELD_VALUE = 'value';

/** @var string */
protected $_xmlns = 'http://hl7.org/fhir';
private $_xmlns = 'http://hl7.org/fhir';

/**
* @var null|string
Expand Down Expand Up @@ -177,8 +177,8 @@ public function _writeToFile($fileHandle)
*/
public function _validationErrors()
{
// TODO: implement validation
return [];
$errs = [];
return $errs;
}

/**
Expand Down
11 changes: 5 additions & 6 deletions src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRBinary.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
*
* Class creation date: November 30th, 2019 23:37+0000
* Class creation date: December 7th, 2019 16:36+0000
*
* PHPFHIR Copyright:
*
Expand Down Expand Up @@ -69,12 +69,10 @@ class FHIRBinary implements PHPFHIRCommentContainerInterface, PHPFHIRContainedTy
const FHIR_TYPE_NAME = PHPFHIRConstants::TYPE_NAME_BINARY;

const FIELD_CONTENT_TYPE = 'contentType';
const FIELD_CONTENT_TYPE_EXT = '_contentType';
const FIELD_ID = 'id';
const FIELD_ID_EXT = '_id';

/** @var string */
protected $_xmlns = 'http://hl7.org/fhir';
private $_xmlns = 'http://hl7.org/fhir';

/**
* @var null|\DCarbone\PHPFHIRGenerated\DSTU1\FHIRStringPrimitive
Expand Down Expand Up @@ -231,8 +229,8 @@ public function setId($id = null)
*/
public function _validationErrors()
{
// TODO: implement validation
return [];
$errs = [];
return $errs;
}

/**
Expand Down Expand Up @@ -333,6 +331,7 @@ public function jsonSerialize()
if (null !== ($v = $this->getId())) {
$a[self::FIELD_ID] = $v;
}

return [PHPFHIRConstants::JSON_FIELD_RESOURCE_TYPE => $this->_getResourceType()] + $a;
}

Expand Down
8 changes: 4 additions & 4 deletions src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRBooleanPrimitive.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
*
* Class creation date: November 30th, 2019 23:37+0000
* Class creation date: December 7th, 2019 16:36+0000
*
* PHPFHIR Copyright:
*
Expand Down Expand Up @@ -68,7 +68,7 @@ class FHIRBooleanPrimitive implements PHPFHIRTypeInterface
const FIELD_VALUE = 'value';

/** @var string */
protected $_xmlns = 'http://hl7.org/fhir';
private $_xmlns = 'http://hl7.org/fhir';

/**
* @var null|boolean
Expand Down Expand Up @@ -163,8 +163,8 @@ public function setValue($value = null)
*/
public function _validationErrors()
{
// TODO: implement validation
return [];
$errs = [];
return $errs;
}

/**
Expand Down
8 changes: 4 additions & 4 deletions src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRCodePrimitive.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
*
* Class creation date: November 30th, 2019 23:37+0000
* Class creation date: December 7th, 2019 16:36+0000
*
* PHPFHIR Copyright:
*
Expand Down Expand Up @@ -68,7 +68,7 @@ class FHIRCodePrimitive implements PHPFHIRTypeInterface
const FIELD_VALUE = 'value';

/** @var string */
protected $_xmlns = 'http://hl7.org/fhir';
private $_xmlns = 'http://hl7.org/fhir';

/**
* @var null|string
Expand Down Expand Up @@ -167,8 +167,8 @@ public function setValue($value)
*/
public function _validationErrors()
{
// TODO: implement validation
return [];
$errs = [];
return $errs;
}

/**
Expand Down
8 changes: 4 additions & 4 deletions src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRDatePrimitive.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
*
* Class creation date: November 30th, 2019 23:37+0000
* Class creation date: December 7th, 2019 16:36+0000
*
* PHPFHIR Copyright:
*
Expand Down Expand Up @@ -68,7 +68,7 @@ class FHIRDatePrimitive implements PHPFHIRTypeInterface
const FIELD_VALUE = 'value';

/** @var string */
protected $_xmlns = 'http://hl7.org/fhir';
private $_xmlns = 'http://hl7.org/fhir';

/**
* @var null|string
Expand Down Expand Up @@ -196,8 +196,8 @@ public function _getDateTime()
*/
public function _validationErrors()
{
// TODO: implement validation
return [];
$errs = [];
return $errs;
}

/**
Expand Down
8 changes: 4 additions & 4 deletions src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRDateTimePrimitive.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
*
* Class creation date: November 30th, 2019 23:37+0000
* Class creation date: December 7th, 2019 16:36+0000
*
* PHPFHIR Copyright:
*
Expand Down Expand Up @@ -68,7 +68,7 @@ class FHIRDateTimePrimitive implements PHPFHIRTypeInterface
const FIELD_VALUE = 'value';

/** @var string */
protected $_xmlns = 'http://hl7.org/fhir';
private $_xmlns = 'http://hl7.org/fhir';

/**
* @var null|string
Expand Down Expand Up @@ -197,8 +197,8 @@ public function _getDateTime()
*/
public function _validationErrors()
{
// TODO: implement validation
return [];
$errs = [];
return $errs;
}

/**
Expand Down
8 changes: 4 additions & 4 deletions src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRDecimalPrimitive.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
*
* Class creation date: November 30th, 2019 23:37+0000
* Class creation date: December 7th, 2019 16:36+0000
*
* PHPFHIR Copyright:
*
Expand Down Expand Up @@ -68,7 +68,7 @@ class FHIRDecimalPrimitive implements PHPFHIRTypeInterface
const FIELD_VALUE = 'value';

/** @var string */
protected $_xmlns = 'http://hl7.org/fhir';
private $_xmlns = 'http://hl7.org/fhir';

/**
* @var null|double
Expand Down Expand Up @@ -163,8 +163,8 @@ public function setValue($value)
*/
public function _validationErrors()
{
// TODO: implement validation
return [];
$errs = [];
return $errs;
}

/**
Expand Down
18 changes: 12 additions & 6 deletions src/DCarbone/PHPFHIRGenerated/DSTU1/FHIRElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
* class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
*
* Class creation date: November 30th, 2019 23:37+0000
* Class creation date: December 7th, 2019 16:36+0000
*
* PHPFHIR Copyright:
*
Expand Down Expand Up @@ -75,10 +75,9 @@ class FHIRElement implements PHPFHIRCommentContainerInterface, PHPFHIRTypeInterf

const FIELD_EXTENSION = 'extension';
const FIELD_ID = 'id';
const FIELD_ID_EXT = '_id';

/** @var string */
protected $_xmlns = 'http://hl7.org/fhir';
private $_xmlns = 'http://hl7.org/fhir';

/**
* Optional Extensions Element - found in all resources.
Expand Down Expand Up @@ -278,8 +277,8 @@ public function setId($id = null)
*/
public function _validationErrors()
{
// TODO: implement validation
return [];
$errs = [];
return $errs;
}

/**
Expand Down Expand Up @@ -374,11 +373,18 @@ public function jsonSerialize()
$a[PHPFHIRConstants::JSON_FIELD_FHIR_COMMENTS] = $vs;
}
if ([] !== ($vs = $this->getExtension())) {
$a[self::FIELD_EXTENSION] = $vs;
$a[self::FIELD_EXTENSION] = [];
foreach($vs as $v) {
if (null === $v) {
continue;
}
$a[self::FIELD_EXTENSION][] = $v;
}
}
if (null !== ($v = $this->getId())) {
$a[self::FIELD_ID] = $v;
}

return $a;
}

Expand Down
Loading

0 comments on commit 0d67bd2

Please sign in to comment.