1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.openehealth.ipf.commons.ihe.fhir.pcc44;
18
19 import ca.uhn.fhir.context.FhirContext;
20 import ca.uhn.fhir.model.api.Include;
21 import ca.uhn.fhir.rest.api.SortSpec;
22 import ca.uhn.fhir.rest.param.DateRangeParam;
23 import ca.uhn.fhir.rest.param.ReferenceParam;
24 import ca.uhn.fhir.rest.param.TokenOrListParam;
25 import ca.uhn.fhir.rest.param.TokenParam;
26 import lombok.Builder;
27 import lombok.Getter;
28 import lombok.Setter;
29 import lombok.ToString;
30 import org.openehealth.ipf.commons.ihe.fhir.FhirSearchParameters;
31
32 import java.util.Collections;
33 import java.util.List;
34 import java.util.Set;
35
36
37
38
39
40
41 @ToString
42 public class DiagnosticReportSearchParameters extends Pcc44CommonSearchParameters {
43
44 @Getter @Setter
45 private TokenOrListParam category;
46 @Getter @Setter
47 private TokenOrListParam code;
48 @Getter @Setter
49 private DateRangeParam date;
50
51 @Builder
52 DiagnosticReportSearchParameters(TokenOrListParam category,
53 TokenOrListParam code,
54 DateRangeParam date, ReferenceParam patientReference,
55 TokenParam _id,
56 SortSpec sortSpec,
57 Set<Include> includeSpec,
58 Set<Include> revIncludeSpec,
59 FhirContext fhirContext) {
60 super(patientReference, _id, sortSpec, includeSpec, revIncludeSpec, fhirContext);
61 this.category = category;
62 this.code = code;
63 this.date = date;
64 }
65 }