public class Composition extends BaseResource implements IResource
Definition: 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.
Requirements: To support documents, and also to capture the EN13606 notion of an attested commit to the patient EHR, and to allow a set of disparate resources at the information/engineering level to be gathered into a clinical statement
Profile Definition: http://hl7.org/fhir/profiles/Composition
| Modifier and Type | Class and Description |
|---|---|
static class |
Composition.Attester
Block class for child element: Composition.attester (Attests to accuracy of composition)
|
static class |
Composition.Event
Block class for child element: Composition.event (The clinical event/act/item being documented)
|
static class |
Composition.Section
Block class for child element: Composition.section (Composition is broken into sections)
|
| Modifier and Type | Field and Description |
|---|---|
static ReferenceClientParam |
ATTESTER
Fluent Client search parameter constant for attester
|
static ReferenceClientParam |
AUTHOR
Fluent Client search parameter constant for author
|
static TokenClientParam |
CLASS
Fluent Client search parameter constant for class
|
static TokenClientParam |
CONTEXT
Fluent Client search parameter constant for context
|
static DateClientParam |
DATE
Fluent Client search parameter constant for date
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_ATTESTER_PARTY
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_AUTHOR
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SECTION_CONTENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static ReferenceClientParam |
SECTION_CONTENT
Fluent Client search parameter constant for section-content
|
static TokenClientParam |
SECTION_TYPE
Fluent Client search parameter constant for section-type
|
static String |
SP_ATTESTER
Search parameter constant for attester
|
static String |
SP_AUTHOR
Search parameter constant for author
|
static String |
SP_CLASS
Search parameter constant for class
|
static String |
SP_CONTEXT
Search parameter constant for context
|
static String |
SP_DATE
Search parameter constant for date
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_SECTION_CONTENT
Search parameter constant for section-content
|
static String |
SP_SECTION_TYPE
Search parameter constant for section-type
|
static String |
SP_SUBJECT
Search parameter constant for subject
|
static String |
SP_TYPE
Search parameter constant for type
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
static TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
SP_RES_ID, SP_RES_LANGUAGE| Constructor and Description |
|---|
Composition() |
| Modifier and Type | Method and Description |
|---|---|
Composition.Attester |
addAttester()
Adds and returns a new value for attester (Attests to accuracy of composition)
|
ResourceReferenceDt |
addAuthor()
Adds and returns a new value for author (Who and/or what authored the composition)
|
Composition.Section |
addSection()
Adds and returns a new value for section (Composition is broken into sections)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
List<Composition.Attester> |
getAttester()
Gets the value(s) for attester (Attests to accuracy of composition).
|
Composition.Attester |
getAttesterFirstRep()
Gets the first repetition for attester (Attests to accuracy of composition),
creating it if it does not already exist.
|
List<ResourceReferenceDt> |
getAuthor()
Gets the value(s) for author (Who and/or what authored the composition).
|
CodeableConceptDt |
getClassElement()
Gets the value(s) for class (Categorization of Composition).
|
CodingDt |
getConfidentiality()
Gets the value(s) for confidentiality (As defined by affinity domain).
|
ResourceReferenceDt |
getCustodian()
Gets the value(s) for custodian (Org which maintains the composition).
|
DateTimeDt |
getDate()
Gets the value(s) for date (Composition editing time).
|
ResourceReferenceDt |
getEncounter()
Gets the value(s) for encounter (Context of the conposition).
|
Composition.Event |
getEvent()
Gets the value(s) for event (The clinical event/act/item being documented).
|
IdentifierDt |
getIdentifier()
Gets the value(s) for identifier (Logical identifier of composition (version-independent)).
|
List<Composition.Section> |
getSection()
Gets the value(s) for section (Composition is broken into sections).
|
Composition.Section |
getSectionFirstRep()
Gets the first repetition for section (Composition is broken into sections),
creating it if it does not already exist.
|
BoundCodeDt<CompositionStatusEnum> |
getStatus()
Gets the value(s) for status (preliminary | final | appended | amended | entered in error).
|
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (Who and/or what the composition is about).
|
StringDt |
getTitle()
Gets the value(s) for title (Human Readable name/title).
|
CodeableConceptDt |
getType()
Gets the value(s) for type (Kind of composition (LOINC if possible)).
|
boolean |
isEmpty() |
Composition |
setAttester(List<Composition.Attester> theValue)
Sets the value(s) for attester (Attests to accuracy of composition)
|
Composition |
setAuthor(List<ResourceReferenceDt> theValue)
Sets the value(s) for author (Who and/or what authored the composition)
|
Composition |
setClassElement(CodeableConceptDt theValue)
Sets the value(s) for class (Categorization of Composition)
|
Composition |
setConfidentiality(CodingDt theValue)
Sets the value(s) for confidentiality (As defined by affinity domain)
|
Composition |
setCustodian(ResourceReferenceDt theValue)
Sets the value(s) for custodian (Org which maintains the composition)
|
Composition |
setDate(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for date (Composition editing time)
|
Composition |
setDate(DateTimeDt theValue)
Sets the value(s) for date (Composition editing time)
|
Composition |
setDateWithSecondsPrecision(Date theDate)
Sets the value for date (Composition editing time)
|
Composition |
setEncounter(ResourceReferenceDt theValue)
Sets the value(s) for encounter (Context of the conposition)
|
Composition |
setEvent(Composition.Event theValue)
Sets the value(s) for event (The clinical event/act/item being documented)
|
Composition |
setIdentifier(IdentifierDt theValue)
Sets the value(s) for identifier (Logical identifier of composition (version-independent))
|
Composition |
setIdentifier(IdentifierUseEnum theUse,
String theSystem,
String theValue,
String theLabel)
Sets the value for identifier (Logical identifier of composition (version-independent))
|
Composition |
setIdentifier(String theSystem,
String theValue)
Sets the value for identifier (Logical identifier of composition (version-independent))
|
Composition |
setSection(List<Composition.Section> theValue)
Sets the value(s) for section (Composition is broken into sections)
|
Composition |
setStatus(BoundCodeDt<CompositionStatusEnum> theValue)
Sets the value(s) for status (preliminary | final | appended | amended | entered in error)
|
Composition |
setStatus(CompositionStatusEnum theValue)
Sets the value(s) for status (preliminary | final | appended | amended | entered in error)
|
Composition |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (Who and/or what the composition is about)
|
Composition |
setTitle(String theString)
Sets the value for title (Human Readable name/title)
|
Composition |
setTitle(StringDt theValue)
Sets the value(s) for title (Human Readable name/title)
|
Composition |
setType(CodeableConceptDt theValue)
Sets the value(s) for type (Kind of composition (LOINC if possible))
|
getContained, getId, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatapublic static final String SP_TYPE
Description:
Type: token
Path: Composition.type
public static final TokenClientParam TYPE
Description:
Type: token
Path: Composition.type
public static final String SP_CLASS
Description:
Type: token
Path: Composition.class
public static final TokenClientParam CLASS
Description:
Type: token
Path: Composition.class
public static final String SP_DATE
Description:
Type: date
Path: Composition.date
public static final DateClientParam DATE
Description:
Type: date
Path: Composition.date
public static final String SP_SUBJECT
Description:
Type: reference
Path: Composition.subject
public static final ReferenceClientParam SUBJECT
Description:
Type: reference
Path: Composition.subject
public static final Include INCLUDE_SUBJECT
public static final String SP_AUTHOR
Description:
Type: reference
Path: Composition.author
public static final ReferenceClientParam AUTHOR
Description:
Type: reference
Path: Composition.author
public static final Include INCLUDE_AUTHOR
public static final String SP_ATTESTER
Description:
Type: reference
Path: Composition.attester.party
public static final ReferenceClientParam ATTESTER
Description:
Type: reference
Path: Composition.attester.party
public static final Include INCLUDE_ATTESTER_PARTY
public static final String SP_CONTEXT
Description:
Type: token
Path: Composition.event.code
public static final TokenClientParam CONTEXT
Description:
Type: token
Path: Composition.event.code
public static final String SP_SECTION_TYPE
Description:
Type: token
Path: Composition.section.code
public static final TokenClientParam SECTION_TYPE
Description:
Type: token
Path: Composition.section.code
public static final String SP_SECTION_CONTENT
Description:
Type: reference
Path: Composition.section.content
public static final ReferenceClientParam SECTION_CONTENT
Description:
Type: reference
Path: Composition.section.content
public static final Include INCLUDE_SECTION_CONTENT
public static final String SP_IDENTIFIER
Description:
Type: token
Path: Composition.identifier
public static final TokenClientParam IDENTIFIER
Description:
Type: token
Path: Composition.identifier
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic IdentifierDt getIdentifier()
null.
Definition: Logical Identifier for the composition, assigned when created. This identifier stays constant as the composition is changed over time
public Composition setIdentifier(IdentifierDt theValue)
Definition: Logical Identifier for the composition, assigned when created. This identifier stays constant as the composition is changed over time
public Composition setIdentifier(IdentifierUseEnum theUse, String theSystem, String theValue, String theLabel)
Definition: Logical Identifier for the composition, assigned when created. This identifier stays constant as the composition is changed over time
public Composition setIdentifier(String theSystem, String theValue)
Definition: Logical Identifier for the composition, assigned when created. This identifier stays constant as the composition is changed over time
public DateTimeDt getDate()
null.
Definition: The composition editing time, when the composition was last logically changed by the author
public Composition setDate(DateTimeDt theValue)
Definition: The composition editing time, when the composition was last logically changed by the author
public Composition setDateWithSecondsPrecision(Date theDate)
Definition: The composition editing time, when the composition was last logically changed by the author
public Composition setDate(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: The composition editing time, when the composition was last logically changed by the author
public CodeableConceptDt getType()
null.
Definition: 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
public Composition setType(CodeableConceptDt theValue)
Definition: 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
public CodeableConceptDt getClassElement()
null.
Definition: A categorization for the type of the composition. This may be implied by or derived from the code specified in the Composition Type
public Composition setClassElement(CodeableConceptDt theValue)
Definition: A categorization for the type of the composition. This may be implied by or derived from the code specified in the Composition Type
public StringDt getTitle()
null.
Definition: Official human-readable label for the composition
public Composition setTitle(StringDt theValue)
Definition: Official human-readable label for the composition
public Composition setTitle(String theString)
Definition: Official human-readable label for the composition
public BoundCodeDt<CompositionStatusEnum> getStatus()
null.
Definition: The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document
public Composition setStatus(BoundCodeDt<CompositionStatusEnum> theValue)
Definition: The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document
public Composition setStatus(CompositionStatusEnum theValue)
Definition: The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document
public CodingDt getConfidentiality()
null.
Definition: The code specifying the level of confidentiality of the Composition
public Composition setConfidentiality(CodingDt theValue)
Definition: The code specifying the level of confidentiality of the Composition
public ResourceReferenceDt getSubject()
null.
Definition: Who or what the composition is about. The composition 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 livestock, or a set of patients that share a common exposure)
public Composition setSubject(ResourceReferenceDt theValue)
Definition: Who or what the composition is about. The composition 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 livestock, or a set of patients that share a common exposure)
public List<ResourceReferenceDt> getAuthor()
null.
Definition: Identifies who is responsible for the information in the composition. (Not necessarily who typed it in.)
public Composition setAuthor(List<ResourceReferenceDt> theValue)
Definition: Identifies who is responsible for the information in the composition. (Not necessarily who typed it in.)
public ResourceReferenceDt addAuthor()
Definition: Identifies who is responsible for the information in the composition. (Not necessarily who typed it in.)
public List<Composition.Attester> getAttester()
null.
Definition: A participant who has attested to the accuracy of the composition/document
public Composition setAttester(List<Composition.Attester> theValue)
Definition: A participant who has attested to the accuracy of the composition/document
public Composition.Attester addAttester()
Definition: A participant who has attested to the accuracy of the composition/document
public Composition.Attester getAttesterFirstRep()
Definition: A participant who has attested to the accuracy of the composition/document
public ResourceReferenceDt getCustodian()
null.
Definition: Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information
public Composition setCustodian(ResourceReferenceDt theValue)
Definition: Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information
public Composition.Event getEvent()
null.
Definition: The main event/act/item, such as a colonoscopy or an appendectomy, being documented
public Composition setEvent(Composition.Event theValue)
Definition: The main event/act/item, such as a colonoscopy or an appendectomy, being documented
public ResourceReferenceDt getEncounter()
null.
Definition: Describes the clinical encounter or type of care this documentation is associated with.
public Composition setEncounter(ResourceReferenceDt theValue)
Definition: Describes the clinical encounter or type of care this documentation is associated with.
public List<Composition.Section> getSection()
null.
Definition: The root of the sections that make up the composition
public Composition setSection(List<Composition.Section> theValue)
Definition: The root of the sections that make up the composition
public Composition.Section addSection()
Definition: The root of the sections that make up the composition
public Composition.Section getSectionFirstRep()
Definition: The root of the sections that make up the composition
Copyright © 2014 University Health Network. All rights reserved.