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
Modifier and TypeClassDescriptionstatic enum
static class
static class
static class
static enum
static class
static class
-
Field Summary
Modifier 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 CodeableConcept
A categorization for the type of the composition - helps for indexing and searching.protected CodeType
The code specifying the level of confidentiality of the Composition.protected Reference
Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information.protected Organization
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.)protected DateTimeType
The composition editing time, when the composition was last logically changed by the author.protected Reference
Describes the clinical encounter or type of care this documentation is associated with.protected Encounter
The 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 Identifier
Logical identifier for the composition, assigned when created.protected List
<Composition.SectionComponent> The root of the sections that make up the composition.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected Enumeration
<Composition.CompositionStatus> The workflow/clinical status of this composition.protected Reference
Who or what the composition is about.protected Resource
The actual object that is the target of the reference (Who or what the composition is about.protected StringType
Official human-readable label for the composition.protected CodeableConcept
Specifies the particular kind of composition (e.g.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
Fields 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_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescriptionComposition
(DateTimeType date, CodeableConcept type, StringType title, Enumeration<Composition.CompositionStatus> status, Reference subject) -
Method Summary
Modifier and TypeMethodDescriptionaddEvent()
copy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getDate()
getEvent()
getTitle()
getType()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasDate()
boolean
boolean
boolean
hasEvent()
boolean
boolean
boolean
boolean
boolean
boolean
hasTitle()
boolean
boolean
hasType()
boolean
isEmpty()
protected void
listChildren
(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) void
setProperty
(String name, Base value) setSubject
(Reference value) setSubjectTarget
(Resource value) setTitleElement
(StringType value) setType
(CodeableConcept value) protected Composition
Methods 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, setText
Methods 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, setMeta
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods 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, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods 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:
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 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
-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 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:
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 composition/document information.)
-
setCustodianTarget
- Parameters:
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 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:
encounter
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. (Describes the clinical encounter or type of care this documentation is associated with.)
-
setEncounterTarget
- Parameters:
value
-encounter
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. (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:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-