Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

Sample.PersonIdentification

class Sample.PersonIdentification extends %Library.RegisteredObject, %XML.Adaptor

This sample registered object represent the identification information for a person. This class is used to illustrate return a list of objects using XML.

Property Inventory

Properties

property DOB as %Date;
Person's Date of Birth.
Property methods: DOBDisplayToLogical(), DOBGet(), DOBIsValid(), DOBLogicalToDisplay(), DOBLogicalToOdbc(), DOBLogicalToXSD(), DOBNormalize(), DOBOdbcToLogical(), DOBSet(), DOBXSDToLogical()
property ID as %String;
Id of Person record in the database.
Property methods: IDDisplayToLogical(), IDGet(), IDIsValid(), IDLogicalToDisplay(), IDLogicalToOdbc(), IDNormalize(), IDSet()
property Name as %String [ Required ];
Person's name.
Property methods: NameDisplayToLogical(), NameGet(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property SSN as %String (PATTERN = "3N1""-""2N1""-""4N") [ Required ];
Person's Social Security number. This is validated using pattern match.
Property methods: SSNDisplayToLogical(), SSNGet(), SSNIsValid(), SSNLogicalToDisplay(), SSNLogicalToOdbc(), SSNNormalize(), SSNSet()

Inherited Members

Inherited Methods

FeedbackOpens in a new tab