|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openehr.rm.RMObject
org.openehr.rm.common.archetyped.Locatable
org.openehr.rm.composition.Composition
public final class 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.
Instances of this class are immutable.
| Constructor Summary | |
|---|---|
Composition(ObjectID uid,
java.lang.String archetypeNodeId,
DvText name,
Archetyped archetypeDetails,
FeederAudit feederAudit,
java.util.Set<Link> links,
java.util.List<Section> content,
EventContext context,
DvCodedText category,
CodePhrase territory,
TerminologyService terminologyService)
Constructs a Locatable |
|
| Method Summary | |
|---|---|
DvCodedText |
getCategory()
Indicates what broad category this Composition is belogs to, eg "persistent" - of longitudinal validity, "event", "process" etc |
java.util.List<Section> |
getContent()
The clinical session content of this Composition, ie the information generated in the clinical session. |
EventContext |
getContext()
The clinical session context of this Composition, ie the contextual attributes of the clinical session. |
CodePhrase |
getTerritory()
Name of territory in which this Composition was written. |
boolean |
isPersistent()
True if category is a "persistent" type, False otherwise. |
Locatable |
itemAtPath(java.lang.String path)
The item at a path that is relative to this item. |
java.lang.String |
pathOfItem(Locatable item)
String The path to an item relative to the root of this archetyped structure. |
boolean |
validPath(java.lang.String path)
Return true if the path is valid with respect to the current item. |
| Methods inherited from class org.openehr.rm.common.archetyped.Locatable |
|---|
concept, getArchetypeDetails, getArchetypeNodeId, getFeederAudit, getLinks, getName, getUid, isArchetypeRoot, setArchetypeDetails, setArchetypeNodeId, setFeederAudit, setLinks, setName, setUid, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Composition(ObjectID uid,
java.lang.String archetypeNodeId,
DvText name,
Archetyped archetypeDetails,
FeederAudit feederAudit,
java.util.Set<Link> links,
java.util.List<Section> content,
EventContext context,
DvCodedText category,
CodePhrase territory,
TerminologyService terminologyService)
uid - null if not specifiedarchetypeNodeId - name - archetypeDetails - null if not specifiedfeederAudit - null if not specifiedlinks - null if not specifiedcontent - null if not specifiedcontext - category - territory -
java.lang.IllegalArgumentException - if name null or archetypeNodeId null
or links not null and empty| Method Detail |
|---|
public java.util.List<Section> getContent()
public EventContext getContext()
public DvCodedText getCategory()
public boolean isPersistent()
public CodePhrase getTerritory()
public java.lang.String pathOfItem(Locatable item)
pathOfItem in class Locatableitem -
public Locatable itemAtPath(java.lang.String path)
itemAtPath in class Locatablepath -
public boolean validPath(java.lang.String path)
validPath in class Locatablepath -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||