This function adds a new Health Record Collection with the specified name, date, termset code, concept code and the selected HRIs.
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 |
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!")
In Profile Client v8 on User Interface HRC can be found in
.