FHIR Chat · narrative in contained resource · implementers

Stream: implementers

Topic: narrative in contained resource


view this post on Zulip Piotr Sokoliński (Mar 24 2022 at 11:13):

Hi!
I have a quick question regarding narrative. I try to upload a Patient to the Smile server with a contained resource Organization. This contained Organization resource includes narrative:

...
"contained": [
        {
            "id": "Organization1",
            "resourceType": "Organization",
            "text": {
                "status": "generated",
                "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Employer Description 1</div>"
            },
            "type": [
                {
                    "text": "EMP_1"
                }
            ],
            "name": "Employer Name 1"
        }
    ]
...

But when I post Patient resource with such Organization, the created record returned by the server does not include narrative:

...
"contained": [
    {
        "resourceType": "Organization",
        "id": "Organization1",
        "type": [
            {
                "text": "EMP_1"
            }
        ],
        "name": "Employer Name 1"
    }
]
...

No error is returned from the Smile server when posting. Fetching resource results in the same outcome, contained resource is returned without the narrative. So my question is if there are any constraints on the narrative in contained resources (I could not find any)? Or it is a bug on the Smiler server side? Thank you for your help in advance!

view this post on Zulip Julian Sass (Mar 24 2022 at 13:09):

It's in here: http://hl7.org/fhir/domainresource-definitions.html#DomainResource.text
Contained resources do not have narrative.

view this post on Zulip René Spronk (Mar 24 2022 at 14:38):

The contents of the contained resources should be covered by the text of the containing resource.

view this post on Zulip Piotr Sokoliński (Mar 24 2022 at 14:47):

Thanks a lot! I missed that.

view this post on Zulip Frankie Hadwick (Mar 24 2022 at 14:53):

Hey, new to FHIR here. Boss has tasked me with some FHIR related stuff but im worried im misunderstanding alot. Is there anyone i can quiz on it? Cheers

view this post on Zulip Josh Mandel (Mar 24 2022 at 15:03):

I would be happy to spend 45 minutes with you if you don't mind recording it to publish for the rest of the community to benefit from what we discuss! Feel free to send me a private message.

view this post on Zulip Rupal jain (Mar 24 2022 at 15:54):

I would also need the presentation as I am new to FHIR and supposed to be working on EHR FHIR integration project.

view this post on Zulip Lloyd McKenzie (Mar 24 2022 at 16:30):

Note that there are lots of videos already publicly available that walk through different aspects of the FHIR spec - a web search should find them for you.

view this post on Zulip Brian Postlethwaite (Mar 29 2022 at 08:37):

There used to be a rule to prevent contained resources having narrative, but I thought that was removed, to permit a contained narrative only resource to work.

view this post on Zulip Andrey Alabin (Mar 29 2022 at 12:34):

Hi! I'm new to FHIR here. Is there anyone i can quiz on about using the codes from this form: http://hl7.org/fhir/valueset-coverage-type.html ?

view this post on Zulip John Moehrke (Mar 29 2022 at 12:54):

@Andrey Alabin are you asking about "narrative in contained resource", or are you asking about a new topic? Please create new topic.... then, just ask your question there.

view this post on Zulip Andrey Alabin (Mar 29 2022 at 12:57):

@John Moehrke about "narrative in contained resource"

view this post on Zulip John Moehrke (Mar 29 2022 at 12:59):

okay, it is not clear how the coverage-type valueset is related to this stream about narrative in contained resources.


Last updated: Apr 12 2022 at 19:14 UTC