some fixes (#2481)
[openemr.git] / phpfhir / HL7 / FHIR / STU3 / src / FHIRResourceContainer.php
blob513c2b081f3c4cb13b489f59b686ac88f056d9a6
1 <?php namespace HL7\FHIR\STU3;
3 /*!
4 * This class was generated with the PHPFHIR library (https://github.com/dcarbone/php-fhir) using
5 * class definitions from HL7 FHIR (https://www.hl7.org/fhir/)
6 *
7 * Class creation date: February 10th, 2018
8 */
10 class FHIRResourceContainer implements \JsonSerializable
12 /**
13 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRAccount
15 public $Account = null;
17 /**
18 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRActivityDefinition
20 public $ActivityDefinition = null;
22 /**
23 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRAdverseEvent
25 public $AdverseEvent = null;
27 /**
28 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRAllergyIntolerance
30 public $AllergyIntolerance = null;
32 /**
33 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRAppointment
35 public $Appointment = null;
37 /**
38 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRAppointmentResponse
40 public $AppointmentResponse = null;
42 /**
43 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRAuditEvent
45 public $AuditEvent = null;
47 /**
48 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRBasic
50 public $Basic = null;
52 /**
53 * @var \HL7\FHIR\STU3\FHIRResource\FHIRBinary
55 public $Binary = null;
57 /**
58 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRBodySite
60 public $BodySite = null;
62 /**
63 * @var \HL7\FHIR\STU3\FHIRResource\FHIRBundle
65 public $Bundle = null;
67 /**
68 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRCapabilityStatement
70 public $CapabilityStatement = null;
72 /**
73 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRCarePlan
75 public $CarePlan = null;
77 /**
78 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRCareTeam
80 public $CareTeam = null;
82 /**
83 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRChargeItem
85 public $ChargeItem = null;
87 /**
88 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRClaim
90 public $Claim = null;
92 /**
93 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRClaimResponse
95 public $ClaimResponse = null;
97 /**
98 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRClinicalImpression
100 public $ClinicalImpression = null;
103 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRCodeSystem
105 public $CodeSystem = null;
108 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRCommunication
110 public $Communication = null;
113 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRCommunicationRequest
115 public $CommunicationRequest = null;
118 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRCompartmentDefinition
120 public $CompartmentDefinition = null;
123 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRComposition
125 public $Composition = null;
128 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRConceptMap
130 public $ConceptMap = null;
133 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRCondition
135 public $Condition = null;
138 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRConsent
140 public $Consent = null;
143 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRContract
145 public $Contract = null;
148 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRCoverage
150 public $Coverage = null;
153 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRDataElement
155 public $DataElement = null;
158 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRDetectedIssue
160 public $DetectedIssue = null;
163 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRDevice
165 public $Device = null;
168 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRDeviceComponent
170 public $DeviceComponent = null;
173 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRDeviceMetric
175 public $DeviceMetric = null;
178 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRDeviceRequest
180 public $DeviceRequest = null;
183 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRDeviceUseStatement
185 public $DeviceUseStatement = null;
188 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRDiagnosticReport
190 public $DiagnosticReport = null;
193 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRDocumentManifest
195 public $DocumentManifest = null;
198 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRDocumentReference
200 public $DocumentReference = null;
203 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIREligibilityRequest
205 public $EligibilityRequest = null;
208 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIREligibilityResponse
210 public $EligibilityResponse = null;
213 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIREncounter
215 public $Encounter = null;
218 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIREndpoint
220 public $Endpoint = null;
223 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIREnrollmentRequest
225 public $EnrollmentRequest = null;
228 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIREnrollmentResponse
230 public $EnrollmentResponse = null;
233 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIREpisodeOfCare
235 public $EpisodeOfCare = null;
238 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRExpansionProfile
240 public $ExpansionProfile = null;
243 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRExplanationOfBenefit
245 public $ExplanationOfBenefit = null;
248 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRFamilyMemberHistory
250 public $FamilyMemberHistory = null;
253 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRFlag
255 public $Flag = null;
258 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRGoal
260 public $Goal = null;
263 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRGraphDefinition
265 public $GraphDefinition = null;
268 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRGroup
270 public $Group = null;
273 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRGuidanceResponse
275 public $GuidanceResponse = null;
278 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRHealthcareService
280 public $HealthcareService = null;
283 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRImagingManifest
285 public $ImagingManifest = null;
288 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRImagingStudy
290 public $ImagingStudy = null;
293 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRImmunization
295 public $Immunization = null;
298 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRImmunizationRecommendation
300 public $ImmunizationRecommendation = null;
303 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRImplementationGuide
305 public $ImplementationGuide = null;
308 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRLibrary
310 public $Library = null;
313 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRLinkage
315 public $Linkage = null;
318 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRList
320 public $List = null;
323 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRLocation
325 public $Location = null;
328 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRMeasure
330 public $Measure = null;
333 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRMeasureReport
335 public $MeasureReport = null;
338 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRMedia
340 public $Media = null;
343 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRMedication
345 public $Medication = null;
348 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRMedicationAdministration
350 public $MedicationAdministration = null;
353 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRMedicationDispense
355 public $MedicationDispense = null;
358 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRMedicationRequest
360 public $MedicationRequest = null;
363 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRMedicationStatement
365 public $MedicationStatement = null;
368 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRMessageDefinition
370 public $MessageDefinition = null;
373 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRMessageHeader
375 public $MessageHeader = null;
378 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRNamingSystem
380 public $NamingSystem = null;
383 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRNutritionOrder
385 public $NutritionOrder = null;
388 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRObservation
390 public $Observation = null;
393 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIROperationDefinition
395 public $OperationDefinition = null;
398 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIROperationOutcome
400 public $OperationOutcome = null;
403 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIROrganization
405 public $Organization = null;
408 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRPatient
410 public $Patient = null;
413 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRPaymentNotice
415 public $PaymentNotice = null;
418 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRPaymentReconciliation
420 public $PaymentReconciliation = null;
423 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRPerson
425 public $Person = null;
428 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRPlanDefinition
430 public $PlanDefinition = null;
433 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRPractitioner
435 public $Practitioner = null;
438 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRPractitionerRole
440 public $PractitionerRole = null;
443 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRProcedure
445 public $Procedure = null;
448 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRProcedureRequest
450 public $ProcedureRequest = null;
453 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRProcessRequest
455 public $ProcessRequest = null;
458 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRProcessResponse
460 public $ProcessResponse = null;
463 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRProvenance
465 public $Provenance = null;
468 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRQuestionnaire
470 public $Questionnaire = null;
473 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRQuestionnaireResponse
475 public $QuestionnaireResponse = null;
478 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRReferralRequest
480 public $ReferralRequest = null;
483 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRRelatedPerson
485 public $RelatedPerson = null;
488 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRRequestGroup
490 public $RequestGroup = null;
493 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRResearchStudy
495 public $ResearchStudy = null;
498 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRResearchSubject
500 public $ResearchSubject = null;
503 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRRiskAssessment
505 public $RiskAssessment = null;
508 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRSchedule
510 public $Schedule = null;
513 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRSearchParameter
515 public $SearchParameter = null;
518 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRSequence
520 public $Sequence = null;
523 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRServiceDefinition
525 public $ServiceDefinition = null;
528 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRSlot
530 public $Slot = null;
533 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRSpecimen
535 public $Specimen = null;
538 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRStructureDefinition
540 public $StructureDefinition = null;
543 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRStructureMap
545 public $StructureMap = null;
548 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRSubscription
550 public $Subscription = null;
553 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRSubstance
555 public $Substance = null;
558 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRSupplyDelivery
560 public $SupplyDelivery = null;
563 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRSupplyRequest
565 public $SupplyRequest = null;
568 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRTask
570 public $Task = null;
573 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRTestReport
575 public $TestReport = null;
578 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRTestScript
580 public $TestScript = null;
583 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRValueSet
585 public $ValueSet = null;
588 * @var \HL7\FHIR\STU3\FHIRDomainResource\FHIRVisionPrescription
590 public $VisionPrescription = null;
593 * @var \HL7\FHIR\STU3\FHIRResource\FHIRParameters
595 public $Parameters = null;
598 * @var string
600 private $_fhirElementName = 'ResourceContainer';
603 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRAccount
605 public function getAccount()
607 return $this->Account;
611 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRAccount $Account
612 * @return $this
614 public function setAccount($Account)
616 $this->Account = $Account;
617 return $this;
621 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRActivityDefinition
623 public function getActivityDefinition()
625 return $this->ActivityDefinition;
629 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRActivityDefinition $ActivityDefinition
630 * @return $this
632 public function setActivityDefinition($ActivityDefinition)
634 $this->ActivityDefinition = $ActivityDefinition;
635 return $this;
639 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRAdverseEvent
641 public function getAdverseEvent()
643 return $this->AdverseEvent;
647 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRAdverseEvent $AdverseEvent
648 * @return $this
650 public function setAdverseEvent($AdverseEvent)
652 $this->AdverseEvent = $AdverseEvent;
653 return $this;
657 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRAllergyIntolerance
659 public function getAllergyIntolerance()
661 return $this->AllergyIntolerance;
665 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRAllergyIntolerance $AllergyIntolerance
666 * @return $this
668 public function setAllergyIntolerance($AllergyIntolerance)
670 $this->AllergyIntolerance = $AllergyIntolerance;
671 return $this;
675 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRAppointment
677 public function getAppointment()
679 return $this->Appointment;
683 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRAppointment $Appointment
684 * @return $this
686 public function setAppointment($Appointment)
688 $this->Appointment = $Appointment;
689 return $this;
693 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRAppointmentResponse
695 public function getAppointmentResponse()
697 return $this->AppointmentResponse;
701 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRAppointmentResponse $AppointmentResponse
702 * @return $this
704 public function setAppointmentResponse($AppointmentResponse)
706 $this->AppointmentResponse = $AppointmentResponse;
707 return $this;
711 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRAuditEvent
713 public function getAuditEvent()
715 return $this->AuditEvent;
719 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRAuditEvent $AuditEvent
720 * @return $this
722 public function setAuditEvent($AuditEvent)
724 $this->AuditEvent = $AuditEvent;
725 return $this;
729 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRBasic
731 public function getBasic()
733 return $this->Basic;
737 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRBasic $Basic
738 * @return $this
740 public function setBasic($Basic)
742 $this->Basic = $Basic;
743 return $this;
747 * @return \HL7\FHIR\STU3\FHIRResource\FHIRBinary
749 public function getBinary()
751 return $this->Binary;
755 * @param \HL7\FHIR\STU3\FHIRResource\FHIRBinary $Binary
756 * @return $this
758 public function setBinary($Binary)
760 $this->Binary = $Binary;
761 return $this;
765 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRBodySite
767 public function getBodySite()
769 return $this->BodySite;
773 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRBodySite $BodySite
774 * @return $this
776 public function setBodySite($BodySite)
778 $this->BodySite = $BodySite;
779 return $this;
783 * @return \HL7\FHIR\STU3\FHIRResource\FHIRBundle
785 public function getBundle()
787 return $this->Bundle;
791 * @param \HL7\FHIR\STU3\FHIRResource\FHIRBundle $Bundle
792 * @return $this
794 public function setBundle($Bundle)
796 $this->Bundle = $Bundle;
797 return $this;
801 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRCapabilityStatement
803 public function getCapabilityStatement()
805 return $this->CapabilityStatement;
809 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRCapabilityStatement $CapabilityStatement
810 * @return $this
812 public function setCapabilityStatement($CapabilityStatement)
814 $this->CapabilityStatement = $CapabilityStatement;
815 return $this;
819 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRCarePlan
821 public function getCarePlan()
823 return $this->CarePlan;
827 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRCarePlan $CarePlan
828 * @return $this
830 public function setCarePlan($CarePlan)
832 $this->CarePlan = $CarePlan;
833 return $this;
837 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRCareTeam
839 public function getCareTeam()
841 return $this->CareTeam;
845 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRCareTeam $CareTeam
846 * @return $this
848 public function setCareTeam($CareTeam)
850 $this->CareTeam = $CareTeam;
851 return $this;
855 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRChargeItem
857 public function getChargeItem()
859 return $this->ChargeItem;
863 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRChargeItem $ChargeItem
864 * @return $this
866 public function setChargeItem($ChargeItem)
868 $this->ChargeItem = $ChargeItem;
869 return $this;
873 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRClaim
875 public function getClaim()
877 return $this->Claim;
881 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRClaim $Claim
882 * @return $this
884 public function setClaim($Claim)
886 $this->Claim = $Claim;
887 return $this;
891 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRClaimResponse
893 public function getClaimResponse()
895 return $this->ClaimResponse;
899 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRClaimResponse $ClaimResponse
900 * @return $this
902 public function setClaimResponse($ClaimResponse)
904 $this->ClaimResponse = $ClaimResponse;
905 return $this;
909 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRClinicalImpression
911 public function getClinicalImpression()
913 return $this->ClinicalImpression;
917 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRClinicalImpression $ClinicalImpression
918 * @return $this
920 public function setClinicalImpression($ClinicalImpression)
922 $this->ClinicalImpression = $ClinicalImpression;
923 return $this;
927 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRCodeSystem
929 public function getCodeSystem()
931 return $this->CodeSystem;
935 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRCodeSystem $CodeSystem
936 * @return $this
938 public function setCodeSystem($CodeSystem)
940 $this->CodeSystem = $CodeSystem;
941 return $this;
945 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRCommunication
947 public function getCommunication()
949 return $this->Communication;
953 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRCommunication $Communication
954 * @return $this
956 public function setCommunication($Communication)
958 $this->Communication = $Communication;
959 return $this;
963 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRCommunicationRequest
965 public function getCommunicationRequest()
967 return $this->CommunicationRequest;
971 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRCommunicationRequest $CommunicationRequest
972 * @return $this
974 public function setCommunicationRequest($CommunicationRequest)
976 $this->CommunicationRequest = $CommunicationRequest;
977 return $this;
981 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRCompartmentDefinition
983 public function getCompartmentDefinition()
985 return $this->CompartmentDefinition;
989 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRCompartmentDefinition $CompartmentDefinition
990 * @return $this
992 public function setCompartmentDefinition($CompartmentDefinition)
994 $this->CompartmentDefinition = $CompartmentDefinition;
995 return $this;
999 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRComposition
1001 public function getComposition()
1003 return $this->Composition;
1007 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRComposition $Composition
1008 * @return $this
1010 public function setComposition($Composition)
1012 $this->Composition = $Composition;
1013 return $this;
1017 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRConceptMap
1019 public function getConceptMap()
1021 return $this->ConceptMap;
1025 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRConceptMap $ConceptMap
1026 * @return $this
1028 public function setConceptMap($ConceptMap)
1030 $this->ConceptMap = $ConceptMap;
1031 return $this;
1035 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRCondition
1037 public function getCondition()
1039 return $this->Condition;
1043 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRCondition $Condition
1044 * @return $this
1046 public function setCondition($Condition)
1048 $this->Condition = $Condition;
1049 return $this;
1053 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRConsent
1055 public function getConsent()
1057 return $this->Consent;
1061 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRConsent $Consent
1062 * @return $this
1064 public function setConsent($Consent)
1066 $this->Consent = $Consent;
1067 return $this;
1071 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRContract
1073 public function getContract()
1075 return $this->Contract;
1079 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRContract $Contract
1080 * @return $this
1082 public function setContract($Contract)
1084 $this->Contract = $Contract;
1085 return $this;
1089 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRCoverage
1091 public function getCoverage()
1093 return $this->Coverage;
1097 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRCoverage $Coverage
1098 * @return $this
1100 public function setCoverage($Coverage)
1102 $this->Coverage = $Coverage;
1103 return $this;
1107 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRDataElement
1109 public function getDataElement()
1111 return $this->DataElement;
1115 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRDataElement $DataElement
1116 * @return $this
1118 public function setDataElement($DataElement)
1120 $this->DataElement = $DataElement;
1121 return $this;
1125 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRDetectedIssue
1127 public function getDetectedIssue()
1129 return $this->DetectedIssue;
1133 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRDetectedIssue $DetectedIssue
1134 * @return $this
1136 public function setDetectedIssue($DetectedIssue)
1138 $this->DetectedIssue = $DetectedIssue;
1139 return $this;
1143 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRDevice
1145 public function getDevice()
1147 return $this->Device;
1151 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRDevice $Device
1152 * @return $this
1154 public function setDevice($Device)
1156 $this->Device = $Device;
1157 return $this;
1161 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRDeviceComponent
1163 public function getDeviceComponent()
1165 return $this->DeviceComponent;
1169 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRDeviceComponent $DeviceComponent
1170 * @return $this
1172 public function setDeviceComponent($DeviceComponent)
1174 $this->DeviceComponent = $DeviceComponent;
1175 return $this;
1179 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRDeviceMetric
1181 public function getDeviceMetric()
1183 return $this->DeviceMetric;
1187 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRDeviceMetric $DeviceMetric
1188 * @return $this
1190 public function setDeviceMetric($DeviceMetric)
1192 $this->DeviceMetric = $DeviceMetric;
1193 return $this;
1197 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRDeviceRequest
1199 public function getDeviceRequest()
1201 return $this->DeviceRequest;
1205 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRDeviceRequest $DeviceRequest
1206 * @return $this
1208 public function setDeviceRequest($DeviceRequest)
1210 $this->DeviceRequest = $DeviceRequest;
1211 return $this;
1215 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRDeviceUseStatement
1217 public function getDeviceUseStatement()
1219 return $this->DeviceUseStatement;
1223 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRDeviceUseStatement $DeviceUseStatement
1224 * @return $this
1226 public function setDeviceUseStatement($DeviceUseStatement)
1228 $this->DeviceUseStatement = $DeviceUseStatement;
1229 return $this;
1233 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRDiagnosticReport
1235 public function getDiagnosticReport()
1237 return $this->DiagnosticReport;
1241 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRDiagnosticReport $DiagnosticReport
1242 * @return $this
1244 public function setDiagnosticReport($DiagnosticReport)
1246 $this->DiagnosticReport = $DiagnosticReport;
1247 return $this;
1251 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRDocumentManifest
1253 public function getDocumentManifest()
1255 return $this->DocumentManifest;
1259 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRDocumentManifest $DocumentManifest
1260 * @return $this
1262 public function setDocumentManifest($DocumentManifest)
1264 $this->DocumentManifest = $DocumentManifest;
1265 return $this;
1269 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRDocumentReference
1271 public function getDocumentReference()
1273 return $this->DocumentReference;
1277 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRDocumentReference $DocumentReference
1278 * @return $this
1280 public function setDocumentReference($DocumentReference)
1282 $this->DocumentReference = $DocumentReference;
1283 return $this;
1287 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIREligibilityRequest
1289 public function getEligibilityRequest()
1291 return $this->EligibilityRequest;
1295 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIREligibilityRequest $EligibilityRequest
1296 * @return $this
1298 public function setEligibilityRequest($EligibilityRequest)
1300 $this->EligibilityRequest = $EligibilityRequest;
1301 return $this;
1305 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIREligibilityResponse
1307 public function getEligibilityResponse()
1309 return $this->EligibilityResponse;
1313 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIREligibilityResponse $EligibilityResponse
1314 * @return $this
1316 public function setEligibilityResponse($EligibilityResponse)
1318 $this->EligibilityResponse = $EligibilityResponse;
1319 return $this;
1323 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIREncounter
1325 public function getEncounter()
1327 return $this->Encounter;
1331 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIREncounter $Encounter
1332 * @return $this
1334 public function setEncounter($Encounter)
1336 $this->Encounter = $Encounter;
1337 return $this;
1341 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIREndpoint
1343 public function getEndpoint()
1345 return $this->Endpoint;
1349 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIREndpoint $Endpoint
1350 * @return $this
1352 public function setEndpoint($Endpoint)
1354 $this->Endpoint = $Endpoint;
1355 return $this;
1359 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIREnrollmentRequest
1361 public function getEnrollmentRequest()
1363 return $this->EnrollmentRequest;
1367 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIREnrollmentRequest $EnrollmentRequest
1368 * @return $this
1370 public function setEnrollmentRequest($EnrollmentRequest)
1372 $this->EnrollmentRequest = $EnrollmentRequest;
1373 return $this;
1377 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIREnrollmentResponse
1379 public function getEnrollmentResponse()
1381 return $this->EnrollmentResponse;
1385 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIREnrollmentResponse $EnrollmentResponse
1386 * @return $this
1388 public function setEnrollmentResponse($EnrollmentResponse)
1390 $this->EnrollmentResponse = $EnrollmentResponse;
1391 return $this;
1395 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIREpisodeOfCare
1397 public function getEpisodeOfCare()
1399 return $this->EpisodeOfCare;
1403 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIREpisodeOfCare $EpisodeOfCare
1404 * @return $this
1406 public function setEpisodeOfCare($EpisodeOfCare)
1408 $this->EpisodeOfCare = $EpisodeOfCare;
1409 return $this;
1413 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRExpansionProfile
1415 public function getExpansionProfile()
1417 return $this->ExpansionProfile;
1421 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRExpansionProfile $ExpansionProfile
1422 * @return $this
1424 public function setExpansionProfile($ExpansionProfile)
1426 $this->ExpansionProfile = $ExpansionProfile;
1427 return $this;
1431 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRExplanationOfBenefit
1433 public function getExplanationOfBenefit()
1435 return $this->ExplanationOfBenefit;
1439 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRExplanationOfBenefit $ExplanationOfBenefit
1440 * @return $this
1442 public function setExplanationOfBenefit($ExplanationOfBenefit)
1444 $this->ExplanationOfBenefit = $ExplanationOfBenefit;
1445 return $this;
1449 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRFamilyMemberHistory
1451 public function getFamilyMemberHistory()
1453 return $this->FamilyMemberHistory;
1457 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRFamilyMemberHistory $FamilyMemberHistory
1458 * @return $this
1460 public function setFamilyMemberHistory($FamilyMemberHistory)
1462 $this->FamilyMemberHistory = $FamilyMemberHistory;
1463 return $this;
1467 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRFlag
1469 public function getFlag()
1471 return $this->Flag;
1475 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRFlag $Flag
1476 * @return $this
1478 public function setFlag($Flag)
1480 $this->Flag = $Flag;
1481 return $this;
1485 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRGoal
1487 public function getGoal()
1489 return $this->Goal;
1493 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRGoal $Goal
1494 * @return $this
1496 public function setGoal($Goal)
1498 $this->Goal = $Goal;
1499 return $this;
1503 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRGraphDefinition
1505 public function getGraphDefinition()
1507 return $this->GraphDefinition;
1511 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRGraphDefinition $GraphDefinition
1512 * @return $this
1514 public function setGraphDefinition($GraphDefinition)
1516 $this->GraphDefinition = $GraphDefinition;
1517 return $this;
1521 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRGroup
1523 public function getGroup()
1525 return $this->Group;
1529 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRGroup $Group
1530 * @return $this
1532 public function setGroup($Group)
1534 $this->Group = $Group;
1535 return $this;
1539 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRGuidanceResponse
1541 public function getGuidanceResponse()
1543 return $this->GuidanceResponse;
1547 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRGuidanceResponse $GuidanceResponse
1548 * @return $this
1550 public function setGuidanceResponse($GuidanceResponse)
1552 $this->GuidanceResponse = $GuidanceResponse;
1553 return $this;
1557 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRHealthcareService
1559 public function getHealthcareService()
1561 return $this->HealthcareService;
1565 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRHealthcareService $HealthcareService
1566 * @return $this
1568 public function setHealthcareService($HealthcareService)
1570 $this->HealthcareService = $HealthcareService;
1571 return $this;
1575 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRImagingManifest
1577 public function getImagingManifest()
1579 return $this->ImagingManifest;
1583 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRImagingManifest $ImagingManifest
1584 * @return $this
1586 public function setImagingManifest($ImagingManifest)
1588 $this->ImagingManifest = $ImagingManifest;
1589 return $this;
1593 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRImagingStudy
1595 public function getImagingStudy()
1597 return $this->ImagingStudy;
1601 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRImagingStudy $ImagingStudy
1602 * @return $this
1604 public function setImagingStudy($ImagingStudy)
1606 $this->ImagingStudy = $ImagingStudy;
1607 return $this;
1611 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRImmunization
1613 public function getImmunization()
1615 return $this->Immunization;
1619 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRImmunization $Immunization
1620 * @return $this
1622 public function setImmunization($Immunization)
1624 $this->Immunization = $Immunization;
1625 return $this;
1629 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRImmunizationRecommendation
1631 public function getImmunizationRecommendation()
1633 return $this->ImmunizationRecommendation;
1637 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRImmunizationRecommendation $ImmunizationRecommendation
1638 * @return $this
1640 public function setImmunizationRecommendation($ImmunizationRecommendation)
1642 $this->ImmunizationRecommendation = $ImmunizationRecommendation;
1643 return $this;
1647 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRImplementationGuide
1649 public function getImplementationGuide()
1651 return $this->ImplementationGuide;
1655 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRImplementationGuide $ImplementationGuide
1656 * @return $this
1658 public function setImplementationGuide($ImplementationGuide)
1660 $this->ImplementationGuide = $ImplementationGuide;
1661 return $this;
1665 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRLibrary
1667 public function getLibrary()
1669 return $this->Library;
1673 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRLibrary $Library
1674 * @return $this
1676 public function setLibrary($Library)
1678 $this->Library = $Library;
1679 return $this;
1683 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRLinkage
1685 public function getLinkage()
1687 return $this->Linkage;
1691 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRLinkage $Linkage
1692 * @return $this
1694 public function setLinkage($Linkage)
1696 $this->Linkage = $Linkage;
1697 return $this;
1701 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRList
1703 public function getList()
1705 return $this->List;
1709 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRList $List
1710 * @return $this
1712 public function setList($List)
1714 $this->List = $List;
1715 return $this;
1719 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRLocation
1721 public function getLocation()
1723 return $this->Location;
1727 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRLocation $Location
1728 * @return $this
1730 public function setLocation($Location)
1732 $this->Location = $Location;
1733 return $this;
1737 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRMeasure
1739 public function getMeasure()
1741 return $this->Measure;
1745 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRMeasure $Measure
1746 * @return $this
1748 public function setMeasure($Measure)
1750 $this->Measure = $Measure;
1751 return $this;
1755 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRMeasureReport
1757 public function getMeasureReport()
1759 return $this->MeasureReport;
1763 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRMeasureReport $MeasureReport
1764 * @return $this
1766 public function setMeasureReport($MeasureReport)
1768 $this->MeasureReport = $MeasureReport;
1769 return $this;
1773 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRMedia
1775 public function getMedia()
1777 return $this->Media;
1781 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRMedia $Media
1782 * @return $this
1784 public function setMedia($Media)
1786 $this->Media = $Media;
1787 return $this;
1791 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRMedication
1793 public function getMedication()
1795 return $this->Medication;
1799 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRMedication $Medication
1800 * @return $this
1802 public function setMedication($Medication)
1804 $this->Medication = $Medication;
1805 return $this;
1809 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRMedicationAdministration
1811 public function getMedicationAdministration()
1813 return $this->MedicationAdministration;
1817 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRMedicationAdministration $MedicationAdministration
1818 * @return $this
1820 public function setMedicationAdministration($MedicationAdministration)
1822 $this->MedicationAdministration = $MedicationAdministration;
1823 return $this;
1827 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRMedicationDispense
1829 public function getMedicationDispense()
1831 return $this->MedicationDispense;
1835 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRMedicationDispense $MedicationDispense
1836 * @return $this
1838 public function setMedicationDispense($MedicationDispense)
1840 $this->MedicationDispense = $MedicationDispense;
1841 return $this;
1845 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRMedicationRequest
1847 public function getMedicationRequest()
1849 return $this->MedicationRequest;
1853 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRMedicationRequest $MedicationRequest
1854 * @return $this
1856 public function setMedicationRequest($MedicationRequest)
1858 $this->MedicationRequest = $MedicationRequest;
1859 return $this;
1863 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRMedicationStatement
1865 public function getMedicationStatement()
1867 return $this->MedicationStatement;
1871 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRMedicationStatement $MedicationStatement
1872 * @return $this
1874 public function setMedicationStatement($MedicationStatement)
1876 $this->MedicationStatement = $MedicationStatement;
1877 return $this;
1881 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRMessageDefinition
1883 public function getMessageDefinition()
1885 return $this->MessageDefinition;
1889 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRMessageDefinition $MessageDefinition
1890 * @return $this
1892 public function setMessageDefinition($MessageDefinition)
1894 $this->MessageDefinition = $MessageDefinition;
1895 return $this;
1899 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRMessageHeader
1901 public function getMessageHeader()
1903 return $this->MessageHeader;
1907 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRMessageHeader $MessageHeader
1908 * @return $this
1910 public function setMessageHeader($MessageHeader)
1912 $this->MessageHeader = $MessageHeader;
1913 return $this;
1917 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRNamingSystem
1919 public function getNamingSystem()
1921 return $this->NamingSystem;
1925 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRNamingSystem $NamingSystem
1926 * @return $this
1928 public function setNamingSystem($NamingSystem)
1930 $this->NamingSystem = $NamingSystem;
1931 return $this;
1935 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRNutritionOrder
1937 public function getNutritionOrder()
1939 return $this->NutritionOrder;
1943 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRNutritionOrder $NutritionOrder
1944 * @return $this
1946 public function setNutritionOrder($NutritionOrder)
1948 $this->NutritionOrder = $NutritionOrder;
1949 return $this;
1953 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRObservation
1955 public function getObservation()
1957 return $this->Observation;
1961 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRObservation $Observation
1962 * @return $this
1964 public function setObservation($Observation)
1966 $this->Observation = $Observation;
1967 return $this;
1971 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIROperationDefinition
1973 public function getOperationDefinition()
1975 return $this->OperationDefinition;
1979 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIROperationDefinition $OperationDefinition
1980 * @return $this
1982 public function setOperationDefinition($OperationDefinition)
1984 $this->OperationDefinition = $OperationDefinition;
1985 return $this;
1989 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIROperationOutcome
1991 public function getOperationOutcome()
1993 return $this->OperationOutcome;
1997 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIROperationOutcome $OperationOutcome
1998 * @return $this
2000 public function setOperationOutcome($OperationOutcome)
2002 $this->OperationOutcome = $OperationOutcome;
2003 return $this;
2007 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIROrganization
2009 public function getOrganization()
2011 return $this->Organization;
2015 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIROrganization $Organization
2016 * @return $this
2018 public function setOrganization($Organization)
2020 $this->Organization = $Organization;
2021 return $this;
2025 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRPatient
2027 public function getPatient()
2029 return $this->Patient;
2033 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRPatient $Patient
2034 * @return $this
2036 public function setPatient($Patient)
2038 $this->Patient = $Patient;
2039 return $this;
2043 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRPaymentNotice
2045 public function getPaymentNotice()
2047 return $this->PaymentNotice;
2051 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRPaymentNotice $PaymentNotice
2052 * @return $this
2054 public function setPaymentNotice($PaymentNotice)
2056 $this->PaymentNotice = $PaymentNotice;
2057 return $this;
2061 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRPaymentReconciliation
2063 public function getPaymentReconciliation()
2065 return $this->PaymentReconciliation;
2069 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRPaymentReconciliation $PaymentReconciliation
2070 * @return $this
2072 public function setPaymentReconciliation($PaymentReconciliation)
2074 $this->PaymentReconciliation = $PaymentReconciliation;
2075 return $this;
2079 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRPerson
2081 public function getPerson()
2083 return $this->Person;
2087 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRPerson $Person
2088 * @return $this
2090 public function setPerson($Person)
2092 $this->Person = $Person;
2093 return $this;
2097 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRPlanDefinition
2099 public function getPlanDefinition()
2101 return $this->PlanDefinition;
2105 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRPlanDefinition $PlanDefinition
2106 * @return $this
2108 public function setPlanDefinition($PlanDefinition)
2110 $this->PlanDefinition = $PlanDefinition;
2111 return $this;
2115 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRPractitioner
2117 public function getPractitioner()
2119 return $this->Practitioner;
2123 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRPractitioner $Practitioner
2124 * @return $this
2126 public function setPractitioner($Practitioner)
2128 $this->Practitioner = $Practitioner;
2129 return $this;
2133 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRPractitionerRole
2135 public function getPractitionerRole()
2137 return $this->PractitionerRole;
2141 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRPractitionerRole $PractitionerRole
2142 * @return $this
2144 public function setPractitionerRole($PractitionerRole)
2146 $this->PractitionerRole = $PractitionerRole;
2147 return $this;
2151 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRProcedure
2153 public function getProcedure()
2155 return $this->Procedure;
2159 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRProcedure $Procedure
2160 * @return $this
2162 public function setProcedure($Procedure)
2164 $this->Procedure = $Procedure;
2165 return $this;
2169 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRProcedureRequest
2171 public function getProcedureRequest()
2173 return $this->ProcedureRequest;
2177 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRProcedureRequest $ProcedureRequest
2178 * @return $this
2180 public function setProcedureRequest($ProcedureRequest)
2182 $this->ProcedureRequest = $ProcedureRequest;
2183 return $this;
2187 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRProcessRequest
2189 public function getProcessRequest()
2191 return $this->ProcessRequest;
2195 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRProcessRequest $ProcessRequest
2196 * @return $this
2198 public function setProcessRequest($ProcessRequest)
2200 $this->ProcessRequest = $ProcessRequest;
2201 return $this;
2205 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRProcessResponse
2207 public function getProcessResponse()
2209 return $this->ProcessResponse;
2213 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRProcessResponse $ProcessResponse
2214 * @return $this
2216 public function setProcessResponse($ProcessResponse)
2218 $this->ProcessResponse = $ProcessResponse;
2219 return $this;
2223 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRProvenance
2225 public function getProvenance()
2227 return $this->Provenance;
2231 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRProvenance $Provenance
2232 * @return $this
2234 public function setProvenance($Provenance)
2236 $this->Provenance = $Provenance;
2237 return $this;
2241 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRQuestionnaire
2243 public function getQuestionnaire()
2245 return $this->Questionnaire;
2249 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRQuestionnaire $Questionnaire
2250 * @return $this
2252 public function setQuestionnaire($Questionnaire)
2254 $this->Questionnaire = $Questionnaire;
2255 return $this;
2259 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRQuestionnaireResponse
2261 public function getQuestionnaireResponse()
2263 return $this->QuestionnaireResponse;
2267 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRQuestionnaireResponse $QuestionnaireResponse
2268 * @return $this
2270 public function setQuestionnaireResponse($QuestionnaireResponse)
2272 $this->QuestionnaireResponse = $QuestionnaireResponse;
2273 return $this;
2277 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRReferralRequest
2279 public function getReferralRequest()
2281 return $this->ReferralRequest;
2285 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRReferralRequest $ReferralRequest
2286 * @return $this
2288 public function setReferralRequest($ReferralRequest)
2290 $this->ReferralRequest = $ReferralRequest;
2291 return $this;
2295 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRRelatedPerson
2297 public function getRelatedPerson()
2299 return $this->RelatedPerson;
2303 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRRelatedPerson $RelatedPerson
2304 * @return $this
2306 public function setRelatedPerson($RelatedPerson)
2308 $this->RelatedPerson = $RelatedPerson;
2309 return $this;
2313 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRRequestGroup
2315 public function getRequestGroup()
2317 return $this->RequestGroup;
2321 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRRequestGroup $RequestGroup
2322 * @return $this
2324 public function setRequestGroup($RequestGroup)
2326 $this->RequestGroup = $RequestGroup;
2327 return $this;
2331 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRResearchStudy
2333 public function getResearchStudy()
2335 return $this->ResearchStudy;
2339 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRResearchStudy $ResearchStudy
2340 * @return $this
2342 public function setResearchStudy($ResearchStudy)
2344 $this->ResearchStudy = $ResearchStudy;
2345 return $this;
2349 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRResearchSubject
2351 public function getResearchSubject()
2353 return $this->ResearchSubject;
2357 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRResearchSubject $ResearchSubject
2358 * @return $this
2360 public function setResearchSubject($ResearchSubject)
2362 $this->ResearchSubject = $ResearchSubject;
2363 return $this;
2367 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRRiskAssessment
2369 public function getRiskAssessment()
2371 return $this->RiskAssessment;
2375 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRRiskAssessment $RiskAssessment
2376 * @return $this
2378 public function setRiskAssessment($RiskAssessment)
2380 $this->RiskAssessment = $RiskAssessment;
2381 return $this;
2385 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRSchedule
2387 public function getSchedule()
2389 return $this->Schedule;
2393 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRSchedule $Schedule
2394 * @return $this
2396 public function setSchedule($Schedule)
2398 $this->Schedule = $Schedule;
2399 return $this;
2403 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRSearchParameter
2405 public function getSearchParameter()
2407 return $this->SearchParameter;
2411 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRSearchParameter $SearchParameter
2412 * @return $this
2414 public function setSearchParameter($SearchParameter)
2416 $this->SearchParameter = $SearchParameter;
2417 return $this;
2421 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRSequence
2423 public function getSequence()
2425 return $this->Sequence;
2429 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRSequence $Sequence
2430 * @return $this
2432 public function setSequence($Sequence)
2434 $this->Sequence = $Sequence;
2435 return $this;
2439 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRServiceDefinition
2441 public function getServiceDefinition()
2443 return $this->ServiceDefinition;
2447 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRServiceDefinition $ServiceDefinition
2448 * @return $this
2450 public function setServiceDefinition($ServiceDefinition)
2452 $this->ServiceDefinition = $ServiceDefinition;
2453 return $this;
2457 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRSlot
2459 public function getSlot()
2461 return $this->Slot;
2465 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRSlot $Slot
2466 * @return $this
2468 public function setSlot($Slot)
2470 $this->Slot = $Slot;
2471 return $this;
2475 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRSpecimen
2477 public function getSpecimen()
2479 return $this->Specimen;
2483 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRSpecimen $Specimen
2484 * @return $this
2486 public function setSpecimen($Specimen)
2488 $this->Specimen = $Specimen;
2489 return $this;
2493 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRStructureDefinition
2495 public function getStructureDefinition()
2497 return $this->StructureDefinition;
2501 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRStructureDefinition $StructureDefinition
2502 * @return $this
2504 public function setStructureDefinition($StructureDefinition)
2506 $this->StructureDefinition = $StructureDefinition;
2507 return $this;
2511 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRStructureMap
2513 public function getStructureMap()
2515 return $this->StructureMap;
2519 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRStructureMap $StructureMap
2520 * @return $this
2522 public function setStructureMap($StructureMap)
2524 $this->StructureMap = $StructureMap;
2525 return $this;
2529 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRSubscription
2531 public function getSubscription()
2533 return $this->Subscription;
2537 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRSubscription $Subscription
2538 * @return $this
2540 public function setSubscription($Subscription)
2542 $this->Subscription = $Subscription;
2543 return $this;
2547 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRSubstance
2549 public function getSubstance()
2551 return $this->Substance;
2555 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRSubstance $Substance
2556 * @return $this
2558 public function setSubstance($Substance)
2560 $this->Substance = $Substance;
2561 return $this;
2565 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRSupplyDelivery
2567 public function getSupplyDelivery()
2569 return $this->SupplyDelivery;
2573 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRSupplyDelivery $SupplyDelivery
2574 * @return $this
2576 public function setSupplyDelivery($SupplyDelivery)
2578 $this->SupplyDelivery = $SupplyDelivery;
2579 return $this;
2583 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRSupplyRequest
2585 public function getSupplyRequest()
2587 return $this->SupplyRequest;
2591 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRSupplyRequest $SupplyRequest
2592 * @return $this
2594 public function setSupplyRequest($SupplyRequest)
2596 $this->SupplyRequest = $SupplyRequest;
2597 return $this;
2601 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRTask
2603 public function getTask()
2605 return $this->Task;
2609 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRTask $Task
2610 * @return $this
2612 public function setTask($Task)
2614 $this->Task = $Task;
2615 return $this;
2619 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRTestReport
2621 public function getTestReport()
2623 return $this->TestReport;
2627 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRTestReport $TestReport
2628 * @return $this
2630 public function setTestReport($TestReport)
2632 $this->TestReport = $TestReport;
2633 return $this;
2637 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRTestScript
2639 public function getTestScript()
2641 return $this->TestScript;
2645 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRTestScript $TestScript
2646 * @return $this
2648 public function setTestScript($TestScript)
2650 $this->TestScript = $TestScript;
2651 return $this;
2655 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRValueSet
2657 public function getValueSet()
2659 return $this->ValueSet;
2663 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRValueSet $ValueSet
2664 * @return $this
2666 public function setValueSet($ValueSet)
2668 $this->ValueSet = $ValueSet;
2669 return $this;
2673 * @return \HL7\FHIR\STU3\FHIRDomainResource\FHIRVisionPrescription
2675 public function getVisionPrescription()
2677 return $this->VisionPrescription;
2681 * @param \HL7\FHIR\STU3\FHIRDomainResource\FHIRVisionPrescription $VisionPrescription
2682 * @return $this
2684 public function setVisionPrescription($VisionPrescription)
2686 $this->VisionPrescription = $VisionPrescription;
2687 return $this;
2691 * @return \HL7\FHIR\STU3\FHIRResource\FHIRParameters
2693 public function getParameters()
2695 return $this->Parameters;
2699 * @param \HL7\FHIR\STU3\FHIRResource\FHIRParameters $Parameters
2700 * @return $this
2702 public function setParameters($Parameters)
2704 $this->Parameters = $Parameters;
2705 return $this;
2709 * @return string
2711 public function get_fhirElementName()
2713 return $this->_fhirElementName;
2717 * @param mixed $data
2719 public function __construct($data = [])
2721 if (is_object($data)) {
2722 $n = substr(strrchr(get_class($data), 'FHIR'), 4);
2723 $this->{"set{$n}"}($data);
2724 } else if (is_array($data)) {
2725 if (($cnt = count($data)) > 1) {
2726 throw new \InvalidArgumentException("ResourceContainers may only contain 1 object, \"{$cnt}\" values provided");
2727 } else {
2728 $k = key($data);
2729 $this->{"set{$k}"}($data);
2731 } else if (null !== $data) {
2732 throw new \InvalidArgumentException('$data expected to be object or array, saw '.gettype($data));
2737 * @return string
2739 public function __toString()
2741 return $this->get_fhirElementName();
2745 * @return mixed
2747 public function jsonSerialize()
2749 if (isset($this->Account)) {
2750 return $this->Account;
2752 if (isset($this->ActivityDefinition)) {
2753 return $this->ActivityDefinition;
2755 if (isset($this->AdverseEvent)) {
2756 return $this->AdverseEvent;
2758 if (isset($this->AllergyIntolerance)) {
2759 return $this->AllergyIntolerance;
2761 if (isset($this->Appointment)) {
2762 return $this->Appointment;
2764 if (isset($this->AppointmentResponse)) {
2765 return $this->AppointmentResponse;
2767 if (isset($this->AuditEvent)) {
2768 return $this->AuditEvent;
2770 if (isset($this->Basic)) {
2771 return $this->Basic;
2773 if (isset($this->Binary)) {
2774 return $this->Binary;
2776 if (isset($this->BodySite)) {
2777 return $this->BodySite;
2779 if (isset($this->Bundle)) {
2780 return $this->Bundle;
2782 if (isset($this->CapabilityStatement)) {
2783 return $this->CapabilityStatement;
2785 if (isset($this->CarePlan)) {
2786 return $this->CarePlan;
2788 if (isset($this->CareTeam)) {
2789 return $this->CareTeam;
2791 if (isset($this->ChargeItem)) {
2792 return $this->ChargeItem;
2794 if (isset($this->Claim)) {
2795 return $this->Claim;
2797 if (isset($this->ClaimResponse)) {
2798 return $this->ClaimResponse;
2800 if (isset($this->ClinicalImpression)) {
2801 return $this->ClinicalImpression;
2803 if (isset($this->CodeSystem)) {
2804 return $this->CodeSystem;
2806 if (isset($this->Communication)) {
2807 return $this->Communication;
2809 if (isset($this->CommunicationRequest)) {
2810 return $this->CommunicationRequest;
2812 if (isset($this->CompartmentDefinition)) {
2813 return $this->CompartmentDefinition;
2815 if (isset($this->Composition)) {
2816 return $this->Composition;
2818 if (isset($this->ConceptMap)) {
2819 return $this->ConceptMap;
2821 if (isset($this->Condition)) {
2822 return $this->Condition;
2824 if (isset($this->Consent)) {
2825 return $this->Consent;
2827 if (isset($this->Contract)) {
2828 return $this->Contract;
2830 if (isset($this->Coverage)) {
2831 return $this->Coverage;
2833 if (isset($this->DataElement)) {
2834 return $this->DataElement;
2836 if (isset($this->DetectedIssue)) {
2837 return $this->DetectedIssue;
2839 if (isset($this->Device)) {
2840 return $this->Device;
2842 if (isset($this->DeviceComponent)) {
2843 return $this->DeviceComponent;
2845 if (isset($this->DeviceMetric)) {
2846 return $this->DeviceMetric;
2848 if (isset($this->DeviceRequest)) {
2849 return $this->DeviceRequest;
2851 if (isset($this->DeviceUseStatement)) {
2852 return $this->DeviceUseStatement;
2854 if (isset($this->DiagnosticReport)) {
2855 return $this->DiagnosticReport;
2857 if (isset($this->DocumentManifest)) {
2858 return $this->DocumentManifest;
2860 if (isset($this->DocumentReference)) {
2861 return $this->DocumentReference;
2863 if (isset($this->EligibilityRequest)) {
2864 return $this->EligibilityRequest;
2866 if (isset($this->EligibilityResponse)) {
2867 return $this->EligibilityResponse;
2869 if (isset($this->Encounter)) {
2870 return $this->Encounter;
2872 if (isset($this->Endpoint)) {
2873 return $this->Endpoint;
2875 if (isset($this->EnrollmentRequest)) {
2876 return $this->EnrollmentRequest;
2878 if (isset($this->EnrollmentResponse)) {
2879 return $this->EnrollmentResponse;
2881 if (isset($this->EpisodeOfCare)) {
2882 return $this->EpisodeOfCare;
2884 if (isset($this->ExpansionProfile)) {
2885 return $this->ExpansionProfile;
2887 if (isset($this->ExplanationOfBenefit)) {
2888 return $this->ExplanationOfBenefit;
2890 if (isset($this->FamilyMemberHistory)) {
2891 return $this->FamilyMemberHistory;
2893 if (isset($this->Flag)) {
2894 return $this->Flag;
2896 if (isset($this->Goal)) {
2897 return $this->Goal;
2899 if (isset($this->GraphDefinition)) {
2900 return $this->GraphDefinition;
2902 if (isset($this->Group)) {
2903 return $this->Group;
2905 if (isset($this->GuidanceResponse)) {
2906 return $this->GuidanceResponse;
2908 if (isset($this->HealthcareService)) {
2909 return $this->HealthcareService;
2911 if (isset($this->ImagingManifest)) {
2912 return $this->ImagingManifest;
2914 if (isset($this->ImagingStudy)) {
2915 return $this->ImagingStudy;
2917 if (isset($this->Immunization)) {
2918 return $this->Immunization;
2920 if (isset($this->ImmunizationRecommendation)) {
2921 return $this->ImmunizationRecommendation;
2923 if (isset($this->ImplementationGuide)) {
2924 return $this->ImplementationGuide;
2926 if (isset($this->Library)) {
2927 return $this->Library;
2929 if (isset($this->Linkage)) {
2930 return $this->Linkage;
2932 if (isset($this->List)) {
2933 return $this->List;
2935 if (isset($this->Location)) {
2936 return $this->Location;
2938 if (isset($this->Measure)) {
2939 return $this->Measure;
2941 if (isset($this->MeasureReport)) {
2942 return $this->MeasureReport;
2944 if (isset($this->Media)) {
2945 return $this->Media;
2947 if (isset($this->Medication)) {
2948 return $this->Medication;
2950 if (isset($this->MedicationAdministration)) {
2951 return $this->MedicationAdministration;
2953 if (isset($this->MedicationDispense)) {
2954 return $this->MedicationDispense;
2956 if (isset($this->MedicationRequest)) {
2957 return $this->MedicationRequest;
2959 if (isset($this->MedicationStatement)) {
2960 return $this->MedicationStatement;
2962 if (isset($this->MessageDefinition)) {
2963 return $this->MessageDefinition;
2965 if (isset($this->MessageHeader)) {
2966 return $this->MessageHeader;
2968 if (isset($this->NamingSystem)) {
2969 return $this->NamingSystem;
2971 if (isset($this->NutritionOrder)) {
2972 return $this->NutritionOrder;
2974 if (isset($this->Observation)) {
2975 return $this->Observation;
2977 if (isset($this->OperationDefinition)) {
2978 return $this->OperationDefinition;
2980 if (isset($this->OperationOutcome)) {
2981 return $this->OperationOutcome;
2983 if (isset($this->Organization)) {
2984 return $this->Organization;
2986 if (isset($this->Patient)) {
2987 return $this->Patient;
2989 if (isset($this->PaymentNotice)) {
2990 return $this->PaymentNotice;
2992 if (isset($this->PaymentReconciliation)) {
2993 return $this->PaymentReconciliation;
2995 if (isset($this->Person)) {
2996 return $this->Person;
2998 if (isset($this->PlanDefinition)) {
2999 return $this->PlanDefinition;
3001 if (isset($this->Practitioner)) {
3002 return $this->Practitioner;
3004 if (isset($this->PractitionerRole)) {
3005 return $this->PractitionerRole;
3007 if (isset($this->Procedure)) {
3008 return $this->Procedure;
3010 if (isset($this->ProcedureRequest)) {
3011 return $this->ProcedureRequest;
3013 if (isset($this->ProcessRequest)) {
3014 return $this->ProcessRequest;
3016 if (isset($this->ProcessResponse)) {
3017 return $this->ProcessResponse;
3019 if (isset($this->Provenance)) {
3020 return $this->Provenance;
3022 if (isset($this->Questionnaire)) {
3023 return $this->Questionnaire;
3025 if (isset($this->QuestionnaireResponse)) {
3026 return $this->QuestionnaireResponse;
3028 if (isset($this->ReferralRequest)) {
3029 return $this->ReferralRequest;
3031 if (isset($this->RelatedPerson)) {
3032 return $this->RelatedPerson;
3034 if (isset($this->RequestGroup)) {
3035 return $this->RequestGroup;
3037 if (isset($this->ResearchStudy)) {
3038 return $this->ResearchStudy;
3040 if (isset($this->ResearchSubject)) {
3041 return $this->ResearchSubject;
3043 if (isset($this->RiskAssessment)) {
3044 return $this->RiskAssessment;
3046 if (isset($this->Schedule)) {
3047 return $this->Schedule;
3049 if (isset($this->SearchParameter)) {
3050 return $this->SearchParameter;
3052 if (isset($this->Sequence)) {
3053 return $this->Sequence;
3055 if (isset($this->ServiceDefinition)) {
3056 return $this->ServiceDefinition;
3058 if (isset($this->Slot)) {
3059 return $this->Slot;
3061 if (isset($this->Specimen)) {
3062 return $this->Specimen;
3064 if (isset($this->StructureDefinition)) {
3065 return $this->StructureDefinition;
3067 if (isset($this->StructureMap)) {
3068 return $this->StructureMap;
3070 if (isset($this->Subscription)) {
3071 return $this->Subscription;
3073 if (isset($this->Substance)) {
3074 return $this->Substance;
3076 if (isset($this->SupplyDelivery)) {
3077 return $this->SupplyDelivery;
3079 if (isset($this->SupplyRequest)) {
3080 return $this->SupplyRequest;
3082 if (isset($this->Task)) {
3083 return $this->Task;
3085 if (isset($this->TestReport)) {
3086 return $this->TestReport;
3088 if (isset($this->TestScript)) {
3089 return $this->TestScript;
3091 if (isset($this->ValueSet)) {
3092 return $this->ValueSet;
3094 if (isset($this->VisionPrescription)) {
3095 return $this->VisionPrescription;
3097 if (isset($this->Parameters)) {
3098 return $this->Parameters;
3100 return null;
3104 * @param boolean $returnSXE
3105 * @param \SimpleXMLElement $sxe
3106 * @return string|\SimpleXMLElement
3108 public function xmlSerialize($returnSXE = false, $sxe = null)
3110 if (null === $sxe) {
3111 $sxe = new \SimpleXMLElement('<ResourceContainer xmlns="http://hl7.org/fhir"></ResourceContainer>');
3113 if (isset($this->Account)) {
3114 $this->Account->xmlSerialize(true, $sxe->addChild('Account'));
3115 } else if (isset($this->ActivityDefinition)) {
3116 $this->ActivityDefinition->xmlSerialize(true, $sxe->addChild('ActivityDefinition'));
3117 } else if (isset($this->AdverseEvent)) {
3118 $this->AdverseEvent->xmlSerialize(true, $sxe->addChild('AdverseEvent'));
3119 } else if (isset($this->AllergyIntolerance)) {
3120 $this->AllergyIntolerance->xmlSerialize(true, $sxe->addChild('AllergyIntolerance'));
3121 } else if (isset($this->Appointment)) {
3122 $this->Appointment->xmlSerialize(true, $sxe->addChild('Appointment'));
3123 } else if (isset($this->AppointmentResponse)) {
3124 $this->AppointmentResponse->xmlSerialize(true, $sxe->addChild('AppointmentResponse'));
3125 } else if (isset($this->AuditEvent)) {
3126 $this->AuditEvent->xmlSerialize(true, $sxe->addChild('AuditEvent'));
3127 } else if (isset($this->Basic)) {
3128 $this->Basic->xmlSerialize(true, $sxe->addChild('Basic'));
3129 } else if (isset($this->Binary)) {
3130 $this->Binary->xmlSerialize(true, $sxe->addChild('Binary'));
3131 } else if (isset($this->BodySite)) {
3132 $this->BodySite->xmlSerialize(true, $sxe->addChild('BodySite'));
3133 } else if (isset($this->Bundle)) {
3134 $this->Bundle->xmlSerialize(true, $sxe->addChild('Bundle'));
3135 } else if (isset($this->CapabilityStatement)) {
3136 $this->CapabilityStatement->xmlSerialize(true, $sxe->addChild('CapabilityStatement'));
3137 } else if (isset($this->CarePlan)) {
3138 $this->CarePlan->xmlSerialize(true, $sxe->addChild('CarePlan'));
3139 } else if (isset($this->CareTeam)) {
3140 $this->CareTeam->xmlSerialize(true, $sxe->addChild('CareTeam'));
3141 } else if (isset($this->ChargeItem)) {
3142 $this->ChargeItem->xmlSerialize(true, $sxe->addChild('ChargeItem'));
3143 } else if (isset($this->Claim)) {
3144 $this->Claim->xmlSerialize(true, $sxe->addChild('Claim'));
3145 } else if (isset($this->ClaimResponse)) {
3146 $this->ClaimResponse->xmlSerialize(true, $sxe->addChild('ClaimResponse'));
3147 } else if (isset($this->ClinicalImpression)) {
3148 $this->ClinicalImpression->xmlSerialize(true, $sxe->addChild('ClinicalImpression'));
3149 } else if (isset($this->CodeSystem)) {
3150 $this->CodeSystem->xmlSerialize(true, $sxe->addChild('CodeSystem'));
3151 } else if (isset($this->Communication)) {
3152 $this->Communication->xmlSerialize(true, $sxe->addChild('Communication'));
3153 } else if (isset($this->CommunicationRequest)) {
3154 $this->CommunicationRequest->xmlSerialize(true, $sxe->addChild('CommunicationRequest'));
3155 } else if (isset($this->CompartmentDefinition)) {
3156 $this->CompartmentDefinition->xmlSerialize(true, $sxe->addChild('CompartmentDefinition'));
3157 } else if (isset($this->Composition)) {
3158 $this->Composition->xmlSerialize(true, $sxe->addChild('Composition'));
3159 } else if (isset($this->ConceptMap)) {
3160 $this->ConceptMap->xmlSerialize(true, $sxe->addChild('ConceptMap'));
3161 } else if (isset($this->Condition)) {
3162 $this->Condition->xmlSerialize(true, $sxe->addChild('Condition'));
3163 } else if (isset($this->Consent)) {
3164 $this->Consent->xmlSerialize(true, $sxe->addChild('Consent'));
3165 } else if (isset($this->Contract)) {
3166 $this->Contract->xmlSerialize(true, $sxe->addChild('Contract'));
3167 } else if (isset($this->Coverage)) {
3168 $this->Coverage->xmlSerialize(true, $sxe->addChild('Coverage'));
3169 } else if (isset($this->DataElement)) {
3170 $this->DataElement->xmlSerialize(true, $sxe->addChild('DataElement'));
3171 } else if (isset($this->DetectedIssue)) {
3172 $this->DetectedIssue->xmlSerialize(true, $sxe->addChild('DetectedIssue'));
3173 } else if (isset($this->Device)) {
3174 $this->Device->xmlSerialize(true, $sxe->addChild('Device'));
3175 } else if (isset($this->DeviceComponent)) {
3176 $this->DeviceComponent->xmlSerialize(true, $sxe->addChild('DeviceComponent'));
3177 } else if (isset($this->DeviceMetric)) {
3178 $this->DeviceMetric->xmlSerialize(true, $sxe->addChild('DeviceMetric'));
3179 } else if (isset($this->DeviceRequest)) {
3180 $this->DeviceRequest->xmlSerialize(true, $sxe->addChild('DeviceRequest'));
3181 } else if (isset($this->DeviceUseStatement)) {
3182 $this->DeviceUseStatement->xmlSerialize(true, $sxe->addChild('DeviceUseStatement'));
3183 } else if (isset($this->DiagnosticReport)) {
3184 $this->DiagnosticReport->xmlSerialize(true, $sxe->addChild('DiagnosticReport'));
3185 } else if (isset($this->DocumentManifest)) {
3186 $this->DocumentManifest->xmlSerialize(true, $sxe->addChild('DocumentManifest'));
3187 } else if (isset($this->DocumentReference)) {
3188 $this->DocumentReference->xmlSerialize(true, $sxe->addChild('DocumentReference'));
3189 } else if (isset($this->EligibilityRequest)) {
3190 $this->EligibilityRequest->xmlSerialize(true, $sxe->addChild('EligibilityRequest'));
3191 } else if (isset($this->EligibilityResponse)) {
3192 $this->EligibilityResponse->xmlSerialize(true, $sxe->addChild('EligibilityResponse'));
3193 } else if (isset($this->Encounter)) {
3194 $this->Encounter->xmlSerialize(true, $sxe->addChild('Encounter'));
3195 } else if (isset($this->Endpoint)) {
3196 $this->Endpoint->xmlSerialize(true, $sxe->addChild('Endpoint'));
3197 } else if (isset($this->EnrollmentRequest)) {
3198 $this->EnrollmentRequest->xmlSerialize(true, $sxe->addChild('EnrollmentRequest'));
3199 } else if (isset($this->EnrollmentResponse)) {
3200 $this->EnrollmentResponse->xmlSerialize(true, $sxe->addChild('EnrollmentResponse'));
3201 } else if (isset($this->EpisodeOfCare)) {
3202 $this->EpisodeOfCare->xmlSerialize(true, $sxe->addChild('EpisodeOfCare'));
3203 } else if (isset($this->ExpansionProfile)) {
3204 $this->ExpansionProfile->xmlSerialize(true, $sxe->addChild('ExpansionProfile'));
3205 } else if (isset($this->ExplanationOfBenefit)) {
3206 $this->ExplanationOfBenefit->xmlSerialize(true, $sxe->addChild('ExplanationOfBenefit'));
3207 } else if (isset($this->FamilyMemberHistory)) {
3208 $this->FamilyMemberHistory->xmlSerialize(true, $sxe->addChild('FamilyMemberHistory'));
3209 } else if (isset($this->Flag)) {
3210 $this->Flag->xmlSerialize(true, $sxe->addChild('Flag'));
3211 } else if (isset($this->Goal)) {
3212 $this->Goal->xmlSerialize(true, $sxe->addChild('Goal'));
3213 } else if (isset($this->GraphDefinition)) {
3214 $this->GraphDefinition->xmlSerialize(true, $sxe->addChild('GraphDefinition'));
3215 } else if (isset($this->Group)) {
3216 $this->Group->xmlSerialize(true, $sxe->addChild('Group'));
3217 } else if (isset($this->GuidanceResponse)) {
3218 $this->GuidanceResponse->xmlSerialize(true, $sxe->addChild('GuidanceResponse'));
3219 } else if (isset($this->HealthcareService)) {
3220 $this->HealthcareService->xmlSerialize(true, $sxe->addChild('HealthcareService'));
3221 } else if (isset($this->ImagingManifest)) {
3222 $this->ImagingManifest->xmlSerialize(true, $sxe->addChild('ImagingManifest'));
3223 } else if (isset($this->ImagingStudy)) {
3224 $this->ImagingStudy->xmlSerialize(true, $sxe->addChild('ImagingStudy'));
3225 } else if (isset($this->Immunization)) {
3226 $this->Immunization->xmlSerialize(true, $sxe->addChild('Immunization'));
3227 } else if (isset($this->ImmunizationRecommendation)) {
3228 $this->ImmunizationRecommendation->xmlSerialize(true, $sxe->addChild('ImmunizationRecommendation'));
3229 } else if (isset($this->ImplementationGuide)) {
3230 $this->ImplementationGuide->xmlSerialize(true, $sxe->addChild('ImplementationGuide'));
3231 } else if (isset($this->Library)) {
3232 $this->Library->xmlSerialize(true, $sxe->addChild('Library'));
3233 } else if (isset($this->Linkage)) {
3234 $this->Linkage->xmlSerialize(true, $sxe->addChild('Linkage'));
3235 } else if (isset($this->List)) {
3236 $this->List->xmlSerialize(true, $sxe->addChild('List'));
3237 } else if (isset($this->Location)) {
3238 $this->Location->xmlSerialize(true, $sxe->addChild('Location'));
3239 } else if (isset($this->Measure)) {
3240 $this->Measure->xmlSerialize(true, $sxe->addChild('Measure'));
3241 } else if (isset($this->MeasureReport)) {
3242 $this->MeasureReport->xmlSerialize(true, $sxe->addChild('MeasureReport'));
3243 } else if (isset($this->Media)) {
3244 $this->Media->xmlSerialize(true, $sxe->addChild('Media'));
3245 } else if (isset($this->Medication)) {
3246 $this->Medication->xmlSerialize(true, $sxe->addChild('Medication'));
3247 } else if (isset($this->MedicationAdministration)) {
3248 $this->MedicationAdministration->xmlSerialize(true, $sxe->addChild('MedicationAdministration'));
3249 } else if (isset($this->MedicationDispense)) {
3250 $this->MedicationDispense->xmlSerialize(true, $sxe->addChild('MedicationDispense'));
3251 } else if (isset($this->MedicationRequest)) {
3252 $this->MedicationRequest->xmlSerialize(true, $sxe->addChild('MedicationRequest'));
3253 } else if (isset($this->MedicationStatement)) {
3254 $this->MedicationStatement->xmlSerialize(true, $sxe->addChild('MedicationStatement'));
3255 } else if (isset($this->MessageDefinition)) {
3256 $this->MessageDefinition->xmlSerialize(true, $sxe->addChild('MessageDefinition'));
3257 } else if (isset($this->MessageHeader)) {
3258 $this->MessageHeader->xmlSerialize(true, $sxe->addChild('MessageHeader'));
3259 } else if (isset($this->NamingSystem)) {
3260 $this->NamingSystem->xmlSerialize(true, $sxe->addChild('NamingSystem'));
3261 } else if (isset($this->NutritionOrder)) {
3262 $this->NutritionOrder->xmlSerialize(true, $sxe->addChild('NutritionOrder'));
3263 } else if (isset($this->Observation)) {
3264 $this->Observation->xmlSerialize(true, $sxe->addChild('Observation'));
3265 } else if (isset($this->OperationDefinition)) {
3266 $this->OperationDefinition->xmlSerialize(true, $sxe->addChild('OperationDefinition'));
3267 } else if (isset($this->OperationOutcome)) {
3268 $this->OperationOutcome->xmlSerialize(true, $sxe->addChild('OperationOutcome'));
3269 } else if (isset($this->Organization)) {
3270 $this->Organization->xmlSerialize(true, $sxe->addChild('Organization'));
3271 } else if (isset($this->Patient)) {
3272 $this->Patient->xmlSerialize(true, $sxe->addChild('Patient'));
3273 } else if (isset($this->PaymentNotice)) {
3274 $this->PaymentNotice->xmlSerialize(true, $sxe->addChild('PaymentNotice'));
3275 } else if (isset($this->PaymentReconciliation)) {
3276 $this->PaymentReconciliation->xmlSerialize(true, $sxe->addChild('PaymentReconciliation'));
3277 } else if (isset($this->Person)) {
3278 $this->Person->xmlSerialize(true, $sxe->addChild('Person'));
3279 } else if (isset($this->PlanDefinition)) {
3280 $this->PlanDefinition->xmlSerialize(true, $sxe->addChild('PlanDefinition'));
3281 } else if (isset($this->Practitioner)) {
3282 $this->Practitioner->xmlSerialize(true, $sxe->addChild('Practitioner'));
3283 } else if (isset($this->PractitionerRole)) {
3284 $this->PractitionerRole->xmlSerialize(true, $sxe->addChild('PractitionerRole'));
3285 } else if (isset($this->Procedure)) {
3286 $this->Procedure->xmlSerialize(true, $sxe->addChild('Procedure'));
3287 } else if (isset($this->ProcedureRequest)) {
3288 $this->ProcedureRequest->xmlSerialize(true, $sxe->addChild('ProcedureRequest'));
3289 } else if (isset($this->ProcessRequest)) {
3290 $this->ProcessRequest->xmlSerialize(true, $sxe->addChild('ProcessRequest'));
3291 } else if (isset($this->ProcessResponse)) {
3292 $this->ProcessResponse->xmlSerialize(true, $sxe->addChild('ProcessResponse'));
3293 } else if (isset($this->Provenance)) {
3294 $this->Provenance->xmlSerialize(true, $sxe->addChild('Provenance'));
3295 } else if (isset($this->Questionnaire)) {
3296 $this->Questionnaire->xmlSerialize(true, $sxe->addChild('Questionnaire'));
3297 } else if (isset($this->QuestionnaireResponse)) {
3298 $this->QuestionnaireResponse->xmlSerialize(true, $sxe->addChild('QuestionnaireResponse'));
3299 } else if (isset($this->ReferralRequest)) {
3300 $this->ReferralRequest->xmlSerialize(true, $sxe->addChild('ReferralRequest'));
3301 } else if (isset($this->RelatedPerson)) {
3302 $this->RelatedPerson->xmlSerialize(true, $sxe->addChild('RelatedPerson'));
3303 } else if (isset($this->RequestGroup)) {
3304 $this->RequestGroup->xmlSerialize(true, $sxe->addChild('RequestGroup'));
3305 } else if (isset($this->ResearchStudy)) {
3306 $this->ResearchStudy->xmlSerialize(true, $sxe->addChild('ResearchStudy'));
3307 } else if (isset($this->ResearchSubject)) {
3308 $this->ResearchSubject->xmlSerialize(true, $sxe->addChild('ResearchSubject'));
3309 } else if (isset($this->RiskAssessment)) {
3310 $this->RiskAssessment->xmlSerialize(true, $sxe->addChild('RiskAssessment'));
3311 } else if (isset($this->Schedule)) {
3312 $this->Schedule->xmlSerialize(true, $sxe->addChild('Schedule'));
3313 } else if (isset($this->SearchParameter)) {
3314 $this->SearchParameter->xmlSerialize(true, $sxe->addChild('SearchParameter'));
3315 } else if (isset($this->Sequence)) {
3316 $this->Sequence->xmlSerialize(true, $sxe->addChild('Sequence'));
3317 } else if (isset($this->ServiceDefinition)) {
3318 $this->ServiceDefinition->xmlSerialize(true, $sxe->addChild('ServiceDefinition'));
3319 } else if (isset($this->Slot)) {
3320 $this->Slot->xmlSerialize(true, $sxe->addChild('Slot'));
3321 } else if (isset($this->Specimen)) {
3322 $this->Specimen->xmlSerialize(true, $sxe->addChild('Specimen'));
3323 } else if (isset($this->StructureDefinition)) {
3324 $this->StructureDefinition->xmlSerialize(true, $sxe->addChild('StructureDefinition'));
3325 } else if (isset($this->StructureMap)) {
3326 $this->StructureMap->xmlSerialize(true, $sxe->addChild('StructureMap'));
3327 } else if (isset($this->Subscription)) {
3328 $this->Subscription->xmlSerialize(true, $sxe->addChild('Subscription'));
3329 } else if (isset($this->Substance)) {
3330 $this->Substance->xmlSerialize(true, $sxe->addChild('Substance'));
3331 } else if (isset($this->SupplyDelivery)) {
3332 $this->SupplyDelivery->xmlSerialize(true, $sxe->addChild('SupplyDelivery'));
3333 } else if (isset($this->SupplyRequest)) {
3334 $this->SupplyRequest->xmlSerialize(true, $sxe->addChild('SupplyRequest'));
3335 } else if (isset($this->Task)) {
3336 $this->Task->xmlSerialize(true, $sxe->addChild('Task'));
3337 } else if (isset($this->TestReport)) {
3338 $this->TestReport->xmlSerialize(true, $sxe->addChild('TestReport'));
3339 } else if (isset($this->TestScript)) {
3340 $this->TestScript->xmlSerialize(true, $sxe->addChild('TestScript'));
3341 } else if (isset($this->ValueSet)) {
3342 $this->ValueSet->xmlSerialize(true, $sxe->addChild('ValueSet'));
3343 } else if (isset($this->VisionPrescription)) {
3344 $this->VisionPrescription->xmlSerialize(true, $sxe->addChild('VisionPrescription'));
3345 } else if (isset($this->Parameters)) {
3346 $this->Parameters->xmlSerialize(true, $sxe->addChild('Parameters'));
3348 if ($returnSXE) {
3349 return $sxe;
3351 return $sxe->saveXML();
3355 * @return mixed
3357 public function getResource()
3359 return $this->jsonSerialize();