Re: Retrieving healthcare facility ID details using aql

2019-05-17 Thread Dileep V S
Thanks Ian, I could get the path from RAW json (c/context/health_care_facility/external_ref/id/value as orgId). This works for composer but not for health_care_facility and give error in Ethercis. Looks like and Ethercis bug. So I will raise a ticket there. regards Dileep V S *Founder*

Re: Retrieving healthcare facility ID details using aql

2019-05-17 Thread Ian McNicoll
Hi Dileep GERT /composition format=RAW Ian Dr Ian McNicoll mobile +44 (0)775 209 7859 office +44 (0)1536 414994 skype: ianmcnicoll email: i...@freshehr.com twitter: @ianmcnicoll Co-Chair, openEHR Foundation ian.mcnic...@openehr.org Director, freshEHR Clinical Informatics Ltd. Director,

Re: Retrieving healthcare facility ID details using aql

2019-05-16 Thread Dileep V S
Iam testing with Ethercis Thomas's pointers were very useful. However I tried all the following options and still getting error c/context/health_care_facility/identifiers/id/value as orgID c/context/health_care_facility/identifiers/id as orgID c/context/health_care_facility/identifiers/value as

Re: Retrieving healthcare facility ID details using aql

2019-05-16 Thread Ian McNicoll
I was about to say the same thing. The other helpful approach is just to return the whole composition as a RAW JSON or XML file and see how the paths work out - they will normally be very close tothintended AQL. Thomas's suggestion may be correct for Ethercis but I think that Think!Ehr actually

Re: Retrieving healthcare facility ID details using aql

2019-05-16 Thread Thomas Beale
Hi Dileep, Here the UML site is your friend. This is the part of the model you are referring to. Click through PARTY_IDENTIFIED and you will see that the relevant property is

Retrieving healthcare facility ID details using aql

2019-05-16 Thread Dileep V S
Hi, I am committing the heatcare facility id context details n my compositions as below "clinical_notes/context/health_care_facility|id": "123456-123", "clinical_notes/context/health_care_facility|id_scheme": "UUID", "clinical_notes/context/health_care_facility|id_namespace": "EHR.NETWORK",