Skip to content

Bug with term mappings #167

@SevKohler

Description

@SevKohler

If i map a code to a coded_text with term mappings.
I cannot work on the output of the coding.
It will simply not take the term mappings then in consideration.
So just the standard code is mapped.
The idea here is map all the stuff and for a specific coding mapping i want to enter it an manipulate it which is not working.

- name: "problemDiagnose2"
    extension: "add"
    unidirectional: "openEHR->fhir"
    with:
      fhir: "$resource.code.coding"
      openehr: "$archetype/data[at0001]/items[at0002]"
    followedBy:
      mappings:
        - name: "coding"
          with:
            fhir: "coding"
            openehr: "$openehrRoot"
            type: "NONE"
          openehrCondition:
            targetRoot: "$archetype/data[at0001]/items[at0002]/defining_code"
            targetAttribute: "terminology_id/value"
            operator: "one of"
            criteria: "http://fhir.de/CodeSystem/bfarm/icd-10-gm"  
          followedBy:
            mappings:
              - name: "codingSystem"
                with:
                  fhir: "$fhirRoot"
                manual:
                  - name: "system"
                    fhir:
                      - path: "system"
                        value: "http://fhir.de/CodeSystem/bfarm/icd-10-gm"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions