Click or drag to resize

PatientEncounter Class

Represents an encounter a patient has with the health system
Inheritance Hierarchy
SystemObject
  SanteDB.Core.ModelIdentifiedData
    SanteDB.Core.ModelBaseEntityData
      SanteDB.Core.ModelVersionedEntityDataAct
        SanteDB.Core.Model.ActsAct
          SanteDB.Core.Model.ActsPatientEncounter

Namespace:  SanteDB.Core.Model.Acts
Assembly:  SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 2.2.1
Syntax
public class PatientEncounter : Act

The PatientEncounter type exposes the following members.

Constructors
  NameDescription
Public methodPatientEncounter
Patient encounter ctor
Top
Properties
  NameDescription
Public propertyActTime
The instant when the act occurred, or will occur
(Inherited from Act.)
Public propertyActTimeXml
The moment in time that this act occurred in ISO format
(Inherited from Act.)
Public propertyBatchOperation
Gets or sets the operation
(Inherited from IdentifiedData.)
Public propertyClassConcept
Gets the delay-loaded value of the ClassConceptKey
(Inherited from Act.)
Public propertyClassConceptKey
The classification key of the activity
(Inherited from Act.)
Public propertyCreatedBy
Gets or sets the user that created this base data
(Inherited from BaseEntityData.)
Public propertyCreatedByKey
Gets or sets the security provenance object which represents the creation of this object
(Inherited from BaseEntityData.)
Public propertyCreationTime
Gets or sets the time at which the data was created
(Inherited from BaseEntityData.)
Public propertyCreationTimeXml
Gets or sets the creation time as an ISO date format
(Inherited from BaseEntityData.)
Public propertyDischargeDisposition
Gets or sets the discharge disposition (how the patient left the encounter
Public propertyDischargeDispositionKey
Gets or sets the key of discharge disposition
Public propertyExtensions
Gets a list of all extensions associated with the act
(Inherited from Act.)
Public propertyGeoTag
Gets or sets the geo-tag
(Inherited from Act.)
Public propertyIdentifiers
Identifiers by which this act is known
(Inherited from Act.)
Public propertyIsDelayLoadEnabled
True if the class is currently loading associations when accessed
(Inherited from IdentifiedData.)
Public propertyIsNegated
Identifies whether the act represented in this instance actually occurred
(Inherited from Act.)
Public propertyKey
Gets or sets the primary identifying UUID of this object
(Inherited from IdentifiedData.)
Public propertyLoadState
Gets or sets whether the object was partial loaded
(Inherited from IdentifiedData.)
Public propertyModifiedOn
Gets the time that the object was last modified (from base data, default to CreationTime)
(Inherited from BaseEntityData.)
Public propertyMoodConcept
Gets the delay-loaded value of the MoodConceptKey property
(Inherited from Act.)
Public propertyMoodConceptKey
The mood (or mode) of the Act instance
(Inherited from Act.)
Public propertyNotes
Gets a list of all notes associated with the act
(Inherited from Act.)
Public propertyObsoletedBy
Gets or sets the user that obsoleted this base data
(Inherited from BaseEntityData.)
Public propertyObsoletedByKey
Gets or sets the security provenance object which represents the obsoletion of this data
(Inherited from BaseEntityData.)
Public propertyObsoletionTime
Gets or sets the time when the data is or will become invalid
(Inherited from BaseEntityData.)
Public propertyObsoletionTimeXml
Gets or sets the time that the data is no longer valid (was deleted/obsoleted) in ISO format
(Inherited from BaseEntityData.)
Public propertyParticipations
Gets or sets the entities and participations they play in the act
(Inherited from Act.)
Public propertyPolicies
Gets or sets the security policy instances associated with the act
(Inherited from Act.)
Public propertyPreviousVersionKey
Gets or sets the UUID of the previous version of this record
(Inherited from VersionedEntityDataTHistoryModelType.)
Public propertyProtocols
Identifies protocols attached to the act
(Inherited from Act.)
Public propertyReasonConcept
Delay loads the concept from ReasonConceptKey
(Inherited from Act.)
Public propertyReasonConceptKey
Identifies a codified reason as to why this act did (or did not, or should or should not) occur.
(Inherited from Act.)
Public propertyRelationships
Gets a list of all associated acts for this act
(Inherited from Act.)
Public propertyStartTime
The date/time when the act started to occur
(Inherited from Act.)
Public propertyStartTimeXml
The time when the act should or did start ocurring in ISO format
(Inherited from Act.)
Public propertyStatusConcept
Delay loads the concept represented in StatusConceptKey
(Inherited from Act.)
Public propertyStatusConceptKey
The concept which describes the current status of the act
(Inherited from Act.)
Public propertyStopTime
The time and date when the act did or should stop occurring
(Inherited from Act.)
Public propertyStopTimeXml
The time when the act should or did stop ocurring in ISO format
(Inherited from Act.)
Public propertyTag
Override the ETag
(Inherited from VersionedEntityDataTHistoryModelType.)
Public propertyTags
Gets a list of all tags associated with the act
(Inherited from Act.)
Public propertyCode exampleTemplate
Delay load property for the template
(Inherited from Act.)
Public propertyTemplateKey
The template on which the act is based
(Inherited from Act.)
Public propertyType
Gets the type registration of this object
(Inherited from IdentifiedData.)
Public propertyTypeConcept
Delay loads the concept represented in TypeConceptKey
(Inherited from Act.)
Public propertyTypeConceptKey
Gets or sets the key of the concept which further classifies the type of act occurring
(Inherited from Act.)
Public propertyVersionKey
Gets or sets the UUID of the current version of this object
(Inherited from VersionedEntityDataTHistoryModelType.)
Public propertyVersionSequence
The sequence number of the version (for ordering)
(Inherited from VersionedEntityDataTHistoryModelType.)
Top
Methods
  NameDescription
Public methodAddAnnotation
Add an annotated object
(Inherited from IdentifiedData.)
Public methodAddExtension
Add the specified extension type to the collection
(Inherited from Act.)
Public methodAddPolicy
Add a policy to this act
(Inherited from Act.)
Public methodAddTag
Add a tag to this act
(Inherited from Act.)
Public methodClone
Clone this object
(Inherited from IdentifiedData.)
Public methodCopy
Copies the entity
(Inherited from Act.)
Public methodCopyAnnotations
Copy annotations from another resource
(Inherited from IdentifiedData.)
Public methodDeepCopy
Provide a deep copy of the specified data
(Inherited from IdentifiedData.)
Protected methodDelayLoadTEntity
Get associated entity
(Inherited from IdentifiedData.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAnnotationsT
Get annotations of specified T
(Inherited from IdentifiedData.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLocked
Clone the specified data
(Inherited from IdentifiedData.)
Public methodGetPreviousVersion
Gets the previous version or loads it from the database if needed
(Inherited from VersionedEntityDataTHistoryModelType.)
Public methodGetTag
Get the specified tag
(Inherited from Act.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasPolicy
Determines if the object has policy
(Inherited from Act.)
Public methodIsEmpty
Determines w
(Inherited from IdentifiedData.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveAllTags
Remove tags matching predicate from the tag collection
(Inherited from Act.)
Public methodRemoveAnnotation
Remove annotation
(Inherited from IdentifiedData.)
Public methodRemoveExtension
Remove the specified extension
(Inherited from Act.)
Public methodRemoveTag
Remove tagKey from the tag collection
(Inherited from Act.)
Public methodSemanticEquals
Semantic equality function
(Overrides ActSemanticEquals(Object).)
Public methodSetPreviousVersion
Sets the previous version
(Inherited from VersionedEntityDataTHistoryModelType.)
Public methodShouldSerializeBatchOperation
Should serialize batch operation
(Inherited from IdentifiedData.)
Public methodShouldSerializeCreatedByKey
True if key should be serialized
(Inherited from BaseEntityData.)
Public methodShouldSerializeExtensions
Should serialize extensions?
(Inherited from Act.)
Public methodShouldSerializeIdentifiers
Should serialize identifiers
(Inherited from Act.)
Public methodShouldSerializeKey
True if key should be serialized
(Inherited from IdentifiedData.)
Public methodShouldSerializeModifiedOn
Never serialize modified on
(Inherited from IdentifiedData.)
Public methodShouldSerializeNotes
Should serialize notes
(Inherited from Act.)
Public methodShouldSerializeObsoletedByKey
True if key should be serialized
(Inherited from BaseEntityData.)
Public methodShouldSerializeParticipations
Should serialize participations
(Inherited from Act.)
Public methodShouldSerializePolicies
Should serialize policies
(Inherited from Act.)
Public methodShouldSerializePreviousVersionKey
Should serialize previous version?
(Inherited from VersionedEntityDataTHistoryModelType.)
Public methodShouldSerializeProtocols
Should serialize protocols
(Inherited from Act.)
Public methodShouldSerializeReasonConceptKey
True if reason concept key should be serialized
(Inherited from Act.)
Public methodShouldSerializeRelationships
Should serialize relationships?
(Inherited from Act.)
Public methodShouldSerializeTags
Should serialize tags
(Inherited from Act.)
Public methodShouldSerializeTemplateKey
Should serialize template key
(Inherited from Act.)
Public methodToDisplay
To display value
(Inherited from IdentifiedData.)
Public methodToString
Represent the versioned data as a string
(Inherited from VersionedEntityDataTHistoryModelType.)
Public methodTryGetTag
Try to fetch the tag
(Inherited from Act.)
Top
Fields
  NameDescription
Protected fieldm_annotations
A list of custom tags which were added to this object
(Inherited from IdentifiedData.)
Top
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods.)
Public Extension MethodGetIdentifiers
Gets or loads identifiers
(Defined by DelayLoadUtils.)
Public Extension MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Public Extension MethodGetParticipations
Gets or loads participations
(Defined by DelayLoadUtils.)
Public Extension MethodGetRelationships
Gets or loads relationships
(Defined by DelayLoadUtils.)
Top
Remarks

An encounter is a special type of act which represents an episode of care which a patient experiences with the health system. An encounter is used to document things like hospital visits, inpatient care encounters, or any longer running series of actions which are linked by the admit -> discharge workflow.

See Also