Create Encounter

79 views
Skip to first unread message
Assigned to Fenil....@cerner.com by me

GEMINI_JJ

unread,
Jul 14, 2021, 1:10:24 PM7/14/21
to Cerner FHIR Developers

Trying to create an encounter with the following request body.

The serviceProvider property seems to be mandatory. 


Prior to making this call we only have appointment response object which have a reference to LocationId

We can call the Get Location by Id and extract the OrganizationId.

The problem is we don't have Location.read scope for the clientid we are using.

Is there any way around?


{

    "resourceType": "Encounter",

    "status": "planned",

    "type": [

        {

            "coding": [

                {

                    "system": "https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/71",

                    "code": "309310"

                }

            ]

        }

    ],

    "subject": {

        "reference": "Patient/123"

    },

    "participant": [

        {

            "type": [

                {

                    "coding": [

                        {

                            "system": "https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/333",

                            "code": "1119"

                        }

                    ]

                }

            ],

            "period": {

                "start": "2021-07-16T06:00:00Z",

                "end": "2021-07-17T06:00:00Z"

            },

            "individual": {

                "reference": "Practitioner/123"

            }

        }

    ],

    "period": {

        "start": "2021-07-16T06:00:00Z",

        "end": "2021-07-17T06:00:00Z"

    },

    "serviceProvider": {

        "reference": "Organization/123"

    }

}

Fenil Desani (Cerner)

unread,
Jul 14, 2021, 1:35:23 PM7/14/21
to Cerner FHIR Developers
Hello,

Are you not able to edit your Application's registration to add Location.read scope?

Thank you,
Fenil (Cerner)

GEM_JJ

unread,
Jul 27, 2021, 11:12:50 AM7/27/21
to Cerner FHIR Developers
We have reached out to Cerner team to add system scopes since we were not able to do it from our side.

Fenil Desani (Cerner)

unread,
Jul 27, 2021, 2:27:44 PM7/27/21
to Cerner FHIR Developers
Please provide the clientId of your Application.
Reply all
Reply to author
Forward
0 new messages