dsh-nurse-record-check 0.2.1 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.3
4
+
5
+ - Rework the README first screen. The H1 now names what the plugin checks rather
6
+ than repeating the package name, and a question-and-answer table and a standards
7
+ table come before the boundary paragraph.
8
+
9
+ The substance is unchanged and the boundary paragraph is verbatim: in a
10
+ compliance tool that paragraph is what stops a wrong "pass" being read as
11
+ approval, so it moved rather than shrank. What changed is the order - a reader
12
+ or an extractor previously met eleven badges, an install command and a
13
+ disclaimer before learning what the plugin does. The Q&A rows are derived from
14
+ each plugin's own rules and the standards table from the rule pack's
15
+ `document`/`number` fields, so no answer and no standard is hand-typed.
16
+
17
+ All five languages were restructured together; `check:readmes` holds them to the
18
+ same section count, install command and configuration keys.
19
+
20
+ ## 0.2.2
21
+
22
+ - Localise `locale/zh.json` and `locale/en.json`. Both still carried the
23
+ generator's placeholders, so the plugin named itself with the bare repository
24
+ name and described itself as scaffold output wherever the locale bundle is
25
+ read.
26
+ - Correct `AGENTS.md`: the rule pack holds 12 rules, not 0, and it lives at
27
+ `rules/nurse-record.yaml`.
28
+
3
29
  ## 0.2.1
4
30
 
5
31
  - Ship `CHANGELOG.md` and `SECURITY.md` inside the package. `files` is an
