Stream: implementers
Topic: SNOMED implementation in FHIR
Abdul Rauf (Nov 16 2016 at 13:01):
is there any example how FHIR will look like when i search "Malaria " on terminology services?
Grahame Grieve (Nov 17 2016 at 03:51):
Abdul Rauf (Nov 17 2016 at 04:38):
is there any example how FHIR will look like when i search "Malaria " on terminology services?
Also please help , i have Dataset as result i just want to translate or want to show according to FHIR style, how will i do this?
Lloyd McKenzie (Nov 17 2016 at 04:43):
@Abdul Rauf Have you tried running the query Grahame just provided?
Lloyd McKenzie (Nov 17 2016 at 04:44):
In terms of translating, you'll probably have to write some code . . . :) Running the example will give you a sense of what it should look like, but you'll also need to read through the FHIR specification to understand the syntax, know how to validate and understand other expectations for your software
Abdul Rauf (Nov 17 2016 at 04:56):
Hi @ Lloyd McKenzie,
Abdul Rauf (Nov 17 2016 at 04:58):
Thanks for reply, Yes i visit link provided by Grahame, there is no step by step guidance for this?
Abdul Rauf (Nov 17 2016 at 04:58):
How we can implement composite classes in it?
Lloyd McKenzie (Nov 17 2016 at 05:09):
@Abdul Rauf I'm not sure what sort of step-by-step guidance you're looking for. The introduction for developers gives a step-by-step walkthrough of using FHIR in general. If you go to the downloads page, you can find the reference implementations which should provide the class implementations you need to get started in your language of choice.
Abdul Rauf (Nov 17 2016 at 05:39):
@ Lloyd McKenzie Thanks for guidance i will try all these steps and will come back asap. :)
Abdul Rauf (Nov 17 2016 at 06:19):
Hi @Grahame Grieve Thanks for link, can u please share ValueSet example in json as well for filter Malaria???
Lloyd McKenzie (Nov 17 2016 at 06:29):
@Abdul Rauf If you want JSON, either set the Accept header to indicate you want JSON as per the spec or add the parameter "&_format=json" to the above query. (And please do read through the specification a bit as it gives instructions for how to request XML vs. JSON along with a lot of other important information :))
Abdul Rauf (Nov 17 2016 at 09:13):
@Lloyd McKenzie Thank you :)
Abdul Rauf (Nov 17 2016 at 09:43):
@Grahame Grieve can you please also send me links for $lookup Concept Look-Up for malaria code( 61462000 ) , and for $validate-code ( 61462000 ) Value Set based Validation same as you send like this:
http://fhir3.healthintersections.com.au/open/ValueSet/$expand?identifier=http%3A%2F%2Fsnomed.info%2Fsct%3Ffhir_vs&filter=Malaria
Grahame Grieve (Nov 17 2016 at 09:45):
have you read the definition of the operations?
Abdul Rauf (Nov 17 2016 at 09:46):
Yes but i need example as i am have to have same format according to FHIR...
Grahame Grieve (Nov 17 2016 at 09:50):
Grahame Grieve (Nov 17 2016 at 09:52):
Abdul Rauf (Nov 17 2016 at 09:56):
Bundle of Thanks, no i know, what i have to return all three cases ( $expand Value Set Expansion, $lookup Concept LookUp, $validate-code Value Set based Validation)
Abdul Rauf (Nov 17 2016 at 09:57):
And can you share any link to me from where i can verify this that my FHIR Server API is returning 100% accurate according to standard.?
Grahame Grieve (Nov 17 2016 at 09:58):
that's much harder work. have a look at the test scripts for the terminology track for the recent HL7 connectathons
Abdul Rauf (Nov 17 2016 at 10:10):
@Grahame Grieve i did not get your point?
Lloyd McKenzie (Nov 17 2016 at 10:18):
Connectathon information can be found on the FHIR wiki. Look for the most recent connectathon, then look for the terminology track, then look at the test scripts
Michael Lawley (Nov 18 2016 at 01:29):
@Abdul Rauf If your server is public, send me the base URL and I can add add it to the set of servers that your ValueSet Explorer tool supports. You can see what it looks like here: http://ontoserver.csiro.au/vstool
Abdul Rauf (Nov 18 2016 at 04:36):
Hi, Please any body can tell me which resource will be involved when i implementing
1 - ( $expand)
http://fhir3.healthintersections.com.au/open/ValueSet/$expand?identifier=http%3A%2F%2Fsnomed.info%2Fsct%3Ffhir_vs&filter=Malaria
2- ( $lookup)
http://fhir3.healthintersections.com.au/open/CodeSystem/$lookup?system=http%3A%2F%2Fsnomed.info%2Fsct&code=61462000
3- ( $validate-code)
http://fhir3.healthintersections.com.au/open/ValueSet/$validate-code?identifier=http%3A%2F%2Fsnomed.info%2Fsct%3Ffhir_vs&system=http%3A%2F%2Fsnomed.info/sct&code=61462000
Jim Steel (Nov 18 2016 at 04:38):
ValueSet
Jim Steel (Nov 18 2016 at 04:39):
The answer is in the URLs. $expand and $validate-code work on ValueSets (which import or include codes from CodeSystems), and $lookup works on CodeSystems
Abdul Rauf (Nov 18 2016 at 04:41):
ok @Jim Steel Thanks for help, let me check, i am implementing side by side.
Abdul Rauf (Nov 18 2016 at 04:55):
{"resourceType" : "Parameters","parameter" : [{"name" : "result","valueBoolean" : true},{"name" : "display","valueString" : "Malaria"}]}
Can any one please help me, how i can achieve this?
Jim Steel (Nov 18 2016 at 05:00):
https://ontoserver.csiro.au/baltimore/CodeSystem/$lookup?system=http://snomed.info/sct&property=display&code=154374002 gives you something similar
Jim Steel (Nov 18 2016 at 05:01):
but starting with the answer and working back to the question may not be the best way to solve your problem
Abdul Rauf (Nov 18 2016 at 05:03):
Infact issue is this how i will assign values like i create first var _valueset = new ValueSet(); Object then how i will
add resourceType? and Parameter resources?
_valueset.Parameters??
Jim Steel (Nov 18 2016 at 05:06):
oh, you want the result type. If you're implementing $expand, you'll create a valueset, then add concepts to its expansion property. If you're implementing $lookup, then you create a Parameters object, then add parameters to its parameter property. This will all depend on what language/library you are using, though
Abdul Rauf (Nov 18 2016 at 05:07):
Currently i m implementing $validate-code
Jim Steel (Nov 18 2016 at 05:08):
That also returns a Parameters object
Abdul Rauf (Nov 18 2016 at 05:13):
Is there any one please help me?
var _ParameterComponent = new ValueSet.ParameterComponent();
_ParameterComponent.Name = "display";
_ParameterComponent.Value = ?
Is this is ok ?
but i did not find how i will set valueBoolean or valuestring?
Abdul Rauf (Nov 18 2016 at 05:38):
Can anyone give me code example of C-Sharp for this JSON.
{
"resourceType": "Parameters",
"parameter": [
{
"name": "display",
"valueString": "Malaria"
}
]
}
Michael Lawley (Nov 18 2016 at 06:51):
I'm not a c# person, but following the C# link from http://build.fhir.org/downloads.html to https://github.com/ewoutkramer/fhir-net-api gives me links to what looks like relevant online doc here http://ewoutkramer.github.io/fhir-net-api/docu-index.html
Abdul Rauf (Nov 18 2016 at 09:42):
Hello @Michael Lawley i have gone through all these but no benifit.
Abdul Rauf (Nov 18 2016 at 11:15):
Please help me what i am doing wrong?
var _valueset = new ValueSet();
var _parameters = new Parameters();
//List<Parameters.ParameterComponent> lstparmcomponent;
//_valueset.Identifier=Identifier.IdentifierUse.Official;
_parameters.Parameter = new List<ValueSet.ParameterComponent>
{
new ValueSet.ParameterComponent()
{
Name = "result",
Value = new FhirBoolean(true)
},
new ValueSet.ParameterComponent()
{
Name = "display",
Value = new FhirString("Malaria")
},
};
Abdul Rauf (Nov 18 2016 at 11:53):
This is my final code, getting this getting exception when curser reached at this line "_valueset.Expansion.Parameter = new List<ValueSet.ParameterComponent>"
var _valueset = new ValueSet(); var _parameters = new Parameters(); String payload = String.Empty; _valueset.Expansion.Parameter = new List<ValueSet.ParameterComponent> { new ValueSet.ParameterComponent() { Name = "result", Value = new FhirBoolean(true) }, new ValueSet.ParameterComponent() { Name = "display", Value = new FhirString("Malaria") }, }; payload = FhirSerializer.SerializeResourceToJson(_valueset); if (!string.IsNullOrWhiteSpace(payload)) { ObjStatus = new FhirResponse(HttpStatusCode.Found, _valueset); }
Michael Lawley (Nov 20 2016 at 01:32):
@Abdul Rauf As I said, I'm not a C# person, but the examples there look to me like there's some kind of fluent API model (see code like HumanName.ForFamily("Kramer").WithGiven("Ewout")
) that I would expect a C# IDE would make easily usable through code completion?
You might also find more .NET / C# people over here: https://groups.google.com/forum/#!forum/fhir-dotnet
Brian Postlethwaite (Nov 27 2016 at 00:01):
Or the dotnet zulip channel here https://chat.fhir.org/#narrow/stream/dotnet
Last updated: Apr 12 2022 at 19:14 UTC