I tried pdf2dcm, but getting this error.
C:\Users\tatsu>pdf2dcm -m PatientID=123456789 -m PatientSex=M -- C:\Users\tatsu\OneDrive\Desktop\PDF2DCM_TEST.pdf C:\Users\tatsu\OneDrive\Desktop\PDF2DCM_TEST.dcm
pdf2dcm: 123456789
java.lang.IllegalArgumentException: 123456789
at org.dcm4che3.tool.common.CLIUtils.toTag(CLIUtils.java:670)
at org.dcm4che3.tool.common.CLIUtils.toTags(CLIUtils.java:660)
at org.dcm4che3.tool.common.CLIUtils.addAttributes(CLIUtils.java:788)
at org.dcm4che3.tool.pdf2dcm.Pdf2Dcm.createStaticMetadata(Pdf2Dcm.java:199)
at org.dcm4che3.tool.pdf2dcm.Pdf2Dcm.initialize(Pdf2Dcm.java:188)
at org.dcm4che3.tool.pdf2dcm.Pdf2Dcm.main(Pdf2Dcm.java:98)