Skip to content
This repository has been archived by the owner on Sep 11, 2019. It is now read-only.

PROM heading #81

Open
anna-otrokhova opened this issue Feb 12, 2018 · 1 comment
Open

PROM heading #81

anna-otrokhova opened this issue Feb 12, 2018 · 1 comment

Comments

@anna-otrokhova
Copy link

anna-otrokhova commented Feb 12, 2018

New heading is planned: https://projects.invisionapp.com/share/CSBN9XEYX#/screens/278187375

We suppose to get this kind of fields in responses to API requests:
GET List
Response
[
{
name: string,
score: number,
dateCreated: number,
source: string,
sourceId: string
},
]

GET Detail
Response
{
name: string,
records: [
{
date: string, (05-Jan-2018 the same as we get on Transfer of Care)
name: string,
source: string,
sourceId: string,
type: string,
typeTitle: string,
}
]
score: number,
dateCreated: number,
specific_q1: string,
specific_q2: string,
specific_q3: string,
specific_q4: string,
source: string,
sourceId: string
}

PUT/POST edit/create Detail
Response
{
name: string,
records: [
{
date: string, (05-Jan-2018 the same as we get on Transfer of Care)
name: string,
source: string,
sourceId: string,
type: string,
typeTitle: string,
}
]
score: number,
dateCreated: number,
specific_q1: string,
specific_q2: string,
specific_q3: string,
specific_q4: string,
source: string,
sourceId: string,
userId: number
}

This document might be helpful http://docs.pulsetile.com/react-proms.html#proms-detail
Related issue: PulseTile/PulseTile-React-Core#119

@tony-shannon
Copy link
Contributor

thanks @anna-otrokhova

Hi @freshehr
Could you take a look at this requirement at the UI /API level here and let us know what openEHR template we could use to persist this generic PROMS data please?

thanks
T

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants