Spaces:
Runtime error
Runtime error
File size: 7,084 Bytes
e3a7f8f 987fbff 6c76acd 987fbff 653919c 987fbff e3a7f8f 9b541aa e3a7f8f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
import streamlit as st
st.markdown("""
# π₯ CCDA (Consolidated Clinical Document Architecture) π
The CCD is a document standard developed by Health Level Seven International (HL7) for the exchange of clinical information. π It is a universally accepted format for sharing clinical data across different electronic health record (EHR) systems. π
## π CCD Standard Templates π
The CCD standard includes templates for different types of clinical documents, like:
- π€ Discharge summaries
- ποΈ Progress notes
- π Clinical summaries
These templates are based on existing document standards like the Continuity of Care Record (CCR). β
# FHIR Map to CCD
| CCD Templates | Emoji | FHIR Resources |
|---------------|-------|----------------|
| Patient Demographics | π₯ | [Patient](https://www.hl7.org/fhir/patient.html) |
| Encounters | π©ββοΈ | [Encounter](https://www.hl7.org/fhir/encounter.html) |
| Procedures | π | [Procedure](https://www.hl7.org/fhir/procedure.html) |
| Laboratory Results | π¬ | [Observation](https://www.hl7.org/fhir/observation.html) |
| Vital Signs | π | [Observation](https://www.hl7.org/fhir/observation.html) |
| Clinical Notes | π | [ClinicalImpression](https://www.hl7.org/fhir/clinicalimpression.html), [Composition](https://www.hl7.org/fhir/composition.html) |
| Medications | π | [MedicationStatement](https://www.hl7.org/fhir/medicationstatement.html), [MedicationRequest](https://www.hl7.org/fhir/medicationrequest.html) |
| Immunizations | π
| [Immunization](https://www.hl7.org/fhir/immunization.html) |
# CCD Documents - Standard Templates
## 1. π₯ Patient Demographics
| Attribute | Description |
|-----------|-------------|
| Patient ID | Unique identifier for the patient |
| Name | Full name of the patient |
| Date of Birth | Birth date of the patient |
| Sex | Gender of the patient |
| Address | Residential address of the patient |
## 2. π Medications
| Attribute | Description |
|-----------|-------------|
| Medication Name | Name of the medication |
| Dosage | Dosage of the medication |
| Frequency | How often the medication is taken |
| Start Date | When the medication was started |
| End Date | When the medication was stopped |
## 3. π©ββοΈ Encounters
| Attribute | Description |
|-----------|-------------|
| Encounter ID | Unique identifier for the encounter |
| Encounter Type | Type of encounter (e.g., office visit, hospitalization) |
| Start Date/Time | When the encounter began |
| End Date/Time | When the encounter ended |
| Encounter Provider | Healthcare provider during the encounter |
## 4. π¬ Laboratory Results
| Attribute | Description |
|-----------|-------------|
| Test Name | Name of the lab test |
| Date/Time | When the lab test was performed |
| Result | Result of the lab test |
| Normal Range | Normal range for the lab test result |
## 5. π Procedures
| Attribute | Description |
|-----------|-------------|
| Procedure Name | Name of the procedure |
| Date/Time | When the procedure was performed |
| Performing Provider | Healthcare provider who performed the procedure |
## 6. π
Immunizations
| Attribute | Description |
|-----------|-------------|
| Vaccine Name | Name of the vaccine |
| Administration Date | When the vaccine was administered |
| Administering Provider | Healthcare provider who administered the vaccine |
## 7. π Vital Signs
| Attribute | Description |
|-----------|-------------|
| Vital Sign Type | Type of vital sign (e.g., blood pressure, temperature) |
| Date/Time | When the vital sign was measured |
| Value | Value of the vital sign |
| Unit | Unit of the vital sign value |
## 8. π Clinical Notes
| Attribute | Description |
|-----------|-------------|
| Note Type | Type of clinical note (e.g., progress note, discharge summary) |
| Note Date | When the note was written |
| Note Author | Healthcare provider who wrote the note |
| Note Content | Content of the note |
# Messages for ADT, ORM, SIU, EDI, Procedures, Observations
## ADT (Admit/Discharge/Transfer) messages
| Patient ID | Name | Admission Date/Time | Discharge Date/Time | Clinical Encounter |
|------------|------|---------------------|---------------------|--------------------|
| 001 | John Doe | 2023-05-01 10:00 | 2023-05-10 10:00 | Heart Surgery |
## ORM (Order Entry) messages
| Order ID | Order Date/Time | Order Status | Relevant Clinical Data |
|----------|-----------------|--------------|------------------------|
| 1001 | 2023-05-01 11:00 | Completed | Lab Test: Blood Sugar Level |
## SIU (Scheduling Information Update) messages
| Patient Name | Appointment Date/Time | Provider Name | Relevant Clinical Information |
|--------------|-----------------------|---------------|-------------------------------|
| John Doe | 2023-05-15 10:00 | Dr. Smith | Follow-up: Heart Surgery |
## EDI (Electronic Data Interchange)
| Patient Information | Clinical Data | Billing Information |
|---------------------|---------------|---------------------|
| John Doe, Male, 55 | Heart Surgery | $5000 |
## Procedures
| Procedure Type | Date/Time of Procedure | Relevant Clinical Data or Reports |
|----------------|------------------------|-----------------------------------|
| Heart Surgery | 2023-05-01 12:00 | Surgery Successful |
## Observations
| Observation Type | Date/Time of Observation | Relevant Clinical Data or Reports |
|------------------|--------------------------|-----------------------------------|
| Blood Pressure | 2023-05-10 09:00 | 120/80 mmHg |
## π Translation to CCD Format ποΈ
To translate different healthcare documents to the CCD format, follow these guidelines:
1. **ADT (Admit/Discharge/Transfer) messages** π₯
- Patient registration, admission, transfer, and discharge
- Include patient demographic information, admission and discharge date/time, and clinical encounter information
2. **ORM (Order Entry) messages** π
- Contains requests for labs, procedures, or medication
- Include the order request, order date/time, order status, and any relevant clinical data
3. **SIU (Scheduling Information Update) messages** π
- Used for scheduling appointments and updating appointment status
- Include the patient name, appointment date/time, provider name, and any relevant clinical information
4. **EDI (Electronic Data Interchange)** π»
- A standardized format for transmitting healthcare data
- Include patient information, clinical data, and billing information
5. **Procedures** π
- Any procedures or surgeries performed on a patient
- Include the procedure type, date/time of the procedure, and any relevant clinical data or reports
6. **Observations** π¬
- Any relevant clinical observations or measurements
- Include the observation type, date/time of the observation, and any relevant clinical data or reports
In summary, the CCD is a standardized format for exchanging clinical information. To translate different healthcare documents to the CCD format, follow the guidelines above. β¨
""") |