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

ability to inject source data for codings #5

Open
barabo opened this issue Jun 9, 2024 · 0 comments
Open

ability to inject source data for codings #5

barabo opened this issue Jun 9, 2024 · 0 comments

Comments

@barabo
Copy link
Owner

barabo commented Jun 9, 2024

In FHIR-to-OMOP mapping, sometimes the source code-system code and vocabulary_concept_id can be inserted into optional columns of the destination table.

Since I already have an option to inject the concept details into a coding, it makes sense to also be able to include a source or vocabulary item.

Today I have this:

  "type": [
    {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "185349003",
          "display": "Encounter for check up (procedure)",
          "concept": {
            "concept_id": 3476171,
            "domain_id": "Observation",
            "concept_class_id": "Procedure"
          }
        }
      ],
      "text": "Encounter for check up (procedure)"
    }

What I want looks like this:

  "type": [
    {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "185349003",
          "display": "Encounter for check up (procedure)",
          "concept": {
            "concept_id": 3476171,
            "domain_id": "Observation",
            "concept_class_id": "Procedure"
          },
          "vocabulary": {
            "vocabulary_id": "SNOMED",
            "concept_id": 44819097
          }
        }
      ],
      "text": "Encounter for check up (procedure)"
    }
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

No branches or pull requests

1 participant