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

IM-04: NHDD mapping prototype #9

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

Conversation

jecihjoy
Copy link
Member

@jecihjoy jecihjoy commented Jan 18, 2023

This PR is a proof of concept. Am extending fhir2 class ConceptTranslatorImpl that translates Concept in OpenMRS to a CodeableConcept in fhir. I have extended the class with InteropConceptTranslatorImpl which is marked as the primary bean and will be loaded instead of ConceptTranslatorImpl.

I am using csv as the mapping file.

Here is an exmple of a code with ciel code 1054 in the initial implementation with ConceptTranslatorImpl

        "coding": [
            {
                "code": "1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "display": "Civil status"
            },
            {
                "system": "https://openconceptlab.org/orgs/CIEL/sources/CIEL",
                "code": "1054",
                "display": "Civil status"
            },
            {
                "system": "http://snomed.info/sct",
                "code": "365581002",
                "display": "Civil status"
            }
        ],
        "text": "Civil status"
    }

Here is the equivaent code after nhdd mapping done here ConceptTranslatorImpl

        "coding": [
            {
                "system": "https://nhdd.health.go.ke/",
                "code": "49315",
                "display": "Civil status"
            }
        ],
        "text": "Civil status"
    }

(Here am only generating the NHDD code but we can decide whether to also retain CIEL code)

@corneliouzbett corneliouzbett linked an issue Jan 18, 2023 that may be closed by this pull request
@corneliouzbett corneliouzbett force-pushed the main branch 2 times, most recently from 7320867 to 476014b Compare March 8, 2023 09:11
Injiri added a commit to Injiri/openmrs-module-interop that referenced this pull request Oct 2, 2024
Mapping of Omrs data models to Fhir resources
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.

NHDD mapping
1 participant