Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 03-02-2022 12:03 AM
Created 03-02-2022 04:57 AM
@Asim- ,
Try this one out:
[
{
"operation": "shift",
"spec": {
"patientorderitems": {
"*": {
"patientorderlogs": {
"*": {
"@(4,_id)": "[&3]._id",
"@(2,poi_id)": "[&3].poi_id",
"pol_id": "[&3].pol_id",
"useruid": "[&3].useruid",
"modifiedat": "[&3].modifiedat"
}
}
}
}
}
}
]
Cheers,
André
Created 03-02-2022 04:57 AM
@Asim- ,
Try this one out:
[
{
"operation": "shift",
"spec": {
"patientorderitems": {
"*": {
"patientorderlogs": {
"*": {
"@(4,_id)": "[&3]._id",
"@(2,poi_id)": "[&3].poi_id",
"pol_id": "[&3].pol_id",
"useruid": "[&3].useruid",
"modifiedat": "[&3].modifiedat"
}
}
}
}
}
}
]
Cheers,
André
Created 03-07-2022 03:52 AM
{
"_id": "620e6275034f4fe64f1ce2ef",
"patientorderitems": [
{
"_id": "620e6275034f4fe64f1ce2f0",
"patientorderlogs": [
{
"_id": "620e6275034f4fe64f1ce2f1",
"useruid": "6031edd256afd66888232d6e",
"departmentuid": "602f6a3494ce862c04aa49d2"
},
{
"_id": "621efc35da15edd34560da80",
"useruid": "6032021359f2cf686ae807ba",
"departmentuid": "602f6a3494ce862c04aa49d5"
},
{
"_id": "6220a702061f33f4abe8a2a6",
"useruid": "604f3cb743027274a8c565de",
"departmentuid": "604c5393864aa9012d79e986"
},
{
"_id": "6220a70f65ca50f522598a85",
"useruid": "604f3cb743027274a8c565de",
"departmentuid": "604c5393864aa9012d79e986"
},
{
"_id": "6220a717145139f53cfb6143",
"useruid": "604f3cb743027274a8c565de",
"departmentuid": "604c5393864aa9012d79e986"
}
]
}
]
}dear araujo
can I have a jolt specification for this JSON as the same format of last JSON?