Headings path

瀏覽次數:40 次
跳到第一則未讀訊息

raks...@healthelife.in

未讀,
2020年9月4日 清晨7:51:512020/9/4
收件者:Enterprise Web Developer Community
Hi,

I need to commit multiple occurrences value for the same path which will commit using headings file. How should I append the incrementing value to the path and that respective data into it. Can anyone provide me the solution to solve this. 

Ex:  'symptom_sign:0/symptom_sign_name|value': '{{symptomName}}',
   ' symptom_sign:0/symptom_sign_name|code': '{{symptomNameCode}}',
' symptom_sign:0/symptom_sign_name|terminology': '{{symptomNameTerminology}}',
'symptom_sign:1/symptom_sign_name|value': '{{symptomName}}',
   ' symptom_sign:1/symptom_sign_name|code': '{{symptomNameCode}}',
' symptom_sign:1/symptom_sign_name|terminology': '{{symptomNameTerminology}}',

Thanks & Regards,
Raksha R

rtweed

未讀,
2020年9月4日 上午8:01:392020/9/4
收件者:Enterprise Web Developer Community
Can you clarify the product etc you're wanting help with.  I'm assuming this relates to the QEWD Health IT Platform, and specifically how to map an array of values in an OpenEHR template, using the JSON transformation syntax that's built-in to QEWD?

Raksha R

未讀,
2020年9月4日 上午8:47:402020/9/4
收件者:enterprise-web-de...@googlegroups.com
Yes, this is related to mapping an array of values in an OpenEHR template, using the JSON transformation syntax that's built-in to QEWD.

Requirement:
When we commit the data from the pulsetile, We modify the template and data being received  in QEWD using the transform function. In the transform function I will pass the template path and data which will be formatted in transform.json file. 

Now, the requirement is I will commit multiple data from the pulsetile, the data which is received in qewd should loop through that array of objects and add respective index value in the headings path and respective data into that path. Is it something possible qewd?

Thanks & Regards,
Raksha R
Healthelife Ventures LLP


--
You received this message because you are subscribed to the Google Groups "Enterprise Web Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-develope...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/58eca319-1fa2-4786-bfdc-a50084cea596n%40googlegroups.com.

Raksha R

未讀,
2020年9月4日 上午9:44:532020/9/4
收件者:enterprise-web-de...@googlegroups.com
Should I need to elaborate more?

Thanks & Regards,
Raksha R
Healthelife Ventures LLP

rtweed

未讀,
2020年9月4日 上午9:49:222020/9/4
收件者:Enterprise Web Developer Community
First question - have you read the documentation for the qewd-transform-json module, which is what the QEWD HIT Platform uses for the openEHR template transformations?  In particular, see the section on handling arrays:


Rob

Raksha R

未讀,
2020年9月15日 凌晨3:23:562020/9/15
收件者:enterprise-web-de...@googlegroups.com
Hi,

How to append multiple values when we commit using the ECISFLAT method?

Rob Tweed

未讀,
2020年9月15日 清晨6:28:492020/9/15
收件者:Enterprise Web Developer Community
The QEWD HIT Platform's interface to openEHR is fully described here:

It goes through the steps required to save records based on openEHR templates - use its APIs for saving records to openEHR rather than using your own.  If you look at the simple built-in allergies example and look at its ui_to_openehr.json transform specification document, you'll see that it can cater for multiple records - the key is to understand that the transform document represents the "unflattened" Flat JSON structure, which is automatically flattened for you into the correct structure for saving back into openEHR

If you require more detailed assistance, I'm happy to provide it on a paid-for basis.  Please let me know by email if this is an option you'd like to pursue

Regards
Rob
 



--
Rob Tweed
Director, M/Gateway Developments Ltd
http://www.mgateway.com

回覆所有人
回覆作者
轉寄
0 則新訊息