Click or drag to resize

Person Class

Represents an entity which is a person
Inheritance Hierarchy

Namespace:  SanteDB.Core.Model.Entities
Assembly:  SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 2.2.1
Syntax
public class Person : Entity

The Person type exposes the following members.

Constructors
  NameDescription
Public methodPerson
Person constructor
Top
Properties
  NameDescription
Public propertyAddresses
Gets a list of all addresses associated with the entity
(Inherited from Entity.)
Public propertyAsSecurityUser
Gets the security user account associated with this person if applicable
Public propertyBatchOperation
Gets or sets the operation
(Inherited from IdentifiedData.)
Public propertyClassConcept
Class concept datal load property
(Inherited from Entity.)
Public propertyClassConceptKey
Class concept
(Inherited from Entity.)
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 propertyCreationAct
Creation act reference
(Inherited from Entity.)
Public propertyCreationActKey
Creation act reference
(Inherited from Entity.)
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 propertyDateOfBirth
Gets or sets the person's date of birth
Public propertyDateOfBirthPrecision
Gets or sets the precision ofthe date of birth
Public propertyDateOfBirthXml
Gets the date of birth as XML
Public propertyDeterminerConcept
Determiner concept
(Inherited from Entity.)
Public propertyDeterminerConceptKey
Determiner concept
(Inherited from Entity.)
Public propertyExtensions
Gets a list of all extensions associated with the entity
(Inherited from Entity.)
Public propertyGenderConcept
Gets or sets the gender concept
Public propertyGenderConceptKey
Gets or sets the gender concept key
Public propertyIdentifiers
Gets the identifiers associated with this entity
(Inherited from Entity.)
Public propertyIsDelayLoadEnabled
True if the class is currently loading associations when accessed
(Inherited from IdentifiedData.)
Public propertyKey
Gets or sets the primary identifying UUID of this object
(Inherited from IdentifiedData.)
Public propertyLanguageCommunication
Gets the person's languages of communication
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 propertyNames
Gets a list of all names associated with the entity
(Inherited from Entity.)
Public propertyNotes
Gets a list of all notes associated with the entity
(Inherited from Entity.)
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 propertyOccupation
Gets or sets the marital status code
Public propertyOccupationKey
Gets or sets the religious affiliation
Public propertyParticipations
Gets the acts in which this entity participates
(Inherited from Entity.)
Public propertyPolicies
Gets or sets the security policy instances associated with the entity
(Inherited from Entity.)
Public propertyPreviousVersionKey
Gets or sets the UUID of the previous version of this record
(Inherited from VersionedEntityDataTHistoryModelType.)
Public propertyRelationships
Gets a list of all associated entities for this entity
(Inherited from Entity.)
Public propertyStatusConcept
Status concept id
(Inherited from Entity.)
Public propertyStatusConceptKey
Status concept id
(Inherited from Entity.)
Public propertyTag
Override the ETag
(Inherited from VersionedEntityDataTHistoryModelType.)
Public propertyTags
Gets a list of all tags associated with the entity
(Inherited from Entity.)
Public propertyTelecoms
Gets a list of all telecommunications addresses associated with the entity
(Inherited from Entity.)
Public propertyTemplate
Gets or sets the template definition
(Inherited from Entity.)
Public propertyTemplateKey
Gets the template key
(Inherited from Entity.)
Public propertyType
Gets the type registration of this object
(Inherited from IdentifiedData.)
Public propertyTypeConcept
Type concept identifier
(Inherited from Entity.)
Public propertyTypeConceptKey
Type concept identifier
(Inherited from Entity.)
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 an extension to this entity
(Inherited from Entity.)
Public methodAddPolicy
Add a policy to this entity
(Inherited from Entity.)
Public methodAddTag
Add a tag to this entity
(Inherited from Entity.)
Public methodClone
Clone this object
(Inherited from IdentifiedData.)
Public methodCopy
Copies the entity
(Inherited from Entity.)
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 Entity.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasPolicy
Detects whether this object has a policy
(Inherited from Entity.)
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 Entity.)
Public methodRemoveAnnotation
Remove annotation
(Inherited from IdentifiedData.)
Public methodRemoveExtension
Remove the specified extension
(Inherited from Entity.)
Public methodRemoveTag
Remove the specified tagKey from this objects tags
(Inherited from Entity.)
Public methodSemanticEquals
Semantic equality function
(Overrides EntitySemanticEquals(Object).)
Public methodSetPreviousVersion
Sets the previous version
(Inherited from VersionedEntityDataTHistoryModelType.)
Public methodShouldSerializeAddresses
Should serialize addresses
(Inherited from Entity.)
Public methodShouldSerializeBatchOperation
Should serialize batch operation
(Inherited from IdentifiedData.)
Public methodShouldSerializeCreatedByKey
True if key should be serialized
(Inherited from BaseEntityData.)
Public methodShouldSerializeCreationActKey
Should serialize creation act
(Inherited from Entity.)
Public methodShouldSerializeDateOfBirthPrecision
Should serialize date of birth precision
Public methodShouldSerializeExtensions
Shoudl serialize extensions
(Inherited from Entity.)
Public methodShouldSerializeIdentifiers
Should serialize identifiers
(Inherited from Entity.)
Public methodShouldSerializeKey
True if key should be serialized
(Inherited from IdentifiedData.)
Public methodShouldSerializeModifiedOn
Never serialize modified on
(Inherited from IdentifiedData.)
Public methodShouldSerializeNames
Should serialize Names
(Inherited from Entity.)
Public methodShouldSerializeNotes
Should serialize notes
(Inherited from Entity.)
Public methodShouldSerializeObsoletedByKey
True if key should be serialized
(Inherited from BaseEntityData.)
Public methodShouldSerializeParticipations
Should serialize participations
(Inherited from Entity.)
Public methodShouldSerializePreviousVersionKey
Should serialize previous version?
(Inherited from VersionedEntityDataTHistoryModelType.)
Public methodShouldSerializeTags
Should serialize tags
(Inherited from Entity.)
Public methodShouldSerializeTelecoms
Should serialize telecoms
(Inherited from Entity.)
Public methodShouldSerializeTemplateKey
Should serialize template key
(Inherited from Entity.)
Public methodShouldSerializeTypeConceptKey
Should serialize type concept
(Inherited from Entity.)
Public methodToDisplay
Render the display of this entity
(Inherited from Entity.)
Public methodToString
Represent the versioned data as a string
(Inherited from VersionedEntityDataTHistoryModelType.)
Public methodTryGetTag
Try to fetch the tag
(Inherited from Entity.)
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 MethodGetAddresses
Gets or loads addresses attached to an entity
(Defined by DelayLoadUtils.)
Public Extension MethodGetExtensions
Gets or loads extensions
(Defined by DelayLoadUtils.)
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 MethodGetNames
Gets or loads names attached to an entity
(Defined by DelayLoadUtils.)
Public Extension MethodGetNotes
Gets or loads notes
(Defined by DelayLoadUtils.)
Public Extension MethodGetPersonLanguages
Load the person's languages
(Defined by DelayLoadUtils.)
Public Extension MethodGetRelationships
Gets or loads relationships
(Defined by DelayLoadUtils.)
Public Extension MethodGetTags
Gets or loads tags
(Defined by DelayLoadUtils.)
Public Extension MethodGetTelecoms
Gets or loads telecoms attached to an entity
(Defined by DelayLoadUtils.)
Top
See Also