Skip to content

Commit

Permalink
[#29] Add state object property to PatientRecord
Browse files Browse the repository at this point in the history
  • Loading branch information
kostobog committed Dec 7, 2023
1 parent 4e7dddb commit ff09c77
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/java/cz/cvut/kbss/study/model/PatientRecord.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ public class PatientRecord implements Serializable, HasOwlKey {
CascadeType.REMOVE}, fetch = FetchType.EAGER)
private Question question;

@OWLObjectProperty(iri = Vocabulary.s_p_has_state)
private URI state;

public URI getUri() {
return uri;
}
Expand Down Expand Up @@ -134,6 +137,14 @@ public void setFormTemplate(String formTemplate) {
this.formTemplate = formTemplate;
}

public URI getState() {
return state;
}

public void setState(URI state) {
this.state = state;
}

@Override
public String toString() {
return "PatientRecord{" +
Expand Down

0 comments on commit ff09c77

Please sign in to comment.