chore(deps): bump phpoffice/phpspreadsheet from 3.7.0 to 3.8.0 (#7936)
[openemr.git] / src / FHIR / R4 / FHIRResourceContainer.php
blobbaf8bcc110e9e927792361b515d05b933995c2b8
1 <?php
3 namespace OpenEMR\FHIR\R4;
5 /*!
6 * This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
7 * class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
9 * Class creation date: June 14th, 2019
11 * PHPFHIR Copyright:
13 * Copyright 2016-2017 Daniel Carbone (daniel.p.carbone@gmail.com)
15 * Licensed under the Apache License, Version 2.0 (the "License");
16 * you may not use this file except in compliance with the License.
17 * You may obtain a copy of the License at
19 * http://www.apache.org/licenses/LICENSE-2.0
21 * Unless required by applicable law or agreed to in writing, software
22 * distributed under the License is distributed on an "AS IS" BASIS,
23 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24 * See the License for the specific language governing permissions and
25 * limitations under the License.
28 * FHIR Copyright Notice:
30 * Copyright (c) 2011+, HL7, Inc.
31 * All rights reserved.
33 * Redistribution and use in source and binary forms, with or without modification,
34 * are permitted provided that the following conditions are met:
36 * * Redistributions of source code must retain the above copyright notice, this
37 * list of conditions and the following disclaimer.
38 * * Redistributions in binary form must reproduce the above copyright notice,
39 * this list of conditions and the following disclaimer in the documentation
40 * and/or other materials provided with the distribution.
41 * * Neither the name of HL7 nor the names of its contributors may be used to
42 * endorse or promote products derived from this software without specific
43 * prior written permission.
45 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
46 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
47 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
48 * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
49 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
50 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
51 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
52 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
53 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
54 * POSSIBILITY OF SUCH DAMAGE.
57 * Generated on Thu, Dec 27, 2018 22:37+1100 for FHIR v4.0.0
59 * Note: the schemas & schematrons do not contain all of the rules about what makes resources
60 * valid. Implementers will still need to be familiar with the content of the specification and with
61 * any profiles that apply to the resources in order to make a conformant implementation.
65 class FHIRResourceContainer implements \JsonSerializable
67 /**
68 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRAccount
70 public $Account = null;
72 /**
73 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRActivityDefinition
75 public $ActivityDefinition = null;
77 /**
78 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRAdverseEvent
80 public $AdverseEvent = null;
82 /**
83 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRAllergyIntolerance
85 public $AllergyIntolerance = null;
87 /**
88 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRAppointment
90 public $Appointment = null;
92 /**
93 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRAppointmentResponse
95 public $AppointmentResponse = null;
97 /**
98 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRAuditEvent
100 public $AuditEvent = null;
103 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRBasic
105 public $Basic = null;
108 * @var \OpenEMR\FHIR\R4\FHIRResource\FHIRBinary
110 public $Binary = null;
113 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRBiologicallyDerivedProduct
115 public $BiologicallyDerivedProduct = null;
118 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRBodyStructure
120 public $BodyStructure = null;
123 * @var \OpenEMR\FHIR\R4\FHIRResource\FHIRBundle
125 public $Bundle = null;
128 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCapabilityStatement
130 public $CapabilityStatement = null;
133 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCarePlan
135 public $CarePlan = null;
138 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCareTeam
140 public $CareTeam = null;
143 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCatalogEntry
145 public $CatalogEntry = null;
148 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRChargeItem
150 public $ChargeItem = null;
153 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRChargeItemDefinition
155 public $ChargeItemDefinition = null;
158 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRClaim
160 public $Claim = null;
163 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRClaimResponse
165 public $ClaimResponse = null;
168 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRClinicalImpression
170 public $ClinicalImpression = null;
173 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCodeSystem
175 public $CodeSystem = null;
178 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCommunication
180 public $Communication = null;
183 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCommunicationRequest
185 public $CommunicationRequest = null;
188 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCompartmentDefinition
190 public $CompartmentDefinition = null;
193 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRComposition
195 public $Composition = null;
198 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRConceptMap
200 public $ConceptMap = null;
203 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCondition
205 public $Condition = null;
208 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRConsent
210 public $Consent = null;
213 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRContract
215 public $Contract = null;
218 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCoverage
220 public $Coverage = null;
223 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCoverageEligibilityRequest
225 public $CoverageEligibilityRequest = null;
228 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCoverageEligibilityResponse
230 public $CoverageEligibilityResponse = null;
233 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDetectedIssue
235 public $DetectedIssue = null;
238 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDevice
240 public $Device = null;
243 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDeviceDefinition
245 public $DeviceDefinition = null;
248 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDeviceMetric
250 public $DeviceMetric = null;
253 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDeviceRequest
255 public $DeviceRequest = null;
258 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDeviceUseStatement
260 public $DeviceUseStatement = null;
263 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDiagnosticReport
265 public $DiagnosticReport = null;
268 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDocumentManifest
270 public $DocumentManifest = null;
273 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDocumentReference
275 public $DocumentReference = null;
278 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREffectEvidenceSynthesis
280 public $EffectEvidenceSynthesis = null;
283 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREncounter
285 public $Encounter = null;
288 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREndpoint
290 public $Endpoint = null;
293 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREnrollmentRequest
295 public $EnrollmentRequest = null;
298 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREnrollmentResponse
300 public $EnrollmentResponse = null;
303 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREpisodeOfCare
305 public $EpisodeOfCare = null;
308 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREventDefinition
310 public $EventDefinition = null;
313 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREvidence
315 public $Evidence = null;
318 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREvidenceVariable
320 public $EvidenceVariable = null;
323 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRExampleScenario
325 public $ExampleScenario = null;
328 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRExplanationOfBenefit
330 public $ExplanationOfBenefit = null;
333 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRFamilyMemberHistory
335 public $FamilyMemberHistory = null;
338 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRFlag
340 public $Flag = null;
343 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRGoal
345 public $Goal = null;
348 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRGraphDefinition
350 public $GraphDefinition = null;
353 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRGroup
355 public $Group = null;
358 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRGuidanceResponse
360 public $GuidanceResponse = null;
363 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRHealthcareService
365 public $HealthcareService = null;
368 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRImagingStudy
370 public $ImagingStudy = null;
373 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRImmunization
375 public $Immunization = null;
378 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRImmunizationEvaluation
380 public $ImmunizationEvaluation = null;
383 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRImmunizationRecommendation
385 public $ImmunizationRecommendation = null;
388 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRImplementationGuide
390 public $ImplementationGuide = null;
393 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRInsurancePlan
395 public $InsurancePlan = null;
398 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRInvoice
400 public $Invoice = null;
403 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRLibrary
405 public $Library = null;
408 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRLinkage
410 public $Linkage = null;
413 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRList
415 public $List = null;
418 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRLocation
420 public $Location = null;
423 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMeasure
425 public $Measure = null;
428 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMeasureReport
430 public $MeasureReport = null;
433 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedia
435 public $Media = null;
438 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedication
440 public $Medication = null;
443 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicationAdministration
445 public $MedicationAdministration = null;
448 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicationDispense
450 public $MedicationDispense = null;
453 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicationKnowledge
455 public $MedicationKnowledge = null;
458 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicationRequest
460 public $MedicationRequest = null;
463 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicationStatement
465 public $MedicationStatement = null;
468 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProduct
470 public $MedicinalProduct = null;
473 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductAuthorization
475 public $MedicinalProductAuthorization = null;
478 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductContraindication
480 public $MedicinalProductContraindication = null;
483 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductIndication
485 public $MedicinalProductIndication = null;
488 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductIngredient
490 public $MedicinalProductIngredient = null;
493 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductInteraction
495 public $MedicinalProductInteraction = null;
498 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductManufactured
500 public $MedicinalProductManufactured = null;
503 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductPackaged
505 public $MedicinalProductPackaged = null;
508 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductPharmaceutical
510 public $MedicinalProductPharmaceutical = null;
513 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductUndesirableEffect
515 public $MedicinalProductUndesirableEffect = null;
518 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMessageDefinition
520 public $MessageDefinition = null;
523 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMessageHeader
525 public $MessageHeader = null;
528 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMolecularSequence
530 public $MolecularSequence = null;
533 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRNamingSystem
535 public $NamingSystem = null;
538 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRNutritionOrder
540 public $NutritionOrder = null;
543 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRObservation
545 public $Observation = null;
548 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRObservationDefinition
550 public $ObservationDefinition = null;
553 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIROperationDefinition
555 public $OperationDefinition = null;
558 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIROperationOutcome
560 public $OperationOutcome = null;
563 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIROrganization
565 public $Organization = null;
568 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIROrganizationAffiliation
570 public $OrganizationAffiliation = null;
573 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPatient
575 public $Patient = null;
578 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPaymentNotice
580 public $PaymentNotice = null;
583 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPaymentReconciliation
585 public $PaymentReconciliation = null;
588 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPerson
590 public $Person = null;
593 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPlanDefinition
595 public $PlanDefinition = null;
598 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPractitioner
600 public $Practitioner = null;
603 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPractitionerRole
605 public $PractitionerRole = null;
608 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRProcedure
610 public $Procedure = null;
613 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRProvenance
615 public $Provenance = null;
618 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRQuestionnaire
620 public $Questionnaire = null;
623 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRQuestionnaireResponse
625 public $QuestionnaireResponse = null;
628 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRRelatedPerson
630 public $RelatedPerson = null;
633 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRRequestGroup
635 public $RequestGroup = null;
638 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRResearchDefinition
640 public $ResearchDefinition = null;
643 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRResearchElementDefinition
645 public $ResearchElementDefinition = null;
648 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRResearchStudy
650 public $ResearchStudy = null;
653 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRResearchSubject
655 public $ResearchSubject = null;
658 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRRiskAssessment
660 public $RiskAssessment = null;
663 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRRiskEvidenceSynthesis
665 public $RiskEvidenceSynthesis = null;
668 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSchedule
670 public $Schedule = null;
673 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSearchParameter
675 public $SearchParameter = null;
678 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRServiceRequest
680 public $ServiceRequest = null;
683 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSlot
685 public $Slot = null;
688 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSpecimen
690 public $Specimen = null;
693 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSpecimenDefinition
695 public $SpecimenDefinition = null;
698 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRStructureDefinition
700 public $StructureDefinition = null;
703 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRStructureMap
705 public $StructureMap = null;
708 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubscription
710 public $Subscription = null;
713 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstance
715 public $Substance = null;
718 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstanceNucleicAcid
720 public $SubstanceNucleicAcid = null;
723 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstancePolymer
725 public $SubstancePolymer = null;
728 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstanceProtein
730 public $SubstanceProtein = null;
733 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstanceReferenceInformation
735 public $SubstanceReferenceInformation = null;
738 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstanceSourceMaterial
740 public $SubstanceSourceMaterial = null;
743 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstanceSpecification
745 public $SubstanceSpecification = null;
748 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSupplyDelivery
750 public $SupplyDelivery = null;
753 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSupplyRequest
755 public $SupplyRequest = null;
758 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRTask
760 public $Task = null;
763 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRTerminologyCapabilities
765 public $TerminologyCapabilities = null;
768 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRTestReport
770 public $TestReport = null;
773 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRTestScript
775 public $TestScript = null;
778 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRValueSet
780 public $ValueSet = null;
783 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRVerificationResult
785 public $VerificationResult = null;
788 * @var \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRVisionPrescription
790 public $VisionPrescription = null;
793 * @var \OpenEMR\FHIR\R4\FHIRResource\FHIRParameters
795 public $Parameters = null;
798 * @var string
800 private $_fhirElementName = 'ResourceContainer';
803 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRAccount
805 public function getAccount()
807 return $this->Account;
811 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRAccount $Account
812 * @return $this
814 public function setAccount($Account)
816 $this->Account = $Account;
817 return $this;
821 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRActivityDefinition
823 public function getActivityDefinition()
825 return $this->ActivityDefinition;
829 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRActivityDefinition $ActivityDefinition
830 * @return $this
832 public function setActivityDefinition($ActivityDefinition)
834 $this->ActivityDefinition = $ActivityDefinition;
835 return $this;
839 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRAdverseEvent
841 public function getAdverseEvent()
843 return $this->AdverseEvent;
847 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRAdverseEvent $AdverseEvent
848 * @return $this
850 public function setAdverseEvent($AdverseEvent)
852 $this->AdverseEvent = $AdverseEvent;
853 return $this;
857 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRAllergyIntolerance
859 public function getAllergyIntolerance()
861 return $this->AllergyIntolerance;
865 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRAllergyIntolerance $AllergyIntolerance
866 * @return $this
868 public function setAllergyIntolerance($AllergyIntolerance)
870 $this->AllergyIntolerance = $AllergyIntolerance;
871 return $this;
875 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRAppointment
877 public function getAppointment()
879 return $this->Appointment;
883 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRAppointment $Appointment
884 * @return $this
886 public function setAppointment($Appointment)
888 $this->Appointment = $Appointment;
889 return $this;
893 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRAppointmentResponse
895 public function getAppointmentResponse()
897 return $this->AppointmentResponse;
901 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRAppointmentResponse $AppointmentResponse
902 * @return $this
904 public function setAppointmentResponse($AppointmentResponse)
906 $this->AppointmentResponse = $AppointmentResponse;
907 return $this;
911 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRAuditEvent
913 public function getAuditEvent()
915 return $this->AuditEvent;
919 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRAuditEvent $AuditEvent
920 * @return $this
922 public function setAuditEvent($AuditEvent)
924 $this->AuditEvent = $AuditEvent;
925 return $this;
929 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRBasic
931 public function getBasic()
933 return $this->Basic;
937 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRBasic $Basic
938 * @return $this
940 public function setBasic($Basic)
942 $this->Basic = $Basic;
943 return $this;
947 * @return \OpenEMR\FHIR\R4\FHIRResource\FHIRBinary
949 public function getBinary()
951 return $this->Binary;
955 * @param \OpenEMR\FHIR\R4\FHIRResource\FHIRBinary $Binary
956 * @return $this
958 public function setBinary($Binary)
960 $this->Binary = $Binary;
961 return $this;
965 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRBiologicallyDerivedProduct
967 public function getBiologicallyDerivedProduct()
969 return $this->BiologicallyDerivedProduct;
973 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRBiologicallyDerivedProduct $BiologicallyDerivedProduct
974 * @return $this
976 public function setBiologicallyDerivedProduct($BiologicallyDerivedProduct)
978 $this->BiologicallyDerivedProduct = $BiologicallyDerivedProduct;
979 return $this;
983 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRBodyStructure
985 public function getBodyStructure()
987 return $this->BodyStructure;
991 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRBodyStructure $BodyStructure
992 * @return $this
994 public function setBodyStructure($BodyStructure)
996 $this->BodyStructure = $BodyStructure;
997 return $this;
1001 * @return \OpenEMR\FHIR\R4\FHIRResource\FHIRBundle
1003 public function getBundle()
1005 return $this->Bundle;
1009 * @param \OpenEMR\FHIR\R4\FHIRResource\FHIRBundle $Bundle
1010 * @return $this
1012 public function setBundle($Bundle)
1014 $this->Bundle = $Bundle;
1015 return $this;
1019 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCapabilityStatement
1021 public function getCapabilityStatement()
1023 return $this->CapabilityStatement;
1027 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCapabilityStatement $CapabilityStatement
1028 * @return $this
1030 public function setCapabilityStatement($CapabilityStatement)
1032 $this->CapabilityStatement = $CapabilityStatement;
1033 return $this;
1037 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCarePlan
1039 public function getCarePlan()
1041 return $this->CarePlan;
1045 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCarePlan $CarePlan
1046 * @return $this
1048 public function setCarePlan($CarePlan)
1050 $this->CarePlan = $CarePlan;
1051 return $this;
1055 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCareTeam
1057 public function getCareTeam()
1059 return $this->CareTeam;
1063 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCareTeam $CareTeam
1064 * @return $this
1066 public function setCareTeam($CareTeam)
1068 $this->CareTeam = $CareTeam;
1069 return $this;
1073 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCatalogEntry
1075 public function getCatalogEntry()
1077 return $this->CatalogEntry;
1081 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCatalogEntry $CatalogEntry
1082 * @return $this
1084 public function setCatalogEntry($CatalogEntry)
1086 $this->CatalogEntry = $CatalogEntry;
1087 return $this;
1091 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRChargeItem
1093 public function getChargeItem()
1095 return $this->ChargeItem;
1099 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRChargeItem $ChargeItem
1100 * @return $this
1102 public function setChargeItem($ChargeItem)
1104 $this->ChargeItem = $ChargeItem;
1105 return $this;
1109 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRChargeItemDefinition
1111 public function getChargeItemDefinition()
1113 return $this->ChargeItemDefinition;
1117 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRChargeItemDefinition $ChargeItemDefinition
1118 * @return $this
1120 public function setChargeItemDefinition($ChargeItemDefinition)
1122 $this->ChargeItemDefinition = $ChargeItemDefinition;
1123 return $this;
1127 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRClaim
1129 public function getClaim()
1131 return $this->Claim;
1135 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRClaim $Claim
1136 * @return $this
1138 public function setClaim($Claim)
1140 $this->Claim = $Claim;
1141 return $this;
1145 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRClaimResponse
1147 public function getClaimResponse()
1149 return $this->ClaimResponse;
1153 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRClaimResponse $ClaimResponse
1154 * @return $this
1156 public function setClaimResponse($ClaimResponse)
1158 $this->ClaimResponse = $ClaimResponse;
1159 return $this;
1163 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRClinicalImpression
1165 public function getClinicalImpression()
1167 return $this->ClinicalImpression;
1171 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRClinicalImpression $ClinicalImpression
1172 * @return $this
1174 public function setClinicalImpression($ClinicalImpression)
1176 $this->ClinicalImpression = $ClinicalImpression;
1177 return $this;
1181 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCodeSystem
1183 public function getCodeSystem()
1185 return $this->CodeSystem;
1189 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCodeSystem $CodeSystem
1190 * @return $this
1192 public function setCodeSystem($CodeSystem)
1194 $this->CodeSystem = $CodeSystem;
1195 return $this;
1199 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCommunication
1201 public function getCommunication()
1203 return $this->Communication;
1207 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCommunication $Communication
1208 * @return $this
1210 public function setCommunication($Communication)
1212 $this->Communication = $Communication;
1213 return $this;
1217 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCommunicationRequest
1219 public function getCommunicationRequest()
1221 return $this->CommunicationRequest;
1225 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCommunicationRequest $CommunicationRequest
1226 * @return $this
1228 public function setCommunicationRequest($CommunicationRequest)
1230 $this->CommunicationRequest = $CommunicationRequest;
1231 return $this;
1235 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCompartmentDefinition
1237 public function getCompartmentDefinition()
1239 return $this->CompartmentDefinition;
1243 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCompartmentDefinition $CompartmentDefinition
1244 * @return $this
1246 public function setCompartmentDefinition($CompartmentDefinition)
1248 $this->CompartmentDefinition = $CompartmentDefinition;
1249 return $this;
1253 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRComposition
1255 public function getComposition()
1257 return $this->Composition;
1261 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRComposition $Composition
1262 * @return $this
1264 public function setComposition($Composition)
1266 $this->Composition = $Composition;
1267 return $this;
1271 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRConceptMap
1273 public function getConceptMap()
1275 return $this->ConceptMap;
1279 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRConceptMap $ConceptMap
1280 * @return $this
1282 public function setConceptMap($ConceptMap)
1284 $this->ConceptMap = $ConceptMap;
1285 return $this;
1289 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCondition
1291 public function getCondition()
1293 return $this->Condition;
1297 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCondition $Condition
1298 * @return $this
1300 public function setCondition($Condition)
1302 $this->Condition = $Condition;
1303 return $this;
1307 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRConsent
1309 public function getConsent()
1311 return $this->Consent;
1315 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRConsent $Consent
1316 * @return $this
1318 public function setConsent($Consent)
1320 $this->Consent = $Consent;
1321 return $this;
1325 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRContract
1327 public function getContract()
1329 return $this->Contract;
1333 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRContract $Contract
1334 * @return $this
1336 public function setContract($Contract)
1338 $this->Contract = $Contract;
1339 return $this;
1343 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCoverage
1345 public function getCoverage()
1347 return $this->Coverage;
1351 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCoverage $Coverage
1352 * @return $this
1354 public function setCoverage($Coverage)
1356 $this->Coverage = $Coverage;
1357 return $this;
1361 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCoverageEligibilityRequest
1363 public function getCoverageEligibilityRequest()
1365 return $this->CoverageEligibilityRequest;
1369 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCoverageEligibilityRequest $CoverageEligibilityRequest
1370 * @return $this
1372 public function setCoverageEligibilityRequest($CoverageEligibilityRequest)
1374 $this->CoverageEligibilityRequest = $CoverageEligibilityRequest;
1375 return $this;
1379 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCoverageEligibilityResponse
1381 public function getCoverageEligibilityResponse()
1383 return $this->CoverageEligibilityResponse;
1387 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRCoverageEligibilityResponse $CoverageEligibilityResponse
1388 * @return $this
1390 public function setCoverageEligibilityResponse($CoverageEligibilityResponse)
1392 $this->CoverageEligibilityResponse = $CoverageEligibilityResponse;
1393 return $this;
1397 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDetectedIssue
1399 public function getDetectedIssue()
1401 return $this->DetectedIssue;
1405 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDetectedIssue $DetectedIssue
1406 * @return $this
1408 public function setDetectedIssue($DetectedIssue)
1410 $this->DetectedIssue = $DetectedIssue;
1411 return $this;
1415 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDevice
1417 public function getDevice()
1419 return $this->Device;
1423 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDevice $Device
1424 * @return $this
1426 public function setDevice($Device)
1428 $this->Device = $Device;
1429 return $this;
1433 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDeviceDefinition
1435 public function getDeviceDefinition()
1437 return $this->DeviceDefinition;
1441 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDeviceDefinition $DeviceDefinition
1442 * @return $this
1444 public function setDeviceDefinition($DeviceDefinition)
1446 $this->DeviceDefinition = $DeviceDefinition;
1447 return $this;
1451 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDeviceMetric
1453 public function getDeviceMetric()
1455 return $this->DeviceMetric;
1459 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDeviceMetric $DeviceMetric
1460 * @return $this
1462 public function setDeviceMetric($DeviceMetric)
1464 $this->DeviceMetric = $DeviceMetric;
1465 return $this;
1469 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDeviceRequest
1471 public function getDeviceRequest()
1473 return $this->DeviceRequest;
1477 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDeviceRequest $DeviceRequest
1478 * @return $this
1480 public function setDeviceRequest($DeviceRequest)
1482 $this->DeviceRequest = $DeviceRequest;
1483 return $this;
1487 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDeviceUseStatement
1489 public function getDeviceUseStatement()
1491 return $this->DeviceUseStatement;
1495 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDeviceUseStatement $DeviceUseStatement
1496 * @return $this
1498 public function setDeviceUseStatement($DeviceUseStatement)
1500 $this->DeviceUseStatement = $DeviceUseStatement;
1501 return $this;
1505 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDiagnosticReport
1507 public function getDiagnosticReport()
1509 return $this->DiagnosticReport;
1513 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDiagnosticReport $DiagnosticReport
1514 * @return $this
1516 public function setDiagnosticReport($DiagnosticReport)
1518 $this->DiagnosticReport = $DiagnosticReport;
1519 return $this;
1523 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDocumentManifest
1525 public function getDocumentManifest()
1527 return $this->DocumentManifest;
1531 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDocumentManifest $DocumentManifest
1532 * @return $this
1534 public function setDocumentManifest($DocumentManifest)
1536 $this->DocumentManifest = $DocumentManifest;
1537 return $this;
1541 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDocumentReference
1543 public function getDocumentReference()
1545 return $this->DocumentReference;
1549 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRDocumentReference $DocumentReference
1550 * @return $this
1552 public function setDocumentReference($DocumentReference)
1554 $this->DocumentReference = $DocumentReference;
1555 return $this;
1559 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREffectEvidenceSynthesis
1561 public function getEffectEvidenceSynthesis()
1563 return $this->EffectEvidenceSynthesis;
1567 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREffectEvidenceSynthesis $EffectEvidenceSynthesis
1568 * @return $this
1570 public function setEffectEvidenceSynthesis($EffectEvidenceSynthesis)
1572 $this->EffectEvidenceSynthesis = $EffectEvidenceSynthesis;
1573 return $this;
1577 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREncounter
1579 public function getEncounter()
1581 return $this->Encounter;
1585 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREncounter $Encounter
1586 * @return $this
1588 public function setEncounter($Encounter)
1590 $this->Encounter = $Encounter;
1591 return $this;
1595 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREndpoint
1597 public function getEndpoint()
1599 return $this->Endpoint;
1603 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREndpoint $Endpoint
1604 * @return $this
1606 public function setEndpoint($Endpoint)
1608 $this->Endpoint = $Endpoint;
1609 return $this;
1613 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREnrollmentRequest
1615 public function getEnrollmentRequest()
1617 return $this->EnrollmentRequest;
1621 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREnrollmentRequest $EnrollmentRequest
1622 * @return $this
1624 public function setEnrollmentRequest($EnrollmentRequest)
1626 $this->EnrollmentRequest = $EnrollmentRequest;
1627 return $this;
1631 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREnrollmentResponse
1633 public function getEnrollmentResponse()
1635 return $this->EnrollmentResponse;
1639 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREnrollmentResponse $EnrollmentResponse
1640 * @return $this
1642 public function setEnrollmentResponse($EnrollmentResponse)
1644 $this->EnrollmentResponse = $EnrollmentResponse;
1645 return $this;
1649 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREpisodeOfCare
1651 public function getEpisodeOfCare()
1653 return $this->EpisodeOfCare;
1657 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREpisodeOfCare $EpisodeOfCare
1658 * @return $this
1660 public function setEpisodeOfCare($EpisodeOfCare)
1662 $this->EpisodeOfCare = $EpisodeOfCare;
1663 return $this;
1667 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREventDefinition
1669 public function getEventDefinition()
1671 return $this->EventDefinition;
1675 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREventDefinition $EventDefinition
1676 * @return $this
1678 public function setEventDefinition($EventDefinition)
1680 $this->EventDefinition = $EventDefinition;
1681 return $this;
1685 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREvidence
1687 public function getEvidence()
1689 return $this->Evidence;
1693 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREvidence $Evidence
1694 * @return $this
1696 public function setEvidence($Evidence)
1698 $this->Evidence = $Evidence;
1699 return $this;
1703 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREvidenceVariable
1705 public function getEvidenceVariable()
1707 return $this->EvidenceVariable;
1711 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIREvidenceVariable $EvidenceVariable
1712 * @return $this
1714 public function setEvidenceVariable($EvidenceVariable)
1716 $this->EvidenceVariable = $EvidenceVariable;
1717 return $this;
1721 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRExampleScenario
1723 public function getExampleScenario()
1725 return $this->ExampleScenario;
1729 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRExampleScenario $ExampleScenario
1730 * @return $this
1732 public function setExampleScenario($ExampleScenario)
1734 $this->ExampleScenario = $ExampleScenario;
1735 return $this;
1739 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRExplanationOfBenefit
1741 public function getExplanationOfBenefit()
1743 return $this->ExplanationOfBenefit;
1747 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRExplanationOfBenefit $ExplanationOfBenefit
1748 * @return $this
1750 public function setExplanationOfBenefit($ExplanationOfBenefit)
1752 $this->ExplanationOfBenefit = $ExplanationOfBenefit;
1753 return $this;
1757 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRFamilyMemberHistory
1759 public function getFamilyMemberHistory()
1761 return $this->FamilyMemberHistory;
1765 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRFamilyMemberHistory $FamilyMemberHistory
1766 * @return $this
1768 public function setFamilyMemberHistory($FamilyMemberHistory)
1770 $this->FamilyMemberHistory = $FamilyMemberHistory;
1771 return $this;
1775 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRFlag
1777 public function getFlag()
1779 return $this->Flag;
1783 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRFlag $Flag
1784 * @return $this
1786 public function setFlag($Flag)
1788 $this->Flag = $Flag;
1789 return $this;
1793 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRGoal
1795 public function getGoal()
1797 return $this->Goal;
1801 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRGoal $Goal
1802 * @return $this
1804 public function setGoal($Goal)
1806 $this->Goal = $Goal;
1807 return $this;
1811 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRGraphDefinition
1813 public function getGraphDefinition()
1815 return $this->GraphDefinition;
1819 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRGraphDefinition $GraphDefinition
1820 * @return $this
1822 public function setGraphDefinition($GraphDefinition)
1824 $this->GraphDefinition = $GraphDefinition;
1825 return $this;
1829 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRGroup
1831 public function getGroup()
1833 return $this->Group;
1837 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRGroup $Group
1838 * @return $this
1840 public function setGroup($Group)
1842 $this->Group = $Group;
1843 return $this;
1847 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRGuidanceResponse
1849 public function getGuidanceResponse()
1851 return $this->GuidanceResponse;
1855 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRGuidanceResponse $GuidanceResponse
1856 * @return $this
1858 public function setGuidanceResponse($GuidanceResponse)
1860 $this->GuidanceResponse = $GuidanceResponse;
1861 return $this;
1865 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRHealthcareService
1867 public function getHealthcareService()
1869 return $this->HealthcareService;
1873 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRHealthcareService $HealthcareService
1874 * @return $this
1876 public function setHealthcareService($HealthcareService)
1878 $this->HealthcareService = $HealthcareService;
1879 return $this;
1883 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRImagingStudy
1885 public function getImagingStudy()
1887 return $this->ImagingStudy;
1891 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRImagingStudy $ImagingStudy
1892 * @return $this
1894 public function setImagingStudy($ImagingStudy)
1896 $this->ImagingStudy = $ImagingStudy;
1897 return $this;
1901 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRImmunization
1903 public function getImmunization()
1905 return $this->Immunization;
1909 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRImmunization $Immunization
1910 * @return $this
1912 public function setImmunization($Immunization)
1914 $this->Immunization = $Immunization;
1915 return $this;
1919 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRImmunizationEvaluation
1921 public function getImmunizationEvaluation()
1923 return $this->ImmunizationEvaluation;
1927 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRImmunizationEvaluation $ImmunizationEvaluation
1928 * @return $this
1930 public function setImmunizationEvaluation($ImmunizationEvaluation)
1932 $this->ImmunizationEvaluation = $ImmunizationEvaluation;
1933 return $this;
1937 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRImmunizationRecommendation
1939 public function getImmunizationRecommendation()
1941 return $this->ImmunizationRecommendation;
1945 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRImmunizationRecommendation $ImmunizationRecommendation
1946 * @return $this
1948 public function setImmunizationRecommendation($ImmunizationRecommendation)
1950 $this->ImmunizationRecommendation = $ImmunizationRecommendation;
1951 return $this;
1955 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRImplementationGuide
1957 public function getImplementationGuide()
1959 return $this->ImplementationGuide;
1963 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRImplementationGuide $ImplementationGuide
1964 * @return $this
1966 public function setImplementationGuide($ImplementationGuide)
1968 $this->ImplementationGuide = $ImplementationGuide;
1969 return $this;
1973 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRInsurancePlan
1975 public function getInsurancePlan()
1977 return $this->InsurancePlan;
1981 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRInsurancePlan $InsurancePlan
1982 * @return $this
1984 public function setInsurancePlan($InsurancePlan)
1986 $this->InsurancePlan = $InsurancePlan;
1987 return $this;
1991 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRInvoice
1993 public function getInvoice()
1995 return $this->Invoice;
1999 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRInvoice $Invoice
2000 * @return $this
2002 public function setInvoice($Invoice)
2004 $this->Invoice = $Invoice;
2005 return $this;
2009 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRLibrary
2011 public function getLibrary()
2013 return $this->Library;
2017 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRLibrary $Library
2018 * @return $this
2020 public function setLibrary($Library)
2022 $this->Library = $Library;
2023 return $this;
2027 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRLinkage
2029 public function getLinkage()
2031 return $this->Linkage;
2035 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRLinkage $Linkage
2036 * @return $this
2038 public function setLinkage($Linkage)
2040 $this->Linkage = $Linkage;
2041 return $this;
2045 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRList
2047 public function getList()
2049 return $this->List;
2053 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRList $List
2054 * @return $this
2056 public function setList($List)
2058 $this->List = $List;
2059 return $this;
2063 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRLocation
2065 public function getLocation()
2067 return $this->Location;
2071 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRLocation $Location
2072 * @return $this
2074 public function setLocation($Location)
2076 $this->Location = $Location;
2077 return $this;
2081 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMeasure
2083 public function getMeasure()
2085 return $this->Measure;
2089 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMeasure $Measure
2090 * @return $this
2092 public function setMeasure($Measure)
2094 $this->Measure = $Measure;
2095 return $this;
2099 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMeasureReport
2101 public function getMeasureReport()
2103 return $this->MeasureReport;
2107 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMeasureReport $MeasureReport
2108 * @return $this
2110 public function setMeasureReport($MeasureReport)
2112 $this->MeasureReport = $MeasureReport;
2113 return $this;
2117 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedia
2119 public function getMedia()
2121 return $this->Media;
2125 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedia $Media
2126 * @return $this
2128 public function setMedia($Media)
2130 $this->Media = $Media;
2131 return $this;
2135 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedication
2137 public function getMedication()
2139 return $this->Medication;
2143 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedication $Medication
2144 * @return $this
2146 public function setMedication($Medication)
2148 $this->Medication = $Medication;
2149 return $this;
2153 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicationAdministration
2155 public function getMedicationAdministration()
2157 return $this->MedicationAdministration;
2161 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicationAdministration $MedicationAdministration
2162 * @return $this
2164 public function setMedicationAdministration($MedicationAdministration)
2166 $this->MedicationAdministration = $MedicationAdministration;
2167 return $this;
2171 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicationDispense
2173 public function getMedicationDispense()
2175 return $this->MedicationDispense;
2179 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicationDispense $MedicationDispense
2180 * @return $this
2182 public function setMedicationDispense($MedicationDispense)
2184 $this->MedicationDispense = $MedicationDispense;
2185 return $this;
2189 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicationKnowledge
2191 public function getMedicationKnowledge()
2193 return $this->MedicationKnowledge;
2197 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicationKnowledge $MedicationKnowledge
2198 * @return $this
2200 public function setMedicationKnowledge($MedicationKnowledge)
2202 $this->MedicationKnowledge = $MedicationKnowledge;
2203 return $this;
2207 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicationRequest
2209 public function getMedicationRequest()
2211 return $this->MedicationRequest;
2215 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicationRequest $MedicationRequest
2216 * @return $this
2218 public function setMedicationRequest($MedicationRequest)
2220 $this->MedicationRequest = $MedicationRequest;
2221 return $this;
2225 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicationStatement
2227 public function getMedicationStatement()
2229 return $this->MedicationStatement;
2233 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicationStatement $MedicationStatement
2234 * @return $this
2236 public function setMedicationStatement($MedicationStatement)
2238 $this->MedicationStatement = $MedicationStatement;
2239 return $this;
2243 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProduct
2245 public function getMedicinalProduct()
2247 return $this->MedicinalProduct;
2251 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProduct $MedicinalProduct
2252 * @return $this
2254 public function setMedicinalProduct($MedicinalProduct)
2256 $this->MedicinalProduct = $MedicinalProduct;
2257 return $this;
2261 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductAuthorization
2263 public function getMedicinalProductAuthorization()
2265 return $this->MedicinalProductAuthorization;
2269 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductAuthorization $MedicinalProductAuthorization
2270 * @return $this
2272 public function setMedicinalProductAuthorization($MedicinalProductAuthorization)
2274 $this->MedicinalProductAuthorization = $MedicinalProductAuthorization;
2275 return $this;
2279 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductContraindication
2281 public function getMedicinalProductContraindication()
2283 return $this->MedicinalProductContraindication;
2287 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductContraindication $MedicinalProductContraindication
2288 * @return $this
2290 public function setMedicinalProductContraindication($MedicinalProductContraindication)
2292 $this->MedicinalProductContraindication = $MedicinalProductContraindication;
2293 return $this;
2297 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductIndication
2299 public function getMedicinalProductIndication()
2301 return $this->MedicinalProductIndication;
2305 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductIndication $MedicinalProductIndication
2306 * @return $this
2308 public function setMedicinalProductIndication($MedicinalProductIndication)
2310 $this->MedicinalProductIndication = $MedicinalProductIndication;
2311 return $this;
2315 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductIngredient
2317 public function getMedicinalProductIngredient()
2319 return $this->MedicinalProductIngredient;
2323 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductIngredient $MedicinalProductIngredient
2324 * @return $this
2326 public function setMedicinalProductIngredient($MedicinalProductIngredient)
2328 $this->MedicinalProductIngredient = $MedicinalProductIngredient;
2329 return $this;
2333 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductInteraction
2335 public function getMedicinalProductInteraction()
2337 return $this->MedicinalProductInteraction;
2341 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductInteraction $MedicinalProductInteraction
2342 * @return $this
2344 public function setMedicinalProductInteraction($MedicinalProductInteraction)
2346 $this->MedicinalProductInteraction = $MedicinalProductInteraction;
2347 return $this;
2351 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductManufactured
2353 public function getMedicinalProductManufactured()
2355 return $this->MedicinalProductManufactured;
2359 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductManufactured $MedicinalProductManufactured
2360 * @return $this
2362 public function setMedicinalProductManufactured($MedicinalProductManufactured)
2364 $this->MedicinalProductManufactured = $MedicinalProductManufactured;
2365 return $this;
2369 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductPackaged
2371 public function getMedicinalProductPackaged()
2373 return $this->MedicinalProductPackaged;
2377 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductPackaged $MedicinalProductPackaged
2378 * @return $this
2380 public function setMedicinalProductPackaged($MedicinalProductPackaged)
2382 $this->MedicinalProductPackaged = $MedicinalProductPackaged;
2383 return $this;
2387 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductPharmaceutical
2389 public function getMedicinalProductPharmaceutical()
2391 return $this->MedicinalProductPharmaceutical;
2395 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductPharmaceutical $MedicinalProductPharmaceutical
2396 * @return $this
2398 public function setMedicinalProductPharmaceutical($MedicinalProductPharmaceutical)
2400 $this->MedicinalProductPharmaceutical = $MedicinalProductPharmaceutical;
2401 return $this;
2405 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductUndesirableEffect
2407 public function getMedicinalProductUndesirableEffect()
2409 return $this->MedicinalProductUndesirableEffect;
2413 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMedicinalProductUndesirableEffect $MedicinalProductUndesirableEffect
2414 * @return $this
2416 public function setMedicinalProductUndesirableEffect($MedicinalProductUndesirableEffect)
2418 $this->MedicinalProductUndesirableEffect = $MedicinalProductUndesirableEffect;
2419 return $this;
2423 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMessageDefinition
2425 public function getMessageDefinition()
2427 return $this->MessageDefinition;
2431 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMessageDefinition $MessageDefinition
2432 * @return $this
2434 public function setMessageDefinition($MessageDefinition)
2436 $this->MessageDefinition = $MessageDefinition;
2437 return $this;
2441 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMessageHeader
2443 public function getMessageHeader()
2445 return $this->MessageHeader;
2449 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMessageHeader $MessageHeader
2450 * @return $this
2452 public function setMessageHeader($MessageHeader)
2454 $this->MessageHeader = $MessageHeader;
2455 return $this;
2459 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMolecularSequence
2461 public function getMolecularSequence()
2463 return $this->MolecularSequence;
2467 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRMolecularSequence $MolecularSequence
2468 * @return $this
2470 public function setMolecularSequence($MolecularSequence)
2472 $this->MolecularSequence = $MolecularSequence;
2473 return $this;
2477 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRNamingSystem
2479 public function getNamingSystem()
2481 return $this->NamingSystem;
2485 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRNamingSystem $NamingSystem
2486 * @return $this
2488 public function setNamingSystem($NamingSystem)
2490 $this->NamingSystem = $NamingSystem;
2491 return $this;
2495 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRNutritionOrder
2497 public function getNutritionOrder()
2499 return $this->NutritionOrder;
2503 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRNutritionOrder $NutritionOrder
2504 * @return $this
2506 public function setNutritionOrder($NutritionOrder)
2508 $this->NutritionOrder = $NutritionOrder;
2509 return $this;
2513 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRObservation
2515 public function getObservation()
2517 return $this->Observation;
2521 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRObservation $Observation
2522 * @return $this
2524 public function setObservation($Observation)
2526 $this->Observation = $Observation;
2527 return $this;
2531 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRObservationDefinition
2533 public function getObservationDefinition()
2535 return $this->ObservationDefinition;
2539 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRObservationDefinition $ObservationDefinition
2540 * @return $this
2542 public function setObservationDefinition($ObservationDefinition)
2544 $this->ObservationDefinition = $ObservationDefinition;
2545 return $this;
2549 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIROperationDefinition
2551 public function getOperationDefinition()
2553 return $this->OperationDefinition;
2557 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIROperationDefinition $OperationDefinition
2558 * @return $this
2560 public function setOperationDefinition($OperationDefinition)
2562 $this->OperationDefinition = $OperationDefinition;
2563 return $this;
2567 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIROperationOutcome
2569 public function getOperationOutcome()
2571 return $this->OperationOutcome;
2575 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIROperationOutcome $OperationOutcome
2576 * @return $this
2578 public function setOperationOutcome($OperationOutcome)
2580 $this->OperationOutcome = $OperationOutcome;
2581 return $this;
2585 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIROrganization
2587 public function getOrganization()
2589 return $this->Organization;
2593 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIROrganization $Organization
2594 * @return $this
2596 public function setOrganization($Organization)
2598 $this->Organization = $Organization;
2599 return $this;
2603 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIROrganizationAffiliation
2605 public function getOrganizationAffiliation()
2607 return $this->OrganizationAffiliation;
2611 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIROrganizationAffiliation $OrganizationAffiliation
2612 * @return $this
2614 public function setOrganizationAffiliation($OrganizationAffiliation)
2616 $this->OrganizationAffiliation = $OrganizationAffiliation;
2617 return $this;
2621 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPatient
2623 public function getPatient()
2625 return $this->Patient;
2629 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPatient $Patient
2630 * @return $this
2632 public function setPatient($Patient)
2634 $this->Patient = $Patient;
2635 return $this;
2639 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPaymentNotice
2641 public function getPaymentNotice()
2643 return $this->PaymentNotice;
2647 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPaymentNotice $PaymentNotice
2648 * @return $this
2650 public function setPaymentNotice($PaymentNotice)
2652 $this->PaymentNotice = $PaymentNotice;
2653 return $this;
2657 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPaymentReconciliation
2659 public function getPaymentReconciliation()
2661 return $this->PaymentReconciliation;
2665 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPaymentReconciliation $PaymentReconciliation
2666 * @return $this
2668 public function setPaymentReconciliation($PaymentReconciliation)
2670 $this->PaymentReconciliation = $PaymentReconciliation;
2671 return $this;
2675 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPerson
2677 public function getPerson()
2679 return $this->Person;
2683 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPerson $Person
2684 * @return $this
2686 public function setPerson($Person)
2688 $this->Person = $Person;
2689 return $this;
2693 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPlanDefinition
2695 public function getPlanDefinition()
2697 return $this->PlanDefinition;
2701 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPlanDefinition $PlanDefinition
2702 * @return $this
2704 public function setPlanDefinition($PlanDefinition)
2706 $this->PlanDefinition = $PlanDefinition;
2707 return $this;
2711 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPractitioner
2713 public function getPractitioner()
2715 return $this->Practitioner;
2719 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPractitioner $Practitioner
2720 * @return $this
2722 public function setPractitioner($Practitioner)
2724 $this->Practitioner = $Practitioner;
2725 return $this;
2729 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPractitionerRole
2731 public function getPractitionerRole()
2733 return $this->PractitionerRole;
2737 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRPractitionerRole $PractitionerRole
2738 * @return $this
2740 public function setPractitionerRole($PractitionerRole)
2742 $this->PractitionerRole = $PractitionerRole;
2743 return $this;
2747 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRProcedure
2749 public function getProcedure()
2751 return $this->Procedure;
2755 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRProcedure $Procedure
2756 * @return $this
2758 public function setProcedure($Procedure)
2760 $this->Procedure = $Procedure;
2761 return $this;
2765 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRProvenance
2767 public function getProvenance()
2769 return $this->Provenance;
2773 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRProvenance $Provenance
2774 * @return $this
2776 public function setProvenance($Provenance)
2778 $this->Provenance = $Provenance;
2779 return $this;
2783 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRQuestionnaire
2785 public function getQuestionnaire()
2787 return $this->Questionnaire;
2791 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRQuestionnaire $Questionnaire
2792 * @return $this
2794 public function setQuestionnaire($Questionnaire)
2796 $this->Questionnaire = $Questionnaire;
2797 return $this;
2801 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRQuestionnaireResponse
2803 public function getQuestionnaireResponse()
2805 return $this->QuestionnaireResponse;
2809 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRQuestionnaireResponse $QuestionnaireResponse
2810 * @return $this
2812 public function setQuestionnaireResponse($QuestionnaireResponse)
2814 $this->QuestionnaireResponse = $QuestionnaireResponse;
2815 return $this;
2819 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRRelatedPerson
2821 public function getRelatedPerson()
2823 return $this->RelatedPerson;
2827 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRRelatedPerson $RelatedPerson
2828 * @return $this
2830 public function setRelatedPerson($RelatedPerson)
2832 $this->RelatedPerson = $RelatedPerson;
2833 return $this;
2837 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRRequestGroup
2839 public function getRequestGroup()
2841 return $this->RequestGroup;
2845 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRRequestGroup $RequestGroup
2846 * @return $this
2848 public function setRequestGroup($RequestGroup)
2850 $this->RequestGroup = $RequestGroup;
2851 return $this;
2855 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRResearchDefinition
2857 public function getResearchDefinition()
2859 return $this->ResearchDefinition;
2863 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRResearchDefinition $ResearchDefinition
2864 * @return $this
2866 public function setResearchDefinition($ResearchDefinition)
2868 $this->ResearchDefinition = $ResearchDefinition;
2869 return $this;
2873 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRResearchElementDefinition
2875 public function getResearchElementDefinition()
2877 return $this->ResearchElementDefinition;
2881 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRResearchElementDefinition $ResearchElementDefinition
2882 * @return $this
2884 public function setResearchElementDefinition($ResearchElementDefinition)
2886 $this->ResearchElementDefinition = $ResearchElementDefinition;
2887 return $this;
2891 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRResearchStudy
2893 public function getResearchStudy()
2895 return $this->ResearchStudy;
2899 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRResearchStudy $ResearchStudy
2900 * @return $this
2902 public function setResearchStudy($ResearchStudy)
2904 $this->ResearchStudy = $ResearchStudy;
2905 return $this;
2909 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRResearchSubject
2911 public function getResearchSubject()
2913 return $this->ResearchSubject;
2917 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRResearchSubject $ResearchSubject
2918 * @return $this
2920 public function setResearchSubject($ResearchSubject)
2922 $this->ResearchSubject = $ResearchSubject;
2923 return $this;
2927 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRRiskAssessment
2929 public function getRiskAssessment()
2931 return $this->RiskAssessment;
2935 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRRiskAssessment $RiskAssessment
2936 * @return $this
2938 public function setRiskAssessment($RiskAssessment)
2940 $this->RiskAssessment = $RiskAssessment;
2941 return $this;
2945 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRRiskEvidenceSynthesis
2947 public function getRiskEvidenceSynthesis()
2949 return $this->RiskEvidenceSynthesis;
2953 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRRiskEvidenceSynthesis $RiskEvidenceSynthesis
2954 * @return $this
2956 public function setRiskEvidenceSynthesis($RiskEvidenceSynthesis)
2958 $this->RiskEvidenceSynthesis = $RiskEvidenceSynthesis;
2959 return $this;
2963 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSchedule
2965 public function getSchedule()
2967 return $this->Schedule;
2971 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSchedule $Schedule
2972 * @return $this
2974 public function setSchedule($Schedule)
2976 $this->Schedule = $Schedule;
2977 return $this;
2981 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSearchParameter
2983 public function getSearchParameter()
2985 return $this->SearchParameter;
2989 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSearchParameter $SearchParameter
2990 * @return $this
2992 public function setSearchParameter($SearchParameter)
2994 $this->SearchParameter = $SearchParameter;
2995 return $this;
2999 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRServiceRequest
3001 public function getServiceRequest()
3003 return $this->ServiceRequest;
3007 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRServiceRequest $ServiceRequest
3008 * @return $this
3010 public function setServiceRequest($ServiceRequest)
3012 $this->ServiceRequest = $ServiceRequest;
3013 return $this;
3017 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSlot
3019 public function getSlot()
3021 return $this->Slot;
3025 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSlot $Slot
3026 * @return $this
3028 public function setSlot($Slot)
3030 $this->Slot = $Slot;
3031 return $this;
3035 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSpecimen
3037 public function getSpecimen()
3039 return $this->Specimen;
3043 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSpecimen $Specimen
3044 * @return $this
3046 public function setSpecimen($Specimen)
3048 $this->Specimen = $Specimen;
3049 return $this;
3053 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSpecimenDefinition
3055 public function getSpecimenDefinition()
3057 return $this->SpecimenDefinition;
3061 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSpecimenDefinition $SpecimenDefinition
3062 * @return $this
3064 public function setSpecimenDefinition($SpecimenDefinition)
3066 $this->SpecimenDefinition = $SpecimenDefinition;
3067 return $this;
3071 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRStructureDefinition
3073 public function getStructureDefinition()
3075 return $this->StructureDefinition;
3079 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRStructureDefinition $StructureDefinition
3080 * @return $this
3082 public function setStructureDefinition($StructureDefinition)
3084 $this->StructureDefinition = $StructureDefinition;
3085 return $this;
3089 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRStructureMap
3091 public function getStructureMap()
3093 return $this->StructureMap;
3097 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRStructureMap $StructureMap
3098 * @return $this
3100 public function setStructureMap($StructureMap)
3102 $this->StructureMap = $StructureMap;
3103 return $this;
3107 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubscription
3109 public function getSubscription()
3111 return $this->Subscription;
3115 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubscription $Subscription
3116 * @return $this
3118 public function setSubscription($Subscription)
3120 $this->Subscription = $Subscription;
3121 return $this;
3125 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstance
3127 public function getSubstance()
3129 return $this->Substance;
3133 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstance $Substance
3134 * @return $this
3136 public function setSubstance($Substance)
3138 $this->Substance = $Substance;
3139 return $this;
3143 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstanceNucleicAcid
3145 public function getSubstanceNucleicAcid()
3147 return $this->SubstanceNucleicAcid;
3151 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstanceNucleicAcid $SubstanceNucleicAcid
3152 * @return $this
3154 public function setSubstanceNucleicAcid($SubstanceNucleicAcid)
3156 $this->SubstanceNucleicAcid = $SubstanceNucleicAcid;
3157 return $this;
3161 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstancePolymer
3163 public function getSubstancePolymer()
3165 return $this->SubstancePolymer;
3169 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstancePolymer $SubstancePolymer
3170 * @return $this
3172 public function setSubstancePolymer($SubstancePolymer)
3174 $this->SubstancePolymer = $SubstancePolymer;
3175 return $this;
3179 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstanceProtein
3181 public function getSubstanceProtein()
3183 return $this->SubstanceProtein;
3187 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstanceProtein $SubstanceProtein
3188 * @return $this
3190 public function setSubstanceProtein($SubstanceProtein)
3192 $this->SubstanceProtein = $SubstanceProtein;
3193 return $this;
3197 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstanceReferenceInformation
3199 public function getSubstanceReferenceInformation()
3201 return $this->SubstanceReferenceInformation;
3205 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstanceReferenceInformation $SubstanceReferenceInformation
3206 * @return $this
3208 public function setSubstanceReferenceInformation($SubstanceReferenceInformation)
3210 $this->SubstanceReferenceInformation = $SubstanceReferenceInformation;
3211 return $this;
3215 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstanceSourceMaterial
3217 public function getSubstanceSourceMaterial()
3219 return $this->SubstanceSourceMaterial;
3223 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstanceSourceMaterial $SubstanceSourceMaterial
3224 * @return $this
3226 public function setSubstanceSourceMaterial($SubstanceSourceMaterial)
3228 $this->SubstanceSourceMaterial = $SubstanceSourceMaterial;
3229 return $this;
3233 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstanceSpecification
3235 public function getSubstanceSpecification()
3237 return $this->SubstanceSpecification;
3241 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSubstanceSpecification $SubstanceSpecification
3242 * @return $this
3244 public function setSubstanceSpecification($SubstanceSpecification)
3246 $this->SubstanceSpecification = $SubstanceSpecification;
3247 return $this;
3251 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSupplyDelivery
3253 public function getSupplyDelivery()
3255 return $this->SupplyDelivery;
3259 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSupplyDelivery $SupplyDelivery
3260 * @return $this
3262 public function setSupplyDelivery($SupplyDelivery)
3264 $this->SupplyDelivery = $SupplyDelivery;
3265 return $this;
3269 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSupplyRequest
3271 public function getSupplyRequest()
3273 return $this->SupplyRequest;
3277 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRSupplyRequest $SupplyRequest
3278 * @return $this
3280 public function setSupplyRequest($SupplyRequest)
3282 $this->SupplyRequest = $SupplyRequest;
3283 return $this;
3287 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRTask
3289 public function getTask()
3291 return $this->Task;
3295 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRTask $Task
3296 * @return $this
3298 public function setTask($Task)
3300 $this->Task = $Task;
3301 return $this;
3305 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRTerminologyCapabilities
3307 public function getTerminologyCapabilities()
3309 return $this->TerminologyCapabilities;
3313 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRTerminologyCapabilities $TerminologyCapabilities
3314 * @return $this
3316 public function setTerminologyCapabilities($TerminologyCapabilities)
3318 $this->TerminologyCapabilities = $TerminologyCapabilities;
3319 return $this;
3323 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRTestReport
3325 public function getTestReport()
3327 return $this->TestReport;
3331 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRTestReport $TestReport
3332 * @return $this
3334 public function setTestReport($TestReport)
3336 $this->TestReport = $TestReport;
3337 return $this;
3341 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRTestScript
3343 public function getTestScript()
3345 return $this->TestScript;
3349 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRTestScript $TestScript
3350 * @return $this
3352 public function setTestScript($TestScript)
3354 $this->TestScript = $TestScript;
3355 return $this;
3359 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRValueSet
3361 public function getValueSet()
3363 return $this->ValueSet;
3367 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRValueSet $ValueSet
3368 * @return $this
3370 public function setValueSet($ValueSet)
3372 $this->ValueSet = $ValueSet;
3373 return $this;
3377 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRVerificationResult
3379 public function getVerificationResult()
3381 return $this->VerificationResult;
3385 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRVerificationResult $VerificationResult
3386 * @return $this
3388 public function setVerificationResult($VerificationResult)
3390 $this->VerificationResult = $VerificationResult;
3391 return $this;
3395 * @return \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRVisionPrescription
3397 public function getVisionPrescription()
3399 return $this->VisionPrescription;
3403 * @param \OpenEMR\FHIR\R4\FHIRDomainResource\FHIRVisionPrescription $VisionPrescription
3404 * @return $this
3406 public function setVisionPrescription($VisionPrescription)
3408 $this->VisionPrescription = $VisionPrescription;
3409 return $this;
3413 * @return \OpenEMR\FHIR\R4\FHIRResource\FHIRParameters
3415 public function getParameters()
3417 return $this->Parameters;
3421 * @param \OpenEMR\FHIR\R4\FHIRResource\FHIRParameters $Parameters
3422 * @return $this
3424 public function setParameters($Parameters)
3426 $this->Parameters = $Parameters;
3427 return $this;
3431 * @return string
3433 public function get_fhirElementName()
3435 return $this->_fhirElementName;
3439 * @param mixed $data
3441 public function __construct($data = [])
3443 if (is_object($data)) {
3444 $n = substr(strrchr(get_class($data), 'FHIR'), 4);
3445 $this->{"set{$n}"}($data);
3446 } elseif (is_array($data)) {
3447 if (($cnt = count($data)) > 1) {
3448 throw new \InvalidArgumentException("ResourceContainers may only contain 1 object, \"{$cnt}\" values provided");
3449 } else {
3450 $k = key($data);
3451 $this->{"set{$k}"}($data);
3453 } elseif (null !== $data) {
3454 throw new \InvalidArgumentException('$data expected to be object or array, saw ' . gettype($data));
3459 * @return string
3461 public function __toString()
3463 return $this->get_fhirElementName();
3467 * @return mixed
3469 public function jsonSerialize(): mixed
3471 if (isset($this->Account)) {
3472 return $this->Account;
3474 if (isset($this->ActivityDefinition)) {
3475 return $this->ActivityDefinition;
3477 if (isset($this->AdverseEvent)) {
3478 return $this->AdverseEvent;
3480 if (isset($this->AllergyIntolerance)) {
3481 return $this->AllergyIntolerance;
3483 if (isset($this->Appointment)) {
3484 return $this->Appointment;
3486 if (isset($this->AppointmentResponse)) {
3487 return $this->AppointmentResponse;
3489 if (isset($this->AuditEvent)) {
3490 return $this->AuditEvent;
3492 if (isset($this->Basic)) {
3493 return $this->Basic;
3495 if (isset($this->Binary)) {
3496 return $this->Binary;
3498 if (isset($this->BiologicallyDerivedProduct)) {
3499 return $this->BiologicallyDerivedProduct;
3501 if (isset($this->BodyStructure)) {
3502 return $this->BodyStructure;
3504 if (isset($this->Bundle)) {
3505 return $this->Bundle;
3507 if (isset($this->CapabilityStatement)) {
3508 return $this->CapabilityStatement;
3510 if (isset($this->CarePlan)) {
3511 return $this->CarePlan;
3513 if (isset($this->CareTeam)) {
3514 return $this->CareTeam;
3516 if (isset($this->CatalogEntry)) {
3517 return $this->CatalogEntry;
3519 if (isset($this->ChargeItem)) {
3520 return $this->ChargeItem;
3522 if (isset($this->ChargeItemDefinition)) {
3523 return $this->ChargeItemDefinition;
3525 if (isset($this->Claim)) {
3526 return $this->Claim;
3528 if (isset($this->ClaimResponse)) {
3529 return $this->ClaimResponse;
3531 if (isset($this->ClinicalImpression)) {
3532 return $this->ClinicalImpression;
3534 if (isset($this->CodeSystem)) {
3535 return $this->CodeSystem;
3537 if (isset($this->Communication)) {
3538 return $this->Communication;
3540 if (isset($this->CommunicationRequest)) {
3541 return $this->CommunicationRequest;
3543 if (isset($this->CompartmentDefinition)) {
3544 return $this->CompartmentDefinition;
3546 if (isset($this->Composition)) {
3547 return $this->Composition;
3549 if (isset($this->ConceptMap)) {
3550 return $this->ConceptMap;
3552 if (isset($this->Condition)) {
3553 return $this->Condition;
3555 if (isset($this->Consent)) {
3556 return $this->Consent;
3558 if (isset($this->Contract)) {
3559 return $this->Contract;
3561 if (isset($this->Coverage)) {
3562 return $this->Coverage;
3564 if (isset($this->CoverageEligibilityRequest)) {
3565 return $this->CoverageEligibilityRequest;
3567 if (isset($this->CoverageEligibilityResponse)) {
3568 return $this->CoverageEligibilityResponse;
3570 if (isset($this->DetectedIssue)) {
3571 return $this->DetectedIssue;
3573 if (isset($this->Device)) {
3574 return $this->Device;
3576 if (isset($this->DeviceDefinition)) {
3577 return $this->DeviceDefinition;
3579 if (isset($this->DeviceMetric)) {
3580 return $this->DeviceMetric;
3582 if (isset($this->DeviceRequest)) {
3583 return $this->DeviceRequest;
3585 if (isset($this->DeviceUseStatement)) {
3586 return $this->DeviceUseStatement;
3588 if (isset($this->DiagnosticReport)) {
3589 return $this->DiagnosticReport;
3591 if (isset($this->DocumentManifest)) {
3592 return $this->DocumentManifest;
3594 if (isset($this->DocumentReference)) {
3595 return $this->DocumentReference;
3597 if (isset($this->EffectEvidenceSynthesis)) {
3598 return $this->EffectEvidenceSynthesis;
3600 if (isset($this->Encounter)) {
3601 return $this->Encounter;
3603 if (isset($this->Endpoint)) {
3604 return $this->Endpoint;
3606 if (isset($this->EnrollmentRequest)) {
3607 return $this->EnrollmentRequest;
3609 if (isset($this->EnrollmentResponse)) {
3610 return $this->EnrollmentResponse;
3612 if (isset($this->EpisodeOfCare)) {
3613 return $this->EpisodeOfCare;
3615 if (isset($this->EventDefinition)) {
3616 return $this->EventDefinition;
3618 if (isset($this->Evidence)) {
3619 return $this->Evidence;
3621 if (isset($this->EvidenceVariable)) {
3622 return $this->EvidenceVariable;
3624 if (isset($this->ExampleScenario)) {
3625 return $this->ExampleScenario;
3627 if (isset($this->ExplanationOfBenefit)) {
3628 return $this->ExplanationOfBenefit;
3630 if (isset($this->FamilyMemberHistory)) {
3631 return $this->FamilyMemberHistory;
3633 if (isset($this->Flag)) {
3634 return $this->Flag;
3636 if (isset($this->Goal)) {
3637 return $this->Goal;
3639 if (isset($this->GraphDefinition)) {
3640 return $this->GraphDefinition;
3642 if (isset($this->Group)) {
3643 return $this->Group;
3645 if (isset($this->GuidanceResponse)) {
3646 return $this->GuidanceResponse;
3648 if (isset($this->HealthcareService)) {
3649 return $this->HealthcareService;
3651 if (isset($this->ImagingStudy)) {
3652 return $this->ImagingStudy;
3654 if (isset($this->Immunization)) {
3655 return $this->Immunization;
3657 if (isset($this->ImmunizationEvaluation)) {
3658 return $this->ImmunizationEvaluation;
3660 if (isset($this->ImmunizationRecommendation)) {
3661 return $this->ImmunizationRecommendation;
3663 if (isset($this->ImplementationGuide)) {
3664 return $this->ImplementationGuide;
3666 if (isset($this->InsurancePlan)) {
3667 return $this->InsurancePlan;
3669 if (isset($this->Invoice)) {
3670 return $this->Invoice;
3672 if (isset($this->Library)) {
3673 return $this->Library;
3675 if (isset($this->Linkage)) {
3676 return $this->Linkage;
3678 if (isset($this->List)) {
3679 return $this->List;
3681 if (isset($this->Location)) {
3682 return $this->Location;
3684 if (isset($this->Measure)) {
3685 return $this->Measure;
3687 if (isset($this->MeasureReport)) {
3688 return $this->MeasureReport;
3690 if (isset($this->Media)) {
3691 return $this->Media;
3693 if (isset($this->Medication)) {
3694 return $this->Medication;
3696 if (isset($this->MedicationAdministration)) {
3697 return $this->MedicationAdministration;
3699 if (isset($this->MedicationDispense)) {
3700 return $this->MedicationDispense;
3702 if (isset($this->MedicationKnowledge)) {
3703 return $this->MedicationKnowledge;
3705 if (isset($this->MedicationRequest)) {
3706 return $this->MedicationRequest;
3708 if (isset($this->MedicationStatement)) {
3709 return $this->MedicationStatement;
3711 if (isset($this->MedicinalProduct)) {
3712 return $this->MedicinalProduct;
3714 if (isset($this->MedicinalProductAuthorization)) {
3715 return $this->MedicinalProductAuthorization;
3717 if (isset($this->MedicinalProductContraindication)) {
3718 return $this->MedicinalProductContraindication;
3720 if (isset($this->MedicinalProductIndication)) {
3721 return $this->MedicinalProductIndication;
3723 if (isset($this->MedicinalProductIngredient)) {
3724 return $this->MedicinalProductIngredient;
3726 if (isset($this->MedicinalProductInteraction)) {
3727 return $this->MedicinalProductInteraction;
3729 if (isset($this->MedicinalProductManufactured)) {
3730 return $this->MedicinalProductManufactured;
3732 if (isset($this->MedicinalProductPackaged)) {
3733 return $this->MedicinalProductPackaged;
3735 if (isset($this->MedicinalProductPharmaceutical)) {
3736 return $this->MedicinalProductPharmaceutical;
3738 if (isset($this->MedicinalProductUndesirableEffect)) {
3739 return $this->MedicinalProductUndesirableEffect;
3741 if (isset($this->MessageDefinition)) {
3742 return $this->MessageDefinition;
3744 if (isset($this->MessageHeader)) {
3745 return $this->MessageHeader;
3747 if (isset($this->MolecularSequence)) {
3748 return $this->MolecularSequence;
3750 if (isset($this->NamingSystem)) {
3751 return $this->NamingSystem;
3753 if (isset($this->NutritionOrder)) {
3754 return $this->NutritionOrder;
3756 if (isset($this->Observation)) {
3757 return $this->Observation;
3759 if (isset($this->ObservationDefinition)) {
3760 return $this->ObservationDefinition;
3762 if (isset($this->OperationDefinition)) {
3763 return $this->OperationDefinition;
3765 if (isset($this->OperationOutcome)) {
3766 return $this->OperationOutcome;
3768 if (isset($this->Organization)) {
3769 return $this->Organization;
3771 if (isset($this->OrganizationAffiliation)) {
3772 return $this->OrganizationAffiliation;
3774 if (isset($this->Patient)) {
3775 return $this->Patient;
3777 if (isset($this->PaymentNotice)) {
3778 return $this->PaymentNotice;
3780 if (isset($this->PaymentReconciliation)) {
3781 return $this->PaymentReconciliation;
3783 if (isset($this->Person)) {
3784 return $this->Person;
3786 if (isset($this->PlanDefinition)) {
3787 return $this->PlanDefinition;
3789 if (isset($this->Practitioner)) {
3790 return $this->Practitioner;
3792 if (isset($this->PractitionerRole)) {
3793 return $this->PractitionerRole;
3795 if (isset($this->Procedure)) {
3796 return $this->Procedure;
3798 if (isset($this->Provenance)) {
3799 return $this->Provenance;
3801 if (isset($this->Questionnaire)) {
3802 return $this->Questionnaire;
3804 if (isset($this->QuestionnaireResponse)) {
3805 return $this->QuestionnaireResponse;
3807 if (isset($this->RelatedPerson)) {
3808 return $this->RelatedPerson;
3810 if (isset($this->RequestGroup)) {
3811 return $this->RequestGroup;
3813 if (isset($this->ResearchDefinition)) {
3814 return $this->ResearchDefinition;
3816 if (isset($this->ResearchElementDefinition)) {
3817 return $this->ResearchElementDefinition;
3819 if (isset($this->ResearchStudy)) {
3820 return $this->ResearchStudy;
3822 if (isset($this->ResearchSubject)) {
3823 return $this->ResearchSubject;
3825 if (isset($this->RiskAssessment)) {
3826 return $this->RiskAssessment;
3828 if (isset($this->RiskEvidenceSynthesis)) {
3829 return $this->RiskEvidenceSynthesis;
3831 if (isset($this->Schedule)) {
3832 return $this->Schedule;
3834 if (isset($this->SearchParameter)) {
3835 return $this->SearchParameter;
3837 if (isset($this->ServiceRequest)) {
3838 return $this->ServiceRequest;
3840 if (isset($this->Slot)) {
3841 return $this->Slot;
3843 if (isset($this->Specimen)) {
3844 return $this->Specimen;
3846 if (isset($this->SpecimenDefinition)) {
3847 return $this->SpecimenDefinition;
3849 if (isset($this->StructureDefinition)) {
3850 return $this->StructureDefinition;
3852 if (isset($this->StructureMap)) {
3853 return $this->StructureMap;
3855 if (isset($this->Subscription)) {
3856 return $this->Subscription;
3858 if (isset($this->Substance)) {
3859 return $this->Substance;
3861 if (isset($this->SubstanceNucleicAcid)) {
3862 return $this->SubstanceNucleicAcid;
3864 if (isset($this->SubstancePolymer)) {
3865 return $this->SubstancePolymer;
3867 if (isset($this->SubstanceProtein)) {
3868 return $this->SubstanceProtein;
3870 if (isset($this->SubstanceReferenceInformation)) {
3871 return $this->SubstanceReferenceInformation;
3873 if (isset($this->SubstanceSourceMaterial)) {
3874 return $this->SubstanceSourceMaterial;
3876 if (isset($this->SubstanceSpecification)) {
3877 return $this->SubstanceSpecification;
3879 if (isset($this->SupplyDelivery)) {
3880 return $this->SupplyDelivery;
3882 if (isset($this->SupplyRequest)) {
3883 return $this->SupplyRequest;
3885 if (isset($this->Task)) {
3886 return $this->Task;
3888 if (isset($this->TerminologyCapabilities)) {
3889 return $this->TerminologyCapabilities;
3891 if (isset($this->TestReport)) {
3892 return $this->TestReport;
3894 if (isset($this->TestScript)) {
3895 return $this->TestScript;
3897 if (isset($this->ValueSet)) {
3898 return $this->ValueSet;
3900 if (isset($this->VerificationResult)) {
3901 return $this->VerificationResult;
3903 if (isset($this->VisionPrescription)) {
3904 return $this->VisionPrescription;
3906 if (isset($this->Parameters)) {
3907 return $this->Parameters;
3909 return null;
3913 * @param boolean $returnSXE
3914 * @param \SimpleXMLElement $sxe
3915 * @return string|\SimpleXMLElement
3917 public function xmlSerialize($returnSXE = false, $sxe = null)
3919 if (null === $sxe) {
3920 $sxe = new \SimpleXMLElement('<ResourceContainer xmlns="http://hl7.org/fhir"></ResourceContainer>');
3922 if (isset($this->Account)) {
3923 $this->Account->xmlSerialize(true, $sxe->addChild('Account'));
3924 } elseif (isset($this->ActivityDefinition)) {
3925 $this->ActivityDefinition->xmlSerialize(true, $sxe->addChild('ActivityDefinition'));
3926 } elseif (isset($this->AdverseEvent)) {
3927 $this->AdverseEvent->xmlSerialize(true, $sxe->addChild('AdverseEvent'));
3928 } elseif (isset($this->AllergyIntolerance)) {
3929 $this->AllergyIntolerance->xmlSerialize(true, $sxe->addChild('AllergyIntolerance'));
3930 } elseif (isset($this->Appointment)) {
3931 $this->Appointment->xmlSerialize(true, $sxe->addChild('Appointment'));
3932 } elseif (isset($this->AppointmentResponse)) {
3933 $this->AppointmentResponse->xmlSerialize(true, $sxe->addChild('AppointmentResponse'));
3934 } elseif (isset($this->AuditEvent)) {
3935 $this->AuditEvent->xmlSerialize(true, $sxe->addChild('AuditEvent'));
3936 } elseif (isset($this->Basic)) {
3937 $this->Basic->xmlSerialize(true, $sxe->addChild('Basic'));
3938 } elseif (isset($this->Binary)) {
3939 $this->Binary->xmlSerialize(true, $sxe->addChild('Binary'));
3940 } elseif (isset($this->BiologicallyDerivedProduct)) {
3941 $this->BiologicallyDerivedProduct->xmlSerialize(true, $sxe->addChild('BiologicallyDerivedProduct'));
3942 } elseif (isset($this->BodyStructure)) {
3943 $this->BodyStructure->xmlSerialize(true, $sxe->addChild('BodyStructure'));
3944 } elseif (isset($this->Bundle)) {
3945 $this->Bundle->xmlSerialize(true, $sxe->addChild('Bundle'));
3946 } elseif (isset($this->CapabilityStatement)) {
3947 $this->CapabilityStatement->xmlSerialize(true, $sxe->addChild('CapabilityStatement'));
3948 } elseif (isset($this->CarePlan)) {
3949 $this->CarePlan->xmlSerialize(true, $sxe->addChild('CarePlan'));
3950 } elseif (isset($this->CareTeam)) {
3951 $this->CareTeam->xmlSerialize(true, $sxe->addChild('CareTeam'));
3952 } elseif (isset($this->CatalogEntry)) {
3953 $this->CatalogEntry->xmlSerialize(true, $sxe->addChild('CatalogEntry'));
3954 } elseif (isset($this->ChargeItem)) {
3955 $this->ChargeItem->xmlSerialize(true, $sxe->addChild('ChargeItem'));
3956 } elseif (isset($this->ChargeItemDefinition)) {
3957 $this->ChargeItemDefinition->xmlSerialize(true, $sxe->addChild('ChargeItemDefinition'));
3958 } elseif (isset($this->Claim)) {
3959 $this->Claim->xmlSerialize(true, $sxe->addChild('Claim'));
3960 } elseif (isset($this->ClaimResponse)) {
3961 $this->ClaimResponse->xmlSerialize(true, $sxe->addChild('ClaimResponse'));
3962 } elseif (isset($this->ClinicalImpression)) {
3963 $this->ClinicalImpression->xmlSerialize(true, $sxe->addChild('ClinicalImpression'));
3964 } elseif (isset($this->CodeSystem)) {
3965 $this->CodeSystem->xmlSerialize(true, $sxe->addChild('CodeSystem'));
3966 } elseif (isset($this->Communication)) {
3967 $this->Communication->xmlSerialize(true, $sxe->addChild('Communication'));
3968 } elseif (isset($this->CommunicationRequest)) {
3969 $this->CommunicationRequest->xmlSerialize(true, $sxe->addChild('CommunicationRequest'));
3970 } elseif (isset($this->CompartmentDefinition)) {
3971 $this->CompartmentDefinition->xmlSerialize(true, $sxe->addChild('CompartmentDefinition'));
3972 } elseif (isset($this->Composition)) {
3973 $this->Composition->xmlSerialize(true, $sxe->addChild('Composition'));
3974 } elseif (isset($this->ConceptMap)) {
3975 $this->ConceptMap->xmlSerialize(true, $sxe->addChild('ConceptMap'));
3976 } elseif (isset($this->Condition)) {
3977 $this->Condition->xmlSerialize(true, $sxe->addChild('Condition'));
3978 } elseif (isset($this->Consent)) {
3979 $this->Consent->xmlSerialize(true, $sxe->addChild('Consent'));
3980 } elseif (isset($this->Contract)) {
3981 $this->Contract->xmlSerialize(true, $sxe->addChild('Contract'));
3982 } elseif (isset($this->Coverage)) {
3983 $this->Coverage->xmlSerialize(true, $sxe->addChild('Coverage'));
3984 } elseif (isset($this->CoverageEligibilityRequest)) {
3985 $this->CoverageEligibilityRequest->xmlSerialize(true, $sxe->addChild('CoverageEligibilityRequest'));
3986 } elseif (isset($this->CoverageEligibilityResponse)) {
3987 $this->CoverageEligibilityResponse->xmlSerialize(true, $sxe->addChild('CoverageEligibilityResponse'));
3988 } elseif (isset($this->DetectedIssue)) {
3989 $this->DetectedIssue->xmlSerialize(true, $sxe->addChild('DetectedIssue'));
3990 } elseif (isset($this->Device)) {
3991 $this->Device->xmlSerialize(true, $sxe->addChild('Device'));
3992 } elseif (isset($this->DeviceDefinition)) {
3993 $this->DeviceDefinition->xmlSerialize(true, $sxe->addChild('DeviceDefinition'));
3994 } elseif (isset($this->DeviceMetric)) {
3995 $this->DeviceMetric->xmlSerialize(true, $sxe->addChild('DeviceMetric'));
3996 } elseif (isset($this->DeviceRequest)) {
3997 $this->DeviceRequest->xmlSerialize(true, $sxe->addChild('DeviceRequest'));
3998 } elseif (isset($this->DeviceUseStatement)) {
3999 $this->DeviceUseStatement->xmlSerialize(true, $sxe->addChild('DeviceUseStatement'));
4000 } elseif (isset($this->DiagnosticReport)) {
4001 $this->DiagnosticReport->xmlSerialize(true, $sxe->addChild('DiagnosticReport'));
4002 } elseif (isset($this->DocumentManifest)) {
4003 $this->DocumentManifest->xmlSerialize(true, $sxe->addChild('DocumentManifest'));
4004 } elseif (isset($this->DocumentReference)) {
4005 $this->DocumentReference->xmlSerialize(true, $sxe->addChild('DocumentReference'));
4006 } elseif (isset($this->EffectEvidenceSynthesis)) {
4007 $this->EffectEvidenceSynthesis->xmlSerialize(true, $sxe->addChild('EffectEvidenceSynthesis'));
4008 } elseif (isset($this->Encounter)) {
4009 $this->Encounter->xmlSerialize(true, $sxe->addChild('Encounter'));
4010 } elseif (isset($this->Endpoint)) {
4011 $this->Endpoint->xmlSerialize(true, $sxe->addChild('Endpoint'));
4012 } elseif (isset($this->EnrollmentRequest)) {
4013 $this->EnrollmentRequest->xmlSerialize(true, $sxe->addChild('EnrollmentRequest'));
4014 } elseif (isset($this->EnrollmentResponse)) {
4015 $this->EnrollmentResponse->xmlSerialize(true, $sxe->addChild('EnrollmentResponse'));
4016 } elseif (isset($this->EpisodeOfCare)) {
4017 $this->EpisodeOfCare->xmlSerialize(true, $sxe->addChild('EpisodeOfCare'));
4018 } elseif (isset($this->EventDefinition)) {
4019 $this->EventDefinition->xmlSerialize(true, $sxe->addChild('EventDefinition'));
4020 } elseif (isset($this->Evidence)) {
4021 $this->Evidence->xmlSerialize(true, $sxe->addChild('Evidence'));
4022 } elseif (isset($this->EvidenceVariable)) {
4023 $this->EvidenceVariable->xmlSerialize(true, $sxe->addChild('EvidenceVariable'));
4024 } elseif (isset($this->ExampleScenario)) {
4025 $this->ExampleScenario->xmlSerialize(true, $sxe->addChild('ExampleScenario'));
4026 } elseif (isset($this->ExplanationOfBenefit)) {
4027 $this->ExplanationOfBenefit->xmlSerialize(true, $sxe->addChild('ExplanationOfBenefit'));
4028 } elseif (isset($this->FamilyMemberHistory)) {
4029 $this->FamilyMemberHistory->xmlSerialize(true, $sxe->addChild('FamilyMemberHistory'));
4030 } elseif (isset($this->Flag)) {
4031 $this->Flag->xmlSerialize(true, $sxe->addChild('Flag'));
4032 } elseif (isset($this->Goal)) {
4033 $this->Goal->xmlSerialize(true, $sxe->addChild('Goal'));
4034 } elseif (isset($this->GraphDefinition)) {
4035 $this->GraphDefinition->xmlSerialize(true, $sxe->addChild('GraphDefinition'));
4036 } elseif (isset($this->Group)) {
4037 $this->Group->xmlSerialize(true, $sxe->addChild('Group'));
4038 } elseif (isset($this->GuidanceResponse)) {
4039 $this->GuidanceResponse->xmlSerialize(true, $sxe->addChild('GuidanceResponse'));
4040 } elseif (isset($this->HealthcareService)) {
4041 $this->HealthcareService->xmlSerialize(true, $sxe->addChild('HealthcareService'));
4042 } elseif (isset($this->ImagingStudy)) {
4043 $this->ImagingStudy->xmlSerialize(true, $sxe->addChild('ImagingStudy'));
4044 } elseif (isset($this->Immunization)) {
4045 $this->Immunization->xmlSerialize(true, $sxe->addChild('Immunization'));
4046 } elseif (isset($this->ImmunizationEvaluation)) {
4047 $this->ImmunizationEvaluation->xmlSerialize(true, $sxe->addChild('ImmunizationEvaluation'));
4048 } elseif (isset($this->ImmunizationRecommendation)) {
4049 $this->ImmunizationRecommendation->xmlSerialize(true, $sxe->addChild('ImmunizationRecommendation'));
4050 } elseif (isset($this->ImplementationGuide)) {
4051 $this->ImplementationGuide->xmlSerialize(true, $sxe->addChild('ImplementationGuide'));
4052 } elseif (isset($this->InsurancePlan)) {
4053 $this->InsurancePlan->xmlSerialize(true, $sxe->addChild('InsurancePlan'));
4054 } elseif (isset($this->Invoice)) {
4055 $this->Invoice->xmlSerialize(true, $sxe->addChild('Invoice'));
4056 } elseif (isset($this->Library)) {
4057 $this->Library->xmlSerialize(true, $sxe->addChild('Library'));
4058 } elseif (isset($this->Linkage)) {
4059 $this->Linkage->xmlSerialize(true, $sxe->addChild('Linkage'));
4060 } elseif (isset($this->List)) {
4061 $this->List->xmlSerialize(true, $sxe->addChild('List'));
4062 } elseif (isset($this->Location)) {
4063 $this->Location->xmlSerialize(true, $sxe->addChild('Location'));
4064 } elseif (isset($this->Measure)) {
4065 $this->Measure->xmlSerialize(true, $sxe->addChild('Measure'));
4066 } elseif (isset($this->MeasureReport)) {
4067 $this->MeasureReport->xmlSerialize(true, $sxe->addChild('MeasureReport'));
4068 } elseif (isset($this->Media)) {
4069 $this->Media->xmlSerialize(true, $sxe->addChild('Media'));
4070 } elseif (isset($this->Medication)) {
4071 $this->Medication->xmlSerialize(true, $sxe->addChild('Medication'));
4072 } elseif (isset($this->MedicationAdministration)) {
4073 $this->MedicationAdministration->xmlSerialize(true, $sxe->addChild('MedicationAdministration'));
4074 } elseif (isset($this->MedicationDispense)) {
4075 $this->MedicationDispense->xmlSerialize(true, $sxe->addChild('MedicationDispense'));
4076 } elseif (isset($this->MedicationKnowledge)) {
4077 $this->MedicationKnowledge->xmlSerialize(true, $sxe->addChild('MedicationKnowledge'));
4078 } elseif (isset($this->MedicationRequest)) {
4079 $this->MedicationRequest->xmlSerialize(true, $sxe->addChild('MedicationRequest'));
4080 } elseif (isset($this->MedicationStatement)) {
4081 $this->MedicationStatement->xmlSerialize(true, $sxe->addChild('MedicationStatement'));
4082 } elseif (isset($this->MedicinalProduct)) {
4083 $this->MedicinalProduct->xmlSerialize(true, $sxe->addChild('MedicinalProduct'));
4084 } elseif (isset($this->MedicinalProductAuthorization)) {
4085 $this->MedicinalProductAuthorization->xmlSerialize(true, $sxe->addChild('MedicinalProductAuthorization'));
4086 } elseif (isset($this->MedicinalProductContraindication)) {
4087 $this->MedicinalProductContraindication->xmlSerialize(true, $sxe->addChild('MedicinalProductContraindication'));
4088 } elseif (isset($this->MedicinalProductIndication)) {
4089 $this->MedicinalProductIndication->xmlSerialize(true, $sxe->addChild('MedicinalProductIndication'));
4090 } elseif (isset($this->MedicinalProductIngredient)) {
4091 $this->MedicinalProductIngredient->xmlSerialize(true, $sxe->addChild('MedicinalProductIngredient'));
4092 } elseif (isset($this->MedicinalProductInteraction)) {
4093 $this->MedicinalProductInteraction->xmlSerialize(true, $sxe->addChild('MedicinalProductInteraction'));
4094 } elseif (isset($this->MedicinalProductManufactured)) {
4095 $this->MedicinalProductManufactured->xmlSerialize(true, $sxe->addChild('MedicinalProductManufactured'));
4096 } elseif (isset($this->MedicinalProductPackaged)) {
4097 $this->MedicinalProductPackaged->xmlSerialize(true, $sxe->addChild('MedicinalProductPackaged'));
4098 } elseif (isset($this->MedicinalProductPharmaceutical)) {
4099 $this->MedicinalProductPharmaceutical->xmlSerialize(true, $sxe->addChild('MedicinalProductPharmaceutical'));
4100 } elseif (isset($this->MedicinalProductUndesirableEffect)) {
4101 $this->MedicinalProductUndesirableEffect->xmlSerialize(true, $sxe->addChild('MedicinalProductUndesirableEffect'));
4102 } elseif (isset($this->MessageDefinition)) {
4103 $this->MessageDefinition->xmlSerialize(true, $sxe->addChild('MessageDefinition'));
4104 } elseif (isset($this->MessageHeader)) {
4105 $this->MessageHeader->xmlSerialize(true, $sxe->addChild('MessageHeader'));
4106 } elseif (isset($this->MolecularSequence)) {
4107 $this->MolecularSequence->xmlSerialize(true, $sxe->addChild('MolecularSequence'));
4108 } elseif (isset($this->NamingSystem)) {
4109 $this->NamingSystem->xmlSerialize(true, $sxe->addChild('NamingSystem'));
4110 } elseif (isset($this->NutritionOrder)) {
4111 $this->NutritionOrder->xmlSerialize(true, $sxe->addChild('NutritionOrder'));
4112 } elseif (isset($this->Observation)) {
4113 $this->Observation->xmlSerialize(true, $sxe->addChild('Observation'));
4114 } elseif (isset($this->ObservationDefinition)) {
4115 $this->ObservationDefinition->xmlSerialize(true, $sxe->addChild('ObservationDefinition'));
4116 } elseif (isset($this->OperationDefinition)) {
4117 $this->OperationDefinition->xmlSerialize(true, $sxe->addChild('OperationDefinition'));
4118 } elseif (isset($this->OperationOutcome)) {
4119 $this->OperationOutcome->xmlSerialize(true, $sxe->addChild('OperationOutcome'));
4120 } elseif (isset($this->Organization)) {
4121 $this->Organization->xmlSerialize(true, $sxe->addChild('Organization'));
4122 } elseif (isset($this->OrganizationAffiliation)) {
4123 $this->OrganizationAffiliation->xmlSerialize(true, $sxe->addChild('OrganizationAffiliation'));
4124 } elseif (isset($this->Patient)) {
4125 $this->Patient->xmlSerialize(true, $sxe->addChild('Patient'));
4126 } elseif (isset($this->PaymentNotice)) {
4127 $this->PaymentNotice->xmlSerialize(true, $sxe->addChild('PaymentNotice'));
4128 } elseif (isset($this->PaymentReconciliation)) {
4129 $this->PaymentReconciliation->xmlSerialize(true, $sxe->addChild('PaymentReconciliation'));
4130 } elseif (isset($this->Person)) {
4131 $this->Person->xmlSerialize(true, $sxe->addChild('Person'));
4132 } elseif (isset($this->PlanDefinition)) {
4133 $this->PlanDefinition->xmlSerialize(true, $sxe->addChild('PlanDefinition'));
4134 } elseif (isset($this->Practitioner)) {
4135 $this->Practitioner->xmlSerialize(true, $sxe->addChild('Practitioner'));
4136 } elseif (isset($this->PractitionerRole)) {
4137 $this->PractitionerRole->xmlSerialize(true, $sxe->addChild('PractitionerRole'));
4138 } elseif (isset($this->Procedure)) {
4139 $this->Procedure->xmlSerialize(true, $sxe->addChild('Procedure'));
4140 } elseif (isset($this->Provenance)) {
4141 $this->Provenance->xmlSerialize(true, $sxe->addChild('Provenance'));
4142 } elseif (isset($this->Questionnaire)) {
4143 $this->Questionnaire->xmlSerialize(true, $sxe->addChild('Questionnaire'));
4144 } elseif (isset($this->QuestionnaireResponse)) {
4145 $this->QuestionnaireResponse->xmlSerialize(true, $sxe->addChild('QuestionnaireResponse'));
4146 } elseif (isset($this->RelatedPerson)) {
4147 $this->RelatedPerson->xmlSerialize(true, $sxe->addChild('RelatedPerson'));
4148 } elseif (isset($this->RequestGroup)) {
4149 $this->RequestGroup->xmlSerialize(true, $sxe->addChild('RequestGroup'));
4150 } elseif (isset($this->ResearchDefinition)) {
4151 $this->ResearchDefinition->xmlSerialize(true, $sxe->addChild('ResearchDefinition'));
4152 } elseif (isset($this->ResearchElementDefinition)) {
4153 $this->ResearchElementDefinition->xmlSerialize(true, $sxe->addChild('ResearchElementDefinition'));
4154 } elseif (isset($this->ResearchStudy)) {
4155 $this->ResearchStudy->xmlSerialize(true, $sxe->addChild('ResearchStudy'));
4156 } elseif (isset($this->ResearchSubject)) {
4157 $this->ResearchSubject->xmlSerialize(true, $sxe->addChild('ResearchSubject'));
4158 } elseif (isset($this->RiskAssessment)) {
4159 $this->RiskAssessment->xmlSerialize(true, $sxe->addChild('RiskAssessment'));
4160 } elseif (isset($this->RiskEvidenceSynthesis)) {
4161 $this->RiskEvidenceSynthesis->xmlSerialize(true, $sxe->addChild('RiskEvidenceSynthesis'));
4162 } elseif (isset($this->Schedule)) {
4163 $this->Schedule->xmlSerialize(true, $sxe->addChild('Schedule'));
4164 } elseif (isset($this->SearchParameter)) {
4165 $this->SearchParameter->xmlSerialize(true, $sxe->addChild('SearchParameter'));
4166 } elseif (isset($this->ServiceRequest)) {
4167 $this->ServiceRequest->xmlSerialize(true, $sxe->addChild('ServiceRequest'));
4168 } elseif (isset($this->Slot)) {
4169 $this->Slot->xmlSerialize(true, $sxe->addChild('Slot'));
4170 } elseif (isset($this->Specimen)) {
4171 $this->Specimen->xmlSerialize(true, $sxe->addChild('Specimen'));
4172 } elseif (isset($this->SpecimenDefinition)) {
4173 $this->SpecimenDefinition->xmlSerialize(true, $sxe->addChild('SpecimenDefinition'));
4174 } elseif (isset($this->StructureDefinition)) {
4175 $this->StructureDefinition->xmlSerialize(true, $sxe->addChild('StructureDefinition'));
4176 } elseif (isset($this->StructureMap)) {
4177 $this->StructureMap->xmlSerialize(true, $sxe->addChild('StructureMap'));
4178 } elseif (isset($this->Subscription)) {
4179 $this->Subscription->xmlSerialize(true, $sxe->addChild('Subscription'));
4180 } elseif (isset($this->Substance)) {
4181 $this->Substance->xmlSerialize(true, $sxe->addChild('Substance'));
4182 } elseif (isset($this->SubstanceNucleicAcid)) {
4183 $this->SubstanceNucleicAcid->xmlSerialize(true, $sxe->addChild('SubstanceNucleicAcid'));
4184 } elseif (isset($this->SubstancePolymer)) {
4185 $this->SubstancePolymer->xmlSerialize(true, $sxe->addChild('SubstancePolymer'));
4186 } elseif (isset($this->SubstanceProtein)) {
4187 $this->SubstanceProtein->xmlSerialize(true, $sxe->addChild('SubstanceProtein'));
4188 } elseif (isset($this->SubstanceReferenceInformation)) {
4189 $this->SubstanceReferenceInformation->xmlSerialize(true, $sxe->addChild('SubstanceReferenceInformation'));
4190 } elseif (isset($this->SubstanceSourceMaterial)) {
4191 $this->SubstanceSourceMaterial->xmlSerialize(true, $sxe->addChild('SubstanceSourceMaterial'));
4192 } elseif (isset($this->SubstanceSpecification)) {
4193 $this->SubstanceSpecification->xmlSerialize(true, $sxe->addChild('SubstanceSpecification'));
4194 } elseif (isset($this->SupplyDelivery)) {
4195 $this->SupplyDelivery->xmlSerialize(true, $sxe->addChild('SupplyDelivery'));
4196 } elseif (isset($this->SupplyRequest)) {
4197 $this->SupplyRequest->xmlSerialize(true, $sxe->addChild('SupplyRequest'));
4198 } elseif (isset($this->Task)) {
4199 $this->Task->xmlSerialize(true, $sxe->addChild('Task'));
4200 } elseif (isset($this->TerminologyCapabilities)) {
4201 $this->TerminologyCapabilities->xmlSerialize(true, $sxe->addChild('TerminologyCapabilities'));
4202 } elseif (isset($this->TestReport)) {
4203 $this->TestReport->xmlSerialize(true, $sxe->addChild('TestReport'));
4204 } elseif (isset($this->TestScript)) {
4205 $this->TestScript->xmlSerialize(true, $sxe->addChild('TestScript'));
4206 } elseif (isset($this->ValueSet)) {
4207 $this->ValueSet->xmlSerialize(true, $sxe->addChild('ValueSet'));
4208 } elseif (isset($this->VerificationResult)) {
4209 $this->VerificationResult->xmlSerialize(true, $sxe->addChild('VerificationResult'));
4210 } elseif (isset($this->VisionPrescription)) {
4211 $this->VisionPrescription->xmlSerialize(true, $sxe->addChild('VisionPrescription'));
4212 } elseif (isset($this->Parameters)) {
4213 $this->Parameters->xmlSerialize(true, $sxe->addChild('Parameters'));
4215 if ($returnSXE) {
4216 return $sxe;
4218 return $sxe->saveXML();
4222 * @return mixed
4224 public function getResource()
4226 return $this->jsonSerialize();