-
Notifications
You must be signed in to change notification settings - Fork 188
Open
Nadeesha-D-Shalom/ballerina-dev-website
#3Labels
Type/BugBugs that need to be fixed.Bugs that need to be fixed.
Description
Description
In the Ballerina Health Tool documentation, in CDS template generation section, two of the given responses are wrong. They are duplicated from the previous section FHIR template generation.
Document Link: https://ballerina.io/learn/health-tool/#cds-template-generation
Following are the wrong responses shown in the document under CDS template generation section. They are duplicated from the FHIR template generation section of the document, which is just above this section.
- Response shown after "3. Run the service."
$ bal run
Compiling source
healthcare_samples/health.fhir.r4.uscore501.practitioner:1.0.0
Running executable
- Response shown after "You can view the response shown below." (The last response on the document)
{
"resourceType": "Practitioner",
"identifier": [
{
"system": "http://hl7.org/fhir/sid/us-npi",
"use": "official",
"value": "1234567890"
}
],
"meta": {
"lastUpdated": "2021-08-24T10:10:10Z",
"profile": [
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"
]
},
"name": [
{
"given": ["John", "Jacob"],
"prefix": ["Dr."],
"use": "official",
"family": "Smith"
}
],
"id": "1"
}
Following are the responses I got for those two parts after actually running the code and api call.
1.
$ bal run
Compiling source
wso2/cds_service:1.0.0
Running executable
{
"cards": [
{
"summary": "Prior authorization",
"detail": "Obtain prior authorization to avoid claim denials and patient financial liability. Contact: For questions, reach out to the insurance provider or billing department.",
"indicator": "critical",
"source": {
"label": "Static CDS Service Example",
"url": "https://example.com",
"icon": "https://example.com/img/icon-100px.png"
},
"suggestions": [
{
"label": "Kindly get pri-authorization"
}
],
"selectionBehavior": "at-most-one",
"links": [
{
"label": "Prior-auth",
"url": "https://www.acmehealth.com/policies/lab-coverage",
"type": "absolute"
}
]
},
{
"summary": "Alternative centers",
"detail": "Discuss alternative imaging centers with patients to enhance access and affordability. For assistance, reach out to the facility's scheduling department or insurance provider.",
"indicator": "info",
"source": {
"label": "Static CDS Service Example",
"url": "https://example.com",
"icon": "https://example.com/img/icon-100px.png"
},
"suggestions": [
{
"label": "The selected imaging center is far away from your location. Please select nearby one. Suggested: Asiri labs : Col - 3"
}
],
"selectionBehavior": "any"
}
],
"systemActions": []
}
Steps to Reproduce
- Go to CDS template generation section of Ballerina health tool documentation.
- Follow along the CDS template generation example to get the correct outputs.
Version
Latest Version
Environment Details (with versions)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type/BugBugs that need to be fixed.Bugs that need to be fixed.