Q&A for FHIR in C#

Christian Ferreira 4/25/2018 2:56:50 PM

Post any questions or concerns you may have for the C# starter project here! Be sure to subscribe for the latest updates.

0 Vote Up 0 Vote Down

9 Comment Details

Order By Standard | Newest | Votes | All
Dawne Pierce 4/25/2018 5:40:56 PM

I have logged into the innovation lab website and found my sender Id, but I cannot find where in the code I am supposed to put it.

0 Vote Up 0 Vote Down
Chris 4/25/2018 5:56:59 PM

Hello Dawne, After you have received your sender identifier you will need to paste it into the ServiceController.cs file on line 18 replacing the Unique-Sender-Id as the value for the SenderId Below is the line which will need to be altered. protected static string SenderId = "Unique-Sender-Identifier";

1 Vote Up 0 Vote Down
Jyoshna 5/1/2018 9:29:03 AM

I downloaded the project and when i actually looked into Nuget dependencies it has Hl7.Fhir.DSTU2 instead of STU3, documentation says its using STU3. Could you please confirm which library it is using?

0 Vote Up 0 Vote Down
Christian Ferreira 5/1/2018 9:41:01 AM

Hi Jyoshna,

I have confirmed the starter project uses the DSTU2 library, not STU3. The documentation has been changed to reflect this.

Regards,

Christian

1 Vote Up 0 Vote Down
Jyoshna 5/1/2018 9:45:17 AM

Hi Christian,

Thank you for immediate response. Just a quick questions, Do we have any updated version which uses STU3 sample projects too or it only uses DSTU2?

0 Vote Up 0 Vote Down
Christian Ferreira 5/1/2018 10:24:01 AM

Hi Jyoshna,

As of right now, we only have the DSTU2 version of the starter project.

Regards,

Christian

0 Vote Up 0 Vote Down
Christian Ferreira 5/1/2018 1:50:58 PM

Hi Jyoshna,

I wasn’t able to get the STU3 library working with DHDR because of a an inconsistency within the library.

DHDR can return a resource of type MedicationOrder, which is not supported in the current FHIR or library release (http://hl7.org/fhir/2016sep/medicationorder.html).

The way around this was to piggy-back off the DSTU2 library, which still supported the resource.

I do believe there is a way to account for unrecognized resources in the STU3 library, so some possible next steps from this are allowing a STU3 based application to accept a response from DHDR.

If this is the route you want to go, feel free to ask if you have any questions!

Regards,

Christian

0 Vote Up 0 Vote Down
Jyoshna 5/1/2018 1:59:36 PM

Hi Christian,

Thank you. I just wanted to make sure the services DHDR and OLIS is on DSTU2 or STU3 library supported?

0 Vote Up 0 Vote Down
Arthur Krughkov 5/2/2018 2:37:08 PM

Hi Jyoshna,

We are currently hosting the latest version of DHDR that is in PROD, which is based on FHIR DSTU2 standard and are building out to implement new release which will be built based on FHIR STU3 standard. So for time being DHDR will only be supported on DSTU2 library. Once we update to STU3, we will make sure that we update the project to reflect that.

Moreover, we will try and make it clearer on the innovation-lab. Obviously it is not very clear :), thanks for bringing this us to our attention.

0 Vote Up 0 Vote Down

Stay Up To Date

Published four times a year, the Blueprint Bulletin provides readers with regular insight into the elements, services and new developments associated with the Ontario eHealth blueprint.