Open CzarMich opened 2 years ago
can you provide me the fhir resource ?
can you provide me the fhir resource ? Attached. POLAR_Testdaten_UKB.zip
First of all thats super a lot of resources how am i supposed to debug which one does not work ? Secondly the bundles ocntain ressources that are not supported for the NUM CODEX and therefore was never mapped. For all supported profiles check the Profile.java class. If you want me to help you please provide me the exact resource.
Here is a test patient that you can use. This is the resource producing the mentioned error: Sources; Postman Collections
`{
"resourceType": "Patient",
"meta": {
"profile": [
"https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/Patient"
]
},
"extension": [
{
"url": "https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/ethnic-group",
"valueCoding": {
"system": "http://snomed.info/sct",
"code": "186019001",
"display": "Other ethnic, mixed origin"
}
},
{
"extension": [
{
"url": "dateTimeOfDocumentation",
"valueDateTime": "2020-10-01"
},
{
"url": "age",
"valueAge": {
"value": 68,
"unit": "years",
"system": "http://unitsofmeasure.org",
"code": "a"
}
}
],
"url": "https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/age"
}
],
"identifier": [
{
"system": "http://www.netzwerk-universitaetsmedizin.de/sid/crr-pseudonym",
"value": "codex_6348Q7"
}
],
"birthDate": "1952-09-30"
}`
Anyhow currently my term server does not work and requires reconfig i asked @subigre to help me with that. With a newer version now the identifier requires a type, you need to add it. This does not explain the error, but you should at it.
{
"resourceType": "Patient",
"meta": {
"profile": [
"https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/Patient"
]
},
"extension": [
{
"url": "https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/ethnic-group",
"valueCoding": {
"system": "http://snomed.info/sct",
"code": "186019001",
"display": "Other ethnic, mixed origin"
}
},
{
"extension": [
{
"url": "dateTimeOfDocumentation",
"valueDateTime": "2020-10-01"
},
{
"url": "age",
"valueAge": {
"value": 68,
"unit": "years",
"system": "http://unitsofmeasure.org",
"code": "a"
}
}
],
"url": "https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/age"
}
],
"identifier": [
{
"system": "http://www.netzwerk-universitaetsmedizin.de/sid/crr-pseudonym",
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "ANON"
}
]
}, "value": "codex_6348Q7"
}
],
"birthDate": "1952-09-30"
}
Identifier type added.
So I deleted the extension: { "url": "https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/ethnic-group", "valueCoding": { "system": "http://snomed.info/sct", "code": "186019001", "display": "Other ethnic, mixed origin" } }
Pushed to server and Patient was created. I believe this can be used to close/solve the issue #534
I checked on Better EHR server, and Patient does exists. š
Dear @CzarMich
First of all, I apologize for the late reply but I did not pay attention to this repository since a while as I am now working on EHRbase only.
Based on the initial error and the web template. I think that the issue comes from the Better server.
Could you please try the following (even if it is completely wrong):
"system": "http://snomed.info/sct",
by
"system": "//fhir.hl7.org/ValueSet/$expand",
Hi @subigre , I had tried this already, I do get the error below;
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "processing",
"diagnostics": "Coding.system must be an absolute reference, not a local reference",
"location": [
"Patient.extension[0].value.ofType(Coding)",
"Line 12, Col 53"
]
}
]
}
Ah right, this one comes from the FHIR Bridge and HAPI FHIR validation API š¢
I managed to get V1.4.2 running with BETTER EHR. But Creating Patient is not responding as expected. @birgerhaarbrandt
When I try to CREATE/post the current sample patient via Postman; I end up with the error:
I was thinking of editing the template in the EHR to rather: "http://snomed.info/sct\". Any suggestions?
This is how it looks like on the opt/ template in the ehr server file for patient.