
Package org.hl7.fhir.r5.openehr
Class EHR
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.EHR
- 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
The EHR object is the root object and access point of an EHR for a subject of care.
- 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 List<OBJECT_REF> Master list of all Versioned Composition references in this EHR.protected List<OBJECT_REF> List of contributions causing changes to this EHR.protected OBJECT_REFOptional directory structure for this EHR.protected OBJECT_REFReference to EHR_ACCESS object for this EHR.protected HIER_OBJECT_IDThe unique identifier of this EHR.protected OBJECT_REFReference to EHR_STATUS object for this EHR.protected List<OBJECT_REF> Optional additional Folder structures for this EHR.protected List<HIER_OBJECT_ID> The identifier of the logical EHR management system in which this EHR was created.protected List<OBJECT_REF> Optional list of tags associated with this EHR.protected DV_DATE_TIMETime of creation of the EHR. -
Constructor Summary
ConstructorsConstructorDescriptionEHR()ConstructorEHR(HIER_OBJECT_ID system_id, HIER_OBJECT_ID ehr_id, OBJECT_REF ehr_status, OBJECT_REF ehr_access, DV_DATE_TIME time_created) Constructor -
Method Summary
Modifier and TypeMethodDescriptionaddTags()copy()voidcopyValues(EHR 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) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasTags()booleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setCompositionsList(List<OBJECT_REF> theCompositions) setContributionsList(List<OBJECT_REF> theContributions) setDirectory(OBJECT_REF value) setEhr_access(OBJECT_REF value) setEhr_id(HIER_OBJECT_ID value) setEhr_status(OBJECT_REF value) setFoldersList(List<OBJECT_REF> theFolders) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setSystem_idList(List<HIER_OBJECT_ID> theSystem_id) setTagsList(List<OBJECT_REF> theTags) setTime_created(DV_DATE_TIME value) protected EHRMethods 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
-
system_idList
The identifier of the logical EHR management system in which this EHR was created. -
ehr_id
The unique identifier of this EHR. NOTE: it is strongly recommended that a UUID always be used for this field. -
contributionsList
List of contributions causing changes to this EHR. Each contribution contains a list of versions, which may include references to any number of VERSION instances, i.e. items of type VERSIONED_COMPOSITION and VERSIONED_FOLDER. -
ehr_status
Reference to EHR_STATUS object for this EHR. -
ehr_access
Reference to EHR_ACCESS object for this EHR. -
compositionsList
Master list of all Versioned Composition references in this EHR. -
directory
Optional directory structure for this EHR. If present, this is a reference to the first member of folders. -
time_created
Time of creation of the EHR. -
foldersList
Optional additional Folder structures for this EHR. If set, the directory attribute refers to the first member -
tagsList
Optional list of tags associated with this EHR. Tag target values can only be within the same EHR.
-
-
Constructor Details
-
EHR
public EHR()Constructor -
EHR
public EHR(HIER_OBJECT_ID system_id, HIER_OBJECT_ID ehr_id, OBJECT_REF ehr_status, OBJECT_REF ehr_access, DV_DATE_TIME time_created) Constructor
-
-
Method Details
-
getSystem_idList
- Returns:
-
(The identifier of the logical EHR management system in which this EHR was created.)
invalid reference
#system_id
-
setSystem_idList
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSystem_id
-
addSystem_id
-
addSystem_id
-
getSystem_idFirstRep
- Returns:
- The first repetition of repeating field
, creating it if it does not already exist {3}
invalid reference
#system_id
-
getEhr_id
- Returns:
ehr_id(The unique identifier of this EHR. NOTE: it is strongly recommended that a UUID always be used for this field.)
-
hasEhr_id
-
setEhr_id
- Parameters:
value-ehr_id(The unique identifier of this EHR. NOTE: it is strongly recommended that a UUID always be used for this field.)
-
getContributionsList
- Returns:
-
(List of contributions causing changes to this EHR. Each contribution contains a list of versions, which may include references to any number of VERSION instances, i.e. items of type VERSIONED_COMPOSITION and VERSIONED_FOLDER.)
invalid reference
#contributions
-
setContributionsList
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasContributions
-
addContributions
-
addContributions
-
getContributionsFirstRep
- Returns:
- The first repetition of repeating field
, creating it if it does not already exist {3}
invalid reference
#contributions
-
getEhr_status
- Returns:
ehr_status(Reference to EHR_STATUS object for this EHR.)
-
hasEhr_status
-
setEhr_status
- Parameters:
value-ehr_status(Reference to EHR_STATUS object for this EHR.)
-
getEhr_access
- Returns:
ehr_access(Reference to EHR_ACCESS object for this EHR.)
-
hasEhr_access
-
setEhr_access
- Parameters:
value-ehr_access(Reference to EHR_ACCESS object for this EHR.)
-
getCompositionsList
- Returns:
-
(Master list of all Versioned Composition references in this EHR.)
invalid reference
#compositions
-
setCompositionsList
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCompositions
-
addCompositions
-
addCompositions
-
getCompositionsFirstRep
- Returns:
- The first repetition of repeating field
, creating it if it does not already exist {3}
invalid reference
#compositions
-
getDirectory
- Returns:
directory(Optional directory structure for this EHR. If present, this is a reference to the first member of folders.)
-
hasDirectory
-
setDirectory
- Parameters:
value-directory(Optional directory structure for this EHR. If present, this is a reference to the first member of folders.)
-
getTime_created
- Returns:
time_created(Time of creation of the EHR.)
-
hasTime_created
-
setTime_created
- Parameters:
value-time_created(Time of creation of the EHR.)
-
getFoldersList
- Returns:
-
(Optional additional Folder structures for this EHR. If set, the directory attribute refers to the first member)
invalid reference
#folders
-
setFoldersList
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasFolders
-
addFolders
-
addFolders
-
getFoldersFirstRep
- Returns:
- The first repetition of repeating field
, creating it if it does not already exist {3}
invalid reference
#folders
-
getTagsList
- Returns:
-
(Optional list of tags associated with this EHR. Tag target values can only be within the same EHR.)
invalid reference
#tags
-
setTagsList
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasTags
-
addTags
-
addTags
-
getTagsFirstRep
- Returns:
- The first repetition of repeating field
, creating it if it does not already exist {3}
invalid reference
#tags
-
listChildren
- Overrides:
listChildrenin classBase
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
-
copy
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classBase
-
equalsShallow
- Overrides:
equalsShallowin classBase
-
isEmpty
-