Skip to content

Commit

Permalink
Bump "0.3.9"
Browse files Browse the repository at this point in the history
Support valueAttachment
  • Loading branch information
ir4y committed Nov 19, 2024
1 parent ab94a75 commit 77c0174
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdc-qrf/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sdc-qrf",
"license": "MIT",
"version": "0.3.8",
"version": "0.3.9",
"scripts": {
"build": "tsc",
"coverage": "jest --coverage --coverageReporters=text-lcov | coveralls",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function processAnswer(
dateTime: 'valueDateTime',
time: 'valueTime',
Quantity: 'valueQuantity',
Attachment: 'valueAttachment',
};
for (const key in valueMappings) {
if (key in value) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {
Attachment,
Coding as FHIRCoding,
QuestionnaireResponseItem as FHIRQuestionnaireResponseItem,
QuestionnaireResponseItemAnswer as FHIRQuestionnaireResponseItemAnswer,
Expand Down Expand Up @@ -41,6 +42,7 @@ function processAnswer(
}),
valueTime: (value: string) => ({ time: value }),
valueQuantity: (value: FHIRCoding) => ({ Quantity: value }),
valueAttachment: (value: Attachment) => ({ Attachment: value }),
};

for (const key in valueHandlers) {
Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "web",
"type": "module",
"version": "0.3.8",
"version": "0.3.9",
"private": true,
"dependencies": {
"@codemirror/commands": "^6.2.4",
Expand Down

0 comments on commit 77c0174

Please sign in to comment.