From 1aa7139f9e05b07db3875415cfa572fbd418b41b Mon Sep 17 00:00:00 2001 From: lmd59 Date: Fri, 10 May 2024 14:03:01 -0400 Subject: [PATCH] prettier fix --- app/src/pages/review/[resourceType]/[id].tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/src/pages/review/[resourceType]/[id].tsx b/app/src/pages/review/[resourceType]/[id].tsx index dad07c1..b2e4f88 100644 --- a/app/src/pages/review/[resourceType]/[id].tsx +++ b/app/src/pages/review/[resourceType]/[id].tsx @@ -114,21 +114,24 @@ export default function CommentPage() { newExtension.push({ url: 'authoredOn', valueDateTime: currentDate }); } - if(resource){ + if (resource) { if (resource.extension) { resource.extension.push({ extension: newExtension, url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-artifactComment' }); additions.extension = resource.extension; - } else{ + } else { resource.extension = [ - { extension: newExtension, url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-artifactComment' } + { + extension: newExtension, + url: 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-artifactComment' + } ]; additions.extension = resource.extension; } // update resource dates - + resource.date = currentDate; additions.date = resource.date; resource.lastReviewDate = currentDate;