{"id":162203,"date":"2024-11-04T12:59:20","date_gmt":"2024-11-04T04:59:20","guid":{"rendered":"https:\/\/server.hk\/cnblog\/162203\/"},"modified":"2024-11-04T12:59:22","modified_gmt":"2024-11-04T04:59:22","slug":"%e6%aa%a2%e6%9f%a5-oracle-dicom-%e5%b0%8d%e8%b1%a1%e7%9a%84%e5%85%b8%e5%9e%8b%e7%a4%ba%e4%be%8b","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/162203\/","title":{"rendered":"\u6aa2\u67e5 Oracle DICOM \u5c0d\u8c61\u7684\u5178\u578b\u793a\u4f8b"},"content":{"rendered":"<h1 id=\"%e6%aa%a2%e6%9f%a5-oracle-dicom-%e5%b0%8d%e8%b1%a1%e7%9a%84%e5%85%b8%e5%9e%8b%e7%a4%ba%e4%be%8b-yIKIbWDpLv\">\u6aa2\u67e5 Oracle DICOM \u5c0d\u8c61\u7684\u5178\u578b\u793a\u4f8b<\/h1>\n<p>\u5728\u91ab\u7642\u5f71\u50cf\u9818\u57df\uff0cDICOM\uff08\u6578\u5b57\u5f71\u50cf\u548c\u901a\u4fe1\u91ab\u5b78\uff09\u6a19\u6e96\u88ab\u5ee3\u6cdb\u61c9\u7528\u65bc\u5f71\u50cf\u7684\u5b58\u5132\u3001\u50b3\u8f38\u548c\u986f\u793a\u3002Oracle \u4f5c\u70ba\u4e00\u500b\u5f37\u5927\u7684\u6578\u64da\u5eab\u7ba1\u7406\u7cfb\u7d71\uff0c\u63d0\u4f9b\u4e86\u591a\u7a2e\u5de5\u5177\u4f86\u8655\u7406 DICOM \u5c0d\u8c61\u3002\u672c\u6587\u5c07\u63a2\u8a0e\u5982\u4f55\u6aa2\u67e5 Oracle \u4e2d\u7684 DICOM \u5c0d\u8c61\uff0c\u4e26\u63d0\u4f9b\u4e00\u4e9b\u5178\u578b\u7684\u793a\u4f8b\u4f86\u5e6b\u52a9\u7406\u89e3\u9019\u4e00\u904e\u7a0b\u3002<\/p>\n<h2 id=\"%e4%bb%80%e9%ba%bc%e6%98%af-dicom%ef%bc%9f-yIKIbWDpLv\">\u4ec0\u9ebc\u662f DICOM\uff1f<\/h2>\n<p>DICOM \u662f\u4e00\u7a2e\u570b\u969b\u6a19\u6e96\uff0c\u65e8\u5728\u4fc3\u9032\u91ab\u7642\u5f71\u50cf\u7684\u4e92\u64cd\u4f5c\u6027\u3002\u5b83\u5b9a\u7fa9\u4e86\u5f71\u50cf\u7684\u683c\u5f0f\u3001\u5b58\u5132\u548c\u50b3\u8f38\u7684\u5354\u8b70\u3002DICOM \u6587\u4ef6\u901a\u5e38\u5305\u542b\u5f71\u50cf\u6578\u64da\u4ee5\u53ca\u8207\u5f71\u50cf\u76f8\u95dc\u7684\u5143\u6578\u64da\uff0c\u4f8b\u5982\u60a3\u8005\u4fe1\u606f\u3001\u6aa2\u67e5\u985e\u578b\u548c\u5f71\u50cf\u7372\u53d6\u6642\u9593\u7b49\u3002<\/p>\n<h2 id=\"oracle-%e4%b8%ad%e7%9a%84-dicom-%e5%b0%8d%e8%b1%a1-yIKIbWDpLv\">Oracle \u4e2d\u7684 DICOM \u5c0d\u8c61<\/h2>\n<p>\u5728 Oracle \u6578\u64da\u5eab\u4e2d\uff0cDICOM \u5c0d\u8c61\u901a\u5e38\u4ee5 BLOB\uff08Binary Large Object\uff09\u683c\u5f0f\u5b58\u5132\u3002\u9019\u4f7f\u5f97\u6578\u64da\u5eab\u80fd\u5920\u6709\u6548\u5730\u8655\u7406\u5927\u91cf\u7684\u5f71\u50cf\u6578\u64da\u3002\u70ba\u4e86\u6aa2\u67e5\u548c\u7ba1\u7406\u9019\u4e9b DICOM \u5c0d\u8c61\uff0cOracle \u63d0\u4f9b\u4e86\u4e00\u4e9b SQL \u67e5\u8a62\u548c PL\/SQL \u7a0b\u5e8f\u3002<\/p>\n<h3 id=\"%e6%aa%a2%e6%9f%a5-dicom-%e5%b0%8d%e8%b1%a1%e7%9a%84%e5%9f%ba%e6%9c%ac%e6%ad%a5%e9%a9%9f-yIKIbWDpLv\">\u6aa2\u67e5 DICOM \u5c0d\u8c61\u7684\u57fa\u672c\u6b65\u9a5f<\/h3>\n<ol>\n<li><strong>\u9023\u63a5\u5230 Oracle \u6578\u64da\u5eab\uff1a<\/strong>\u4f7f\u7528\u9069\u7576\u7684\u5de5\u5177\uff08\u5982 SQL*Plus \u6216 Oracle SQL Developer\uff09\u9023\u63a5\u5230\u6578\u64da\u5eab\u3002<\/li>\n<li><strong>\u67e5\u8a62 DICOM \u5c0d\u8c61\uff1a<\/strong>\u4f7f\u7528 SQL \u67e5\u8a62\u4f86\u6aa2\u7d22 DICOM \u5c0d\u8c61\u3002<\/li>\n<li><strong>\u6aa2\u67e5\u5143\u6578\u64da\uff1a<\/strong>\u5206\u6790 DICOM \u5c0d\u8c61\u7684\u5143\u6578\u64da\uff0c\u4ee5\u78ba\u4fdd\u5176\u5b8c\u6574\u6027\u548c\u6b63\u78ba\u6027\u3002<\/li>\n<\/ol>\n<h3 id=\"%e7%a4%ba%e4%be%8b%ef%bc%9a%e6%9f%a5%e8%a9%a2-dicom-%e5%b0%8d%e8%b1%a1-yIKIbWDpLv\">\u793a\u4f8b\uff1a\u67e5\u8a62 DICOM \u5c0d\u8c61<\/h3>\n<p>\u4ee5\u4e0b\u662f\u4e00\u500b\u7c21\u55ae\u7684 SQL \u67e5\u8a62\u793a\u4f8b\uff0c\u7528\u65bc\u6aa2\u7d22\u5b58\u5132\u5728 Oracle \u6578\u64da\u5eab\u4e2d\u7684 DICOM \u5c0d\u8c61\uff1a<\/p>\n<pre><code>\nSELECT patient_id, study_id, series_id, image_data\nFROM dicom_images\nWHERE patient_id = '12345';\n<\/code><\/pre>\n<p>\u5728\u9019\u500b\u67e5\u8a62\u4e2d\uff0c\u6211\u5011\u5f9e\u540d\u70ba <code>dicom_images<\/code> \u7684\u8868\u4e2d\u6aa2\u7d22\u7279\u5b9a\u60a3\u8005\u7684\u5f71\u50cf\u6578\u64da\u3002\u9019\u4e9b\u6578\u64da\u5305\u62ec\u60a3\u8005 ID\u3001\u7814\u7a76 ID\u3001\u7cfb\u5217 ID \u548c\u5f71\u50cf\u6578\u64da\uff08\u4ee5 BLOB \u683c\u5f0f\u5b58\u5132\uff09\u3002<\/p>\n<h3 id=\"%e6%aa%a2%e6%9f%a5-dicom-%e5%85%83%e6%95%b8%e6%93%9a-yIKIbWDpLv\">\u6aa2\u67e5 DICOM \u5143\u6578\u64da<\/h3>\n<p>\u6aa2\u67e5 DICOM \u5c0d\u8c61\u7684\u5143\u6578\u64da\u662f\u78ba\u4fdd\u5f71\u50cf\u6578\u64da\u5b8c\u6574\u6027\u7684\u91cd\u8981\u6b65\u9a5f\u3002\u4ee5\u4e0b\u662f\u4e00\u500b PL\/SQL \u7a0b\u5e8f\u793a\u4f8b\uff0c\u7528\u65bc\u6aa2\u67e5 DICOM \u5c0d\u8c61\u7684\u5143\u6578\u64da\uff1a<\/p>\n<pre><code>\nDECLARE\n    v_patient_id VARCHAR2(50);\n    v_study_id VARCHAR2(50);\nBEGIN\n    SELECT patient_id, study_id\n    INTO v_patient_id, v_study_id\n    FROM dicom_images\n    WHERE image_data IS NOT NULL;\n\n    DBMS_OUTPUT.PUT_LINE('Patient ID: ' || v_patient_id);\n    DBMS_OUTPUT.PUT_LINE('Study ID: ' || v_study_id);\nEND;\n<\/code><\/pre>\n<p>\u9019\u6bb5\u7a0b\u5e8f\u5c07\u6aa2\u7d22\u7b2c\u4e00\u500b DICOM \u5c0d\u8c61\u7684\u60a3\u8005 ID \u548c\u7814\u7a76 ID\uff0c\u4e26\u5c07\u5176\u8f38\u51fa\u5230\u63a7\u5236\u53f0\u3002\u9019\u6a23\u53ef\u4ee5\u5feb\u901f\u6aa2\u67e5 DICOM \u5c0d\u8c61\u7684\u57fa\u672c\u4fe1\u606f\u3002<\/p>\n<h2 id=\"%e7%b5%90%e8%ab%96-yIKIbWDpLv\">\u7d50\u8ad6<\/h2>\n<p>\u6aa2\u67e5 Oracle \u4e2d\u7684 DICOM \u5c0d\u8c61\u662f\u4e00\u500b\u91cd\u8981\u7684\u904e\u7a0b\uff0c\u6d89\u53ca\u5230\u6578\u64da\u7684\u6aa2\u7d22\u548c\u5143\u6578\u64da\u7684\u9a57\u8b49\u3002\u901a\u904e\u4f7f\u7528 SQL \u67e5\u8a62\u548c PL\/SQL \u7a0b\u5e8f\uff0c\u91ab\u7642\u6a5f\u69cb\u53ef\u4ee5\u6709\u6548\u5730\u7ba1\u7406\u548c\u6aa2\u67e5\u5176\u5f71\u50cf\u6578\u64da\uff0c\u78ba\u4fdd\u6578\u64da\u7684\u5b8c\u6574\u6027\u548c\u6e96\u78ba\u6027\u3002<\/p>\n<p>\u5982\u9700\u9032\u4e00\u6b65\u4e86\u89e3\u5982\u4f55\u4f7f\u7528 <a href=\"https:\/\/server.hk\">\u9999\u6e2f VPS<\/a> \u4f86\u652f\u6301\u60a8\u7684 DICOM \u6578\u64da\u7ba1\u7406\u9700\u6c42\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\u4ee5\u7372\u53d6\u66f4\u591a\u4fe1\u606f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6aa2\u67e5 Oracle DICOM \u5c0d\u8c61\u7684\u5178\u578b\u793a\u4f8b\uff0c\u4e86\u89e3\u5982\u4f55\u6709\u6548\u7ba1\u7406\u548c\u5206\u6790\u91ab\u7642\u5f71\u50cf\u6578\u64da\uff0c\u63d0\u5347\u8a3a\u65b7\u6548\u7387\u3002<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[],"class_list":["post-162203","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/162203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=162203"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/162203\/revisions"}],"predecessor-version":[{"id":162204,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/162203\/revisions\/162204"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=162203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=162203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=162203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}