package/README-es.md CHANGED
@@ -1,4 +1,30 @@
1
- # dsh-nurse-record-check
1
+ # dsh-nurse-record-check — Verificación de plazos, firmas y formularios de evaluación en el registro de enfermería
2
+
3
+ `dsh-nurse-record-check` lee una exportación legible por máquina de un episodio de hospitalización —registros de enfermería, órdenes médicas y formularios de evaluación completados— y comprueba los plazos, las firmas y la conservación de formularios de esa documentación de enfermería (护理记录), informando de las diferencias literales frente a las cláusulas citadas: que cada registro de enfermería deje un responsable y una hora trazables, que toda fecha y hora esté escrita en formato de 24 horas y se pueda leer, que la hora de un registro de reanimación sea precisa al minuto y su nota se escriba dentro de las 6 horas siguientes al final de la reanimación, que una orden temporal lleve hora de ejecución y la firma de la enfermera que la ejecutó y que una orden anulada registre su anulación, que la primera evaluación de enfermería y la frecuencia de documentación cumplan los umbrales que configure la institución, que los formularios de riesgo de caídas y de lesión por presión estén archivados, y que el intervalo entre rondas de vigilancia corresponda a la guía de cuidados graduados del nivel de cuidados que el registro indica. Una comprobación que no puede ejecutarse se lista en `skipped` en lugar de pasar.
4
+
5
+ ## Qué responde
6
+
7
+ | Usted pregunta | Qué responde |
8
+ |---|---|
9
+ | Un registro de enfermería salió del sistema de planta sin enfermera firmante. ¿Se informa de ello? | Sí. `NR-001` informa de todo registro de enfermería que no deja un identificador de responsable y también de un `nurseId` que no coincide con el formato de número de personal configurado. Comprueba que el material deje una marca de responsable y una hora, no cómo se implementa técnicamente la firma electrónica. |
10
+ | Un valor de hora de la exportación no se puede analizar. ¿Qué hace la regla con él? | `NR-002` informa del valor y exige una hora escrita en formato de 24 horas y legible como `YYYY-MM-DD HH:mm`. El registro cuya hora no se puede analizar queda fuera de las comparaciones de plazo posteriores, así que aparece aquí y no como una diferencia de plazo: la regla comprueba que la hora se pueda leer, no que sea la hora real. |
11
+ | Nuestro registro de reanimación indica la fecha, pero ninguna hora. | `NR-003` informa de un registro de tipo `rescue` cuya hora solo es precisa al día, porque la hora de la reanimación debe ser precisa al minuto. El paquete señala que las dos disposiciones que cita no piden lo mismo —una exige la 「抢救时间」 al minuto y la otra el 「记录时间」— y las presenta juntas indicando cada fuente por separado. |
12
+ | La nota de reanimación se escribió a la mañana siguiente. ¿Es tarde? | `NR-004` compara la hora registrada con `rescueEndedAt` e informa de un intervalo superior a 6 horas; también informa de una nota escrita antes de que terminara la reanimación. Si falta `rescueEndedAt` no hay nada que comparar, y la comprobación informa de que no pudo ejecutarse en lugar de pasar. |
13
+ | Se ejecutó una orden temporal, pero la casilla de firma de la enfermera que la ejecutó está vacía. | `NR-005` informa de una orden temporal cuyo registro de ejecución carece de la hora de ejecución o de la firma de la enfermera que la ejecutó. Se aplica solo a las órdenes temporales —la hoja de órdenes de largo plazo contiene otros elementos y no debe leerse igual— y no comprueba cuánto después de la ejecución se firmó, porque el paquete no encontró ningún plazo de firma. |
14
+ | Algunas reglas aparecen como `skipped` en lugar de pasar. ¿Qué significa? | Significa que la comprobación no se ejecutó, no que haya pasado. `NR-008` y `NR-012` traen sus umbrales vacíos (`maxAfterAdmission`, `intervalHours`), porque el paquete no encontró ningún umbral nacional aplicable a los registros de enfermería —y deja constancia de que las 24 horas que sí encontró corresponden al 「入院记录」 que escribe el médico y no deben trasladarse a la primera evaluación de enfermería—; `NR-011` también se informa como `skipped` en cuidados especiales (特级护理), donde la guía no fija intervalo, y cuando hay menos de dos registros de `rounds` que comparar. |
15
+
16
+ ## Normas que sigue
17
+
18
+ | Documento | Número | Reglas que lo citan |
19
+ |---|---|---|
20
+ | 《电子病历应用管理规范(试行)》 | 国卫办医发〔2017〕8号 | NR-001, NR-006, NR-010 |
21
+ | 《病历书写基本规范》 | 卫医政发〔2010〕11号 | NR-002, NR-003, NR-004, NR-005, NR-007, NR-010, NR-012 |
22
+ | 《医疗质量安全核心制度要点》 | 国卫医发〔2018〕8号 | NR-003, NR-004 |
23
+ | 《卫生部办公厅关于在医疗机构推行表格式护理文书的通知》 | 卫办医政发〔2010〕125号 | NR-005 |
24
+ | 《护理分级标准》 | WS/T 431—2023(全部代替 WS/T 431—2013;推荐性卫生行业标准,2024-02-01 施行) | NR-008 |
25
+ | 《进一步改善护理服务行动计划(2023—2025年)》 | 国卫医政发〔2023〕16号 | NR-009 |
26
+ | 《三级医院评审标准(2020年版)》 | 国卫医发〔2020〕26号 | NR-009 |
27
+ | 《综合医院分级护理指导原则(试行)》 | 卫医政发〔2009〕49号 | NR-011 |
2
28
 
3
29
  **Boundary:** this plugin checks the timeliness, sign-off and assessment-form record of **nursing**
