<style>
.reveal .slides {
text-align: left;
}
.text-center{
text-align: center; //文字置中
}
.text-left{
text-align: left; //文字靠左
}
.text-right{
text-align: right; //文字靠右
}
</style>
# HL7 進度討論
#### Jimmy
2023/8/4
---
# Contents
```shell
HL7 進度討論
├── Goal
├── Schedule
├── Current Status
├── Discussion
└── Reference
```
---
# Goal
----
## Fuzz CDA R2 Syntax
- Element
- Tag
- Value
- Structure
- Standard
- Non-standard
- Encode
----
## Use Template
- [衛生福利部電子病歷-CDAR2 交換單張標準](https://emr.mohw.gov.tw/myemr/emrstd.html)
- [004_住院醫囑單](https://emr.mohw.gov.tw/myemr/doc/%E6%A8%99%E6%BA%96%E6%96%87%E4%BB%B6/%E7%AF%84%E4%BE%8B%E6%AA%94/004_%E4%BD%8F%E9%99%A2%E9%86%AB%E5%9B%91%E5%96%AE.xml)
- [018_手術紀錄報告單](https://emr.mohw.gov.tw/myemr/doc/%E6%A8%99%E6%BA%96%E6%96%87%E4%BB%B6/%E7%AF%84%E4%BE%8B%E6%AA%94/018_%E6%89%8B%E8%A1%93%E7%B4%80%E9%8C%84%E5%A0%B1%E5%91%8A%E5%96%AE.xml)
- [C-CDA Online](http://www.hl7.org/ccdasearch/index.html)
- [CCD 2](https://github.com/HL7/C-CDA-Examples/blob/master/Documents/CCD/CCD%202/CCD.xml)
---
# Schedule
----
```shell
.
└── Schedule
└── Timeline
```
----
## Timeline[🔗](https://jimmylala.notion.site/a7c7571ddba04d49919a2faab98de4f6?v=2eeec549cb8a460a98b539a77347ca0f&pvs=4)
<img src="https://hackmd.io/_uploads/rJC9vf9s2.png" style="display:block; margin:auto;">
---
# Current Status
----
```shell
.
└── Current Status
└── Develope
├── HL7 CDAR2 Fuzz Test
│ ├── 00_hl7_cdar2.py
│ ├── 01_hl7_cdar2_xml_general.py
│ └── 02_hl7_cdar2_structure.py
└── HL7 CDAR2 Ptn Gen Tool
└── cdar2.py
├── xml_parser
├── random_data
└── oid_generator
```
----
## HL7 CDAR2 Protocol [🔗](https://192.168.168.130:8088/ct/secdevice/na/-/tree/hl7-cda-r2/fuzzer/protocols/hl7-cdar2)
- `00_hl7_cdar2.py`[🔗](https://192.168.168.130:8088/ct/secdevice/na/-/blob/hl7-cda-r2/fuzzer/protocols/hl7-cdar2/00_hl7_cdar2.py)
- `01_hl7_cdar2_structure.py`[🔗](https://192.168.168.130:8088/ct/secdevice/na/-/blob/hl7-cda-r2/fuzzer/protocols/hl7-cdar2/01_hl7_cdar2_xml_general.py)
- `02_hl7_cdar2_structure.py`[🔗](https://192.168.168.130:8088/ct/secdevice/na/-/blob/hl7-cda-r2/fuzzer/protocols/hl7-cdar2/02_hl7_cdar2_structure.py)
----
## HL7 CDAR2 Fuzz Ptn [🔗](https://192.168.168.130:8088/ct/secdevice/na/-/tree/hl7-cda-r2/fuzzer/protocols/hl7-cdar2/ptn)
- `hl7_cda_structure_tag.ptn`[🔗](https://192.168.168.130:8088/ct/secdevice/na/-/blob/hl7-cda-r2/fuzzer/protocols/hl7-cdar2/ptn/hl7_term/hl7_cda_structure_tag.ptn)
- `xml_general_header.ptn`[🔗](https://192.168.168.130:8088/ct/secdevice/na/-/blob/hl7-cda-r2/fuzzer/protocols/hl7-cdar2/ptn/xml_general_header.ptn)
----
----
# Discussion
----
```shell
.
└── Discussion
└── Develope
```
----
## Develope

---
- Debug is not friedly, cost time
- Build-server <-> WSL <-> VM
- Don't have dual monitor -> efficient slow
- DRY(Don’t Repeat Yourself)
- sphinx
---
# Reference
- [Sphinx Python Document Generator](https://www.sphinx-doc.org/en/master/usage/installation.html)
- [Coding起來- Python工具-Sphinx 操作教學](https://chwang12341.medium.com/coding%E8%B5%B7%E4%BE%86-python%E5%B7%A5%E5%85%B7-sphinx-%E6%93%8D%E4%BD%9C%E6%95%99%E5%AD%B8-d35640a33ffe)
- [手養成 Python 好習慣-勤註解、善用自動文件產生工具 Sphinx](https://myapollo.com.tw/blog/python-autodoc/)
{"title":"[HL7] 進度討論0804","contributors":"[{\"id\":\"06bda39c-cc8f-4f92-86ab-55bca0251585\",\"add\":10184,\"del\":6703}]"}