Hi,
You can create Injection as a %SerialObject and add to Study as a list
`` `
Property Injection As list Of PET.Injection;
```
- Log in to post comments
Hi,
You can create Injection as a %SerialObject and add to Study as a list
`` `
Property Injection As list Of PET.Injection;
```
awesome
Very cool idea!
Great post, Thanks for sharing
Awesome, really great idea!!
Thanks for sharing
Sounds great!!
Congratulations John!
Unfortunately I didn't do a benchmark... But it's an awesome idea, compare the performance, I'll do and put here the results.
Thanks ;)
Congratz ![]()
@Eduard the RESTForms is a great idea!
Hello All,
I'd loved to heard more about that,
I was working on something like that, inspired by "action dispatcher" from Rails Framework, but for now I didn't succeed.
Another option is to use a regular expression, like this:
ClassMethod ReplaceAccents(ByRef pWord As %String) As %Status{ Set tSC = $$$OK Try {
Set dictionary = ##class(%ArrayOfDataTypes).%New()
Do dictionary.SetAt("ÀÁÂÃÄÅ","A")
Do dictionary.SetAt("àáâãäå","a")
Do dictionary.SetAt("ÈÉÊË","E")
//.... all the rest
While dictionary.GetNext(.key) {
Set matcher = ##class(%Regex.Matcher).%New("["_ dictionary.GetAt(key) _ "]", pWord)
Set pWord = matcher.ReplaceAll(key)
}
} Catch tException { Set:$$$ISOK(tSC) tSC = tException.AsStatus() } Quit tSC}awesome ![]()