Skip to content

Commit

Permalink
Merge dev to main for Hard-Release-2024-11-27
Browse files Browse the repository at this point in the history
  • Loading branch information
drbgfc authored Nov 27, 2024
2 parents fe990c6 + 9ecac84 commit 8e94100
Show file tree
Hide file tree
Showing 20 changed files with 7,635 additions and 7,252 deletions.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { getServerSession } from 'next-auth'
import { authOptions } from '@/lib/auth'

export const metadata: Metadata = {
title: 'SITE UI 4.0',
title: 'SITE',
description:
'The Standards Implementation and Testing Environment (SITE) is a centralized collection ' +
'of testing tools and resources designed to assist health IT developers and health IT users fully ' +
Expand Down
4 changes: 2 additions & 2 deletions src/assets/NotificationService.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ export const fetchNotifications = async (): Promise<Announcement[]> => {
title: 'Monthly Updates',
content:
'We regularly implement monthly updates to enhance your experience with our SITE tools. To stay informed about the latest features, improvements, and any important changes, we encourage you to review our release notes. You can find them in the bottom left corner of the navigation. Keeping up with these updates will help you maximize the benefits of our tools and ensure you’re using them to their full potential!',
date: '2024-11-13',
date: '2024-11-20',
},
{
id: '2',
title: 'SITE UI 4 Released!',
content:
'The Standards Implementation & Testing Environment (SITE) have undergone comprehensive enhancements to improve security, usability, functionality, and performance, offering a more intuitive and efficient user experience.',
date: '2024-11-13',
date: '2024-11-20',
},
]
}
7 changes: 4 additions & 3 deletions src/components/c-cda/scorecard/ScorecardHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export default function ScorecardHome() {

try {
const newScorecardResponseJson: ScorecardJsonResponseType = getDemoSample(demoSampleOption)
setScorecardResponseJson(newScorecardResponseJson)
setScorecardResponseJson({ ...newScorecardResponseJson })
} catch (error) {
const errorMessagePrefix = 'Error running Scorecard Demo'
console.error(
Expand All @@ -165,7 +165,7 @@ export default function ScorecardHome() {
${error}. Please try again later.`)
}

eventTrack('Sumbit Form for Try Me Demo', 'Scorecard', 'Run the Try Me Demo with selected file and view results')
eventTrack('Submit Form for Try Me Demo', 'Scorecard', 'Run the Try Me Demo with selected file and view results')
}

const getFileName = (data: File[]) => {
Expand Down Expand Up @@ -398,7 +398,8 @@ export default function ScorecardHome() {

const displayResults = (isValidResults: boolean, errorMessage: string | null) => {
if (isValidResults) {
setResultsDialogState(true)
setResultsDialogState(false)
setTimeout(() => setResultsDialogState(true), 0)
} else {
const finalErrorMessage = `Error: ${errorMessage ? errorMessage : 'Unknown error message'} `
console.error(finalErrorMessage)
Expand Down
1,598 changes: 795 additions & 803 deletions src/components/c-cda/scorecard/serverside/samples/json/highScoringSample.json

Large diffs are not rendered by default.

2,822 changes: 1,367 additions & 1,455 deletions src/components/c-cda/scorecard/serverside/samples/json/lowScoringSample_r11.json

Large diffs are not rendered by default.

2,302 changes: 1,129 additions & 1,173 deletions src/components/c-cda/scorecard/serverside/samples/json/lowScoringSample_r21.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -554,10 +554,10 @@
"igReferenceUrl": "http://www.hl7.org/implement/standards/product_brief.cfm?product_id=379",
"industryAverageScore": 76,
"industryAverageGrade": "C",
"numberOfDocumentsScored": 214821,
"numberOfDocumentsScored": 216563,
"ccdaVersion": "R2.1",
"passedCertification": null,
"numberOfDocsScoredPerCcdaDocumentType": 126233,
"numberOfDocsScoredPerCcdaDocumentType": 127630,
"industryAverageScoreForCcdaDocumentType": 75,
"industryAverageGradeForCcdaDocumentType": "C",
"numberOfRules": 27,
Expand All @@ -566,12 +566,12 @@
"totalCertificationErrorChecks": 175,
"totalConformanceErrorChecks": 8396,
"totalGradesGiven": {
"aPlusGrades": 29463,
"aMinusGrades": 15274,
"bPlusGrades": 9082,
"bMinusGrades": 11614,
"cGrades": 87690,
"dGrades": 62555
"aPlusGrades": 29722,
"aMinusGrades": 15308,
"bPlusGrades": 9102,
"bMinusGrades": 11709,
"cGrades": 88181,
"dGrades": 63398
}
},
"referenceResults": [
Expand Down
2,448 changes: 1,205 additions & 1,243 deletions src/components/c-cda/scorecard/serverside/samples/json/sampleWithErrors.json

Large diffs are not rendered by default.

2,390 changes: 1,172 additions & 1,218 deletions src/components/c-cda/scorecard/serverside/samples/json/sampleWithIGErrors.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
{
"errorMessage": "HL7 CDA Schema Errors must be addressed before a score can be provided.",
"filename": "sampleWithSchemaErrors.xml",
"ccdaDocumentType": "CCD",
"results": null,
"referenceResults": [],
"schemaErrorList": [
{
"description": "The 'validateST' invariant is violated on 'org.eclipse.mdht.uml.hl7.datatypes.impl.ENXPImpl@310d33d{http:///resource33.xml#//@clinicalDocument/@recordTarget.0/@patientRole/@patient/@name.0/@given.0}'",
"type": "C-CDA MDHT Conformance Error",
"xPath": "/ClinicalDocument/recordTarget/patientRole/patient/name/given",
"validatorConfiguredXpath": null,
"documentLineNumber": "56",
"actualCode": null,
"actualCodeSystem": null,
"actualCodeSystemName": null,
"actualDisplayName": null,
"schemaError": true,
"dataTypeSchemaError": true,
"sectionName": null
},
{
"description": "The 'validateST' invariant is violated on 'org.eclipse.mdht.uml.hl7.datatypes.impl.ENXPImpl@cd15055{http:///resource33.xml#//@clinicalDocument/@recordTarget.0/@patientRole/@patient/@name.0/@family.0}'",
"type": "C-CDA MDHT Conformance Error",
"xPath": "/ClinicalDocument/recordTarget/patientRole/patient/name/family",
"validatorConfiguredXpath": null,
"documentLineNumber": "60",
"actualCode": null,
"actualCodeSystem": null,
"actualCodeSystemName": null,
"actualDisplayName": null,
"schemaError": true,
"dataTypeSchemaError": true,
"sectionName": null
},
{
"description": "The 'validateST' invariant is violated on 'org.eclipse.mdht.uml.hl7.datatypes.impl.ENXPImpl@50dc304a{http:///resource33.xml#//@clinicalDocument/@recordTarget.0/@patientRole/@patient/@name.0/@suffix.0}'",
"type": "C-CDA MDHT Conformance Error",
"xPath": "/ClinicalDocument/recordTarget/patientRole/patient/name/suffix",
"validatorConfiguredXpath": null,
"documentLineNumber": "62",
"actualCode": null,
"actualCodeSystem": null,
"actualCodeSystemName": null,
"actualDisplayName": null,
"schemaError": true,
"dataTypeSchemaError": true,
"sectionName": null
}
],
"schemaErrors": true,
"success": false
}
"errorMessage": "HL7 CDA Schema Errors must be addressed before a score can be provided.",
"filename": "sampleWithSchemaErrors.xml",
"ccdaDocumentType": "CCD",
"results": null,
"referenceResults": [],
"schemaErrorList": [
{
"description": "The 'validateST' invariant is violated on 'org.eclipse.mdht.uml.hl7.datatypes.impl.ENXPImpl@252d9951{http:///resource1866.xml#//@clinicalDocument/@recordTarget.0/@patientRole/@patient/@name.0/@given.0}'",
"type": "C-CDA MDHT Conformance Error",
"xPath": "/ClinicalDocument/recordTarget/patientRole/patient/name/given",
"validatorConfiguredXpath": null,
"documentLineNumber": "57",
"actualCode": null,
"actualCodeSystem": null,
"actualCodeSystemName": null,
"actualDisplayName": null,
"schemaError": true,
"dataTypeSchemaError": true,
"sectionName": null
},
{
"description": "The 'validateST' invariant is violated on 'org.eclipse.mdht.uml.hl7.datatypes.impl.ENXPImpl@5cd238a3{http:///resource1866.xml#//@clinicalDocument/@recordTarget.0/@patientRole/@patient/@name.0/@family.0}'",
"type": "C-CDA MDHT Conformance Error",
"xPath": "/ClinicalDocument/recordTarget/patientRole/patient/name/family",
"validatorConfiguredXpath": null,
"documentLineNumber": "61",
"actualCode": null,
"actualCodeSystem": null,
"actualCodeSystemName": null,
"actualDisplayName": null,
"schemaError": true,
"dataTypeSchemaError": true,
"sectionName": null
},
{
"description": "The 'validateST' invariant is violated on 'org.eclipse.mdht.uml.hl7.datatypes.impl.ENXPImpl@503254c4{http:///resource1866.xml#//@clinicalDocument/@recordTarget.0/@patientRole/@patient/@name.0/@suffix.0}'",
"type": "C-CDA MDHT Conformance Error",
"xPath": "/ClinicalDocument/recordTarget/patientRole/patient/name/suffix",
"validatorConfiguredXpath": null,
"documentLineNumber": "63",
"actualCode": null,
"actualCodeSystem": null,
"actualCodeSystemName": null,
"actualDisplayName": null,
"schemaError": true,
"dataTypeSchemaError": true,
"sectionName": null
}
],
"schemaErrors": true,
"success": false
}
Loading

0 comments on commit 8e94100

Please sign in to comment.