Skip to main content


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

Measurements and simple assertions.

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 = Observation;
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 = Observation;
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 bodySite as HS.FHIR.DTL.vDSTU2.Model.Datatype.CodeableConcept (XMLNAME = "bodySite", XMLPROJECTION = "ELEMENT");

Observed body part.

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

Property methods: bodySiteGet(), bodySiteGetSwizzled(), bodySiteIsValid(), bodySiteNewObject(), bodySiteSet()
property category as HS.FHIR.DTL.vDSTU2.Model.Datatype.CodeableConcept (XMLNAME = "category", XMLPROJECTION = "ELEMENT");

Classification of type of observation.

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

Property methods: categoryGet(), categoryGetSwizzled(), categoryIsValid(), categoryNewObject(), categorySet()
property code as HS.FHIR.DTL.vDSTU2.Model.Datatype.CodeableConcept (XMLNAME = "code", XMLPROJECTION = "ELEMENT") [ Required ];

Type of observation (code / type)

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

Property methods: codeGet(), codeGetSwizzled(), codeIsValid(), codeNewObject(), codeSet()
property comments as %String (MAXLEN = 1000000, XMLNAME = "comments", XMLPROJECTION = "ATTRIBUTE");

Comments about result.

Property methods: commentsDisplayToLogical(), commentsGet(), commentsIsValid(), commentsLogicalToDisplay(), commentsLogicalToOdbc(), commentsNormalize(), commentsSet()
property component as list of HS.FHIR.DTL.vDSTU2.Model.Element.Observation.component (XMLNAME = "component", XMLPROJECTION = "ELEMENT");

Component results.

Property methods: componentBuildValueArray(), componentCollectionToDisplay(), componentCollectionToOdbc(), componentDisplayToCollection(), componentGet(), componentGetObject(), componentGetObjectId(), componentGetSwizzled(), componentIsValid(), componentOdbcToCollection(), componentSet(), componentSetObject(), componentSetObjectId()
property dataAbsentReason as HS.FHIR.DTL.vDSTU2.Model.Datatype.CodeableConcept (XMLNAME = "dataAbsentReason", XMLPROJECTION = "ELEMENT");

Why the result is missing.

observation-valueabsentreason is the REQUIRED FHIR2 ValueSet for codes, but if you need to express meanings not found in observation-valueabsentreason, you may formally EXTEND observation-valueabsentreason to add codes to it.

Property methods: dataAbsentReasonGet(), dataAbsentReasonGetSwizzled(), dataAbsentReasonIsValid(), dataAbsentReasonNewObject(), dataAbsentReasonSet()
property device as HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "device", XMLPROJECTION = "ELEMENT");

(Measurement) Device.

Device | DeviceMetric

Property methods: deviceGet(), deviceGetSwizzled(), deviceIsValid(), deviceNewObject(), deviceSet()
property effectiveDateTime as %String (MAXLEN = 1000000, XMLNAME = "effectiveDateTime", XMLPROJECTION = "ATTRIBUTE");

Clinically relevant time/time-period for observation.

Property methods: effectiveDateTimeDisplayToLogical(), effectiveDateTimeGet(), effectiveDateTimeIsValid(), effectiveDateTimeLogicalToDisplay(), effectiveDateTimeLogicalToOdbc(), effectiveDateTimeNormalize(), effectiveDateTimeSet()
property effectivePeriod as HS.FHIR.DTL.vDSTU2.Model.Datatype.Period (XMLNAME = "effectivePeriod", XMLPROJECTION = "ELEMENT");

Clinically relevant time/time-period for observation.

Property methods: effectivePeriodGet(), effectivePeriodGetSwizzled(), effectivePeriodIsValid(), effectivePeriodNewObject(), effectivePeriodSet()
property encounter as HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "encounter", XMLPROJECTION = "ELEMENT");

Healthcare event during which this observation is made.


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

Unique Id for this particular observation.

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

High, low, normal, etc.

observation-interpretation is the REQUIRED FHIR2 ValueSet for codes, but if you need to express meanings not found in observation-interpretation, you may formally EXTEND observation-interpretation to add codes to it.

Property methods: interpretationGet(), interpretationGetSwizzled(), interpretationIsValid(), interpretationNewObject(), interpretationSet()
property issued as %String (MAXLEN = 1000000, XMLNAME = "issued", XMLPROJECTION = "ATTRIBUTE");

Date/Time this was made available.

Property methods: issuedDisplayToLogical(), issuedGet(), issuedIsValid(), issuedLogicalToDisplay(), issuedLogicalToOdbc(), issuedNormalize(), issuedSet()
property method as HS.FHIR.DTL.vDSTU2.Model.Datatype.CodeableConcept (XMLNAME = "method", XMLPROJECTION = "ELEMENT");

How it was done.

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

Property methods: methodGet(), methodGetSwizzled(), methodIsValid(), methodNewObject(), methodSet()
property performer as list of HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "performer", XMLPROJECTION = "ELEMENT");

Who is responsible for the observation.

Practitioner | Organization | Patient | RelatedPerson

Property methods: performerBuildValueArray(), performerCollectionToDisplay(), performerCollectionToOdbc(), performerDisplayToCollection(), performerGet(), performerGetObject(), performerGetObjectId(), performerGetSwizzled(), performerIsValid(), performerOdbcToCollection(), performerSet(), performerSetObject(), performerSetObjectId()
property referenceRange as list of HS.FHIR.DTL.vDSTU2.Model.Element.Observation.referenceRange (XMLNAME = "referenceRange", XMLPROJECTION = "ELEMENT");

