Skip to content

IM-04: NHDD mapping prototype#9

Open
jecihjoy wants to merge 2 commits intoAMPATH:mainfrom
jecihjoy:nhdd-mapping
Open

IM-04: NHDD mapping prototype#9
jecihjoy wants to merge 2 commits intoAMPATH:mainfrom
jecihjoy:nhdd-mapping

Conversation

@jecihjoy
Copy link
Copy Markdown
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)

@kipchubett kipchubett linked an issue Jan 18, 2023 that may be closed by this pull request
@kipchubett kipchubett 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