Skip to main content

HS.FHIR.vDSTU2.Model.Resource.MedicationStatement

deprecated class HS.FHIR.vDSTU2.Model.Resource.MedicationStatement extends HS.FHIR.vDSTU2.Model.Base.DomainResource

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 XMLNAME = MedicationStatement;
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 = 0;
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.

Properties

property dateAsserted as HS.FHIR.vDSTU2.Model.Datatype.DateTime (XMLNAME = "dateAsserted");
The date when the medication statement was asserted by the information source.
Property methods: dateAssertedGet(), dateAssertedGetSwizzled(), dateAssertedIsValid(), dateAssertedNewObject(), dateAssertedSet()
property dosage as list of HS.FHIR.vDSTU2.Model.Resource.MedicationStatement.Dosage (XMLNAME = "dosage", XMLPROJECTION = "ELEMENT");
Indicates how the medication is/was used by the patient.
Property methods: dosageBuildValueArray(), dosageCollectionToDisplay(), dosageCollectionToOdbc(), dosageDisplayToCollection(), dosageGet(), dosageGetObject(), dosageGetObjectId(), dosageGetSwizzled(), dosageIsValid(), dosageOdbcToCollection(), dosageSet(), dosageSetObject(), dosageSetObjectId()
property effectiveDateTime as HS.FHIR.vDSTU2.Model.Datatype.DateTime (XMLNAME = "effectiveDateTime");
Property methods: effectiveDateTimeGet(), effectiveDateTimeGetSwizzled(), effectiveDateTimeIsValid(), effectiveDateTimeNewObject(), effectiveDateTimeSet()
property effectivePeriod as HS.FHIR.vDSTU2.Model.Base.Period (XMLNAME = "effectivePeriod");
Property methods: effectivePeriodGet(), effectivePeriodGetSwizzled(), effectivePeriodIsValid(), effectivePeriodNewObject(), effectivePeriodSet()
property identifier as list of HS.FHIR.vDSTU2.Model.Base.Identifier (XMLNAME = "identifier", XMLPROJECTION = "ELEMENT");
External identifier - FHIR will generate its own internal identifiers (probably URLs) which do not need to be explicitly managed by the resource. The identifier here is one that would be used by another non-FHIR system - for example an automated medication pump would provide a record each time it operated; an administration while the patient was off the ward might be made with a different system and entered after the event. Particularly important if these records have to be updated.
Property methods: identifierBuildValueArray(), identifierCollectionToDisplay(), identifierCollectionToOdbc(), identifierDisplayToCollection(), identifierGet(), identifierGetObject(), identifierGetObjectId(), identifierGetSwizzled(), identifierIsValid(), identifierOdbcToCollection(), identifierSet(), identifierSetObject(), identifierSetObjectId()
property informationSource as HS.FHIR.vDSTU2.Model.Base.Reference (XMLNAME = "informationSource");
The person who provided the information about the taking of this medication.
Property methods: informationSourceGet(), informationSourceGetSwizzled(), informationSourceIsValid(), informationSourceNewObject(), informationSourceSet()
property medicationCodeableConcept as HS.FHIR.vDSTU2.Model.Base.CodeableConcept (XMLNAME = "medicationCodeableConcept");
Property methods: medicationCodeableConceptGet(), medicationCodeableConceptGetSwizzled(), medicationCodeableConceptIsValid(), medicationCodeableConceptNewObject(), medicationCodeableConceptSet()
property medicationReference as HS.FHIR.vDSTU2.Model.Base.Reference (XMLNAME = "medicationReference");
Property methods: medicationReferenceGet(), medicationReferenceGetSwizzled(), medicationReferenceIsValid(), medicationReferenceNewObject(), medicationReferenceSet()
property note as HS.FHIR.vDSTU2.Model.Datatype.String (XMLNAME = "note");
Provides extra information about the medication statement that is not conveyed by the other attributes.
Property methods: noteGet(), noteGetSwizzled(), noteIsValid(), noteNewObject(), noteSet()
property patient as HS.FHIR.vDSTU2.Model.Base.Reference (XMLNAME = "patient") [ Required ];
The person or animal who is/was taking the medication.
Property methods: patientGet(), patientGetSwizzled(), patientIsValid(), patientNewObject(), patientSet()
property reasonForUseCodeableConcept as HS.FHIR.vDSTU2.Model.Base.CodeableConcept (XMLNAME = "reasonForUseCodeableConcept");
Property methods: reasonForUseCodeableConceptGet(), reasonForUseCodeableConceptGetSwizzled(), reasonForUseCodeableConceptIsValid(), reasonForUseCodeableConceptNewObject(), reasonForUseCodeableConceptSet()
property reasonForUseReference as HS.FHIR.vDSTU2.Model.Base.Reference (XMLNAME = "reasonForUseReference");
Property methods: reasonForUseReferenceGet(), reasonForUseReferenceGetSwizzled(), reasonForUseReferenceIsValid(), reasonForUseReferenceNewObject(), reasonForUseReferenceSet()
property reasonNotTaken as list of HS.FHIR.vDSTU2.Model.Base.CodeableConcept (XMLNAME = "reasonNotTaken", XMLPROJECTION = "ELEMENT");
A code indicating why the medication was not taken.
Property methods: reasonNotTakenBuildValueArray(), reasonNotTakenCollectionToDisplay(), reasonNotTakenCollectionToOdbc(), reasonNotTakenDisplayToCollection(), reasonNotTakenGet(), reasonNotTakenGetObject(), reasonNotTakenGetObjectId(), reasonNotTakenGetSwizzled(), reasonNotTakenIsValid(), reasonNotTakenOdbcToCollection(), reasonNotTakenSet(), reasonNotTakenSetObject(), reasonNotTakenSetObjectId()
property status as HS.FHIR.vDSTU2.Model.Base.MedicationStatementStatus (XMLNAME = "status") [ Required ];
A code representing the patient or other source's judgment about the state of the medication used that this statement is about. Generally this will be active or completed.
Property methods: statusGet(), statusGetSwizzled(), statusIsValid(), statusNewObject(), statusSet()
property supportingInformation as list of HS.FHIR.vDSTU2.Model.Base.Reference (XMLNAME = "supportingInformation", XMLPROJECTION = "ELEMENT");
Allows linking the MedicationStatement to the underlying MedicationOrder, or to other information that supports the MedicationStatement.
Property methods: supportingInformationBuildValueArray(), supportingInformationCollectionToDisplay(), supportingInformationCollectionToOdbc(), supportingInformationDisplayToCollection(), supportingInformationGet(), supportingInformationGetObject(), supportingInformationGetObjectId(), supportingInformationGetSwizzled(), supportingInformationIsValid(), supportingInformationOdbcToCollection(), supportingInformationSet(), supportingInformationSetObject(), supportingInformationSetObjectId()
property wasNotTaken as HS.FHIR.vDSTU2.Model.Datatype.Boolean (XMLNAME = "wasNotTaken");
Set this to true if the record is saying that the medication was NOT taken.
Property methods: wasNotTakenGet(), wasNotTakenGetSwizzled(), wasNotTakenIsValid(), wasNotTakenNewObject(), wasNotTakenSet()