Provides guide for interpretation.

Property methods: referenceRangeBuildValueArray(), referenceRangeCollectionToDisplay(), referenceRangeCollectionToOdbc(), referenceRangeDisplayToCollection(), referenceRangeGet(), referenceRangeGetObject(), referenceRangeGetObjectId(), referenceRangeGetSwizzled(), referenceRangeIsValid(), referenceRangeOdbcToCollection(), referenceRangeSet(), referenceRangeSetObject(), referenceRangeSetObjectId()

Resource related to this observation.

Property methods: relatedBuildValueArray(), relatedCollectionToDisplay(), relatedCollectionToOdbc(), relatedDisplayToCollection(), relatedGet(), relatedGetObject(), relatedGetObjectId(), relatedGetSwizzled(), relatedIsValid(), relatedOdbcToCollection(), relatedSet(), relatedSetObject(), relatedSetObjectId()
property specimen as HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "specimen", XMLPROJECTION = "ELEMENT");

Specimen used for this observation.


Property methods: specimenGet(), specimenGetSwizzled(), specimenIsValid(), specimenNewObject(), specimenSet()
property status as %String (MAXLEN = 1000000, XMLNAME = "status", XMLPROJECTION = "ATTRIBUTE") [ Required ];

registered | preliminary | final | amended +

observation-status is the REQUIRED FHIR2 ValueSet for codes; you may NOT extend observation-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");

Who and/or what this is about.

Patient | Group | Device | Location

Property methods: subjectGet(), subjectGetSwizzled(), subjectIsValid(), subjectNewObject(), subjectSet()
property valueAttachment as HS.FHIR.DTL.vDSTU2.Model.Datatype.Attachment (XMLNAME = "valueAttachment", XMLPROJECTION = "ELEMENT");

Actual result.

Property methods: valueAttachmentGet(), valueAttachmentGetSwizzled(), valueAttachmentIsValid(), valueAttachmentNewObject(), valueAttachmentSet()
property valueCodeableConcept as HS.FHIR.DTL.vDSTU2.Model.Datatype.CodeableConcept (XMLNAME = "valueCodeableConcept", XMLPROJECTION = "ELEMENT");

Actual result.

any FHIR2 code from any ValueSet may be used.

Property methods: valueCodeableConceptGet(), valueCodeableConceptGetSwizzled(), valueCodeableConceptIsValid(), valueCodeableConceptNewObject(), valueCodeableConceptSet()
property valueDateTime as %String (MAXLEN = 1000000, XMLNAME = "valueDateTime", XMLPROJECTION = "ATTRIBUTE");

Actual result.

Property methods: valueDateTimeDisplayToLogical(), valueDateTimeGet(), valueDateTimeIsValid(), valueDateTimeLogicalToDisplay(), valueDateTimeLogicalToOdbc(), valueDateTimeNormalize(), valueDateTimeSet()
property valuePeriod as HS.FHIR.DTL.vDSTU2.Model.Datatype.Period (XMLNAME = "valuePeriod", XMLPROJECTION = "ELEMENT");

Actual result.

Property methods: valuePeriodGet(), valuePeriodGetSwizzled(), valuePeriodIsValid(), valuePeriodNewObject(), valuePeriodSet()
property valueQuantity as HS.FHIR.DTL.vDSTU2.Model.Datatype.Quantity (XMLNAME = "valueQuantity", XMLPROJECTION = "ELEMENT");

Actual result.

Property methods: valueQuantityGet(), valueQuantityGetSwizzled(), valueQuantityIsValid(), valueQuantityNewObject(), valueQuantitySet()
property valueRange as HS.FHIR.DTL.vDSTU2.Model.Datatype.Range (XMLNAME = "valueRange", XMLPROJECTION = "ELEMENT");

Actual result.

Property methods: valueRangeGet(), valueRangeGetSwizzled(), valueRangeIsValid(), valueRangeNewObject(), valueRangeSet()
property valueRatio as HS.FHIR.DTL.vDSTU2.Model.Datatype.Ratio (XMLNAME = "valueRatio", XMLPROJECTION = "ELEMENT");

Actual result.

Property methods: valueRatioGet(), valueRatioGetSwizzled(), valueRatioIsValid(), valueRatioNewObject(), valueRatioSet()
property valueSampledData as HS.FHIR.DTL.vDSTU2.Model.Datatype.SampledData (XMLNAME = "valueSampledData", XMLPROJECTION = "ELEMENT");

Actual result.

Property methods: valueSampledDataGet(), valueSampledDataGetSwizzled(), valueSampledDataIsValid(), valueSampledDataNewObject(), valueSampledDataSet()
property valueString as %String (MAXLEN = 1000000, XMLNAME = "valueString", XMLPROJECTION = "ATTRIBUTE");

Actual result.

Property methods: valueStringDisplayToLogical(), valueStringGet(), valueStringIsValid(), valueStringLogicalToDisplay(), valueStringLogicalToOdbc(), valueStringNormalize(), valueStringSet()
property valueTime as %String (MAXLEN = 1000000, XMLNAME = "valueTime", XMLPROJECTION = "ATTRIBUTE");

Actual result.

Property methods: valueTimeDisplayToLogical(), valueTimeGet(), valueTimeIsValid(), valueTimeLogicalToDisplay(), valueTimeLogicalToOdbc(), valueTimeNormalize(), valueTimeSet()

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab