Skip to main content


class HS.FHIR.DTL.vDSTU2.Model.Resource.DiagnosticOrder extends HS.FHIR.DTL.vDSTU2.Model.Base.DomainResource

A request for a diagnostic service.

Property Inventory


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 = DiagnosticOrder;
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 = DiagnosticOrder;
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.


property encounter as HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "encounter", XMLPROJECTION = "ELEMENT");

The encounter that this diagnostic order is associated with.


Property methods: encounterGet(), encounterGetSwizzled(), encounterIsValid(), encounterNewObject(), encounterSet()
property event as list of HS.FHIR.DTL.vDSTU2.Model.Element.DiagnosticOrder.event (XMLNAME = "event", XMLPROJECTION = "ELEMENT");

A list of events of interest in the lifecycle.

Property methods: eventBuildValueArray(), eventCollectionToDisplay(), eventCollectionToOdbc(), eventDisplayToCollection(), eventGet(), eventGetObject(), eventGetObjectId(), eventGetSwizzled(), eventIsValid(), eventOdbcToCollection(), eventSet(), eventSetObject(), eventSetObjectId()
property identifier as list of HS.FHIR.DTL.vDSTU2.Model.Datatype.Identifier (XMLNAME = "identifier", XMLPROJECTION = "ELEMENT");

Identifiers assigned to this order.

Property methods: identifierBuildValueArray(), identifierCollectionToDisplay(), identifierCollectionToOdbc(), identifierDisplayToCollection(), identifierGet(), identifierGetObject(), identifierGetObjectId(), identifierGetSwizzled(), identifierIsValid(), identifierOdbcToCollection(), identifierSet(), identifierSetObject(), identifierSetObjectId()
property item as list of HS.FHIR.DTL.vDSTU2.Model.Element.DiagnosticOrder.item (XMLNAME = "item", XMLPROJECTION = "ELEMENT");

The items the orderer requested.

Property methods: itemBuildValueArray(), itemCollectionToDisplay(), itemCollectionToOdbc(), itemDisplayToCollection(), itemGet(), itemGetObject(), itemGetObjectId(), itemGetSwizzled(), itemIsValid(), itemOdbcToCollection(), itemSet(), itemSetObject(), itemSetObjectId()
property note as list of HS.FHIR.DTL.vDSTU2.Model.Datatype.Annotation (XMLNAME = "note", XMLPROJECTION = "ELEMENT");

Other notes and comments.

Property methods: noteBuildValueArray(), noteCollectionToDisplay(), noteCollectionToOdbc(), noteDisplayToCollection(), noteGet(), noteGetObject(), noteGetObjectId(), noteGetSwizzled(), noteIsValid(), noteOdbcToCollection(), noteSet(), noteSetObject(), noteSetObjectId()
property orderer as HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "orderer", XMLPROJECTION = "ELEMENT");

Who ordered the test.


Property methods: ordererGet(), ordererGetSwizzled(), ordererIsValid(), ordererNewObject(), ordererSet()
property priority as %String (MAXLEN = 1000000, XMLNAME = "priority", XMLPROJECTION = "ATTRIBUTE");

routine | urgent | stat | asap

diagnostic-order-priority is the REQUIRED FHIR2 ValueSet for codes; you may NOT extend diagnostic-order-priority and you may NOT use codes from other ValueSets.

Property methods: priorityDisplayToLogical(), priorityGet(), priorityIsValid(), priorityLogicalToDisplay(), priorityLogicalToOdbc(), priorityNormalize(), prioritySet()
property reason as list of HS.FHIR.DTL.vDSTU2.Model.Datatype.CodeableConcept (XMLNAME = "reason", XMLPROJECTION = "ELEMENT");

Explanation/Justification for test.

any FHIR2 code may be used; condition-code shows EXAMPLE codes, but you may use codes from any ValueSet.

Property methods: reasonBuildValueArray(), reasonCollectionToDisplay(), reasonCollectionToOdbc(), reasonDisplayToCollection(), reasonGet(), reasonGetObject(), reasonGetObjectId(), reasonGetSwizzled(), reasonIsValid(), reasonOdbcToCollection(), reasonSet(), reasonSetObject(), reasonSetObjectId()
property specimen as list of HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "specimen", XMLPROJECTION = "ELEMENT");

If the whole order relates to specific specimens.


Property methods: specimenBuildValueArray(), specimenCollectionToDisplay(), specimenCollectionToOdbc(), specimenDisplayToCollection(), specimenGet(), specimenGetObject(), specimenGetObjectId(), specimenGetSwizzled(), specimenIsValid(), specimenOdbcToCollection(), specimenSet(), specimenSetObject(), specimenSetObjectId()
property status as %String (MAXLEN = 1000000, XMLNAME = "status", XMLPROJECTION = "ATTRIBUTE");

proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed

diagnostic-order-status is the REQUIRED FHIR2 ValueSet for codes; you may NOT extend diagnostic-order-status and you may NOT use codes from other ValueSets.

Property methods: statusDisplayToLogical(), statusGet(), statusIsValid(), statusLogicalToDisplay(), statusLogicalToOdbc(), statusNormalize(), statusSet()
property subject as HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "subject", XMLPROJECTION = "ELEMENT") [ Required ];

Who and/or what test is about.

Patient | Group | Location | Device

Property methods: subjectGet(), subjectGetSwizzled(), subjectIsValid(), subjectNewObject(), subjectSet()
property supportingInformation as list of HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "supportingInformation", XMLPROJECTION = "ELEMENT");

Additional clinical information.

Observation | Condition | DocumentReference

Property methods: supportingInformationBuildValueArray(), supportingInformationCollectionToDisplay(), supportingInformationCollectionToOdbc(), supportingInformationDisplayToCollection(), supportingInformationGet(), supportingInformationGetObject(), supportingInformationGetObjectId(), supportingInformationGetSwizzled(), supportingInformationIsValid(), supportingInformationOdbcToCollection(), supportingInformationSet(), supportingInformationSetObject(), supportingInformationSetObjectId()

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab