Skip to main content

HS.FHIR.DTL.vR4.Model.Resource.VisionPrescription

class HS.FHIR.DTL.vR4.Model.Resource.VisionPrescription extends HS.FHIR.DTL.vR4.Model.Base.DomainResource

Prescription for vision correction products for a patient.

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 = VisionPrescription;
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 = VisionPrescription;
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 created as %String (MAXLEN = 1000000, XMLNAME = "created", XMLPROJECTION = "ATTRIBUTE") [ Required ];
dateTime

Response creation date.

Property methods: createdDisplayToLogical(), createdGet(), createdIsValid(), createdLogicalToDisplay(), createdLogicalToOdbc(), createdNormalize(), createdSet()
property dateWritten as %String (MAXLEN = 1000000, XMLNAME = "dateWritten", XMLPROJECTION = "ATTRIBUTE") [ Required ];
dateTime

When prescription was authorized.

Property methods: dateWrittenDisplayToLogical(), dateWrittenGet(), dateWrittenIsValid(), dateWrittenLogicalToDisplay(), dateWrittenLogicalToOdbc(), dateWrittenNormalize(), dateWrittenSet()
property encounter as HS.FHIR.DTL.vR4.Model.Base.Reference (XMLNAME = "encounter", XMLPROJECTION = "ELEMENT");
Reference

Created during encounter / admission / stay.

Encounter

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

Business Identifier for vision prescription.

Property methods: identifierBuildValueArray(), identifierCollectionToDisplay(), identifierCollectionToOdbc(), identifierDisplayToCollection(), identifierGet(), identifierGetObject(), identifierGetObjectId(), identifierGetSwizzled(), identifierIsValid(), identifierOdbcToCollection(), identifierSet(), identifierSetObject(), identifierSetObjectId()
property lensSpecification as list of HS.FHIR.DTL.vR4.Model.Element.VisionPrescription.lensSpecification (XMLNAME = "lensSpecification", XMLPROJECTION = "ELEMENT") [ Required ];
BackboneElement

Vision lens authorization.

Property methods: lensSpecificationBuildValueArray(), lensSpecificationCollectionToDisplay(), lensSpecificationCollectionToOdbc(), lensSpecificationDisplayToCollection(), lensSpecificationGet(), lensSpecificationGetObject(), lensSpecificationGetObjectId(), lensSpecificationGetSwizzled(), lensSpecificationIsValid(), lensSpecificationOdbcToCollection(), lensSpecificationSet(), lensSpecificationSetObject(), lensSpecificationSetObjectId()
property patient as HS.FHIR.DTL.vR4.Model.Base.Reference (XMLNAME = "patient", XMLPROJECTION = "ELEMENT") [ Required ];
Reference

Who prescription is for.

Patient

Property methods: patientGet(), patientGetSwizzled(), patientIsValid(), patientNewObject(), patientSet()
property prescriber as HS.FHIR.DTL.vR4.Model.Base.Reference (XMLNAME = "prescriber", XMLPROJECTION = "ELEMENT") [ Required ];
Reference

Who authorized the vision prescription.

Practitioner | PractitionerRole

Property methods: prescriberGet(), prescriberGetSwizzled(), prescriberIsValid(), prescriberNewObject(), prescriberSet()
property status as %String (MAXLEN = 1000000, XMLNAME = "status", XMLPROJECTION = "ATTRIBUTE") [ Required ];
code

active | cancelled | draft | entered-in-error

fm-status|4.0.1 is the REQUIRED FHIR4 ValueSet for codes; you may NOT extend fm-status|4.0.1 and you may NOT use codes from other ValueSets.

Property methods: statusDisplayToLogical(), statusGet(), statusIsValid(), statusLogicalToDisplay(), statusLogicalToOdbc(), statusNormalize(), statusSet()

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab