-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue #1351 - Update config with resources group for search parameters
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
- Loading branch information
Showing
10 changed files
with
235 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
fhir-search/src/test/resources/config/default/fhir-server-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
{ | ||
"__comment": "FHIR Server configuration", | ||
"fhirServer": { | ||
"_comment": "Just hiding this property because 'include-all' should be the default", | ||
"_searchParameterFilter": { | ||
"*": "*" | ||
} | ||
} | ||
} |
52 changes: 35 additions & 17 deletions
52
fhir-search/src/test/resources/config/tenant1/fhir-server-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,41 @@ | ||
{ | ||
"__comment": "FHIR Server configuration", | ||
"fhirServer": { | ||
"searchParameterFilter": { | ||
"Device": [ | ||
"patient", | ||
"organization" | ||
], | ||
"Observation": [ | ||
"code" | ||
], | ||
"Patient": [ | ||
"active", | ||
"address", | ||
"birthdate", | ||
"name" | ||
], | ||
"*": [ | ||
"*" | ||
] | ||
"resources": { | ||
"includeOmittedResourceTypes": true, | ||
"Device": { | ||
"searchParameters": { | ||
"patient": { | ||
"url": "http://hl7.org/fhir/SearchParameter/Device-patient" | ||
}, | ||
"organization": { | ||
"url": "http://hl7.org/fhir/SearchParameter/Device-organization" | ||
} | ||
} | ||
}, | ||
"Observation": { | ||
"searchParameters": { | ||
"code": { | ||
"url": "http://hl7.org/fhir/SearchParameter/clinical-code" | ||
} | ||
} | ||
}, | ||
"Patient": { | ||
"searchParameters": { | ||
"active": { | ||
"url": "http://hl7.org/fhir/SearchParameter/Patient-active" | ||
}, | ||
"address": { | ||
"url": "http://hl7.org/fhir/SearchParameter/individual-address" | ||
}, | ||
"birthdate": { | ||
"url": "http://hl7.org/fhir/SearchParameter/individual-birthdate" | ||
}, | ||
"name": { | ||
"url": "http://hl7.org/fhir/SearchParameter/Patient-name" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
4 changes: 0 additions & 4 deletions
4
fhir-search/src/test/resources/config/tenant2/fhir-server-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
{ | ||
"__comment": "FHIR Server configuration", | ||
"fhirServer": { | ||
"_comment": "include all search parameters for all resource types (default)", | ||
"searchParameterFilter": { | ||
"*": ["*"] | ||
} | ||
} | ||
} |
52 changes: 35 additions & 17 deletions
52
fhir-search/src/test/resources/config/tenant4/fhir-server-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,41 @@ | ||
{ | ||
"__comment": "FHIR Server configuration", | ||
"fhirServer": { | ||
"searchParameterFilter": { | ||
"Device": [ | ||
"patient", | ||
"organization" | ||
], | ||
"Observation": [ | ||
"code" | ||
], | ||
"Patient": [ | ||
"active", | ||
"address", | ||
"birthdate", | ||
"name" | ||
], | ||
"*": [ | ||
"*" | ||
] | ||
"resources": { | ||
"includeOmittedResourceTypes": true, | ||
"Device": { | ||
"searchParameters": { | ||
"patient": { | ||
"url": "http://hl7.org/fhir/SearchParameter/Device-patient" | ||
}, | ||
"organization": { | ||
"url": "http://hl7.org/fhir/SearchParameter/Device-organization" | ||
} | ||
} | ||
}, | ||
"Observation": { | ||
"searchParameters": { | ||
"code": { | ||
"url": "http://hl7.org/fhir/SearchParameter/clinical-code" | ||
} | ||
} | ||
}, | ||
"Patient": { | ||
"searchParameters": { | ||
"active": { | ||
"url": "http://hl7.org/fhir/SearchParameter/Patient-active" | ||
}, | ||
"address": { | ||
"url": "http://hl7.org/fhir/SearchParameter/individual-address" | ||
}, | ||
"birthdate": { | ||
"url": "http://hl7.org/fhir/SearchParameter/individual-birthdate" | ||
}, | ||
"name": { | ||
"url": "http://hl7.org/fhir/SearchParameter/Patient-name" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
52 changes: 35 additions & 17 deletions
52
fhir-search/src/test/resources/config/tenant5/fhir-server-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,41 @@ | ||
{ | ||
"__comment": "FHIR Server configuration", | ||
"fhirServer": { | ||
"searchParameterFilter": { | ||
"Device": [ | ||
"patient", | ||
"organization" | ||
], | ||
"Observation": [ | ||
"code" | ||
], | ||
"Patient": [ | ||
"active", | ||
"address", | ||
"birthdate", | ||
"name" | ||
], | ||
"*": [ | ||
"*" | ||
] | ||
"resources": { | ||
"includeOmittedResourceTypes": true, | ||
"Device": { | ||
"searchParameters": { | ||
"patient": { | ||
"url": "http://hl7.org/fhir/SearchParameter/Device-patient" | ||
}, | ||
"organization": { | ||
"url": "http://hl7.org/fhir/SearchParameter/Device-organization" | ||
} | ||
} | ||
}, | ||
"Observation": { | ||
"searchParameters": { | ||
"code": { | ||
"url": "http://hl7.org/fhir/SearchParameter/clinical-code" | ||
} | ||
} | ||
}, | ||
"Patient": { | ||
"searchParameters": { | ||
"active": { | ||
"url": "http://hl7.org/fhir/SearchParameter/Patient-active" | ||
}, | ||
"address": { | ||
"url": "http://hl7.org/fhir/SearchParameter/individual-address" | ||
}, | ||
"birthdate": { | ||
"url": "http://hl7.org/fhir/SearchParameter/individual-birthdate" | ||
}, | ||
"name": { | ||
"url": "http://hl7.org/fhir/SearchParameter/Patient-name" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
4 changes: 0 additions & 4 deletions
4
fhir-search/src/test/resources/config/tenant6/fhir-server-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
{ | ||
"__comment": "FHIR Server configuration", | ||
"fhirServer": { | ||
"_comment": "Just hiding this property because 'include-all' should be the default", | ||
"_searchParameterFilter": { | ||
"*": "*" | ||
} | ||
} | ||
} |
Oops, something went wrong.