Comments (7)
@jingtang10 do you mind looking into this?
from android-fhir.
@f-odhiambo cc: @jingtang10
I am picking up this ticket. As discussed I'll be adding two items to QuestionnaireResponse
, questionnaire-launch-time
and questionnaire-submission-time
from android-fhir.
@f-odhiambo cc: @jingtang10 @qiarie
After some discussion and scoping, the following enhancements will be implemented:
- Both
QuestionnaireResponseItemComponent
andQuestionnaireItemComponent
will be included at both the launch and submission stages. A sampleQuestionnaireResponseItemComponent
is illustrated below:
QuestionnaireResponseItemComponent().apply {
linkId = "submission-timestamp"
answer = arrayListOf<QuestionnaireResponseItemAnswerComponent?>().apply {
add(QuestionnaireResponseItemAnswerComponent().apply {
value = StringType("<timestamp>")
})
}
}
- The introduced functionality will be configurable.
from android-fhir.
A sample QR will look like
{
"resourceType": "QuestionnaireResponse",
"item": [
{
"linkId": "1",
"text": "Choose one from the options below",
"answer": [
{
"valueCoding": {
"code": "option-1",
"display": "Option 1"
},
"item": [
{
"linkId": "1-select-one",
"text": "Select one"
}
]
}
]
},
{
"linkId": "launch-timestamp",
"answer": [
{
"valueString": "2024-01-04T11:39:30.040+05:00"
}
]
},
{
"linkId": "submission-timestamp",
"answer": [
{
"valueString": "2024-01-04T11:41:01.095+05:00"
}
]
}
]
}
from android-fhir.
As per the PR comments, there will be a change in the implementation. I will implement the following changes.
- The
authored
field will be used as a submission timestamp. - The launch-timestamp will be added as an extension to the
QuestionnaireResponse
.
from android-fhir.
A new sample implementation
{
"resourceType": "QuestionnaireResponse",
"extension": [
{
"urI": "launch-timestamp",
"valueDateTime'": "2024-02-22T15:25:29+05:00"
}
],
"authored": "2024-02-22715:25:32+05:00",
"item": []
}
from android-fhir.
thanks for creating this discussion @hamza-vd: https://chat.fhir.org/#narrow/stream/179255-questionnaire/topic/Ability.20to.20Capture.20Questionnaire.20Launch.20and.20Submit.20Timestamp
from android-fhir.
Related Issues (20)
- Repeated Group: Anomalous behaviour of enableWhen expressions in a repeated group HOT 7
- Upon deleting a repeatedGroup answer, the other repeatedGroup answers are also reset. HOT 1
- UI/UX Design: The name for a specific field be equidistant from its intended field and another field HOT 2
- UI/UX Design: Warning text (i.e. text that are nudging clinical decision guideline to users) looks visually similar with other fields HOT 1
- Isolating Room Components with hapi dependencies HOT 1
- Incorporate `%context` into variable expression evaluation
- > Could not PUT 'https://maven.pkg.github.com/google/android-fhir/com/google/android/fhir/common/0.1.0-alpha05-SNAPSHOT/common-0.1.0-alpha05-20240710.120641-20.module'. Received status code 409 from server: Conflict HOT 1
- https://google.github.io/android-fhir/ documentation website is broken HOT 4
- Using GitHub Codespaces for documentation writing does not work due to: "The SDK directory is not writable (/opt/android)" error HOT 7
- Dependabot not creating updates? (Which?) HOT 9
- Helper function to match the correct pair of qItem and qrItem HOT 4
- Extending the db.transaction removal fix to the FhirEngine.search HOT 1
- Allow to keep using checkbox group when there the items are at least 10 HOT 2
- Reenable workflow test HOT 1
- Async process for getQuestionnairePages HOT 7
- Paginated Questionnaires: Validate before going to the next page HOT 3
- Flyover text as secondary dialog title HOT 22
- itemMediaView image flicker when loading image HOT 3
- Keyboard hides itself when focusing to open-choice text box HOT 2
- Matching of the correct pair of qItem and qrItem fails for repeated groups HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-fhir.