Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 85e40111 authored by Alexandre Pocinho's avatar Alexandre Pocinho
Browse files

change name of system env in Post PixMQuery

parent cd1dc568
No related branches found
No related tags found
3 merge requests!10Remove hardcoded mandatory targetSytem + upgrade HAPI FHIR version,!9Implements ITI-104 transaction + external validation,!8Implements ITI-104 features with external validation process
......@@ -10,13 +10,13 @@ import java.util.List;
public class ITI83PostPIXmQueryProfile implements ProfilesValidators {
public static final String PIXM_QUERY_PROFILE = System.getenv("PIXM_PARAMETERS_PROFILE");
public static final String PIXM_PARAMETERS_PROFILE = System.getenv("PIXM_PARAMETERS_PROFILE");
@Override
public List<ValidationReport> validateRequest(HttpServletRequest request, Resource resource, String profileId) {
List<ValidationReport> reports = new ArrayList<>();
if (isPostOrPutRequest(request)) {
reports.add(validateWithFhir(resource, PIXM_QUERY_PROFILE));
reports.add(validateWithFhir(resource, PIXM_PARAMETERS_PROFILE));
}
reports.add(validateWithHttpValidator(request, profileId));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment