Package ca.uhn.fhir.model.dstu2.resource
Class BaseResource
java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.dstu2.resource.BaseResource
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
- Direct Known Subclasses:
Account
,AllergyIntolerance
,Appointment
,AppointmentResponse
,AuditEvent
,Basic
,Binary
,BodySite
,Bundle
,CarePlan
,Claim
,ClaimResponse
,ClinicalImpression
,Communication
,CommunicationRequest
,Composition
,ConceptMap
,Condition
,Conformance
,Contract
,Coverage
,DataElement
,DetectedIssue
,Device
,DeviceComponent
,DeviceMetric
,DeviceUseRequest
,DeviceUseStatement
,DiagnosticOrder
,DiagnosticReport
,DocumentManifest
,DocumentReference
,EligibilityRequest
,EligibilityResponse
,Encounter
,EnrollmentRequest
,EnrollmentResponse
,EpisodeOfCare
,ExplanationOfBenefit
,FamilyMemberHistory
,Flag
,Goal
,Group
,HealthcareService
,ImagingObjectSelection
,ImagingStudy
,Immunization
,ImmunizationRecommendation
,ImplementationGuide
,ListResource
,Location
,Media
,Medication
,MedicationAdministration
,MedicationDispense
,MedicationOrder
,MedicationStatement
,MessageHeader
,NamingSystem
,NutritionOrder
,Observation
,OperationDefinition
,OperationOutcome
,Order
,OrderResponse
,Organization
,Parameters
,Patient
,PaymentNotice
,PaymentReconciliation
,Person
,Practitioner
,Procedure
,ProcedureRequest
,ProcessRequest
,ProcessResponse
,Provenance
,Questionnaire
,QuestionnaireResponse
,ReferralRequest
,RelatedPerson
,RiskAssessment
,Schedule
,SearchParameter
,Slot
,Specimen
,StructureDefinition
,Subscription
,Substance
,SupplyDelivery
,SupplyRequest
,TestScript
,ValueSet
,VisionPrescription
public abstract class BaseResource
extends ca.uhn.fhir.model.api.BaseElement
implements ca.uhn.fhir.model.api.IResource
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for _idstatic final String
Search parameter constant for _idFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.model.primitive.IdDt
getId()
org.hl7.fhir.instance.model.api.IIdType
ca.uhn.fhir.model.primitive.CodeDt
org.hl7.fhir.instance.model.api.IBaseMetaType
getMeta()
ca.uhn.fhir.model.base.resource.ResourceMetadataMap
getText()
protected boolean
Intended to be called by extending classesIBase.isEmpty()
implementations, returnstrue
if all content in this superclass instance is empty per the semantics ofIBase.isEmpty()
.void
setContained
(ContainedDt theContained) void
setId
(ca.uhn.fhir.model.primitive.IdDt theId) setId
(org.hl7.fhir.instance.model.api.IIdType theId) void
setLanguage
(ca.uhn.fhir.model.primitive.CodeDt theLanguage) void
setResourceMetadata
(ca.uhn.fhir.model.base.resource.ResourceMetadataMap theMap) void
setText
(NarrativeDt theText) toString()
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, isEmpty, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
isDeleted
Methods inherited from interface ca.uhn.fhir.model.api.ICompositeElement
getAllPopulatedChildElementsOfType
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getResourceName, getStructureFhirVersionEnum
-
Field Details
-
RES_ID
Fluent Client search parameter constant for _idDescription: the _id of a resource
Type: string
Path: Resource._id
-
SP_RES_ID
Search parameter constant for _id- See Also:
-
-
Constructor Details
-
BaseResource
public BaseResource()
-
-
Method Details
-
getContained
- Specified by:
getContained
in interfaceca.uhn.fhir.model.api.IResource
-
getId
- Specified by:
getId
in interfaceca.uhn.fhir.model.api.IResource
-
getIdElement
- Specified by:
getIdElement
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
-
getLanguage
- Specified by:
getLanguage
in interfaceca.uhn.fhir.model.api.IResource
-
getMeta
- Specified by:
getMeta
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getMeta
in interfaceca.uhn.fhir.model.api.IResource
-
getResourceMetadata
- Specified by:
getResourceMetadata
in interfaceca.uhn.fhir.model.api.IResource
-
getText
- Specified by:
getText
in interfaceca.uhn.fhir.model.api.IResource
-
isBaseEmpty
Intended to be called by extending classesIBase.isEmpty()
implementations, returnstrue
if all content in this superclass instance is empty per the semantics ofIBase.isEmpty()
.- Overrides:
isBaseEmpty
in classca.uhn.fhir.model.api.BaseElement
-
setContained
-
setId
- Specified by:
setId
in interfaceca.uhn.fhir.model.api.IResource
-
setId
- Specified by:
setId
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
-
setId
- Specified by:
setId
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
-
setLanguage
- Specified by:
setLanguage
in interfaceca.uhn.fhir.model.api.IResource
-
setResourceMetadata
- Specified by:
setResourceMetadata
in interfaceca.uhn.fhir.model.api.IResource
-
setText
-
toString
-