Skip to main content

HS.FHIR.vDSTU2.Model.Base.ElementDefinition.Constraint

deprecated class HS.FHIR.vDSTU2.Model.Base.ElementDefinition.Constraint extends HS.FHIR.vDSTU2.Model.Base.Element

THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.

Property Inventory

Method Inventory

Parameters

parameter ELEMENTQUALIFIED = 1;
Inherited description: ELEMENTQUALIFIED controls the format of exported XML. The ELEMENTQUALIFIED specification should be based on the elementFormDefault attribute of the schema that defines the type. To maintain compatibility, ELEMENTQUALIFIED will default to 1 (true) for literal format export and will default to 0 (false) for encoded or encoded12 format export. These were the values always previously assumed for the elementFormDefault attribute. NOTE: Direct use of XMLExport method does not support the ELEMENTQUALIFIED. The export must be done using %XML.Writer or SOAP support.
parameter JSONTYPEFIELD;
Inherited description: Type property name for JSON export.
parameter XMLNAME = ElementDefinition.Constraint;
Inherited description: This parameter provides the default XMLNAME for the class. If it is empty then the class name will be used to construct a default XML name. The default XMLNAME is used as the top level tag when exporting objects and the export context did not provide an XML container name.
parameter XMLSEQUENCE = 1;
Inherited description: If the XMLSEQUENCE = 1, then the order of the XML elements must match the order of the class properties. This allows us to deal with XML where the same field appears multiple times and is distinguished by the order.
parameter XMLTYPE = ElementDefinition.Constraint;
Inherited description: This parameter provides the default XMLTYPE for the class. If it is empty then the class name will be used to construct a default XML type. The default XMLTYPE is used when naming and referencing this type in a schema and the schema context did not provide an XML type name.

Properties

property human as HS.FHIR.vDSTU2.Model.Datatype.String (XMLNAME = "human") [ Required ];
Text that can be used to describe the constraint in messages identifying that the constraint has been violated.
Property methods: humanGet(), humanGetSwizzled(), humanIsValid(), humanNewObject(), humanSet()
property key as HS.FHIR.vDSTU2.Model.Datatype.Id (XMLNAME = "key") [ Required ];
Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality.
Property methods: keyGet(), keyGetSwizzled(), keyIsValid(), keyNewObject(), keySet()
property requirements as HS.FHIR.vDSTU2.Model.Datatype.String (XMLNAME = "requirements");
Description of why this constraint is necessary or appropriate.
Property methods: requirementsGet(), requirementsGetSwizzled(), requirementsIsValid(), requirementsNewObject(), requirementsSet()
property severity as HS.FHIR.vDSTU2.Model.Base.ConstraintSeverity (XMLNAME = "severity") [ Required ];
Identifies the impact constraint violation has on the conformance of the instance.
Property methods: severityGet(), severityGetSwizzled(), severityIsValid(), severityNewObject(), severitySet()
property xpath as HS.FHIR.vDSTU2.Model.Datatype.String (XMLNAME = "xpath") [ Required ];
An XPath expression of constraint that can be executed to see if this constraint is met.
Property methods: xpathGet(), xpathGetSwizzled(), xpathIsValid(), xpathNewObject(), xpathSet()

Methods

deprecated method SetHuman(pValue As %String = "", pExtension As %RegisteredObject = "", pId As %String = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "human" property.
deprecated method SetKey(pValue As %String = "", pExtension As %RegisteredObject = "", pId As %String = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "key" property.
deprecated method SetRequirements(pValue As %String = "", pExtension As %RegisteredObject = "", pId As %String = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "requirements" property.
deprecated method SetSeverity(pValue As %String = "", pExtension As %RegisteredObject = "", pId As %String = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "severity" property.
deprecated method SetXpath(pValue As %String = "", pExtension As %RegisteredObject = "", pId As %String = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "xpath" property.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab