HS.FHIR.DTL.vDSTU2.Model.Element.ElementDefinition.constraint
class HS.FHIR.DTL.vDSTU2.Model.Element.ElementDefinition.constraint extends HS.FHIR.DTL.vDSTU2.Model.Base.Element
Condition that must evaluate to true.Property 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 XMLNAME = 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 XMLPROJECTION = ELEMENT;
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 = 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 %String (MAXLEN = 1000000, XMLNAME = "human", XMLPROJECTION = "ATTRIBUTE") [ Required ];
string
Human description of constraint.
Property methods: humanDisplayToLogical(), humanGet(), humanIsValid(), humanLogicalToDisplay(), humanLogicalToOdbc(), humanNormalize(), humanSet()
property key as %String (MAXLEN = 1000000, XMLNAME = "key", XMLPROJECTION = "ATTRIBUTE") [ Required ];
id
Target of 'condition' reference above.
Property methods: keyDisplayToLogical(), keyGet(), keyIsValid(), keyLogicalToDisplay(), keyLogicalToOdbc(), keyNormalize(), keySet()
property requirements as %String (MAXLEN = 1000000, XMLNAME = "requirements", XMLPROJECTION = "ATTRIBUTE");
string
Why this constraint is necessary or appropriate.
Property methods: requirementsDisplayToLogical(), requirementsGet(), requirementsIsValid(), requirementsLogicalToDisplay(), requirementsLogicalToOdbc(), requirementsNormalize(), requirementsSet()
property severity as %String (MAXLEN = 1000000, XMLNAME = "severity", XMLPROJECTION = "ATTRIBUTE") [ Required ];
code
error | warning
constraint-severity is the REQUIRED FHIR2 ValueSet for codes; you may NOT extend constraint-severity and you may NOT use codes from other ValueSets.
Property methods: severityDisplayToLogical(), severityGet(), severityIsValid(), severityLogicalToDisplay(), severityLogicalToOdbc(), severityNormalize(), severitySet()
property xpath as %String (MAXLEN = 1000000, XMLNAME = "xpath", XMLPROJECTION = "ATTRIBUTE");
string
XPath expression of constraint.
Property methods: xpathDisplayToLogical(), xpathGet(), xpathIsValid(), xpathLogicalToDisplay(), xpathLogicalToOdbc(), xpathNormalize(), xpathSet()
Inherited Members
Inherited Properties
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- FromJSON()
- FromJSONDir()
- FromJSONFile()
- FromJSONHelper()
- FromXML()
- FromXMLHelper()
- PrimitiveExtensionHandler()
- ToJSON()
- ToJSONHelper()
- ToXML()
- ToXMLHelper()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()