User bio
404 bio not found
Member since Aug 11, 2017
Posts:
Replies:
got it to work, but there might be a better solution, if so, please comment
ClassMethod EditSurgery() As %Status
{
S EditData={}.%FromJSON(%request.Content)
w !,EditData.SurgeryCase,!
#Dim otherProc As %DynamicObject
s otherProc=EditData.OtherProcedures
s iterator=otherProc.%GetIterator()
while iterator.%GetNext(.key, .OtherProcedure) {
set type = otherProc.%GetTypeOf(key)
s name=otherProc.%Get(key).OtherProcedure
s cpt=otherProc.%Get(key).PlannedOtherProcCPTCode
s comment=otherProc.%Get(key).ProcedureCodeComments
w !," name= ",name," cpt= ",cpt," comments= ",comment
}
q 200
}
Certifications & Credly badges:
Phil has no Certifications & Credly badges yet.
Global Masters badges:
Followers:
Phil has no followers yet.
Following:
Found my issue, I had the execute query command in the code twice. Found that and resolved the issue.