Skip to content

Commit

Permalink
output from v3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone committed Aug 30, 2024
1 parent 92535a6 commit 24f5b01
Show file tree
Hide file tree
Showing 9,036 changed files with 63,294 additions and 61,434 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: August 22nd, 2024 02:47+0000
* Class creation date: August 30th, 2024 22:23+0000
*
* PHPFHIR Copyright:
*
Expand Down Expand Up @@ -82,7 +82,7 @@ class FHIRBase64BinaryPrimitive implements PHPFHIRPrimitiveTypeInterface
private const _VALIDATION_RULES = [];

/** @var array */
private array $_primitiveXmlLocations = [];
private array $_xmlLocations = [];

/**
* FHIRBase64BinaryPrimitive Constructor
Expand Down
24 changes: 12 additions & 12 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: August 22nd, 2024 02:47+0000
* Class creation date: August 30th, 2024 22:23+0000
*
* PHPFHIR Copyright:
*
Expand Down Expand Up @@ -90,7 +90,7 @@ class FHIRBinary implements PHPFHIRCommentContainerInterface, PHPFHIRContainedTy
];

/** @var array */
private array $_primitiveXmlLocations = [];
private array $_xmlLocations = [];

/**
* FHIRBinary Constructor
Expand Down Expand Up @@ -160,10 +160,10 @@ public function setContentType(null|string|FHIRStringPrimitive $contentType = nu
$contentType = new FHIRStringPrimitive($contentType);
}
$this->_trackValueSet($this->contentType, $contentType);
if (!isset($this->_primitiveXmlLocations[self::FIELD_CONTENT_TYPE])) {
$this->_primitiveXmlLocations[self::FIELD_CONTENT_TYPE] = [];
if (!isset($this->_xmlLocations[self::FIELD_CONTENT_TYPE])) {
$this->_xmlLocations[self::FIELD_CONTENT_TYPE] = [];
}
$this->_primitiveXmlLocations[self::FIELD_CONTENT_TYPE][0] = $xmlLocation;
$this->_xmlLocations[self::FIELD_CONTENT_TYPE][0] = $xmlLocation;
$this->contentType = $contentType;
return $this;
}
Expand All @@ -187,10 +187,10 @@ public function setId(null|string|FHIRIdPrimitive $id = null, PHPFHIRXmlLocation
$id = new FHIRIdPrimitive($id);
}
$this->_trackValueSet($this->id, $id);
if (!isset($this->_primitiveXmlLocations[self::FIELD_ID])) {
$this->_primitiveXmlLocations[self::FIELD_ID] = [];
if (!isset($this->_xmlLocations[self::FIELD_ID])) {
$this->_xmlLocations[self::FIELD_ID] = [];
}
$this->_primitiveXmlLocations[self::FIELD_ID][0] = $xmlLocation;
$this->_xmlLocations[self::FIELD_ID][0] = $xmlLocation;
$this->id = $id;
return $this;
}
Expand Down Expand Up @@ -315,21 +315,21 @@ public function xmlSerialize(null|PHPFHIRXmlWriter $xw = null, null|int|PHPFHIRC
$openedRoot = true;
$xw->openRootNode($config, 'Binary', $this->_getSourceXmlns());
}
$locs = $this->_primitiveXmlLocations[self::FIELD_CONTENT_TYPE] ?? [];
$locs = $this->_xmlLocations[self::FIELD_CONTENT_TYPE] ?? [];
if (([] === $locs || (isset($locs[0]) && PHPFHIRXmlLocationEnum::ATTRIBUTE === $locs[0])) && null !== ($v = $this->getContentType())) {
$xw->writeAttribute(self::FIELD_CONTENT_TYPE, $v->getFormattedValue());
}
$locs = $this->_primitiveXmlLocations[self::FIELD_ID] ?? [];
$locs = $this->_xmlLocations[self::FIELD_ID] ?? [];
if (([] === $locs || (isset($locs[0]) && PHPFHIRXmlLocationEnum::ATTRIBUTE === $locs[0])) && null !== ($v = $this->getId())) {
$xw->writeAttribute(self::FIELD_ID, $v->getFormattedValue());
}
$locs = $this->_primitiveXmlLocations[self::FIELD_CONTENT_TYPE] ?? [];
$locs = $this->_xmlLocations[self::FIELD_CONTENT_TYPE] ?? [];
if (([] === $locs || (isset($locs[0]) && PHPFHIRXmlLocationEnum::ELEMENT === $locs[0])) && null !== ($v = $this->getContentType())) {
$xw->startElement(self::FIELD_CONTENT_TYPE);
$v->xmlSerialize($xw, $config);
$xw->endElement();
}
$locs = $this->_primitiveXmlLocations[self::FIELD_ID] ?? [];
$locs = $this->_xmlLocations[self::FIELD_ID] ?? [];
if (([] === $locs || (isset($locs[0]) && PHPFHIRXmlLocationEnum::ELEMENT === $locs[0])) && null !== ($v = $this->getId())) {
$xw->startElement(self::FIELD_ID);
$v->xmlSerialize($xw, $config);
Expand Down
4 changes: 2 additions & 2 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: August 22nd, 2024 02:47+0000
* Class creation date: August 30th, 2024 22:23+0000
*
* PHPFHIR Copyright:
*
Expand Down Expand Up @@ -82,7 +82,7 @@ class FHIRBooleanPrimitive implements PHPFHIRPrimitiveTypeInterface
private const _VALIDATION_RULES = [];

/** @var array */
private array $_primitiveXmlLocations = [];
private array $_xmlLocations = [];