Methods

deprecated method SetDateAsserted(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 "dateAsserted" property.
deprecated method SetEffectiveDateTime(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 "effectiveDateTime" property.
deprecated method SetEffectivePeriod(pStart As %String = "", pEnd As %String = "", pExtension As %RegisteredObject = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "effectivePeriod" property.
deprecated method SetIdentifier(pValue As %String = "", pSystem As %String = "", pUse As %String = "", pTypeCode As %String = "", pTypeSystem As %String = "", pTypeDisplay As %String = "", pTypeText As %String = "", pId As %String = "", pStart As %String = "", pEnd As %String = "", pAssignerReference As %String = "", pAssignerDisplay As %String = "", pExtension As %RegisteredObject = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Insert method for the "identifier" property.
deprecated method SetInformationSource(pReference As %String = "", pDisplay As %String = "", pExtension As %RegisteredObject = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "informationSource" property.
deprecated method SetMedicationCodeableConcept(pCode As %String = "", pDisplay As %String = "", pSystem As %String = "", pText As %String = "", pVersion As %String = "", pUserSelected As %String = "", pId As %String = "", pExtension As %RegisteredObject = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "medicationCodeableConcept" property.
deprecated method SetMedicationReference(pReference As %String = "", pDisplay As %String = "", pExtension As %RegisteredObject = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "medicationReference" property.
deprecated method SetNote(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 "note" property.
deprecated method SetPatient(pReference As %String = "", pDisplay As %String = "", pExtension As %RegisteredObject = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "patient" property.
deprecated method SetReasonForUseCodeableConcept(pCode As %String = "", pDisplay As %String = "", pSystem As %String = "", pText As %String = "", pVersion As %String = "", pUserSelected As %String = "", pId As %String = "", pExtension As %RegisteredObject = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "reasonForUseCodeableConcept" property.
deprecated method SetReasonForUseReference(pReference As %String = "", pDisplay As %String = "", pExtension As %RegisteredObject = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Set method for the "reasonForUseReference" property.
deprecated method SetReasonNotTaken(pCode As %String = "", pDisplay As %String = "", pSystem As %String = "", pText As %String = "", pVersion As %String = "", pUserSelected As %String = "", pId As %String = "", pExtension As %RegisteredObject = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Insert method for the "reasonNotTaken" property.
deprecated method SetStatus(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 "status" property.
deprecated method SetSupportingInformation(pReference As %String = "", pDisplay As %String = "", pExtension As %RegisteredObject = "") as %Status
THIS DATA OBJECT MODEL CLASS IS DEPRECATED - Use %DynamicObject or HS.FHIRObject.* instead.
Insert method for the "supportingInformation" property.
deprecated method SetWasNotTaken(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 "wasNotTaken" property.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab