Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
MAT-7855 fix vulnerabilty
Browse files Browse the repository at this point in the history
  • Loading branch information
adongare committed Nov 18, 2024
1 parent bedb7bb commit c5adca2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
7 changes: 4 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ const DemographicsSection = ({ canEdit }) => {
const newExpiredElement: DataElement = new PatientCharacteristicExpired(
expiredElement
);
newExpiredElement.dataE

Check failure on line 215 in src/components/editTestCase/qdm/LeftPanel/ElementsTab/Demographics/DemographicsSection.tsx

View workflow job for this annotation

GitHub Actions / Checkout, install, lint, build and test with coverage

Insert `;`
newExpiredElement.expiredDatetime = val;
setLivingStatusDataElement(newExpiredElement);
dispatch({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,14 @@ export const getEthnicityDataElement = (

export const getLivingStatusDataElement = (): DataElement => {
const pce: DataElement = new PatientCharacteristicExpired();
pce.dataElementCodes = [];
pce.dataElementCodes = [
{
system: "2.16.840.1.113883.6.96",
version: "20240901",
code: "184115007",
display: "Patient sex unknown (finding)",
}

Check failure on line 178 in src/components/editTestCase/qdm/LeftPanel/ElementsTab/Demographics/DemographicsSectionConst.tsx

View workflow job for this annotation

GitHub Actions / Checkout, install, lint, build and test with coverage

Insert `,`
];
return pce;
};

Expand Down

0 comments on commit c5adca2

Please sign in to comment.