4
30
  documentation (护理记录) in an **inpatient** episode. It is not `dsh-medrec-qc` (which checks the
package/README-hi.md CHANGED
@@ -1,4 +1,30 @@
1
- # dsh-nurse-record-check
1
+ # dsh-nurse-record-check — नर्सिंग रिकॉर्ड की समय-सीमा, हस्ताक्षर और मूल्यांकन-प्रपत्र की पूर्णता की जाँच
2
+
3
+ `dsh-nurse-record-check` एक भर्ती प्रकरण (inpatient episode) के मशीन-पठनीय निर्यात को पढ़ता है — नर्सिंग प्रविष्टियाँ, चिकित्सकीय आदेश और भरे गए मूल्यांकन प्रपत्र — और उस नर्सिंग दस्तावेज़ (护理记录) की समय-सीमा, हस्ताक्षर और मूल्यांकन-प्रपत्र की जाँच करता है, तथा उद्धृत धाराओं के विरुद्ध शाब्दिक अंतर दर्ज करता है: कि हर नर्सिंग प्रविष्टि में पता लगाने योग्य रिकॉर्डर और समय हो, कि हर दिनांक और समय 24-घंटे के प्रारूप में लिखा हो और पढ़ा जा सके, कि पुनर्जीवन (rescue) रिकॉर्ड का समय मिनट तक सटीक हो और उसका नोट पुनर्जीवन समाप्त होने के 6 घंटे के भीतर लिखा गया हो, कि अस्थायी आदेश (temporary order) में निष्पादन समय और निष्पादन करने वाली नर्स का हस्ताक्षर हो तथा रद्द किए गए आदेश में रद्दीकरण दर्ज हो, कि प्रथम नर्सिंग मूल्यांकन और दस्तावेज़ीकरण की आवृत्ति संस्थान द्वारा कॉन्फ़िगर की गई सीमाओं के अनुरूप हो, कि गिरने के जोखिम और दबाव-घाव (pressure injury) के मूल्यांकन प्रपत्र अभिलेख में उपलब्ध हों, और यह कि गश्त (rounds) का अंतराल रिकॉर्ड में दर्ज देखभाल-स्तर के श्रेणीबद्ध नर्सिंग मार्गदर्शन से मेल खाता हो। जो जाँच चल न सके वह पास होने के बजाय `skipped` में दर्ज की जाती है।
4
+
5
+ ## यह किन सवालों का जवाब देता है
6
+
7
+ | आपका सवाल | इसका जवाब |
8
+ |---|---|
9
+ | एक नर्सिंग प्रविष्टि में हस्ताक्षर करने वाली नर्स का विवरण नहीं है। क्या यह दर्ज होता है? | हाँ। `NR-001` ऐसी हर नर्सिंग प्रविष्टि दर्ज करता है जिसमें रिकॉर्डर का कोई पहचान-चिह्न न हो, और ऐसा `nurseId` भी जो कॉन्फ़िगर किए गए कर्मचारी-क्रमांक प्रारूप से मेल न खाए। यह देखता है कि सामग्री में रिकॉर्डर का चिह्न और समय छूटा है या नहीं — इलेक्ट्रॉनिक हस्ताक्षर तकनीकी रूप से कैसे लागू किया गया है, यह नहीं जाँचता। |
10
+ | निर्यात में एक समय-मान पढ़ा नहीं जा सकता। नियम उसके साथ क्या करता है? | `NR-002` उस मान को दर्ज करता है और अपेक्षा करता है कि समय 24-घंटे के प्रारूप में लिखा हो तथा `YYYY-MM-DD HH:mm` के रूप में पढ़ा जा सके। जिस प्रविष्टि का समय पढ़ा न जा सके वह आगे की समय-सीमा तुलनाओं में शामिल नहीं होती, इसलिए वह यहीं दिखती है, समय-सीमा के अंतर के रूप में नहीं — यह नियम देखता है कि समय पढ़ा जा सकता है या नहीं, यह नहीं कि वह सच्चा है। |
11
+ | हमारे पुनर्जीवन रिकॉर्ड में तारीख है, पर घड़ी का कोई समय नहीं। | `NR-003` ऐसे `rescue` रिकॉर्ड को दर्ज करता है जिसका समय केवल दिन तक सटीक है, क्योंकि पुनर्जीवन का समय मिनट तक सटीक होना चाहिए। नियम-पैक बताता है कि उसके उद्धृत दोनों दस्तावेज़ एक ही बात नहीं माँगते — एक 「抢救时间」 को मिनट तक और दूसरा 「记录时间」 को — इसलिए दोनों को साथ प्रस्तुत किया गया है और हर स्रोत अलग से चिह्नित है। |
12
+ | पुनर्जीवन का नोट अगली सुबह लिखा गया। क्या यह देर है? | `NR-004` दर्ज समय की तुलना `rescueEndedAt` से करता है और 6 घंटे से अधिक का अंतराल दर्ज करता है; पुनर्जीवन समाप्त होने से पहले लिखा गया नोट भी दर्ज होता है। `rescueEndedAt` न हो तो तुलना करने को कुछ नहीं बचता, और जाँच पास होने के बजाय बताती है कि वह चल नहीं सकी। |
13
+ | एक अस्थायी आदेश निष्पादित हुआ, पर निष्पादन करने वाली नर्स के हस्ताक्षर का खाना खाली है। | `NR-005` ऐसे अस्थायी आदेश को दर्ज करता है जिसके निष्पादन रिकॉर्ड में निष्पादन समय या निष्पादन करने वाली नर्स का हस्ताक्षर नहीं है। यह केवल अस्थायी आदेशों पर लागू होता है — दीर्घकालिक आदेश-पत्र के मद अलग होते हैं और दोनों को एक-सा नहीं पढ़ा जा सकता — और यह नहीं जाँचता कि निष्पादन के कितनी देर बाद हस्ताक्षर हुआ, क्योंकि नियम-पैक को हस्ताक्षर की कोई समय-सीमा नहीं मिली। |
14
+ | कुछ नियम पास होने के बजाय `skipped` दिखाते हैं। इसका क्या मतलब है? | इसका मतलब है कि जाँच चली ही नहीं, यह नहीं कि वह पास हो गई। `NR-008` और `NR-012` की सीमाएँ (`maxAfterAdmission`, `intervalHours`) खाली आती हैं, क्योंकि नियम-पैक को नर्सिंग रिकॉर्ड पर लागू होने वाली कोई राष्ट्रीय सीमा नहीं मिली — और वह यह भी दर्ज करता है कि उसे जो 24 घंटे मिले वे चिकित्सक द्वारा लिखे जाने वाले 「入院记录」 के हैं और प्रथम नर्सिंग मूल्यांकन पर लागू नहीं किए जा सकते — `NR-011` भी विशेष स्तर की देखभाल (特级护理) में `skipped` दर्ज करता है, जहाँ मार्गदर्शन कोई अंतराल नहीं देता, और जब तुलना के लिए दो से कम `rounds` प्रविष्टियाँ हों। |
15
+
16
+ ## यह किन मानकों पर आधारित है
17
+
18
+ | दस्तावेज़ | संख्यांक | इन्हें उद्धृत करने वाले नियम |
19
+ |---|---|---|
20
+ | 《电子病历应用管理规范(试行)》 | 国卫办医发〔2017〕8号 | NR-001, NR-006, NR-010 |
21
+ | 《病历书写基本规范》 | 卫医政发〔2010〕11号 | NR-002, NR-003, NR-004, NR-005, NR-007, NR-010, NR-012 |
22
+ | 《医疗质量安全核心制度要点》 | 国卫医发〔2018〕8号 | NR-003, NR-004 |
23
+ | 《卫生部办公厅关于在医疗机构推行表格式护理文书的通知》 | 卫办医政发〔2010〕125号 | NR-005 |
24
+ | 《护理分级标准》 | WS/T 431—2023(全部代替 WS/T 431—2013;推荐性卫生行业标准,2024-02-01 施行) | NR-008 |
25
+ | 《进一步改善护理服务行动计划(2023—2025年)》 | 国卫医政发〔2023〕16号 | NR-009 |
26
+ | 《三级医院评审标准(2020年版)》 | 国卫医发〔2020〕26号 | NR-009 |
27
+ | 《综合医院分级护理指导原则(试行)》 | 卫医政发〔2009〕49号 | NR-011 |
2
28
 
3
29
  **Boundary:** this plugin checks the timeliness, sign-off and assessment-form record of **nursing**
4
30
  documentation (护理记录) in an **inpatient** episode. It is not `dsh-medrec-qc` (which checks the
package/README-pt.md CHANGED
@@ -1,4 +1,30 @@
1
- # dsh-nurse-record-check
1
+ # dsh-nurse-record-check — Verificação de prazos, assinaturas e formulários de avaliação no registo de enfermagem
2
+
3
+ `dsh-nurse-record-check` lê uma exportação legível por máquina de um episódio de internamento —registos de enfermagem, ordens médicas e formulários de avaliação preenchidos— e verifica os prazos, as assinaturas e a conservação de formulários dessa documentação de enfermagem (护理记录), assinalando as diferenças literais face às cláusulas citadas: que cada registo de enfermagem deixe um responsável e uma hora rastreáveis, que toda a data e hora esteja escrita em formato de 24 horas e possa ser lida, que a hora de um registo de reanimação seja precisa ao minuto e a sua nota seja escrita nas 6 horas seguintes ao fim da reanimação, que uma ordem temporária traga hora de execução e a assinatura da enfermeira que a executou e que uma ordem anulada registe o seu cancelamento, que a primeira avaliação de enfermagem e a frequência de documentação cumpram os limiares que a instituição configurar, que os formulários de risco de queda e de lesão por pressão estejam arquivados, e que o intervalo entre rondas de vigilância corresponda à orientação de cuidados graduados do nível de cuidados indicado no registo. Uma verificação que não pode ser executada é listada em `skipped` em vez de passar.
4
+
5
+ ## O que ele responde
6
+
7
+ | Você pergunta | O que ele responde |
8
+ |---|---|
9
+ | Um registo de enfermagem saiu do sistema da enfermaria sem enfermeira que o assine. Isso é assinalado? | Sim. `NR-001` assinala todo o registo de enfermagem que não deixa um identificador de responsável e também um `nurseId` que não corresponda ao formato de número profissional configurado. Verifica que o material deixa uma marca de responsável e uma hora, não como a assinatura eletrónica está tecnicamente implementada. |
10
+ | Um valor de hora da exportação não é analisável. O que a regra faz com ele? | `NR-002` assinala o valor e exige uma hora escrita em formato de 24 horas e legível como `YYYY-MM-DD HH:mm`. O registo cuja hora não é analisável fica de fora das comparações de prazo seguintes, pelo que aparece aqui e não como uma diferença de prazo — a regra verifica que a hora pode ser lida, não que seja a hora verdadeira. |
11
+ | O nosso registo de reanimação indica a data, mas nenhuma hora. | `NR-003` assinala um registo do tipo `rescue` cuja hora só é precisa ao dia, porque a hora da reanimação deve ser precisa ao minuto. O pacote de regras indica que as duas disposições que cita não pedem o mesmo — uma exige a 「抢救时间」 ao minuto e a outra o 「记录时间」 — e apresenta-as em conjunto, com cada fonte assinalada em separado. |
12
+ | A nota de reanimação foi escrita na manhã seguinte. É tarde? | `NR-004` compara a hora registada com `rescueEndedAt` e assinala um intervalo superior a 6 horas; também assinala uma nota escrita antes de a reanimação terminar. Sem `rescueEndedAt` não há nada a comparar, e a verificação informa que não pôde ser executada em vez de passar. |
13
+ | Uma ordem temporária foi executada, mas o campo de assinatura da enfermeira que a executou está vazio. | `NR-005` assinala uma ordem temporária cujo registo de execução não tem a hora de execução nem a assinatura da enfermeira que a executou. Aplica-se apenas às ordens temporárias — a folha de ordens de longo prazo tem outros elementos e não pode ser lida da mesma forma — e não verifica quanto tempo depois da execução a assinatura foi feita, porque o pacote não encontrou qualquer prazo de assinatura. |
14
+ | Algumas regras aparecem como `skipped` em vez de passar. O que significa? | Significa que a verificação não foi executada, não que tenha passado. `NR-008` e `NR-012` trazem os seus limiares vazios (`maxAfterAdmission`, `intervalHours`), porque o pacote não encontrou qualquer limiar nacional aplicável aos registos de enfermagem — e regista que as 24 horas que encontrou são do 「入院记录」 escrito pelo médico e não podem ser transportas para a primeira avaliação de enfermagem —; `NR-011` também se assinala como `skipped` em cuidados especiais (特级护理), onde a orientação não fixa intervalo, e quando há menos de dois registos de `rounds` a comparar. |
15
+
16
+ ## Normas que segue
17
+
18
+ | Documento | Número | Regras que o citam |
19
+ |---|---|---|
20
+ | 《电子病历应用管理规范(试行)》 | 国卫办医发〔2017〕8号 | NR-001, NR-006, NR-010 |
21
+ | 《病历书写基本规范》 | 卫医政发〔2010〕11号 | NR-002, NR-003, NR-004, NR-005, NR-007, NR-010, NR-012 |
22
+ | 《医疗质量安全核心制度要点》 | 国卫医发〔2018〕8号 | NR-003, NR-004 |
23
+ | 《卫生部办公厅关于在医疗机构推行表格式护理文书的通知》 | 卫办医政发〔2010〕125号 | NR-005 |
24
+ | 《护理分级标准》 | WS/T 431—2023(全部代替 WS/T 431—2013;推荐性卫生行业标准,2024-02-01 施行) | NR-008 |
25
+ | 《进一步改善护理服务行动计划(2023—2025年)》 | 国卫医政发〔2023〕16号 | NR-009 |
26
+ | 《三级医院评审标准(2020年版)》 | 国卫医发〔2020〕26号 | NR-009 |
27
+ | 《综合医院分级护理指导原则(试行)》 | 卫医政发〔2009〕49号 | NR-011 |
2
28
 
3
29
  **Boundary:** this plugin checks the timeliness, sign-off and assessment-form record of **nursing**
4
30
  documentation (护理记录) in an **inpatient** episode. It is not `dsh-medrec-qc` (which checks the
package/README-zh.md CHANGED
@@ -1,4 +1,30 @@
1
- # dsh-nurse-record-check
1
+ # dsh-nurse-record-check — 护理记录时限、签名与评估表完整性校验
2
+
3
+ `dsh-nurse-record-check` 读取一次住院过程的机器可读导出材料——护理记录、医嘱与已完成的评估表——核对这份护理记录的时限、签名与评估表留存,逐条报出与所引条款的字面差异:每条护理记录是否留下可追溯的记录人与时间、日期与时间是否按 24 小时制书写且可解析、抢救记录的时间是否精确到分钟且是否在抢救结束后 6 小时内补记、临时医嘱是否记录执行时间与执行护士签名、取消的医嘱是否记录取消信息、首次护理评估与护理记录书写频次是否满足本机构配置的阈值、跌倒与压力性损伤风险评估表是否留存、巡视间隔是否与该记录所载护理级别对应的分级护理指导原则相符。无法执行的检查计入 `skipped`,不会静默通过。
4
+
5
+ ## 它回答什么问题
6
+
7
+ | 你会问 | 它怎么答 |
8
+ |---|---|
9
+ | 有一条护理记录导出时没有签名护士,会被报出吗? | 会。`NR-001` 会报出没有留下记录人标识的护理记录,也会报出不符合所配置工号格式的 `nurseId`。它只核对材料是否留下记录人标识与时间,不校验电子签名的技术实现。 |
10
+ | 导出文件里有一个时间值解析不了,这条规则怎么处理? | `NR-002` 会报出该值,并要求时间按 24 小时制书写、可解析为 `YYYY-MM-DD HH:mm`。解析不了时间的记录随后不参与各条时限比对,所以它只在这里出现,不会变成一条时限差异——本条核对的是时间能否读出,不是时间是否真实。 |
11
+ | 抢救记录只写了抢救日期,没有具体时刻。 | `NR-003` 会报出只精确到日的 `rescue` 记录,因为抢救时间应当具体到分钟。规则库说明:它引用的两份文件要求的对象并不相同——一份要求「抢救时间」具体到分钟,另一份要求的是「记录时间」——故合并呈现并分别标注出处。 |
12
+ | 抢救记录第二天早上才补记,算超时吗? | `NR-004` 拿记录时间与 `rescueEndedAt` 相比,间隔超过 6 小时即报出;书写时间早于抢救结束时间也会报出。没有 `rescueEndedAt` 时无从比对,本条会报告无法执行,而不是通过。 |
13
+ | 一条临时医嘱执行了,但执行护士签名栏是空的。 | `NR-005` 会报出执行记录缺执行时间或执行护士签名的临时医嘱。它只针对临时医嘱——长期医嘱单的内容项不同,不得互相套用——也不检查执行后多久签名,因为国家规范没有规定签名时限。 |
14
+ | 有些规则的结果是 `skipped` 而不是通过,说明什么? | 说明该检查没有执行,不等于通过。`NR-008` 与 `NR-012` 的阈值(`maxAfterAdmission`、`intervalHours`)出厂为空,因为规则库没有找到可适用于护理记录的国家层面阈值——它同时写明:找到的 24 小时针对的是医师书写的入院记录,不得套用到首次护理评估上——`NR-011` 在特级护理下同样报告 `skipped`,因为指导原则未给出具体间隔,可比的 `rounds` 记录少于两条时也不执行。 |
15
+
16
+ ## 依据的标准
17
+
18
+ | 文件 | 文号 | 引用它的规则 |
19
+ |---|---|---|
20
+ | 《电子病历应用管理规范(试行)》 | 国卫办医发〔2017〕8号 | NR-001, NR-006, NR-010 |
21
+ | 《病历书写基本规范》 | 卫医政发〔2010〕11号 | NR-002, NR-003, NR-004, NR-005, NR-007, NR-010, NR-012 |
22
+ | 《医疗质量安全核心制度要点》 | 国卫医发〔2018〕8号 | NR-003, NR-004 |
23
+ | 《卫生部办公厅关于在医疗机构推行表格式护理文书的通知》 | 卫办医政发〔2010〕125号 | NR-005 |
24
+ | 《护理分级标准》 | WS/T 431—2023(全部代替 WS/T 431—2013;推荐性卫生行业标准,2024-02-01 施行) | NR-008 |
25
+ | 《进一步改善护理服务行动计划(2023—2025年)》 | 国卫医政发〔2023〕16号 | NR-009 |
26
+ | 《三级医院评审标准(2020年版)》 | 国卫医发〔2020〕26号 | NR-009 |
27
+ | 《综合医院分级护理指导原则(试行)》 | 卫医政发〔2009〕49号 | NR-011 |
2
28
 
3
29
  **Boundary:** this plugin checks the timeliness, sign-off and assessment-form record of **nursing**
4
30
  documentation (护理记录) in an **inpatient** episode. It is not `dsh-medrec-qc` (which checks the
package/README.md CHANGED
@@ -1,4 +1,30 @@
1
- # dsh-nurse-record-check
1
+ # dsh-nurse-record-check — Nursing record timeliness, sign-off and assessment-form completeness check
2
+
3
+ `dsh-nurse-record-check` reads a machine-readable export of one inpatient episode — nursing entries, medical orders and completed assessment forms — and checks the timeliness, sign-off and assessment-form record of that nursing documentation (护理记录), reporting literal mismatches against cited clauses: that every nursing entry leaves a traceable recorder and a time, that every date and time is written in 24-hour form and can be read, that a rescue record's time is precise to the minute and its note is written up within 6 hours of the rescue ending, that a temporary order carries an execution time and the executing nurse's signature and that a cancelled order records its cancellation, that the first nursing assessment and the documentation frequency meet the thresholds the institution configures, that fall-risk and pressure-injury assessment forms are on file, and that the rounds interval matches the graded-nursing guidance for the care level the record states. A check that cannot run is listed in `skipped` instead of passing.
4
+
5
+ ## What it answers
6
+
7
+ | You ask | What it answers |
8
+ |---|---|
9
+ | A nursing entry came out of the ward system with no signing nurse. Is that reported? | Yes. `NR-001` reports every nursing entry that leaves no recorder identifier, and also a `nurseId` that does not match the configured staff-number pattern. It checks that the material leaves a recorder mark and a time, not how the electronic signature is technically implemented. |
10
+ | One time value in the export will not parse. What does the rule do with it? | `NR-002` reports the value and expects a time written in 24-hour form and readable as `YYYY-MM-DD HH:mm`. A record whose time cannot be parsed is then left out of the later time-window comparisons, so it surfaces here rather than as a deadline finding — the rule checks that the time can be read, not that it is the true time. |
11
+ | Our rescue record gives the date of the rescue but no clock time. | `NR-003` reports a `rescue` record whose time is precise only to the day, because the time of a rescue must be precise to the minute. The pack notes that the two documents it cites do not require the same thing — one requires 抢救时间 to the minute, the other the 记录时间 — and presents them together with each source marked separately. |
12
+ | The rescue note was written up the next morning. Is that late? | `NR-004` compares the recorded time with `rescueEndedAt` and reports a gap longer than 6 hours; a note written before the rescue ended is reported too. With no `rescueEndedAt` there is nothing to compare, and the check reports that it could not run instead of passing. |
13
+ | A temporary order was carried out, but the executing nurse's signature column is blank. | `NR-005` reports a temporary order whose execution record is missing the execution time or the executing nurse's signature. It applies to 临时医嘱 only — the long-term order sheet carries different content items and must not be read alike — and it does not check how long after execution the signature was made, because the pack found no signature deadline. |
14
+ | Some rules come back as `skipped` rather than passing. What does that mean? | It means the check did not run, not that it passed. `NR-008` and `NR-012` ship with their thresholds empty (`maxAfterAdmission`, `intervalHours`), because the pack found no national threshold it could apply to nursing records — and it records that the 24 hours it did find belongs to the 入院记录 written by a physician and must not be carried over to the first nursing assessment — while `NR-011` likewise reports itself in `skipped` for 特级护理, where the guidance states no interval, and when there are fewer than two `rounds` entries to compare. |
15
+
16
+ ## Standards it follows
17
+
18
+ | Document | Number | Cited by rules |
19
+ |---|---|---|
20
+ | 《电子病历应用管理规范(试行)》 | 国卫办医发〔2017〕8号 | NR-001, NR-006, NR-010 |
21
+ | 《病历书写基本规范》 | 卫医政发〔2010〕11号 | NR-002, NR-003, NR-004, NR-005, NR-007, NR-010, NR-012 |
22
+ | 《医疗质量安全核心制度要点》 | 国卫医发〔2018〕8号 | NR-003, NR-004 |
23
+ | 《卫生部办公厅关于在医疗机构推行表格式护理文书的通知》 | 卫办医政发〔2010〕125号 | NR-005 |
24
+ | 《护理分级标准》 | WS/T 431—2023(全部代替 WS/T 431—2013;推荐性卫生行业标准,2024-02-01 施行) | NR-008 |
25
+ | 《进一步改善护理服务行动计划(2023—2025年)》 | 国卫医政发〔2023〕16号 | NR-009 |
26
+ | 《三级医院评审标准(2020年版)》 | 国卫医发〔2020〕26号 | NR-009 |
27
+ | 《综合医院分级护理指导原则(试行)》 | 卫医政发〔2009〕49号 | NR-011 |
2
28
 
3
29
  **Boundary:** this plugin checks the timeliness, sign-off and assessment-form record of **nursing**
4
30
  documentation (护理记录) in an **inpatient** episode. It is not `dsh-medrec-qc` (which checks the
package/locale/en.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "meta": {
3
- "title": "nurse-record-check",
4
- "description": "A DeepSeek Harness plugin scaffolded by dsh-plugin-dev."
3
+ "title": "Nursing record check",
4
+ "description": "护理记录时限、签名与评估表完整性校验(依据《病历书写基本规范》等公开文件,仅提示差异,不作出定性结论)"
5
5
  }
6
6
  }
package/locale/zh.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "meta": {
3
- "title": "nurse-record-check",
4
- "description": "由 dsh-plugin-dev 脚手架生成的 DeepSeek Harness 插件。"
3
+ "title": "护理记录核对",
4
+ "description": "护理记录时限、签名与评估表完整性校验(依据《病历书写基本规范》等公开文件,仅提示差异,不作出定性结论)"
5
5
  }
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-nurse-record-check",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "护理记录时限、签名与评估表完整性校验(依据《病历书写基本规范》等公开文件,仅提示差异,不作出定性结论)",
5
5
  "type": "module",
6
6
  "main": "lib/index.mjs",