FHIR Chat · Adding extensions to Genomics Report · genomics

Stream: genomics

Topic: Adding extensions to Genomics Report


view this post on Zulip Mullai Murugan (Sep 05 2019 at 23:21):

With reference to thread https://chat.fhir.org/#narrow/stream/179256-Orders-and.20Observation.20WG/topic/report.20disclaimer, we have added test disclaimer as an extension to the Genomics Report profile. However, during validation, we get the message "This element does not match any known slice for the profile http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/diagnosticreport". Not sure if we missed anything in the implementation, appreciate feedback. Thanks!

view this post on Zulip Kevin Power (Sep 06 2019 at 16:38):

@Mullai Murugan - Do you mind linking to or uploading your example? Is that message listed as an error, warning, informational, or something else?

view this post on Zulip Fei Yan (Sep 06 2019 at 17:30):

@Kevin Power Our DiagnosticReport resource is as below:

"resourceType": "DiagnosticReport",
"id": "12917",
"meta": {
"versionId": "1",
"lastUpdated": "2019-09-04T12:16:52.000-05:00",
"profile": [
"http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/diagnosticreport"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/relatedArtifact",
...
}
},
{
"url": "http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/recommendedAction",
...
},
{
"url": "http://hl7.org/fhir/StructureDefinition/test-disclaimer",
"valueString": "This test was developed ....."
}
...

After validation, we got the message as below:

{
"severity": "information",
"code": "processing",
"diagnostics": "This element does not match any known slice for the profile http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/diagnosticreport",
"location": [
"Parameters.parameter[0].resource.extension[2]"
]
}

Can you please advise? Thank you.

view this post on Zulip Kevin Power (Sep 06 2019 at 18:54):

Considering that is an informational message, it would seem like you can ignore it. I would guess the validator wants to raise the visiability to you so you can confirm didn't mean to use an already defined extension.

view this post on Zulip Mullai Murugan (Sep 06 2019 at 20:13):

@Kevin Power thanks. @Fei Yan we will ignore this message.


Last updated: Apr 12 2022 at 19:14 UTC