/**
* FHIRBooleanPrimitive Constructor
Expand Down
4 changes: 2 additions & 2 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: August 22nd, 2024 02:47+0000
* Class creation date: August 30th, 2024 22:23+0000
*
* PHPFHIR Copyright:
*
Expand Down Expand Up @@ -86,7 +86,7 @@ class FHIRCodePrimitive implements PHPFHIRPrimitiveTypeInterface
];

/** @var array */
private array $_primitiveXmlLocations = [];
private array $_xmlLocations = [];

/**
* FHIRCodePrimitive Constructor
Expand Down
4 changes: 2 additions & 2 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: August 22nd, 2024 02:47+0000
* Class creation date: August 30th, 2024 22:23+0000
*
* PHPFHIR Copyright:
*
Expand Down Expand Up @@ -86,7 +86,7 @@ class FHIRDatePrimitive implements PHPFHIRPrimitiveTypeInterface
];

/** @var array */
private array $_primitiveXmlLocations = [];
private array $_xmlLocations = [];

/**
* FHIRDatePrimitive Constructor
Expand Down
4 changes: 2 additions & 2 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: August 22nd, 2024 02:47+0000
* Class creation date: August 30th, 2024 22:23+0000
*
* PHPFHIR Copyright:
*
Expand Down Expand Up @@ -86,7 +86,7 @@ class FHIRDateTimePrimitive implements PHPFHIRPrimitiveTypeInterface
];

/** @var array */
private array $_primitiveXmlLocations = [];
private array $_xmlLocations = [];

/**
* FHIRDateTimePrimitive Constructor
Expand Down
4 changes: 2 additions & 2 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: August 22nd, 2024 02:47+0000
* Class creation date: August 30th, 2024 22:23+0000
*
* PHPFHIR Copyright:
*
Expand Down Expand Up @@ -82,7 +82,7 @@ class FHIRDecimalPrimitive implements PHPFHIRPrimitiveTypeInterface
private const _VALIDATION_RULES = [];

/** @var array */
private array $_primitiveXmlLocations = [];
private array $_xmlLocations = [];

/**
* FHIRDecimalPrimitive Constructor
Expand Down
14 changes: 7 additions & 7 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: August 22nd, 2024 02:47+0000
* Class creation date: August 30th, 2024 22:23+0000
*
* PHPFHIR Copyright:
*
Expand Down Expand Up @@ -102,7 +102,7 @@ class FHIRElement implements PHPFHIRCommentContainerInterface, PHPFHIRTypeInterf
];

/** @var array */
private array $_primitiveXmlLocations = [];
private array $_xmlLocations = [];

/**
* FHIRElement Constructor
Expand Down Expand Up @@ -231,10 +231,10 @@ public function setId(null|string|FHIRIdPrimitive $id = null, PHPFHIRXmlLocation
$id = new FHIRIdPrimitive($id);
}
$this->_trackValueSet($this->id, $id);
if (!isset($this->_primitiveXmlLocations[self::FIELD_ID])) {
$this->_primitiveXmlLocations[self::FIELD_ID] = [];
if (!isset($this->_xmlLocations[self::FIELD_ID])) {
$this->_xmlLocations[self::FIELD_ID] = [];
}
$this->_primitiveXmlLocations[self::FIELD_ID][0] = $xmlLocation;
$this->_xmlLocations[self::FIELD_ID][0] = $xmlLocation;
$this->id = $id;
return $this;
}
Expand Down Expand Up @@ -353,7 +353,7 @@ public function xmlSerialize(null|PHPFHIRXmlWriter $xw = null, null|int|PHPFHIRC
$openedRoot = true;
$xw->openRootNode($config, 'Element', $this->_getSourceXmlns());
}
$locs = $this->_primitiveXmlLocations[self::FIELD_ID] ?? [];
$locs = $this->_xmlLocations[self::FIELD_ID] ?? [];
if (([] === $locs || (isset($locs[0]) && PHPFHIRXmlLocationEnum::ATTRIBUTE === $locs[0])) && null !== ($v = $this->getId())) {
$xw->writeAttribute(self::FIELD_ID, $v->getFormattedValue());
}
Expand All @@ -362,7 +362,7 @@ public function xmlSerialize(null|PHPFHIRXmlWriter $xw = null, null|int|PHPFHIRC
$v->xmlSerialize($xw, $config);
$xw->endElement();
}
$locs = $this->_primitiveXmlLocations[self::FIELD_ID] ?? [];
$locs = $this->_xmlLocations[self::FIELD_ID] ?? [];
if (([] === $locs || (isset($locs[0]) && PHPFHIRXmlLocationEnum::ELEMENT === $locs[0])) && null !== ($v = $this->getId())) {
$xw->startElement(self::FIELD_ID);
$v->xmlSerialize($xw, $config);
Expand Down
Loading

0 comments on commit 24f5b01

Please sign in to comment.