Skip to content

Commit

Permalink
Merge pull request #327 from DBCG/fix_activitydefinitionapplyprovider…
Browse files Browse the repository at this point in the history
…_request_intent

Fixed the intent of generated ServiceRequest and ProcedureRequest res…
  • Loading branch information
Adam Stevenson authored Jul 26, 2021
2 parents 64183f0 + 65f54e1 commit 6ff2c7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private ProcedureRequest resolveProcedureRequest(ActivityDefinition activityDefi
// status, intent, code, and subject are required
ProcedureRequest procedureRequest = new ProcedureRequest();
procedureRequest.setStatus(ProcedureRequest.ProcedureRequestStatus.DRAFT);
procedureRequest.setIntent(ProcedureRequest.ProcedureRequestIntent.ORDER);
procedureRequest.setIntent(ProcedureRequest.ProcedureRequestIntent.PROPOSAL);
String patientReferenceString = patientId;
URI patientIdAsUri = URI.create(patientReferenceString);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ private ServiceRequest resolveServiceRequest(ActivityDefinition activityDefiniti
// status, intent, code, and subject are required
ServiceRequest serviceRequest = new ServiceRequest();
serviceRequest.setStatus(ServiceRequest.ServiceRequestStatus.DRAFT);
serviceRequest.setIntent(ServiceRequest.ServiceRequestIntent.ORDER);
serviceRequest.setIntent(ServiceRequest.ServiceRequestIntent.PROPOSAL);
String patientReferenceString = patientId;
URI patientIdAsUri = URI.create(patientReferenceString);

Expand Down

0 comments on commit 6ff2c7b

Please sign in to comment.