Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feat) O3-3886: Demo Ward App in the Ref App #851

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Conversation

mogoodrich
Copy link
Member

No description provided.

@mogoodrich mogoodrich marked this pull request as draft October 11, 2024 17:08
"uuid": "66de7f60-b73a-11e2-9e96-0800200c9a66",
"name": "disposition.admit",
"type": "ADMIT",
"conceptCode": "PIH:ADMIT TO HOSPITAL",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All these concept codes will need to be updated once we identify and add the correct concepts to use

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PIH:ADMIT TO HOSPITAL looks to me to be equivalent to CIEL:162478 (Approved Admission). I don't see anything that looks similar to PIH:Transfer within hospital. PIH:DISCHARGED is already marked SAME-AS CIEL:1692.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we have figured it out, just waiting on the new CIEL release from Andy: https://talk.openmrs.org/t/concepts-needed-for-ipd-ward-app-in-o3-ref-app-distro/43805/9

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, saw that after I wrote this.

# Conflicts:
#	distro/configuration/encountertypes/encountertypes_core-demo.csv
"uuid": "66de7f60-b73a-11e2-9e96-0800200c9a66",
"name": "disposition.admit",
"type": "ADMIT",
"conceptCode": "PIH:ADMIT TO HOSPITAL",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PIH:ADMIT TO HOSPITAL looks to me to be equivalent to CIEL:162478 (Approved Admission). I don't see anything that looks similar to PIH:Transfer within hospital. PIH:DISCHARGED is already marked SAME-AS CIEL:1692.

@@ -13,3 +13,6 @@ d7151f82-c1f3-4152-a605-2f9ea7414a79,,Visit Note,"Encounter where a full or abbr
39da3525-afe4-45ff-8977-c53b7b359158,,Order,Encounter for capturing orders,,,
29c02aff-9a93-46c9-bf6f-48b552fcb1fa,,Immunizations,Encounter for capturing immunizations,,,
36db5123-0ad5-41c0-9037-625b46e0ceef,,Mental Health Assessment,Mental Health Assessment,,,
d3b07384-8d1c-4e6b-9b8e-2f3b8e4a1c9f,,Transfer,Indicates that a patient is being transferred into a different department within the hospital. (Transfers out of the hospital should not use this encounter type.),,,
a1f5c3d2-4b6e-4e8a-9f2d-1b3e8e4a2d7f,,Inpatient Note,A short free-text note written by a clinician about an inpatient during their stay,,,
b2c4d5e6-7f8a-4e9b-8c1d-2e3f8e4a3b8f,,Transfer Request,A stand-alone encounter type for a transfer request not part of a larger note,,,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adds some new encounter types associated with ADT events

Uuid,Void/Retire,Name,Description,Parent,Tag|Login Location,Tag|Visit Location,Tag|Facility Location,Tag|Queue Location,Tag|Admission Location,Tag|Transfer Location,Attribute|9eca4f4e-707f-4bb8-8289-2f9b6e93803c,Attribute|Last Audit Date,Address 1,Address 2,Address 3,Address 4,Address 5,Address 6,City/Village,County/District,State/Province,Postal Code,Country,_order:1000
8d6c993e-c2cc-11de-8d13-0010c6dffd0f,,Unknown Location,Unknown Location,,,,,,,,,,,,,,,,,,,,,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The most noteworthy thing about the changes to locations is that it sets up a location hierarchy at "Ubuntu Hospital""

image

This hierarchy is necessary for the Ward module to work, and modelling general way EMR-API "views the world": when you have multiple locations within a single facility the sites should be arranged as children of a main site location, and the main location (in this case "Ubuntu Hospital" should be tagged as a visit location. In order for the Inpatient functionality to work and to allow admission and transfer between different locations, a patient's active visit needs to be at the parent site.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Note that I'm not sure what "Facility Location" means within this demo, so I left it as-is.

@@ -49,6 +49,9 @@
<ordertemplates.version>1.0.2</ordertemplates.version>
<patientflags.version>3.0.8</patientflags.version>
<o3forms.version>2.3.0</o3forms.version>
<emrapi.version>2.1.0-SNAPSHOT</emrapi.version>
<event.version>2.10.0</event.version>
<bedmanagement.version>6.0.0</bedmanagement.version>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New modules added.... EMR API, Event and Bed management

@mogoodrich mogoodrich marked this pull request as ready for review October 25, 2024 21:29
@mogoodrich
Copy link
Member Author

Moving this out of draft, as it is ready for review, see my comments!

Note we will need the following Iniz issue reviewed and merged before this will work:

mekomsolutions/openmrs-module-initializer#284

(temporarily remove IPD OCL package for testing)
update to new IPD package with bogus mappings removed
update to new IPD package with bogus mappings removed
@mogoodrich
Copy link
Member Author

Screencast.from.2024-10-25.19-13-47.webm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants