ISPatient.NewHRC

Description

This function adds a new Health Record Collection with the specified name, date, termset code, concept code and the selected HRIs.

Syntax

object.NewHRC(aName, aTermset, aConcept, aHRIs, aDate)

Part Attribute Type Description
object Required
The object always implements the ISPatient interface
aName In, Required
string
The name of the HRC
aTermset In, Required
string
The termset code
aConcept In, Required
string
The concept code
aHRIs In, Required
string
The HRIs to include in the HRC
aDate In, Required
DateTime
The date of the HRC

Return Value

ISHRC

Returns the added Health Record Collection with the specified name, date, termset code, concept code and the selected HRIs.

Example

Add a new Health Record Collection with the specified name, date, termset code, concept code and the selected HRIs.

Dim aPatient
Dim aConcept  
Dim aTermset
Dim aDate
Dim aName
Dim aHRIs
Dim aHRC 

Set aPatient = Profile.SelectPatient
aConcept = "z..AB" 
aTermset = "IH" 
aDate = #31/01/2019#
aName = "Measures"
aHRIs = "z..2T=124,z..2Z=45"

set aHRC = aPatient.NewHRC(aName, aTermset, aConcept, aHRIs, aDate)

Profile.MsgBox("New HRC '" & aHRC.AsString & "' was created successfully!")     
Note:

In Profile Client v8 on User Interface HRC can be found in Clinical > Medical Record > Measures.

Version information

Added in v7.8.0