public class DocumentReference extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
DocumentReference.DocumentReferenceContentComponent |
static class |
DocumentReference.DocumentReferenceContextComponent |
static class |
DocumentReference.DocumentReferenceContextRelatedComponent |
static class |
DocumentReference.DocumentReferenceRelatesToComponent |
static class |
DocumentReference.DocumentRelationshipType |
static class |
DocumentReference.DocumentRelationshipTypeEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
authenticator
Which person or organization authenticates that this document is valid.
|
protected Resource |
authenticatorTarget
The actual object that is the target of the reference (Which person or organization authenticates that this document is valid.)
|
protected List<Reference> |
author
Identifies who is responsible for adding the information to the document.
|
protected List<Resource> |
authorTarget
The actual objects that are the target of the reference (Identifies who is responsible for adding the information to the document.)
|
protected CodeableConcept |
class_
A categorization for the type of document referenced - helps for indexing and searching.
|
protected List<DocumentReference.DocumentReferenceContentComponent> |
content
The document and format referenced.
|
protected DocumentReference.DocumentReferenceContextComponent |
context
The clinical context in which the document was prepared.
|
protected DateTimeType |
created
When the document was created.
|
protected Reference |
custodian
Identifies the organization or group who is responsible for ongoing maintenance of and access to the document.
|
protected Organization |
custodianTarget
The actual object that is the target of the reference (Identifies the organization or group who is responsible for ongoing maintenance of and access to the document.)
|
protected StringType |
description
Human-readable description of the source document.
|
protected CodeableConcept |
docStatus
The status of the underlying document.
|
protected List<Identifier> |
identifier
Other identifiers associated with the document, including version independent identifiers.
|
protected InstantType |
indexed
When the document reference was created.
|
protected Identifier |
masterIdentifier
Document identifier as assigned by the source of the document.
|
protected List<DocumentReference.DocumentReferenceRelatesToComponent> |
relatesTo
Relationships that this document has with other document references that already exist.
|
protected List<CodeableConcept> |
securityLabel
A set of Security-Tag codes specifying the level of privacy/security of the Document.
|
static String |
SP_AUTHENTICATOR |
static String |
SP_AUTHOR |
static String |
SP_CLASS |
static String |
SP_CREATED |
static String |
SP_CUSTODIAN |
static String |
SP_DESCRIPTION |
static String |
SP_ENCOUNTER |
static String |
SP_EVENT |
static String |
SP_FACILITY |
static String |
SP_FORMAT |
static String |
SP_IDENTIFIER |
static String |
SP_INDEXED |
static String |
SP_LANGUAGE |
static String |
SP_LOCATION |
static String |
SP_PATIENT |
static String |
SP_PERIOD |
static String |
SP_RELATEDID |
static String |
SP_RELATEDREF |
static String |
SP_RELATESTO |
static String |
SP_RELATION |
static String |
SP_RELATIONSHIP |
static String |
SP_SECURITYLABEL |
static String |
SP_SETTING |
static String |
SP_STATUS |
static String |
SP_SUBJECT |
static String |
SP_TYPE |
protected Enumeration<Enumerations.DocumentReferenceStatus> |
status
The status of this document reference.
|
protected Reference |
subject
Who or what the document is about.
|
protected Resource |
subjectTarget
The actual object that is the target of the reference (Who or what the document is about.
|
protected CodeableConcept |
type
Specifies the particular kind of document referenced (e.g.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
DocumentReference() |
DocumentReference(CodeableConcept type,
InstantType indexed,
Enumeration<Enumerations.DocumentReferenceStatus> status) |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected Identifier masterIdentifier
protected List<Identifier> identifier
protected Reference subject
protected Resource subjectTarget
protected CodeableConcept type
protected CodeableConcept class_
protected List<Reference> author
protected List<Resource> authorTarget
protected Reference custodian
protected Organization custodianTarget
protected Reference authenticator
protected Resource authenticatorTarget
protected DateTimeType created
protected InstantType indexed
protected Enumeration<Enumerations.DocumentReferenceStatus> status
protected CodeableConcept docStatus
protected List<DocumentReference.DocumentReferenceRelatesToComponent> relatesTo
protected StringType description
protected List<CodeableConcept> securityLabel
protected List<DocumentReference.DocumentReferenceContentComponent> content
protected DocumentReference.DocumentReferenceContextComponent context
public static final String SP_SECURITYLABEL
public static final String SP_SUBJECT
public static final String SP_DESCRIPTION
public static final String SP_LANGUAGE
public static final String SP_TYPE
public static final String SP_RELATION
public static final String SP_SETTING
public static final String SP_PATIENT
public static final String SP_RELATIONSHIP
public static final String SP_EVENT
public static final String SP_CLASS
public static final String SP_AUTHENTICATOR
public static final String SP_IDENTIFIER
public static final String SP_PERIOD
public static final String SP_RELATEDID
public static final String SP_CUSTODIAN
public static final String SP_INDEXED
public static final String SP_AUTHOR
public static final String SP_CREATED
public static final String SP_FORMAT
public static final String SP_ENCOUNTER
public static final String SP_RELATEDREF
public static final String SP_LOCATION
public static final String SP_RELATESTO
public static final String SP_FACILITY
public static final String SP_STATUS
public DocumentReference()
public DocumentReference(CodeableConcept type, InstantType indexed, Enumeration<Enumerations.DocumentReferenceStatus> status)
public Identifier getMasterIdentifier()
masterIdentifier (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.)public boolean hasMasterIdentifier()
public DocumentReference setMasterIdentifier(Identifier value)
value - masterIdentifier (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.)public List<Identifier> getIdentifier()
identifier (Other identifiers associated with the document, including version independent identifiers.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (Other identifiers associated with the document, including version independent identifiers.)public DocumentReference addIdentifier(Identifier t)
public Reference getSubject()
subject (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).)public boolean hasSubject()
public DocumentReference setSubject(Reference value)
value - subject (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).)public Resource getSubjectTarget()
subject The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (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).)public DocumentReference setSubjectTarget(Resource value)
value - subject The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (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).)public CodeableConcept getType()
type (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.)public boolean hasType()
public DocumentReference setType(CodeableConcept value)
value - type (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.)public CodeableConcept getClass_()
class_ (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.)public boolean hasClass_()
public DocumentReference setClass_(CodeableConcept value)
value - class_ (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.)public List<Reference> getAuthor()
author (Identifies who is responsible for adding the information to the document.)public boolean hasAuthor()
public Reference addAuthor()
author (Identifies who is responsible for adding the information to the document.)public DocumentReference addAuthor(Reference t)
public List<Resource> getAuthorTarget()
author (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Identifies who is responsible for adding the information to the document.)public Reference getCustodian()
custodian (Identifies the organization or group who is responsible for ongoing maintenance of and access to the document.)public boolean hasCustodian()
public DocumentReference setCustodian(Reference value)
value - custodian (Identifies the organization or group who is responsible for ongoing maintenance of and access to the document.)public Organization getCustodianTarget()
custodian The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Identifies the organization or group who is responsible for ongoing maintenance of and access to the document.)public DocumentReference setCustodianTarget(Organization value)
value - custodian The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Identifies the organization or group who is responsible for ongoing maintenance of and access to the document.)public Reference getAuthenticator()
authenticator (Which person or organization authenticates that this document is valid.)public boolean hasAuthenticator()
public DocumentReference setAuthenticator(Reference value)
value - authenticator (Which person or organization authenticates that this document is valid.)public Resource getAuthenticatorTarget()
authenticator The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Which person or organization authenticates that this document is valid.)public DocumentReference setAuthenticatorTarget(Resource value)
value - authenticator The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Which person or organization authenticates that this document is valid.)public DateTimeType getCreatedElement()
created (When the document was created.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the valuepublic boolean hasCreatedElement()
public boolean hasCreated()
public DocumentReference setCreatedElement(DateTimeType value)
value - created (When the document was created.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the valuepublic Date getCreated()
public DocumentReference setCreated(Date value)
value - When the document was created.public InstantType getIndexedElement()
indexed (When the document reference was created.). This is the underlying object with id, value and extensions. The accessor "getIndexed" gives direct access to the valuepublic boolean hasIndexedElement()
public boolean hasIndexed()
public DocumentReference setIndexedElement(InstantType value)
value - indexed (When the document reference was created.). This is the underlying object with id, value and extensions. The accessor "getIndexed" gives direct access to the valuepublic Date getIndexed()
public DocumentReference setIndexed(Date value)
value - When the document reference was created.public Enumeration<Enumerations.DocumentReferenceStatus> getStatusElement()
status (The status of this document reference.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public DocumentReference setStatusElement(Enumeration<Enumerations.DocumentReferenceStatus> value)
value - status (The status of this document reference.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic Enumerations.DocumentReferenceStatus getStatus()
public DocumentReference setStatus(Enumerations.DocumentReferenceStatus value)
value - The status of this document reference.public CodeableConcept getDocStatus()
docStatus (The status of the underlying document.)public boolean hasDocStatus()
public DocumentReference setDocStatus(CodeableConcept value)
value - docStatus (The status of the underlying document.)public List<DocumentReference.DocumentReferenceRelatesToComponent> getRelatesTo()
relatesTo (Relationships that this document has with other document references that already exist.)public boolean hasRelatesTo()
public DocumentReference.DocumentReferenceRelatesToComponent addRelatesTo()
relatesTo (Relationships that this document has with other document references that already exist.)public DocumentReference addRelatesTo(DocumentReference.DocumentReferenceRelatesToComponent t)
public StringType getDescriptionElement()
description (Human-readable description of the source document. This is sometimes known as the "title".). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic boolean hasDescriptionElement()
public boolean hasDescription()
public DocumentReference setDescriptionElement(StringType value)
value - description (Human-readable description of the source document. This is sometimes known as the "title".). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic String getDescription()
public DocumentReference setDescription(String value)
value - Human-readable description of the source document. This is sometimes known as the "title".public List<CodeableConcept> getSecurityLabel()
securityLabel (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.)public boolean hasSecurityLabel()
public CodeableConcept addSecurityLabel()
securityLabel (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.)public DocumentReference addSecurityLabel(CodeableConcept t)
public List<DocumentReference.DocumentReferenceContentComponent> getContent()
content (The document and format referenced. There may be multiple content element repetitions, each with a different format.)public boolean hasContent()
public DocumentReference.DocumentReferenceContentComponent addContent()
content (The document and format referenced. There may be multiple content element repetitions, each with a different format.)public DocumentReference addContent(DocumentReference.DocumentReferenceContentComponent t)
public DocumentReference.DocumentReferenceContextComponent getContext()
context (The clinical context in which the document was prepared.)public boolean hasContext()
public DocumentReference setContext(DocumentReference.DocumentReferenceContextComponent value)
value - context (The clinical context in which the document was prepared.)protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic DocumentReference copy()
copy in class DomainResourceprotected DocumentReference typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.