Skip to content

Commit

Permalink
added optional subject for ehr_status
Browse files Browse the repository at this point in the history
  • Loading branch information
ppazos committed Feb 11, 2022
1 parent 7463b1f commit e25f7a8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ class OpenEhrJsonParser {

this.fillLOCATABLE(status, map, null, '/', '/')

status.subject = this.parsePARTY_SELF(map.subject)
if (map.subject)
{
status.subject = this.parsePARTY_SELF(map.subject)
}

status.is_modifiable = map.is_modifiable
status.is_queryable = map.is_queryable
Expand Down

0 comments on commit e25f7a8

Please sign in to comment.