Package com.ibm.fhir.model.resource
Class DocumentManifest
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.resource.Resource
-
- com.ibm.fhir.model.resource.DomainResource
-
- com.ibm.fhir.model.resource.DocumentManifest
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class DocumentManifest extends DomainResource
A collection of documents compiled for a purpose together with metadata that applies to the collection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentManifest.Builderstatic classDocumentManifest.RelatedRelated identifiers or resources associated with the DocumentManifest.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class com.ibm.fhir.model.resource.Resource
id, implicitRules, language, meta
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static DocumentManifest.Builderbuilder()booleanequals(Object obj)List<Reference>getAuthor()Identifies who is the author of the manifest.List<Reference>getContent()The list of Resources that consist of the parts of this manifest.DateTimegetCreated()When the document manifest was created for submission to the server (not necessarily the same thing as the actual resource last modified time, since it may be modified, replicated, etc.).StringgetDescription()Human-readable description of the source document.List<Identifier>getIdentifier()Other identifiers associated with the document manifest, including version independent identifiers.IdentifiergetMasterIdentifier()A single identifier that uniquely identifies this manifest.List<Reference>getRecipient()A patient, practitioner, or organization for which this set of documents is intended.List<DocumentManifest.Related>getRelated()Related identifiers or resources associated with the DocumentManifest.UrigetSource()Identifies the source system, application, or software that produced the document manifest.DocumentReferenceStatusgetStatus()The status of this document manifest.ReferencegetSubject()Who or what the set of documents is about.CodeableConceptgetType()The code specifying the type of clinical activity that resulted in placing the associated content into the DocumentManifest.booleanhasChildren()inthashCode()DocumentManifest.BuildertoBuilder()Create a new Builder from the contents of this Resource-
Methods inherited from class com.ibm.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class com.ibm.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getMasterIdentifier
public Identifier getMasterIdentifier()
A single identifier that uniquely identifies this manifest. Principally used to refer to the manifest in non-FHIR contexts.- Returns:
- An immutable object of type
Identifierthat may be null.
-
getIdentifier
public List<Identifier> getIdentifier()
Other identifiers associated with the document manifest, including version independent identifiers.- Returns:
- An unmodifiable list containing immutable objects of type
Identifierthat may be empty.
-
getStatus
public DocumentReferenceStatus getStatus()
The status of this document manifest.- Returns:
- An immutable object of type
DocumentReferenceStatusthat is non-null.
-
getType
public CodeableConcept getType()
The code specifying the type of clinical activity that resulted in placing the associated content into the DocumentManifest.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getSubject
public Reference getSubject()
Who or what the set of documents is about. The documents can be about a person, (patient or healthcare practitioner), a device (i.e. 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). If the documents cross more than one subject, then more than one subject is allowed here (unusual use case).- Returns:
- An immutable object of type
Referencethat may be null.
-
getCreated
public DateTime getCreated()
When the document manifest was created for submission to the server (not necessarily the same thing as the actual resource last modified time, since it may be modified, replicated, etc.).- Returns:
- An immutable object of type
DateTimethat may be null.
-
getAuthor
public List<Reference> getAuthor()
Identifies who is the author of the manifest. Manifest author is not necessarly the author of the references included.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getRecipient
public List<Reference> getRecipient()
A patient, practitioner, or organization for which this set of documents is intended.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getSource
public Uri getSource()
Identifies the source system, application, or software that produced the document manifest.- Returns:
- An immutable object of type
Urithat may be null.
-
getDescription
public String getDescription()
Human-readable description of the source document. This is sometimes known as the "title".- Returns:
- An immutable object of type
Stringthat may be null.
-
getContent
public List<Reference> getContent()
The list of Resources that consist of the parts of this manifest.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat is non-empty.
-
getRelated
public List<DocumentManifest.Related> getRelated()
Related identifiers or resources associated with the DocumentManifest.- Returns:
- An unmodifiable list containing immutable objects of type
DocumentManifest.Relatedthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:VisitableAccept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }- Specified by:
acceptin interfaceVisitable- Specified by:
acceptin classAbstractVisitable- Parameters:
elementName- the name of the element in the context of this visitelementIndex- the index of the element in a list or -1 if it is not contained within a Listvisitor- the visitor to use
-
toBuilder
public DocumentManifest.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static DocumentManifest.Builder builder()
-
-