Class DomainResource
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
- Direct Known Subclasses:
Account,AllergyIntolerance,Appointment,AppointmentResponse,AuditEvent,Basic,BodySite,CarePlan,CareTeam,Claim,ClaimResponse,ClinicalImpression,CodeSystem,Communication,CommunicationRequest,CompartmentDefinition,Composition,ConceptMap,Condition,Conformance,Contract,Coverage,DataElement,DecisionSupportRule,DecisionSupportServiceModule,DetectedIssue,Device,DeviceComponent,DeviceMetric,DeviceUseRequest,DeviceUseStatement,DiagnosticOrder,DiagnosticReport,DocumentManifest,DocumentReference,EligibilityRequest,EligibilityResponse,Encounter,EnrollmentRequest,EnrollmentResponse,EpisodeOfCare,ExpansionProfile,ExplanationOfBenefit,FamilyMemberHistory,Flag,Goal,Group,GuidanceResponse,HealthcareService,ImagingExcerpt,ImagingObjectSelection,ImagingStudy,Immunization,ImmunizationRecommendation,ImplementationGuide,Library,Linkage,List,Location,Measure,MeasureReport,Media,Medication,MedicationAdministration,MedicationDispense,MedicationOrder,MedicationStatement,MessageHeader,ModuleDefinition,NamingSystem,NutritionOrder,Observation,OperationDefinition,OperationOutcome,Order,OrderResponse,OrderSet,Organization,Patient,PaymentNotice,PaymentReconciliation,Person,Practitioner,PractitionerRole,Procedure,ProcedureRequest,ProcessRequest,ProcessResponse,Protocol,Provenance,Questionnaire,QuestionnaireResponse,ReferralRequest,RelatedPerson,RiskAssessment,Schedule,SearchParameter,Sequence,Slot,Specimen,StructureDefinition,StructureMap,Subscription,Substance,SupplyDelivery,SupplyRequest,Task,TestScript,ValueSet,VisionPrescription
public class DomainResource extends Resource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Java class for DomainResource complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DomainResource">
<complexContent>
<extension base="{http://hl7.org/fhir}Resource">
<sequence>
<element name="text" type="{http://hl7.org/fhir}Narrative" minOccurs="0"/>
<element name="contained" type="{http://hl7.org/fhir}ResourceContainer" maxOccurs="unbounded" minOccurs="0"/>
<element name="extension" type="{http://hl7.org/fhir}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element name="modifierExtension" type="{http://hl7.org/fhir}Extension" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ResourceContainer>containedprotected java.util.List<Extension>extensionprotected java.util.List<Extension>modifierExtensionprotected Narrativetext -
Constructor Summary
Constructors Constructor Description DomainResource() -
Method Summary
Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)java.util.List<ResourceContainer>getContained()Gets the value of the contained property.java.util.List<Extension>getExtension()Gets the value of the extension property.java.util.List<Extension>getModifierExtension()Gets the value of the modifierExtension property.NarrativegetText()Gets the value of the text property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetText(Narrative value)Sets the value of the text property.java.lang.StringtoString()DomainResourcewithContained(java.util.Collection<ResourceContainer> values)DomainResourcewithContained(ResourceContainer... values)DomainResourcewithExtension(java.util.Collection<Extension> values)DomainResourcewithExtension(Extension... values)DomainResourcewithId(Id value)DomainResourcewithImplicitRules(Uri value)DomainResourcewithLanguage(Code value)DomainResourcewithMeta(Meta value)DomainResourcewithModifierExtension(java.util.Collection<Extension> values)DomainResourcewithModifierExtension(Extension... values)DomainResourcewithText(Narrative value)Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
Constructor Details
-
DomainResource
public DomainResource()
-
-
Method Details
-
getText
Gets the value of the text property.- Returns:
- possible object is
Narrative
-
setText
Sets the value of the text property.- Parameters:
value- allowed object isNarrative
-
getContained
Gets the value of the contained property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the contained property.For example, to add a new item, do as follows:
getContained().add(newItem);Objects of the following type(s) are allowed in the list
ResourceContainer -
getExtension
Gets the value of the extension property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the extension property.For example, to add a new item, do as follows:
getExtension().add(newItem);Objects of the following type(s) are allowed in the list
Extension -
getModifierExtension
Gets the value of the modifierExtension property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the modifierExtension property.For example, to add a new item, do as follows:
getModifierExtension().add(newItem);Objects of the following type(s) are allowed in the list
Extension -
withText
-
withContained
-
withContained
-
withExtension
-
withExtension
-
withModifierExtension
-
withModifierExtension
-
withId
-
withMeta
-
withImplicitRules
- Overrides:
withImplicitRulesin classResource
-
withLanguage
- Overrides:
withLanguagein classResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) -
equals
public boolean equals(java.lang.Object object) -
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) -
hashCode
public int hashCode() -
toString
public java.lang.String toString() -
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) -
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classResource
-