Skip to content

Commit

Permalink
Address PR review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiyanwso2 committed Sep 3, 2024
1 parent adb0337 commit 836ee66
Showing 1 changed file with 6 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,14 @@ Before running this sample, make sure you have the following:

To get started with this sample, follow these steps:

1. Run ```bal new crd_service -t ballerinax/health.fhir.templates.crd```
2. Navigate to crd_server folder.
3. Create a Config.toml file in the root level of the project.
3. Add the relevant CDS hooks to the Config.toml file. The property name should contains the fully qualified name with package name. Please check the sample below.
3. Complete the decision system connectivity implementation. The ```impl_decision_system_connection``` file contains placeholder functions that must be implemented to connect with external decision systems. Please follow the instructions in that file itself.
1. Complete the decision system connectivity implementation. The ```impl_decision_system_connection``` file contains placeholder functions that must be implemented to connect with external decision systems. Please follow the instructions in that file itself.

2. Complete the feedback system connectivity implementation. The ```implFeedbackSystemConnection``` file contains placeholder functions that must be implemented to connect with external feedback systems. Please follow the instructions in that file itself.

3. [Optional] By default this service will run in port 8080, if needed, you can change the port in the service.bal file.

4. Run the project using the following command:

```bash
$ bal run
```

### Sample Config.toml file
```
[[ballerinax.health.fhir.cds.cds_services]]
hook = "patient-view"
title = "Static CDS Service Example"
description = "An example of a CDS Service that returns a static set of cards"
id = "static-patient-greeter"
[ballerinax.health.fhir.cds.cds_services.prefetch]
patientToGreet = "Patient/{{context.patientId}}"
```

0 comments on commit 836ee66

Please sign in to comment.