Skip to content

Debug/error messages not useful #161

@SevKohler

Description

@SevKohler

"Couldn't find any Context mapper for the given Resource. Make sure at least one Context mapper exists where fhir.resourceType is of this type (Bundle) and condition within the context mapper allows for it to be applied on this specific resource."

In this case it was a bundle with linked ressources, which is not realted or at least not as i checked witht he profile url. Problem lays else where.
in general this is an overall problem with the error messages in openFHIR being way to unspecific.

{
  "resourceType": "Bundle",
  "id": "mii-exa-test-data-bundle-pat-1",
  "meta": {
    "security": [
      {
        "code": "HTEST",
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "display": "test health data"
      }
    ],
    "tag": [
      {
        "system": "https://example.org/split-bundle",
        "code": "profile-split",
        "display": "Split for profile https://www.medizininformatik-initiative.de/fhir/core/modul-diagnose/StructureDefinition/Diagnose"
      }
    ]
  },
  "type": "transaction",
  "timestamp": "2025-06-18T13:51:00+02:00",
  "entry": [
    {
      "request": {
        "method": "POST",
        "url": "Patient"
      },
      "fullUrl": "https://www.medizininformatik-initiative.de/Patient/mii-exa-test-data-patient-1",
      "resource": {
        "resourceType": "Patient",
        "id": "mii-exa-test-data-patient-1",
        "meta": {
          "security": [
            {
              "code": "HTEST",
              "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
              "display": "test health data"
            }
          ],
          "profile": [
            "https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/Patient",
            "http://fhir.de/ConsentManagement/StructureDefinition/Patient"
          ]
        },
        "identifier": [
          {
            "assigner": {
              "identifier": {
                "use": "official",
                "value": "987654321",
                "system": "http://fhir.de/sid/arge-ik/iknr"
              }
            },
            "use": "official",
            "type": {
              "coding": [
                {
                  "code": "KVZ10",
                  "system": "http://fhir.de/CodeSystem/identifier-type-de-basis"
                }
              ]
            },
            "system": "http://fhir.de/sid/gkv/kvid-10",
            "value": "A123456780"
          },
          {
            "assigner": {
              "identifier": {
                "type": {
                  "coding": [
                    {
                      "code": "XX",
                      "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
                    }
                  ]
                },
                "system": "https://www.medizininformatik-initiative.de/fhir/core/CodeSystem/core-location-identifier",
                "value": "Charité"
              }
            },
            "type": {
              "coding": [
                {
                  "code": "MR",
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
                }
              ]
            },
            "system": "https://www.charite.de/fhir/sid/patientenidentifikation",
            "value": "808439625"
          }
        ],
        "name": [
          {
            "given": [
              "Christian",
              "Ludwig"
            ],
            "prefix": [
              "Prinz von Preußen"
            ],
            "_prefix": [
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
                    "valueCode": "NB"
                  }
                ]
              }
            ],
            "suffix": [
              "aus dem Haus der Hohenzollern"
            ],
            "use": "official",
            "family": "Markgraf von Brandenburg-Schwedt",
            "_family": {
              "extension": [
                {
                  "url": "http://fhir.de/StructureDefinition/humanname-namenszusatz",
                  "valueString": "Markgraf"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
                  "valueString": "Brandenburg-Schwedt"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
                  "valueString": "von"
                }
              ]
            }
          }
        ],
        "address": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct",
                "valueString": "Malchow"
              }
            ],
            "line": [
              "Dorfstraße 9",
              "Schloss",
              "Malchow"
            ],
            "_line": [
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
                    "valueString": "Dorfstraße"
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
                    "valueString": "9"
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
                    "valueString": "Schloss"
                  }
                ]
              },
              null
            ],
            "type": "both",
            "city": "Berlin",
            "_city": {
              "extension": [
                {
                  "url": "http://fhir.de/StructureDefinition/destatis/ags",
                  "valueCoding": {
                    "code": "11000000",
                    "system": "http://fhir.de/sid/destatis/ags"
                  }
                }
              ]
            },
            "postalCode": "13051",
            "country": "DE"
          }
        ],
        "gender": "male",
        "birthDate": "1977-05-24",
        "deceasedDateTime": "2024-02-22"
      }
    },
    {
      "request": {
        "method": "POST",
        "url": "Condition"
      },
      "fullUrl": "https://www.medizininformatik-initiative.de/Condition/mii-exa-test-data-patient-1-diagnose-1",
      "resource": {
        "resourceType": "Condition",
        "id": "mii-exa-test-data-patient-1-diagnose-1",
        "meta": {
          "security": [
            {
              "code": "HTEST",
              "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
              "display": "test health data"
            }
          ],
          "profile": [
            "https://www.medizininformatik-initiative.de/fhir/core/modul-diagnose/StructureDefinition/Diagnose"
          ]
        },
        "code": {
          "coding": [
            {
              "extension": [
                {
                  "url": "http://fhir.de/StructureDefinition/icd-10-gm-mehrfachcodierungs-kennzeichen",
                  "valueCoding": {
                    "code": "†",
                    "system": "http://fhir.de/CodeSystem/icd-10-gm-mehrfachcodierungs-kennzeichen"
                  }
                },
                {
                  "url": "http://fhir.de/StructureDefinition/seitenlokalisation",
                  "valueCoding": {
                    "code": "B",
                    "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ICD_SEITENLOKALISATION",
                    "display": "beiderseits"
                  }
                },
                {
                  "url": "http://fhir.de/StructureDefinition/icd-10-gm-diagnosesicherheit",
                  "valueCoding": {
                    "code": "G",
                    "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ICD_DIAGNOSESICHERHEIT",
                    "display": "gesicherte Diagnose"
                  }
                }
              ],
              "system": "http://fhir.de/CodeSystem/bfarm/icd-10-gm",
              "code": "B05.3",
              "version": "2023"
            },
            {
              "system": "http://fhir.de/CodeSystem/bfarm/alpha-id",
              "code": "I29578",
              "version": "2023",
              "display": "Masern mit Otitis"
            },
            {
              "system": "http://snomed.info/sct",
              "code": "13420004",
              "version": "http://snomed.info/sct/900000000000207008/version/20230731",
              "display": "Post measles otitis media (disorder)"
            }
          ]
        },
        "note": [
          {
            "text": "Masernotitis"
          }
        ],
        "bodySite": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "25342003",
                "version": "http://snomed.info/sct/900000000000207008/version/20230731",
                "display": "Middle ear structure (body structure)"
              }
            ]
          }
        ],
        "clinicalStatus": {
          "coding": [
            {
              "code": "active",
              "system": "http://terminology.hl7.org/CodeSystem/condition-clinical"
            }
          ]
        },
        "verificationStatus": {
          "coding": [
            {
              "code": "confirmed",
              "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status"
            }
          ]
        },
        "subject": {
          "reference": "Patient/mii-exa-test-data-patient-1"
        },
        "recordedDate": "2024-02-21",
        "onsetDateTime": "2024-02-21"
      }
    },
    {
      "request": {
        "method": "POST",
        "url": "Condition"
      },
      "fullUrl": "https://www.medizininformatik-initiative.de/Condition/mii-exa-test-data-patient-1-diagnose-2",
      "resource": {
        "resourceType": "Condition",
        "id": "mii-exa-test-data-patient-1-diagnose-2",
        "meta": {
          "security": [
            {
              "code": "HTEST",
              "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
              "display": "test health data"
            }
          ],
          "profile": [
            "https://www.medizininformatik-initiative.de/fhir/core/modul-diagnose/StructureDefinition/Diagnose"
          ]
        },
        "code": {
          "coding": [
            {
              "system": "http://fhir.de/CodeSystem/bfarm/icd-10-gm",
              "code": "H67.1",
              "version": "2023",
              "display": "Otitis media bei anderenorts klassifizierten Viruskrankheiten"
            }
          ]
        },
        "note": [
          {
            "text": "Masernotitis"
          }
        ],
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/condition-related",
            "valueReference": {
              "reference": "Condition/mii-exa-test-data-patient-1-diagnose-1"
            }
          }
        ],
        "clinicalStatus": {
          "coding": [
            {
              "code": "active",
              "system": "http://terminology.hl7.org/CodeSystem/condition-clinical"
            }
          ]
        },
        "verificationStatus": {
          "coding": [
            {
              "code": "confirmed",
              "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status"
            }
          ]
        },
        "subject": {
          "reference": "Patient/mii-exa-test-data-patient-1"
        },
        "recordedDate": "2024-02-21",
        "onsetDateTime": "2024-02-21"
      }
    }
  ],
  "total": 3
}

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