Date: Fri, 29 Mar 2024 20:53:03 +1000 (AEST) Message-ID: <1973576748.1168.1711709583451@dsp-kbconf-01.ad.medicalobjects.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_1167_1858334734.1711709583430" ------=_Part_1167_1858334734.1711709583430 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This an example of gello code talking to a VMR looking for family histor= y of early onset breast cancer
-- this example requires the HL7v3RIM.model loaded. Let BreastCancer: CD =3D Factory.codedvalue('123456', 'SNOMED-CT', 'Breast = Cancer') Let EarlyBreastCancerCount: Integer =3D FamilyHistory.relatives -> iterate(x; i:Integer =3D 0 | if (x.clinicalGenomicObservations -> select(code.implies(BreastCancer) and (dataEstimatedAge() < 50)).isEmpty= ()) then i else i + 1 endif) EarlyBreastCancerCount > 0