Skip to content

Commit

Permalink
fix: show scheduled orders even if no pending results
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmcgrath13 committed Oct 29, 2024
1 parent e3abfe5 commit 17208c8
Show file tree
Hide file tree
Showing 4 changed files with 255 additions and 45 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"resourceType": "Bundle",
"type": "batch",
"entry": [
{
"fullUrl": "urn:uuid:1.2.840.114350.1.13.202.3.7.8.688883.484",
"resource": {
"resourceType": "Composition",
"id": "1.2.840.114350.1.13.202.3.7.8.688883.484",
"meta": {
"profile": [
"http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-composition"
],
"source": [
"ecr"
]
},
"identifier": [
{
"use": "official",
"type": {
"coding": [
{
"code": "55751-2",
"display": "Initial Public Health Case Report",
"system": "http://loinc.org"
}
]
},
"value": "28beb5ae-3f68-11ed-8bdc-005056a7fb21",
"assigner": {
"display": "EPC"
}
}
],
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber",
"valueString": "28"
}
],
"status": "final",
"type": {
"coding": [
{
"code": "55751-2",
"display": "Initial Public Health Case Report",
"system": "http://loinc.org"
}
]
},
"date": "2022-10-04T17:01:48-07:00",
"title": "Initial Public Health Case Report",
"confidentiality": "N",
"section": [
{
"id": "7dfb261e-4d95-b4c2-9906-efe4979bc1aa",
"title": "Miscellaneous Notes",
"text": {
"status": "generated",
"div": "<table><thead><tr><th>Active Problems</th><th>Noted Date</th></tr></thead><tbody><tr><td>Parkinson's syndrome</td><td>7/25/22</td></tr><tr><td>Essential hypertension</td><td>7/21/22</td></tr></tbody></table>"
},
"code": {
"coding": [
{
"code": "10164-2",
"display": "HISTORY OF PRESENT ILLNESS",
"system": "http://loinc.org"
}
]
},
"mode": "snapshot"
},
{
"id": "eb08daad-1e00-4280-4846-4276acb00888",
"title": "Plan of Treatment",
"text": {
"status": "generated",
"div": "<table><caption>Pending Results</caption> <thead><tr><th>Name</th><th>Type</th><th>Priority</th><th>Associated Diagnoses</th><th>Date/Time</th></tr></thead><tbody><tr><!-- data-id: procedure11 --><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure12'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure13'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure14'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure15'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure16'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure17'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure18'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure19'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure20'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure21'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure22'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure23'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr></tbody></table>documented as of this encounter"
},
"code": {
"coding": [
{
"code": "18776-5",
"display": "Plan of care note",
"system": "http://loinc.org"
}
]
},
"mode": "snapshot"
}
]
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"resourceType": "Bundle",
"type": "batch",
"entry": [
{
"fullUrl": "urn:uuid:1.2.840.114350.1.13.202.3.7.8.688883.484",
"resource": {
"resourceType": "Composition",
"id": "1.2.840.114350.1.13.202.3.7.8.688883.484",
"meta": {
"profile": [
"http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-composition"
],
"source": [
"ecr"
]
},
"identifier": [
{
"use": "official",
"type": {
"coding": [
{
"code": "55751-2",
"display": "Initial Public Health Case Report",
"system": "http://loinc.org"
}
]
},
"value": "28beb5ae-3f68-11ed-8bdc-005056a7fb21",
"assigner": {
"display": "EPC"
}
}
],
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber",
"valueString": "28"
}
],
"status": "final",
"type": {
"coding": [
{
"code": "55751-2",
"display": "Initial Public Health Case Report",
"system": "http://loinc.org"
}
]
},
"date": "2022-10-04T17:01:48-07:00",
"title": "Initial Public Health Case Report",
"confidentiality": "N",
"section": [
{
"id": "7dfb261e-4d95-b4c2-9906-efe4979bc1aa",
"title": "Miscellaneous Notes",
"text": {
"status": "generated",
"div": "<table><thead><tr><th>Active Problems</th><th>Noted Date</th></tr></thead><tbody><tr><td>Parkinson's syndrome</td><td>7/25/22</td></tr><tr><td>Essential hypertension</td><td>7/21/22</td></tr></tbody></table>"
},
"code": {
"coding": [
{
"code": "10164-2",
"display": "HISTORY OF PRESENT ILLNESS",
"system": "http://loinc.org"
}
]
},
"mode": "snapshot"
},
{
"id": "eb08daad-1e00-4280-4846-4276acb00888",
"title": "Plan of Treatment",
"text": {
"status": "generated",
"div": "<table><caption>Scheduled Orders</caption> <thead><tr><th>Name</th><th>Type</th><th>Priority</th><th>Associated Diagnoses</th><th>Date/Time</th></tr></thead><tbody><tr><!-- data-id: procedure11 --><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure12'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure13'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure14'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure15'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure16'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure17'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure18'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure19'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure20'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure21'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure22'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr><tr data-id='procedure23'><td>PCR SARS-CoV-2 and Influenza A/B</td><td>Lab</td><td>Routine</td><td></td><td>12/07/2021 4:16 PM CST</td></tr></tbody></table>documented as of this encounter"
},
"code": {
"coding": [
{
"code": "18776-5",
"display": "Plan of care note",
"system": "http://loinc.org"
}
]
},
"mode": "snapshot"
}
]
}
}
]
}
Loading

0 comments on commit 17208c8

Please sign in to comment.