Skip to main content

HS.Reports.Patient.Config

persistent class HS.Reports.Patient.Config extends %Library.Persistent, HS.Types.PatientReport, HS.Sync.BaseClass, %Library.GlobalIdentifier

SQL Table Name: HS_Reports_Patient.Config

Contact information

Property Inventory

Method Inventory

Parameters

parameter SYNCORDER = 100;
parameter XMLTYPE = PatReport;
To prevent a conflict

Properties

relationship ReportSections as array of HS.Reports.Patient.ReportSection [ InitialExpression = $listbuild("HS.Reports.Patient.ReportSection","Report",+$this,"children",1,1) , Transient , Inverse = Report , Cardinality = children ];
Property methods: ReportSectionsGet(), ReportSectionsGetObject(), ReportSectionsGetObjectId(), ReportSectionsGetSwizzled(), ReportSectionsIsEmpty(), ReportSectionsIsValid(), ReportSectionsNewObject(), ReportSectionsRClose(), ReportSectionsRExec(), ReportSectionsRFetch(), ReportSectionsRelate(), ReportSectionsSQLCompute(), ReportSectionsSet(), ReportSectionsUnRelate()

Methods

classmethod DefaultReport() as %String
Returns the default report
classmethod DeleteData(id As %String, concurrency As %Integer = -1) as %Status
Delete after validating (none currently)
method GetExistingData(Output pId As %String) as %Status
Used to get existing data for an object returned from a correlate
method HasSections() as %Boolean
Returns whether a report has sections or not
classmethod ListPatientReportsClose(ByRef qHandle As %Binary) as %Status
classmethod ListPatientReportsExecute(ByRef qHandle As %Binary) as %Status
classmethod ListPatientReportsFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status

Queries

query ListPatientReports()
Selects ID As %String, Name As %String, Code As %String, ZenReportClass As %String, DefaultReport As %Boolean
query ListReportsLocal()
Selects ID As %String, Code As %String, Name As %String, DefaultReport As %Boolean, ZenReportClass As %String
SQL Query:
SELECT ID,Code,Name,DefaultReport,ZenReportClass FROM HS_Reports_Patient.Config ORDER BY Name

Indexes

index (IDKEY on Code) [IdKey, Type = key, Unique];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (NameIndex on Name);
Index methods: NameIndexExists()

Inherited Members

Inherited Properties

Inherited Methods

Storage

Storage Model: Storage (HS.Reports.Patient.Config)

^HS.Reports.Patient.ConfigD(ID)
=
%%CLASSNAME
Name
ZenReportClass
DefaultReport
SDAVersion
FeedbackOpens in a new tab