Skip to content

Commit

Permalink
fix code after refactoring for #193
Browse files Browse the repository at this point in the history
  • Loading branch information
ppazos committed Aug 20, 2024
1 parent 3956a4d commit 8aec98b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@ class OpenEhrJsonSerializer {
{
def out = [:]

out.terminology_id = this.serializeTerminologyId(o.terminology_id)
out.terminology_id = this.serializeTerminologyId(o.terminologyId)

out.code_string = o.codeString

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ class RmValidator2 {
// will return null, and null is always different than the value, making the validation to fail, so
// the value is validated ONLY if the defining_code validates OK.
//
if (ct.defining_code.terminology_id.value == 'local' && !report.hasErrors())
if (ct.defining_code.terminologyId.value == 'local' && !report.hasErrors())
{
//def valid_coded_value = o.owner.getTerm(findRootRecursive(o).archetypeId, ct.defining_code.code_string)
def valid_coded_value = o.ownerArchetypeRoot.getText(ct.defining_code.codeString)
Expand Down

0 comments on commit 8aec98b

Please sign in to comment.