Stream: dotnet
Topic: CDA to FHIR conversion
Miguel Curi (Jun 26 2017 at 18:20):
Hello I am trying to implement converting a CDA into a FHIR bundle in code. I am currently building the FHIR bundle in C# code using this library and am trying to figure out how to build the race part of the patient demographics. I am looking for an example of how to build Hl7.Fhir.Model.Patient with the race extension such as:
{ "url": "http://fhir.org/guides/argonaut/StructureDefinition/argo-race", "extension": [ { "url": "ombCategory", "valueCoding": { "system": "http://hl7.org/fhir/v3/Race", "code": "2106-3", "display": "White", "userSelected": false } }, { "url": "text", "valueString": "White" } ] }
Any help is appreciated.
Also, if there is a better way to transform CDA to FHIR than doing it in code I would be interested in knowing about it. It seems like a common scenario and would like to know what others are doing using the dotnet impl.
Thanks.
Miguel.
Richard Kavanagh (Jun 26 2017 at 19:40):
The following works for me
pasted image
Miguel Curi (Jun 26 2017 at 20:08):
Excellent, thank you! Wasn't sure what was needed to get "valueCoding".
Last updated: Apr 12 2022 at 19:14 UTC