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
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
FieldsFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the contained property.Gets the value of the extension property.Gets the value of the modifierExtension property.getText()Gets the value of the text property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetContained(List<ResourceContainer> value) voidsetExtension(List<Extension> value) voidsetModifierExtension(List<Extension> value) voidSets the value of the text property.toString()withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withExtension(Collection<Extension> values) withExtension(Extension... values) withImplicitRules(Uri value) withLanguage(Code value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
text
-
contained
-
extension
-
modifierExtension
-
-
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 Jakarta XML Binding 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 Jakarta XML Binding 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 Jakarta XML Binding 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, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) -
equals
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) -
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) -
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classResource
-
setContained
-
setExtension
-
setModifierExtension
-