
Package org.hl7.fhir.dstu2.model
Class Composition
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.model.Composition
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
A set of healthcare-related information that is assembled together into a
single logical document that provides a single coherent statement of meaning,
establishes its own context and that has clinical attestation with regard to
who is making the statement. While a Composition defines the structure, it
does not actually contain the content: rather the full content of a document
is contained in a Bundle, of which the Composition is the first resource
contained.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic classstatic classstatic enumstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<Composition.CompositionAttesterComponent> A participant who has attested to the accuracy of the composition/document.Identifies who is responsible for the information in the composition, not necessarily who typed it in.The actual objects that are the target of the reference (Identifies who is responsible for the information in the composition, not necessarily who typed it in.)protected CodeableConceptA categorization for the type of the composition - helps for indexing and searching.protected CodeTypeThe code specifying the level of confidentiality of the Composition.protected ReferenceIdentifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information.protected OrganizationThe 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 composition/document information.)protected DateTimeTypeThe composition editing time, when the composition was last logically changed by the author.protected ReferenceDescribes the clinical encounter or type of care this documentation is associated with.protected EncounterThe actual object that is the target of the reference (Describes the clinical encounter or type of care this documentation is associated with.)protected List<Composition.CompositionEventComponent> The clinical service, such as a colonoscopy or an appendectomy, being documented.protected IdentifierLogical identifier for the composition, assigned when created.protected List<Composition.SectionComponent> The root of the sections that make up the composition.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected Enumeration<Composition.CompositionStatus> The workflow/clinical status of this composition.protected ReferenceWho or what the composition is about.protected ResourceThe actual object that is the target of the reference (Who or what the composition is about.protected StringTypeOfficial human-readable label for the composition.protected CodeableConceptSpecifies the particular kind of composition (e.g.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, metaFields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
ConstructorsConstructorDescriptionComposition(DateTimeType date, CodeableConcept type, StringType title, Enumeration<Composition.CompositionStatus> status, Reference subject) -
Method Summary
Modifier and TypeMethodDescriptionaddEvent()copy()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()getDate()getEvent()getTitle()getType()booleanbooleanbooleanbooleanbooleanbooleanbooleanhasDate()booleanbooleanbooleanhasEvent()booleanbooleanbooleanbooleanbooleanbooleanhasTitle()booleanbooleanhasType()booleanisEmpty()protected voidlistChildren(List<Property> childrenList) setClass_(CodeableConcept value) setConfidentiality(String value) setCustodian(Reference value) setCustodianTarget(Organization value) setDateElement(DateTimeType value) setEncounter(Reference value) setEncounterTarget(Encounter value) setIdentifier(Identifier value) voidsetProperty(String name, Base value) setSubject(Reference value) setSubjectTarget(Resource value) setTitleElement(StringType value) setType(CodeableConcept value) protected CompositionMethods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setTextMethods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetaMethods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setIdMethods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, 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, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
Logical identifier for the composition, assigned when created. This identifier stays constant as the composition is changed over time. -
date
The composition editing time, when the composition was last logically changed by the author. -
type
Specifies the particular kind of composition (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the composition. -
class_
A categorization for the type of the composition - helps for indexing and searching. This may be implied by or derived from the code specified in the Composition Type. -
title
Official human-readable label for the composition. -
status
The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document. -
confidentiality
The code specifying the level of confidentiality of the Composition. -
subject
Who or what the composition is about. The composition 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 livestock, or a set of patients that share a common exposure). -
subjectTarget
The actual object that is the target of the reference (Who or what the composition is about. The composition 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 livestock, or a set of patients that share a common exposure).) -
author
Identifies who is responsible for the information in the composition, not necessarily who typed it in. -
authorTarget
The actual objects that are the target of the reference (Identifies who is responsible for the information in the composition, not necessarily who typed it in.) -
attester
A participant who has attested to the accuracy of the composition/document. -
custodian
Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information. -
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 composition/document information.) -
event
The clinical service, such as a colonoscopy or an appendectomy, being documented. -
encounter
Describes the clinical encounter or type of care this documentation is associated with. -
encounterTarget
The actual object that is the target of the reference (Describes the clinical encounter or type of care this documentation is associated with.) -
section
The root of the sections that make up the composition. -
SP_DATE
- See Also:
-
SP_IDENTIFIER
- See Also:
-
SP_PERIOD
- See Also:
-
SP_SUBJECT
- See Also:
-
SP_AUTHOR
- See Also:
-
SP_CONFIDENTIALITY
- See Also:
-
SP_SECTION
- See Also:
-
SP_ENCOUNTER
- See Also:
-
SP_TYPE
- See Also:
-
SP_TITLE
- See Also:
-
SP_ATTESTER
- See Also:
-
SP_ENTRY
- See Also:
-
SP_PATIENT
- See Also:
-
SP_CONTEXT
- See Also:
-
SP_CLASS
- See Also:
-
SP_STATUS
- See Also:
-
-
Constructor Details
-
Composition
public Composition() -
Composition
public Composition(DateTimeType date, CodeableConcept type, StringType title, Enumeration<Composition.CompositionStatus> status, Reference subject)
-
-
Method Details
-
getIdentifier
- Returns:
identifier(Logical identifier for the composition, assigned when created. This identifier stays constant as the composition is changed over time.)
-
hasIdentifier
-
setIdentifier
- Parameters:
value-identifier(Logical identifier for the composition, assigned when created. This identifier stays constant as the composition is changed over time.)
-
getDateElement
- Returns:
date(The composition editing time, when the composition was last logically changed by the author.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
hasDateElement
-
hasDate
-
setDateElement
- Parameters:
value-date(The composition editing time, when the composition was last logically changed by the author.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
getDate
- Returns:
- The composition editing time, when the composition was last logically changed by the author.
-
setDate
- Parameters:
value- The composition editing time, when the composition was last logically changed by the author.
-
getType
- Returns:
type(Specifies the particular kind of composition (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the composition.)
-
hasType
-
setType
- Parameters:
value-type(Specifies the particular kind of composition (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the composition.)
-
getClass_
- Returns:
class_(A categorization for the type of the composition - helps for indexing and searching. This may be implied by or derived from the code specified in the Composition Type.)
-
hasClass_
-
setClass_
- Parameters:
value-class_(A categorization for the type of the composition - helps for indexing and searching. This may be implied by or derived from the code specified in the Composition Type.)
-
getTitleElement
- Returns:
title(Official human-readable label for the composition.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
-
hasTitleElement
-
hasTitle
-
setTitleElement
- Parameters:
value-title(Official human-readable label for the composition.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
-
getTitle
- Returns:
- Official human-readable label for the composition.
-
setTitle
- Parameters:
value- Official human-readable label for the composition.
-
getStatusElement
- Returns:
status(The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
- Parameters:
value-status(The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document.
-
setStatus
- Parameters:
value- The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document.
-
getConfidentialityElement
- Returns:
confidentiality(The code specifying the level of confidentiality of the Composition.). This is the underlying object with id, value and extensions. The accessor "getConfidentiality" gives direct access to the value
-
hasConfidentialityElement
-
hasConfidentiality
-
setConfidentialityElement
- Parameters:
value-confidentiality(The code specifying the level of confidentiality of the Composition.). This is the underlying object with id, value and extensions. The accessor "getConfidentiality" gives direct access to the value
-
getConfidentiality
- Returns:
- The code specifying the level of confidentiality of the Composition.
-
setConfidentiality
- Parameters:
value- The code specifying the level of confidentiality of the Composition.
-
getSubject
- Returns:
subject(Who or what the composition is about. The composition 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 livestock, or a set of patients that share a common exposure).)
-
hasSubject
-
setSubject
- Parameters:
value-subject(Who or what the composition is about. The composition 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 livestock, or a set of patients that share a common exposure).)
-
getSubjectTarget
- Returns:
subjectThe 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 composition is about. The composition 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 livestock, or a set of patients that share a common exposure).)
-
setSubjectTarget
- Parameters:
value-subjectThe 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 composition is about. The composition 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 livestock, or a set of patients that share a common exposure).)
-
getAuthor
- Returns:
author(Identifies who is responsible for the information in the composition, not necessarily who typed it in.)
-
hasAuthor
-
addAuthor
- Returns:
author(Identifies who is responsible for the information in the composition, not necessarily who typed it in.)
-
addAuthor
-
getAuthorTarget
- Returns:
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 the information in the composition, not necessarily who typed it in.)
-
getAttester
- Returns:
attester(A participant who has attested to the accuracy of the composition/document.)
-
hasAttester
-
addAttester
- Returns:
attester(A participant who has attested to the accuracy of the composition/document.)
-
addAttester
-
getCustodian
- Returns:
custodian(Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information.)
-
hasCustodian
-
setCustodian
- Parameters:
value-custodian(Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information.)
-
getCustodianTarget
- Returns:
custodianThe 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 composition/document information.)
-
setCustodianTarget
- Parameters:
value-custodianThe 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 composition/document information.)
-
getEvent
- Returns:
event(The clinical service, such as a colonoscopy or an appendectomy, being documented.)
-
hasEvent
-
addEvent
- Returns:
event(The clinical service, such as a colonoscopy or an appendectomy, being documented.)
-
addEvent
-
getEncounter
- Returns:
encounter(Describes the clinical encounter or type of care this documentation is associated with.)
-
hasEncounter
-
setEncounter
- Parameters:
value-encounter(Describes the clinical encounter or type of care this documentation is associated with.)
-
getEncounterTarget
- Returns:
encounterThe 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. (Describes the clinical encounter or type of care this documentation is associated with.)
-
setEncounterTarget
- Parameters:
value-encounterThe 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. (Describes the clinical encounter or type of care this documentation is associated with.)
-
getSection
- Returns:
section(The root of the sections that make up the composition.)
-
hasSection
-
addSection
- Returns:
section(The root of the sections that make up the composition.)
-
addSection
-
listChildren
- Overrides:
listChildrenin classDomainResource
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
- Specified by:
copyin classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-