mozzy
(Moses Mutesasira)
June 23, 2019, 10:27am
1
Following the disccusion About creating Tickets for harvesting features into reff-app , i will need more clarification about harvesting the Backend Api Functionality for the Growth Charts.
See Ticket for harvesting the backend-Api Functionality .
I’ll need to harvest certain methods from the isante-plus service , which doesnt exist in our reff ap.
The following functions and their implementation need to be harvested from the isante-plus service class ie
getPatientBMIsAcrossAnAgeDifference()
getHeightsAtGivenPatientAges()
getWeightsAtGivenPatientAges()
getHeadCircumferenceAtGivenPatientAges()
The following issues need to be defined clearly
Which module would be more suitable to contain the backend functionality ?
Would i need to created a new service class for this functionality ?? what would be the best suitable name for the new service class?? Or else …
what existing service class would be best to contain this new functionality ??
cc @dev2 @dev3 @dev4 @dev5 @c.antwi @ball
2 Likes
mozzy
(Moses Mutesasira)
June 24, 2019, 8:46am
2
To give A little details on how the feature will work,
After Logging in the reff-app,
you’ll seach the patient , and go to the patient dashboard and acces the “Growth curve ” link
mozzy
(Moses Mutesasira)
June 24, 2019, 8:50am
3
On the Growth chart page, there will be two tabs. one for the WHO growth charts and another for the CDC growth charts
mozzy
(Moses Mutesasira)
June 24, 2019, 8:54am
4
Then under each of the tabs you can acces the patient Growth curves , as per WHO standards for WHO charts and as per the CDC standards for CDC charts
,
CDC Growth chat
WHO Growth chats
mozzy
(Moses Mutesasira)
June 24, 2019, 11:19am
5
Hi @ball , Can you confirm that this is the right feature we need to harvest in ??
@dkayiwa asked for your cofrimation here.
ball
(Ellen Ball)
June 24, 2019, 2:57pm
6
@mozzy You are exactly right about the functionality.
When this is harvested, this code should use CIEL mappings or global property for the appropriate concepts:
weight (kg) CIEL:5089
height (cm) CIEL:5090
head circumference (cm) CIEL:5314
size (lying position)? Is this different from height, @akanter ?
mozzy
(Moses Mutesasira)
June 25, 2019, 6:47am
7
mozzy:
Which module would be more suitable to contain the backend functionality ?
Would i need to created a new service class for this functionality ?? what would be the best suitable name for the new service class?? Or else …
what existing service class would be best to contain this new functionality ??
CC @dkayiwa @k.joseph , Urgently waiting for your comments on this
mozzy
(Moses Mutesasira)
June 25, 2019, 7:20am
8
When i take a look at all the openmrs module-depencies for core apps module ie
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<emrapiVersion>1.26.0</emrapiVersion>
<uiframeworkVersion>3.15.0</uiframeworkVersion>
<eventVersion>2.5</eventVersion>
<htmlformentryVersion>3.3.0</htmlformentryVersion>
<appuiVersion>1.7</appuiVersion>
<appframeworkVersion>2.9</appframeworkVersion>
<openMRSVersion>1.12.0</openMRSVersion>
<serialization.xstreamVersion>0.2.12</serialization.xstreamVersion>
<calculationVersion>1.2</calculationVersion>
<reportingVersion>0.10.4</reportingVersion>
<providermanagementVersion>2.9.0</providermanagementVersion>
<idgenVersion>4.4.0</idgenVersion>
<metadatamappingVersion>1.3.2</metadatamappingVersion>
<uicommonsVersion>2.3.0</uicommonsVersion>
<webservicesRestVersion>2.17</webservicesRestVersion>
, and also looking at the general trend for most Apps in core apps , they have their Back-end API functionality in the appFrameworkService in the Appframework module.
I would suggest that theAppframework module and appFrameworkService would be the suitable Module and service respectively to contain the Backend Api functionality for the Growth charts.
CC @k.joseph and @dkayiwa , waitng for your confirmation
dkayiwa
(Daniel Kayiwa)
June 25, 2019, 8:22am
9
It would be the coreapps module.
1 Like
mozzy
(Moses Mutesasira)
June 25, 2019, 8:23am
10
Alright , thanks @dkayiwa . So let me go ahead with the work