Class DocumentReference
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.DocumentReference
-
- 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
public class DocumentReference extends BaseResource implements ca.uhn.fhir.model.api.IResource
HAPI/FHIR DocumentReference Resource (infrastructure.documents)Definition: A reference to a document .
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/DocumentReference
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentReference.ContentBlock class for child element: DocumentReference.content ()static classDocumentReference.ContextBlock class for child element: DocumentReference.context ()static classDocumentReference.ContextRelatedBlock class for child element: DocumentReference.context.related ()static classDocumentReference.RelatesToBlock class for child element: DocumentReference.relatesTo ()
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.ReferenceClientParamAUTHENTICATORFluent Client search parameter constant for authenticatorstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamAUTHORFluent Client search parameter constant for authorstatic ca.uhn.fhir.rest.gclient.TokenClientParamCLASSFluent Client search parameter constant for classstatic ca.uhn.fhir.rest.gclient.DateClientParamCREATEDFluent Client search parameter constant for createdstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamCUSTODIANFluent Client search parameter constant for custodianstatic ca.uhn.fhir.rest.gclient.StringClientParamDESCRIPTIONFluent Client search parameter constant for descriptionstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamENCOUNTERFluent Client search parameter constant for encounterstatic ca.uhn.fhir.rest.gclient.TokenClientParamEVENTFluent Client search parameter constant for eventstatic ca.uhn.fhir.rest.gclient.TokenClientParamFACILITYFluent Client search parameter constant for facilitystatic ca.uhn.fhir.rest.gclient.TokenClientParamFORMATFluent Client search parameter constant for formatstatic ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_AUTHENTICATORConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_AUTHORConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_CUSTODIANConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_ENCOUNTERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_RELATED_REFConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_RELATESTOConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUBJECTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.DateClientParamINDEXEDFluent Client search parameter constant for indexedstatic ca.uhn.fhir.rest.gclient.TokenClientParamLANGUAGEFluent Client search parameter constant for languagestatic ca.uhn.fhir.rest.gclient.UriClientParamLOCATIONFluent Client search parameter constant for locationstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientstatic ca.uhn.fhir.rest.gclient.DateClientParamPERIODFluent Client search parameter constant for periodstatic ca.uhn.fhir.rest.gclient.TokenClientParamRELATED_IDFluent Client search parameter constant for related-idstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamRELATED_REFFluent Client search parameter constant for related-refstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamRELATESTOFluent Client search parameter constant for relatestostatic ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.ReferenceClientParam,ca.uhn.fhir.rest.gclient.TokenClientParam>RELATESTO_RELATIONFluent Client search parameter constant for relatesto-relationstatic ca.uhn.fhir.rest.gclient.TokenClientParamRELATIONFluent Client search parameter constant for relationstatic ca.uhn.fhir.rest.gclient.TokenClientParamSECURITYLABELFluent Client search parameter constant for securitylabelstatic ca.uhn.fhir.rest.gclient.TokenClientParamSETTINGFluent Client search parameter constant for settingstatic StringSP_AUTHENTICATORSearch parameter constant for authenticatorstatic StringSP_AUTHORSearch parameter constant for authorstatic StringSP_CLASSSearch parameter constant for classstatic StringSP_CREATEDSearch parameter constant for createdstatic StringSP_CUSTODIANSearch parameter constant for custodianstatic StringSP_DESCRIPTIONSearch parameter constant for descriptionstatic StringSP_ENCOUNTERSearch parameter constant for encounterstatic StringSP_EVENTSearch parameter constant for eventstatic StringSP_FACILITYSearch parameter constant for facilitystatic StringSP_FORMATSearch parameter constant for formatstatic StringSP_IDENTIFIERSearch parameter constant for identifierstatic StringSP_INDEXEDSearch parameter constant for indexedstatic StringSP_LANGUAGESearch parameter constant for languagestatic StringSP_LOCATIONSearch parameter constant for locationstatic StringSP_PATIENTSearch parameter constant for patientstatic StringSP_PERIODSearch parameter constant for periodstatic StringSP_RELATED_IDSearch parameter constant for related-idstatic StringSP_RELATED_REFSearch parameter constant for related-refstatic StringSP_RELATESTOSearch parameter constant for relatestostatic StringSP_RELATESTO_RELATIONSearch parameter constant for relatesto-relationstatic StringSP_RELATIONSearch parameter constant for relationstatic StringSP_SECURITYLABELSearch parameter constant for securitylabelstatic StringSP_SETTINGSearch parameter constant for settingstatic StringSP_STATUSSearch parameter constant for statusstatic StringSP_SUBJECTSearch parameter constant for subjectstatic StringSP_TYPESearch parameter constant for typestatic ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBJECTFluent Client search parameter constant for subjectstatic ca.uhn.fhir.rest.gclient.TokenClientParamTYPEFluent Client search parameter constant for type-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description DocumentReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceReferenceDtaddAuthor()Adds and returns a new value for author (who.author)DocumentReference.ContentaddContent()Adds and returns a new value for content ()DocumentReferenceaddContent(DocumentReference.Content theValue)Adds a given new value for content ()IdentifierDtaddIdentifier()Adds and returns a new value for identifier (id)DocumentReferenceaddIdentifier(IdentifierDt theValue)Adds a given new value for identifier (id)DocumentReference.RelatesToaddRelatesTo()Adds and returns a new value for relatesTo ()DocumentReferenceaddRelatesTo(DocumentReference.RelatesTo theValue)Adds a given new value for relatesTo ()CodeableConceptDtaddSecurityLabel()Adds and returns a new value for securityLabel ()DocumentReferenceaddSecurityLabel(CodeableConceptDt theValue)Adds a given new value for securityLabel ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)ResourceReferenceDtgetAuthenticator()Gets the value(s) for authenticator (who.witness).List<ResourceReferenceDt>getAuthor()Gets the value(s) for author (who.author).CodeableConceptDtgetClassElement()Gets the value(s) for class (class).List<DocumentReference.Content>getContent()Gets the value(s) for content ().DocumentReference.ContentgetContentFirstRep()Gets the first repetition for content (), creating it if it does not already exist.DocumentReference.ContextgetContext()Gets the value(s) for context ().DategetCreated()Gets the value(s) for created (when.done).ca.uhn.fhir.model.primitive.DateTimeDtgetCreatedElement()Gets the value(s) for created (when.done).ResourceReferenceDtgetCustodian()Gets the value(s) for custodian ().StringgetDescription()Gets the value(s) for description ().ca.uhn.fhir.model.primitive.StringDtgetDescriptionElement()Gets the value(s) for description ().CodeableConceptDtgetDocStatus()Gets the value(s) for docStatus (status).List<IdentifierDt>getIdentifier()Gets the value(s) for identifier (id).IdentifierDtgetIdentifierFirstRep()Gets the first repetition for identifier (id), creating it if it does not already exist.DategetIndexed()Gets the value(s) for indexed (when.recorded).ca.uhn.fhir.model.primitive.InstantDtgetIndexedElement()Gets the value(s) for indexed (when.recorded).IdentifierDtgetMasterIdentifier()Gets the value(s) for masterIdentifier (id).List<DocumentReference.RelatesTo>getRelatesTo()Gets the value(s) for relatesTo ().DocumentReference.RelatesTogetRelatesToFirstRep()Gets the first repetition for relatesTo (), creating it if it does not already exist.StringgetResourceName()List<CodeableConceptDt>getSecurityLabel()Gets the value(s) for securityLabel ().CodeableConceptDtgetSecurityLabelFirstRep()Gets the first repetition for securityLabel (), creating it if it does not already exist.StringgetStatus()Gets the value(s) for status (status).ca.uhn.fhir.model.primitive.BoundCodeDt<DocumentReferenceStatusEnum>getStatusElement()Gets the value(s) for status (status).ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()ResourceReferenceDtgetSubject()Gets the value(s) for subject (who.focus).CodeableConceptDtgetType()Gets the value(s) for type (class).booleanisEmpty()DocumentReferencesetAuthenticator(ResourceReferenceDt theValue)Sets the value(s) for authenticator (who.witness)DocumentReferencesetAuthor(List<ResourceReferenceDt> theValue)Sets the value(s) for author (who.author)DocumentReferencesetClassElement(CodeableConceptDt theValue)Sets the value(s) for class (class)DocumentReferencesetContent(List<DocumentReference.Content> theValue)Sets the value(s) for content ()DocumentReferencesetContext(DocumentReference.Context theValue)Sets the value(s) for context ()DocumentReferencesetCreated(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for created (when.done)DocumentReferencesetCreated(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for created (when.done)DocumentReferencesetCreatedWithSecondsPrecision(Date theDate)Sets the value for created (when.done)DocumentReferencesetCustodian(ResourceReferenceDt theValue)Sets the value(s) for custodian ()DocumentReferencesetDescription(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for description ()DocumentReferencesetDescription(String theString)Sets the value for description ()DocumentReferencesetDocStatus(CodeableConceptDt theValue)Sets the value(s) for docStatus (status)DocumentReferencesetIdentifier(List<IdentifierDt> theValue)Sets the value(s) for identifier (id)DocumentReferencesetIndexed(ca.uhn.fhir.model.primitive.InstantDt theValue)Sets the value(s) for indexed (when.recorded)DocumentReferencesetIndexed(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for indexed (when.recorded)DocumentReferencesetIndexedWithMillisPrecision(Date theDate)Sets the value for indexed (when.recorded)DocumentReferencesetMasterIdentifier(IdentifierDt theValue)Sets the value(s) for masterIdentifier (id)DocumentReferencesetRelatesTo(List<DocumentReference.RelatesTo> theValue)Sets the value(s) for relatesTo ()DocumentReferencesetSecurityLabel(List<CodeableConceptDt> theValue)Sets the value(s) for securityLabel ()DocumentReferencesetStatus(DocumentReferenceStatusEnum theValue)Sets the value(s) for status (status)DocumentReferencesetStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<DocumentReferenceStatusEnum> theValue)Sets the value(s) for status (status)DocumentReferencesetSubject(ResourceReferenceDt theValue)Sets the value(s) for subject (who.focus)DocumentReferencesetType(CodeableConceptDt theValue)Sets the value(s) for type (class)-
Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, 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, setUserData
-
-
-
-
Field Detail
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter constant for identifierDescription:
Type: token
Path: DocumentReference.masterIdentifier | DocumentReference.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription:
Type: token
Path: DocumentReference.masterIdentifier | DocumentReference.identifier
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter constant for subjectDescription:
Type: reference
Path: DocumentReference.subject
- See Also:
- Constant Field Values
-
SUBJECT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Fluent Client search parameter constant for subjectDescription:
Type: reference
Path: DocumentReference.subject
-
SP_TYPE
public static final String SP_TYPE
Search parameter constant for typeDescription:
Type: token
Path: DocumentReference.type
- See Also:
- Constant Field Values
-
TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Fluent Client search parameter constant for typeDescription:
Type: token
Path: DocumentReference.type
-
SP_CLASS
public static final String SP_CLASS
Search parameter constant for classDescription:
Type: token
Path: DocumentReference.class
- See Also:
- Constant Field Values
-
CLASS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CLASS
Fluent Client search parameter constant for classDescription:
Type: token
Path: DocumentReference.class
-
SP_AUTHOR
public static final String SP_AUTHOR
Search parameter constant for authorDescription:
Type: reference
Path: DocumentReference.author
- See Also:
- Constant Field Values
-
AUTHOR
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR
Fluent Client search parameter constant for authorDescription:
Type: reference
Path: DocumentReference.author
-
SP_CUSTODIAN
public static final String SP_CUSTODIAN
Search parameter constant for custodianDescription:
Type: reference
Path: DocumentReference.custodian
- See Also:
- Constant Field Values
-
CUSTODIAN
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CUSTODIAN
Fluent Client search parameter constant for custodianDescription:
Type: reference
Path: DocumentReference.custodian
-
SP_AUTHENTICATOR
public static final String SP_AUTHENTICATOR
Search parameter constant for authenticatorDescription:
Type: reference
Path: DocumentReference.authenticator
- See Also:
- Constant Field Values
-
AUTHENTICATOR
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHENTICATOR
Fluent Client search parameter constant for authenticatorDescription:
Type: reference
Path: DocumentReference.authenticator
-
SP_CREATED
public static final String SP_CREATED
Search parameter constant for createdDescription:
Type: date
Path: DocumentReference.created
- See Also:
- Constant Field Values
-
CREATED
public static final ca.uhn.fhir.rest.gclient.DateClientParam CREATED
Fluent Client search parameter constant for createdDescription:
Type: date
Path: DocumentReference.created
-
SP_INDEXED
public static final String SP_INDEXED
Search parameter constant for indexedDescription:
Type: date
Path: DocumentReference.indexed
- See Also:
- Constant Field Values
-
INDEXED
public static final ca.uhn.fhir.rest.gclient.DateClientParam INDEXED
Fluent Client search parameter constant for indexedDescription:
Type: date
Path: DocumentReference.indexed
-
SP_STATUS
public static final String SP_STATUS
Search parameter constant for statusDescription:
Type: token
Path: DocumentReference.status
- See Also:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Fluent Client search parameter constant for statusDescription:
Type: token
Path: DocumentReference.status
-
SP_RELATESTO
public static final String SP_RELATESTO
Search parameter constant for relatestoDescription:
Type: reference
Path: DocumentReference.relatesTo.target
- See Also:
- Constant Field Values
-
RELATESTO
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RELATESTO
Fluent Client search parameter constant for relatestoDescription:
Type: reference
Path: DocumentReference.relatesTo.target
-
SP_RELATION
public static final String SP_RELATION
Search parameter constant for relationDescription:
Type: token
Path: DocumentReference.relatesTo.code
- See Also:
- Constant Field Values
-
RELATION
public static final ca.uhn.fhir.rest.gclient.TokenClientParam RELATION
Fluent Client search parameter constant for relationDescription:
Type: token
Path: DocumentReference.relatesTo.code
-
SP_DESCRIPTION
public static final String SP_DESCRIPTION
Search parameter constant for descriptionDescription:
Type: string
Path: DocumentReference.description
- See Also:
- Constant Field Values
-
DESCRIPTION
public static final ca.uhn.fhir.rest.gclient.StringClientParam DESCRIPTION
Fluent Client search parameter constant for descriptionDescription:
Type: string
Path: DocumentReference.description
-
SP_SECURITYLABEL
public static final String SP_SECURITYLABEL
Search parameter constant for securitylabelDescription:
Type: token
Path: DocumentReference.securityLabel
- See Also:
- Constant Field Values
-
SECURITYLABEL
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SECURITYLABEL
Fluent Client search parameter constant for securitylabelDescription:
Type: token
Path: DocumentReference.securityLabel
-
SP_FORMAT
public static final String SP_FORMAT
Search parameter constant for formatDescription:
Type: token
Path: DocumentReference.content.format
- See Also:
- Constant Field Values
-
FORMAT
public static final ca.uhn.fhir.rest.gclient.TokenClientParam FORMAT
Fluent Client search parameter constant for formatDescription:
Type: token
Path: DocumentReference.content.format
-
SP_LANGUAGE
public static final String SP_LANGUAGE
Search parameter constant for languageDescription:
Type: token
Path: DocumentReference.content.attachment.language
- See Also:
- Constant Field Values
-
LANGUAGE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam LANGUAGE
Fluent Client search parameter constant for languageDescription:
Type: token
Path: DocumentReference.content.attachment.language
-
SP_LOCATION
public static final String SP_LOCATION
Search parameter constant for locationDescription:
Type: uri
Path: DocumentReference.content.attachment.url
- See Also:
- Constant Field Values
-
LOCATION
public static final ca.uhn.fhir.rest.gclient.UriClientParam LOCATION
Fluent Client search parameter constant for locationDescription:
Type: uri
Path: DocumentReference.content.attachment.url
-
SP_EVENT
public static final String SP_EVENT
Search parameter constant for eventDescription:
Type: token
Path: DocumentReference.context.event
- See Also:
- Constant Field Values
-
EVENT
public static final ca.uhn.fhir.rest.gclient.TokenClientParam EVENT
Fluent Client search parameter constant for eventDescription:
Type: token
Path: DocumentReference.context.event
-
SP_PERIOD
public static final String SP_PERIOD
Search parameter constant for periodDescription:
Type: date
Path: DocumentReference.context.period
- See Also:
- Constant Field Values
-
PERIOD
public static final ca.uhn.fhir.rest.gclient.DateClientParam PERIOD
Fluent Client search parameter constant for periodDescription:
Type: date
Path: DocumentReference.context.period
-
SP_FACILITY
public static final String SP_FACILITY
Search parameter constant for facilityDescription:
Type: token
Path: DocumentReference.context.facilityType
- See Also:
- Constant Field Values
-
FACILITY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam FACILITY
Fluent Client search parameter constant for facilityDescription:
Type: token
Path: DocumentReference.context.facilityType
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: DocumentReference.subject
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription:
Type: reference
Path: DocumentReference.subject
-
SP_SETTING
public static final String SP_SETTING
Search parameter constant for settingDescription:
Type: token
Path: DocumentReference.context.practiceSetting
- See Also:
- Constant Field Values
-
SETTING
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SETTING
Fluent Client search parameter constant for settingDescription:
Type: token
Path: DocumentReference.context.practiceSetting
-
SP_RELATED_ID
public static final String SP_RELATED_ID
Search parameter constant for related-idDescription:
Type: token
Path: DocumentReference.context.related.identifier
- See Also:
- Constant Field Values
-
RELATED_ID
public static final ca.uhn.fhir.rest.gclient.TokenClientParam RELATED_ID
Fluent Client search parameter constant for related-idDescription:
Type: token
Path: DocumentReference.context.related.identifier
-
SP_RELATED_REF
public static final String SP_RELATED_REF
Search parameter constant for related-refDescription:
Type: reference
Path: DocumentReference.context.related.ref
- See Also:
- Constant Field Values
-
RELATED_REF
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam RELATED_REF
Fluent Client search parameter constant for related-refDescription:
Type: reference
Path: DocumentReference.context.related.ref
-
SP_ENCOUNTER
public static final String SP_ENCOUNTER
Search parameter constant for encounterDescription:
Type: reference
Path: DocumentReference.context.encounter
- See Also:
- Constant Field Values
-
ENCOUNTER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER
Fluent Client search parameter constant for encounterDescription:
Type: reference
Path: DocumentReference.context.encounter
-
SP_RELATESTO_RELATION
public static final String SP_RELATESTO_RELATION
Search parameter constant for relatesto-relationDescription: Combination of relation and relatesTo
Type: composite
Path: relatesto & relation
- See Also:
- Constant Field Values
-
RELATESTO_RELATION
public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.ReferenceClientParam,ca.uhn.fhir.rest.gclient.TokenClientParam> RELATESTO_RELATION
Fluent Client search parameter constant for relatesto-relationDescription: Combination of relation and relatesTo
Type: composite
Path: relatesto & relation
-
INCLUDE_AUTHENTICATOR
public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHENTICATOR
Constant for fluent queries to be used to add include statements. Specifies the path value of "DocumentReference:authenticator".
-
INCLUDE_AUTHOR
public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR
Constant for fluent queries to be used to add include statements. Specifies the path value of "DocumentReference:author".
-
INCLUDE_CUSTODIAN
public static final ca.uhn.fhir.model.api.Include INCLUDE_CUSTODIAN
Constant for fluent queries to be used to add include statements. Specifies the path value of "DocumentReference:custodian".
-
INCLUDE_ENCOUNTER
public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "DocumentReference:encounter".
-
INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "DocumentReference:patient".
-
INCLUDE_RELATED_REF
public static final ca.uhn.fhir.model.api.Include INCLUDE_RELATED_REF
Constant for fluent queries to be used to add include statements. Specifies the path value of "DocumentReference:related-ref".
-
INCLUDE_RELATESTO
public static final ca.uhn.fhir.model.api.Include INCLUDE_RELATESTO
Constant for fluent queries to be used to add include statements. Specifies the path value of "DocumentReference:relatesto".
-
INCLUDE_SUBJECT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "DocumentReference:subject".
-
-
Constructor Detail
-
DocumentReference
public DocumentReference()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getMasterIdentifier
public IdentifierDt getMasterIdentifier()
Gets the value(s) for masterIdentifier (id). creating it if it does not exist. Will not returnnull.Definition: Document identifier as assigned by the source of the document. This identifier is specific to this version of the document. This unique identifier may be used elsewhere to identify this version of the document
-
setMasterIdentifier
public DocumentReference setMasterIdentifier(IdentifierDt theValue)
Sets the value(s) for masterIdentifier (id)Definition: Document identifier as assigned by the source of the document. This identifier is specific to this version of the document. This unique identifier may be used elsewhere to identify this version of the document
-
getIdentifier
public List<IdentifierDt> getIdentifier()
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull.Definition: Other identifiers associated with the document, including version independent identifiers
-
setIdentifier
public DocumentReference setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)Definition: Other identifiers associated with the document, including version independent identifiers
-
addIdentifier
public IdentifierDt addIdentifier()
Adds and returns a new value for identifier (id)Definition: Other identifiers associated with the document, including version independent identifiers
-
addIdentifier
public DocumentReference addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)Definition: Other identifiers associated with the document, including version independent identifiers
- Parameters:
theValue- The identifier to add (must not benull)
-
getIdentifierFirstRep
public IdentifierDt getIdentifierFirstRep()
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition: Other identifiers associated with the document, including version independent identifiers
-
getSubject
public ResourceReferenceDt getSubject()
Gets the value(s) for subject (who.focus). creating it if it does not exist. Will not returnnull.Definition: Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure)
-
setSubject
public DocumentReference setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (who.focus)Definition: Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure)
-
getType
public CodeableConceptDt getType()
Gets the value(s) for type (class). creating it if it does not exist. Will not returnnull.Definition: Specifies the particular kind of document referenced (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the document referenced.
-
setType
public DocumentReference setType(CodeableConceptDt theValue)
Sets the value(s) for type (class)Definition: Specifies the particular kind of document referenced (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the document referenced.
-
getClassElement
public CodeableConceptDt getClassElement()
Gets the value(s) for class (class). creating it if it does not exist. Will not returnnull.Definition: A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type
-
setClassElement
public DocumentReference setClassElement(CodeableConceptDt theValue)
Sets the value(s) for class (class)Definition: A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type
-
getAuthor
public List<ResourceReferenceDt> getAuthor()
Gets the value(s) for author (who.author). creating it if it does not exist. Will not returnnull.Definition: Identifies who is responsible for adding the information to the document
-
setAuthor
public DocumentReference setAuthor(List<ResourceReferenceDt> theValue)
Sets the value(s) for author (who.author)Definition: Identifies who is responsible for adding the information to the document
-
addAuthor
public ResourceReferenceDt addAuthor()
Adds and returns a new value for author (who.author)Definition: Identifies who is responsible for adding the information to the document
-
getCustodian
public ResourceReferenceDt getCustodian()
Gets the value(s) for custodian (). creating it if it does not exist. Will not returnnull.Definition: Identifies the organization or group who is responsible for ongoing maintenance of and access to the document
-
setCustodian
public DocumentReference setCustodian(ResourceReferenceDt theValue)
Sets the value(s) for custodian ()Definition: Identifies the organization or group who is responsible for ongoing maintenance of and access to the document
-
getAuthenticator
public ResourceReferenceDt getAuthenticator()
Gets the value(s) for authenticator (who.witness). creating it if it does not exist. Will not returnnull.Definition: Which person or organization authenticates that this document is valid
-
setAuthenticator
public DocumentReference setAuthenticator(ResourceReferenceDt theValue)
Sets the value(s) for authenticator (who.witness)Definition: Which person or organization authenticates that this document is valid
-
getCreatedElement
public ca.uhn.fhir.model.primitive.DateTimeDt getCreatedElement()
Gets the value(s) for created (when.done). creating it if it does not exist. Will not returnnull.Definition: When the document was created
-
getCreated
public Date getCreated()
Gets the value(s) for created (when.done). creating it if it does not exist. This method may returnnull.Definition: When the document was created
-
setCreated
public DocumentReference setCreated(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) for created (when.done)Definition: When the document was created
-
setCreated
public DocumentReference setCreated(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for created (when.done)Definition: When the document was created
-
setCreatedWithSecondsPrecision
public DocumentReference setCreatedWithSecondsPrecision(Date theDate)
Sets the value for created (when.done)Definition: When the document was created
-
getIndexedElement
public ca.uhn.fhir.model.primitive.InstantDt getIndexedElement()
Gets the value(s) for indexed (when.recorded). creating it if it does not exist. Will not returnnull.Definition: When the document reference was created
-
getIndexed
public Date getIndexed()
Gets the value(s) for indexed (when.recorded). creating it if it does not exist. This method may returnnull.Definition: When the document reference was created
-
setIndexed
public DocumentReference setIndexed(ca.uhn.fhir.model.primitive.InstantDt theValue)
Sets the value(s) for indexed (when.recorded)Definition: When the document reference was created
-
setIndexedWithMillisPrecision
public DocumentReference setIndexedWithMillisPrecision(Date theDate)
Sets the value for indexed (when.recorded)Definition: When the document reference was created
-
setIndexed
public DocumentReference setIndexed(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for indexed (when.recorded)Definition: When the document reference was created
-
getStatusElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<DocumentReferenceStatusEnum> getStatusElement()
Gets the value(s) for status (status). creating it if it does not exist. Will not returnnull.Definition: The status of this document reference
-
getStatus
public String getStatus()
Gets the value(s) for status (status). creating it if it does not exist. This method may returnnull.Definition: The status of this document reference
-
setStatus
public DocumentReference setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<DocumentReferenceStatusEnum> theValue)
Sets the value(s) for status (status)Definition: The status of this document reference
-
setStatus
public DocumentReference setStatus(DocumentReferenceStatusEnum theValue)
Sets the value(s) for status (status)Definition: The status of this document reference
-
getDocStatus
public CodeableConceptDt getDocStatus()
Gets the value(s) for docStatus (status). creating it if it does not exist. Will not returnnull.Definition: The status of the underlying document
-
setDocStatus
public DocumentReference setDocStatus(CodeableConceptDt theValue)
Sets the value(s) for docStatus (status)Definition: The status of the underlying document
-
getRelatesTo
public List<DocumentReference.RelatesTo> getRelatesTo()
Gets the value(s) for relatesTo (). creating it if it does not exist. Will not returnnull.Definition: Relationships that this document has with other document references that already exist
-
setRelatesTo
public DocumentReference setRelatesTo(List<DocumentReference.RelatesTo> theValue)
Sets the value(s) for relatesTo ()Definition: Relationships that this document has with other document references that already exist
-
addRelatesTo
public DocumentReference.RelatesTo addRelatesTo()
Adds and returns a new value for relatesTo ()Definition: Relationships that this document has with other document references that already exist
-
addRelatesTo
public DocumentReference addRelatesTo(DocumentReference.RelatesTo theValue)
Adds a given new value for relatesTo ()Definition: Relationships that this document has with other document references that already exist
- Parameters:
theValue- The relatesTo to add (must not benull)
-
getRelatesToFirstRep
public DocumentReference.RelatesTo getRelatesToFirstRep()
Gets the first repetition for relatesTo (), creating it if it does not already exist.Definition: Relationships that this document has with other document references that already exist
-
getDescriptionElement
public ca.uhn.fhir.model.primitive.StringDt getDescriptionElement()
Gets the value(s) for description (). creating it if it does not exist. Will not returnnull.Definition: Human-readable description of the source document. This is sometimes known as the \"title\"
-
getDescription
public String getDescription()
Gets the value(s) for description (). creating it if it does not exist. This method may returnnull.Definition: Human-readable description of the source document. This is sometimes known as the \"title\"
-
setDescription
public DocumentReference setDescription(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for description ()Definition: Human-readable description of the source document. This is sometimes known as the \"title\"
-
setDescription
public DocumentReference setDescription(String theString)
Sets the value for description ()Definition: Human-readable description of the source document. This is sometimes known as the \"title\"
-
getSecurityLabel
public List<CodeableConceptDt> getSecurityLabel()
Gets the value(s) for securityLabel (). creating it if it does not exist. Will not returnnull.Definition: A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the \"reference\" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to
-
setSecurityLabel
public DocumentReference setSecurityLabel(List<CodeableConceptDt> theValue)
Sets the value(s) for securityLabel ()Definition: A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the \"reference\" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to
-
addSecurityLabel
public CodeableConceptDt addSecurityLabel()
Adds and returns a new value for securityLabel ()Definition: A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the \"reference\" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to
-
addSecurityLabel
public DocumentReference addSecurityLabel(CodeableConceptDt theValue)
Adds a given new value for securityLabel ()Definition: A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the \"reference\" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to
- Parameters:
theValue- The securityLabel to add (must not benull)
-
getSecurityLabelFirstRep
public CodeableConceptDt getSecurityLabelFirstRep()
Gets the first repetition for securityLabel (), creating it if it does not already exist.Definition: A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the \"reference\" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to
-
getContent
public List<DocumentReference.Content> getContent()
Gets the value(s) for content (). creating it if it does not exist. Will not returnnull.Definition: The document and format referenced. There may be multiple content element repetitions, each with a different format.
-
setContent
public DocumentReference setContent(List<DocumentReference.Content> theValue)
Sets the value(s) for content ()Definition: The document and format referenced. There may be multiple content element repetitions, each with a different format.
-
addContent
public DocumentReference.Content addContent()
Adds and returns a new value for content ()Definition: The document and format referenced. There may be multiple content element repetitions, each with a different format.
-
addContent
public DocumentReference addContent(DocumentReference.Content theValue)
Adds a given new value for content ()Definition: The document and format referenced. There may be multiple content element repetitions, each with a different format.
- Parameters:
theValue- The content to add (must not benull)
-
getContentFirstRep
public DocumentReference.Content getContentFirstRep()
Gets the first repetition for content (), creating it if it does not already exist.Definition: The document and format referenced. There may be multiple content element repetitions, each with a different format.
-
getContext
public DocumentReference.Context getContext()
Gets the value(s) for context (). creating it if it does not exist. Will not returnnull.Definition: The clinical context in which the document was prepared
-
setContext
public DocumentReference setContext(DocumentReference.Context theValue)
Sets the value(s) for context ()Definition: The clinical context in which the document was prepared
-
getResourceName
public String getResourceName()
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-
-