
Package org.hl7.fhir.r5.openehr
Class COMPOSITION
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.LogicalBase
org.hl7.fhir.r5.openehr.Any
org.hl7.fhir.r5.openehr.PATHABLE
org.hl7.fhir.r5.openehr.LOCATABLE
org.hl7.fhir.r5.openehr.COMPOSITION
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseDatatype
,org.hl7.fhir.instance.model.api.ICompositeType
public class COMPOSITION
extends LOCATABLE
implements org.hl7.fhir.instance.model.api.ICompositeType
Content of one version in a VERSIONED_COMPOSITION. A Composition is considered the unit of modification of the record, the unit of transmission in record Extracts, and the unit of attestation by authorising clinicians. In this latter sense, it may be considered equivalent to a signed document. NOTE: It is strongly recommended that the inherited attribute uid be populated in Compositions, using the UID copied from the object_id() of the uid field of the enclosing VERSION object. For example, the ORIGINAL_VERSION.uid 87284370-2D4B-4e3d-A3F3-F303D2F4F34B::uk.nhs.ehr1::2 would be copied to the uid field of the Composition.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DV_CODED_TEXT
Temporal category of this Composition, i.e. 431|persistent| - of potential life-time validity;* 451|episodic| - valid over the life of a care episode;* 433|event| - valid at the time of recording (long-term validity requires subsequent clinical assessment).protected PARTY_PROXY
The person primarily responsible for the content of the Composition (but not necessarily its committal into the EHR system).protected List
<CONTENT_ITEM> The content of this Composition.protected EVENT_CONTEXT
The clinical session context of this Composition, i.e. the contextual attributes of the clinical session.protected CODE_PHRASE
Mandatory indicator of the localised language in which this Composition is written.protected CODE_PHRASE
Name of territory in which this Composition was written.Fields inherited from class org.hl7.fhir.r5.openehr.PATHABLE
archetype_details, archetype_node_id, feeder_audit, linksList, name, uid
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorCOMPOSITION
(CODE_PHRASE language, CODE_PHRASE territory, DV_CODED_TEXT category, PARTY_PROXY composer) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()
void
copyValues
(COMPOSITION dst) boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setCategory
(DV_CODED_TEXT value) setComposer
(PARTY_PROXY value) setContentList
(List<CONTENT_ITEM> theContent) setContext
(EVENT_CONTEXT value) setLanguage
(CODE_PHRASE value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setTerritory
(CODE_PHRASE value) protected COMPOSITION
Methods inherited from class org.hl7.fhir.r5.openehr.LOCATABLE
copyValues
Methods inherited from class org.hl7.fhir.r5.openehr.PATHABLE
addLinks, addLinks, copyValues, getArchetype_details, getArchetype_node_id, getArchetype_node_idElement, getFeeder_audit, getLinksFirstRep, getLinksList, getName, getUid, hasArchetype_details, hasArchetype_node_id, hasArchetype_node_idElement, hasFeeder_audit, hasLinks, hasName, hasUid, setArchetype_details, setArchetype_node_id, setArchetype_node_idElement, setFeeder_audit, setLinksList, setName, setUid
Methods inherited from class org.hl7.fhir.r5.openehr.Any
copyValues
Methods inherited from class org.hl7.fhir.r5.model.LogicalBase
getFHIRPublicationVersion, getIdBase, setIdBase
Methods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, executeFunction, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, removeChild, setCopyUserData, setUserData, setUserDataINN, setXhtml
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.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Field Details
-
language
Mandatory indicator of the localised language in which this Composition is written. Coded from openEHR Code Set languages. The language of an Entry if different from the Composition is indicated in ENTRY.language. -
territory
Name of territory in which this Composition was written. Coded from openEHR countries code set, which is an expression of the ISO 3166 standard. -
category
Temporal category of this Composition, i.e. 431|persistent| - of potential life-time validity;* 451|episodic| - valid over the life of a care episode;* 433|event| - valid at the time of recording (long-term validity requires subsequent clinical assessment). or any other code defined in the openEHR terminology group 'category'. -
context
The clinical session context of this Composition, i.e. the contextual attributes of the clinical session. -
composer
The person primarily responsible for the content of the Composition (but not necessarily its committal into the EHR system). This is the identifier which should appear on the screen. It may or may not be the person who entered the data. When it is the patient, the special self instance of PARTY_PROXY will be used. -
contentList
The content of this Composition.
-
-
Constructor Details
-
COMPOSITION
public COMPOSITION()Constructor -
COMPOSITION
public COMPOSITION(CODE_PHRASE language, CODE_PHRASE territory, DV_CODED_TEXT category, PARTY_PROXY composer) Constructor
-
-
Method Details
-
getLanguage
- Returns:
language
(Mandatory indicator of the localised language in which this Composition is written. Coded from openEHR Code Set languages. The language of an Entry if different from the Composition is indicated in ENTRY.language.)
-
hasLanguage
-
setLanguage
- Parameters:
value
-language
(Mandatory indicator of the localised language in which this Composition is written. Coded from openEHR Code Set languages. The language of an Entry if different from the Composition is indicated in ENTRY.language.)
-
getTerritory
- Returns:
territory
(Name of territory in which this Composition was written. Coded from openEHR countries code set, which is an expression of the ISO 3166 standard.)
-
hasTerritory
-
setTerritory
- Parameters:
value
-territory
(Name of territory in which this Composition was written. Coded from openEHR countries code set, which is an expression of the ISO 3166 standard.)
-
getCategory
- Returns:
category
(Temporal category of this Composition, i.e. 431|persistent| - of potential life-time validity;* 451|episodic| - valid over the life of a care episode;* 433|event| - valid at the time of recording (long-term validity requires subsequent clinical assessment). or any other code defined in the openEHR terminology group 'category'.)
-
hasCategory
-
setCategory
- Parameters:
value
-category
(Temporal category of this Composition, i.e. 431|persistent| - of potential life-time validity;* 451|episodic| - valid over the life of a care episode;* 433|event| - valid at the time of recording (long-term validity requires subsequent clinical assessment). or any other code defined in the openEHR terminology group 'category'.)
-
getContext
- Returns:
context
(The clinical session context of this Composition, i.e. the contextual attributes of the clinical session.)
-
hasContext
-
setContext
- Parameters:
value
-context
(The clinical session context of this Composition, i.e. the contextual attributes of the clinical session.)
-
getComposer
- Returns:
composer
(The person primarily responsible for the content of the Composition (but not necessarily its committal into the EHR system). This is the identifier which should appear on the screen. It may or may not be the person who entered the data. When it is the patient, the special self instance of PARTY_PROXY will be used.)
-
hasComposer
-
setComposer
- Parameters:
value
-composer
(The person primarily responsible for the content of the Composition (but not necessarily its committal into the EHR system). This is the identifier which should appear on the screen. It may or may not be the person who entered the data. When it is the patient, the special self instance of PARTY_PROXY will be used.)
-
getContentList
- Returns:
-
invalid reference
#content
-
setContentList
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasContent
-
addContent
-
listChildren
- Overrides:
listChildren
in classPATHABLE
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classPATHABLE
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classPATHABLE
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classPATHABLE
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classPATHABLE
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classPATHABLE
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classPATHABLE
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
-
copy
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classPATHABLE
-
equalsShallow
- Overrides:
equalsShallow
in classPATHABLE
-
isEmpty
-