
Package org.hl7.fhir.r5.openehr
Class INSTRUCTION
- 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 INSTRUCTION
extends CARE_ENTRY
implements org.hl7.fhir.instance.model.api.ICompositeType
Used to specify actions in the future. Enables simple and complex specifications to be expressed, including in a fully-computable workflow form. Used for any actionable statement such as medication and therapeutic orders, monitoring, recall and review. Enough details must be provided for the specification to be directly executed by an actor, either human or machine. Not to be used for plan items which are only specified in general terms.
- 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 TypeFieldDescriptionList of all activities in Instruction.protected DV_DATE_TIMEOptional expiry date/time to assist determination of when an Instruction can be assumed to have expired.protected DV_TEXTMandatory human-readable version of what the Instruction is about.protected DV_PARSABLEOptional workflow engine executable expression of the Instruction.Fields inherited from class org.hl7.fhir.r5.openehr.CARE_ENTRY
guideline_id, protocolFields inherited from class org.hl7.fhir.r5.openehr.ENTRY
encoding, language, other_participationsList, provider, subject, workflow_idFields inherited from class org.hl7.fhir.r5.openehr.PATHABLE
archetype_details, archetype_node_id, feeder_audit, linksList, name, uid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()voidcopyValues(INSTRUCTION dst) booleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) booleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setActivitiesList(List<ACTIVITY> theActivities) setExpiry_time(DV_DATE_TIME value) setNarrative(DV_TEXT value) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setWf_definition(DV_PARSABLE value) protected INSTRUCTIONMethods inherited from class org.hl7.fhir.r5.openehr.CARE_ENTRY
copyValues, getGuideline_id, getProtocol, hasGuideline_id, hasProtocol, setGuideline_id, setProtocolMethods inherited from class org.hl7.fhir.r5.openehr.ENTRY
addOther_participations, addOther_participations, copyValues, getEncoding, getLanguage, getOther_participationsFirstRep, getOther_participationsList, getProvider, getSubject, getWorkflow_id, hasEncoding, hasLanguage, hasOther_participations, hasProvider, hasSubject, hasWorkflow_id, setEncoding, setLanguage, setOther_participationsList, setProvider, setSubject, setWorkflow_idMethods inherited from class org.hl7.fhir.r5.openehr.CONTENT_ITEM
copyValuesMethods inherited from class org.hl7.fhir.r5.openehr.LOCATABLE
copyValuesMethods 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, setUidMethods inherited from class org.hl7.fhir.r5.openehr.Any
copyValuesMethods inherited from class org.hl7.fhir.r5.model.LogicalBase
getFHIRPublicationVersion, getIdBase, setIdBaseMethods 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, setXhtmlMethods 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.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Field Details
-
narrative
Mandatory human-readable version of what the Instruction is about. -
expiry_time
Optional expiry date/time to assist determination of when an Instruction can be assumed to have expired. This helps prevent false listing of Instructions as Active when they clearly must have been terminated in some way or other. -
wf_definition
Optional workflow engine executable expression of the Instruction. -
activitiesList
List of all activities in Instruction.
-
-
Constructor Details
-
INSTRUCTION
public INSTRUCTION()Constructor -
INSTRUCTION
Constructor
-
-
Method Details
-
getNarrative
- Returns:
narrative(Mandatory human-readable version of what the Instruction is about.)
-
hasNarrative
-
setNarrative
- Parameters:
value-narrative(Mandatory human-readable version of what the Instruction is about.)
-
getExpiry_time
- Returns:
expiry_time(Optional expiry date/time to assist determination of when an Instruction can be assumed to have expired. This helps prevent false listing of Instructions as Active when they clearly must have been terminated in some way or other.)
-
hasExpiry_time
-
setExpiry_time
- Parameters:
value-expiry_time(Optional expiry date/time to assist determination of when an Instruction can be assumed to have expired. This helps prevent false listing of Instructions as Active when they clearly must have been terminated in some way or other.)
-
getWf_definition
- Returns:
wf_definition(Optional workflow engine executable expression of the Instruction.)
-
hasWf_definition
-
setWf_definition
- Parameters:
value-wf_definition(Optional workflow engine executable expression of the Instruction.)
-
getActivitiesList
- Returns:
-
(List of all activities in Instruction.)
invalid reference
#activities
-
setActivitiesList
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasActivities
-
addActivities
-
addActivities
-
getActivitiesFirstRep
- Returns:
- The first repetition of repeating field
, creating it if it does not already exist {3}
invalid reference
#activities
-
listChildren
- Overrides:
listChildrenin classCARE_ENTRY
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classCARE_ENTRY- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classCARE_ENTRY- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classCARE_ENTRY- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classCARE_ENTRY- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classCARE_ENTRY- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classCARE_ENTRY- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classCARE_ENTRY- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classCARE_ENTRY- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copyin classCARE_ENTRY
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classCARE_ENTRY
-
equalsShallow
- Overrides:
equalsShallowin classCARE_ENTRY
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classCARE_ENTRY
-