FHIR Chat · Error in Doco · terminology

Stream: terminology

Topic: Error in Doco


view this post on Zulip Grahame Grieve (Sep 08 2016 at 10:51):

I've just implemented the $subsumes operation, and I've discovered that there's a mistake in the spec

view this post on Zulip Grahame Grieve (Sep 08 2016 at 10:51):

GET [base]/CodeSystem/$subsumes?system=http://snomed.info/sct&codeA=3738000&codeB=235856003

view this post on Zulip Grahame Grieve (Sep 08 2016 at 10:52):

response is said to be

{
  "resourceType" : "Parameters",
  "parameter" : [
    {
    "name" : "outcome",
    "valueCode" : "subsumes"
  }
}

view this post on Zulip Grahame Grieve (Sep 08 2016 at 10:52):

but it should actually be

{
  "resourceType" : "Parameters",
  "parameter" : [
    {
    "name" : "outcome",
    "valueCode" : "subsumed-by"
  }
}

view this post on Zulip Grahame Grieve (Sep 08 2016 at 11:09):

I'm about to post a new server versio with the following changes:

view this post on Zulip Grahame Grieve (Sep 08 2016 at 11:16):

  • add Conformance.instantiates
  • support for new overriding parameters on expansion operation
  • support for properties in look up
  • add $subsumes operation

view this post on Zulip Peter Jordan (Sep 08 2016 at 11:16):

The spec says that code A is the 'sub' code and code B is the 'super' code. So the example is asking if 3738000 |viral hepatitis| is a 235856003 | disorder of the liver| - which it is, so codeA is subsumed-by codeB...and I have to correct my server tomorrow!

view this post on Zulip Grahame Grieve (Sep 08 2016 at 11:17):

the doco needs improving, that's for sure. but the only way to read it is

view this post on Zulip Grahame Grieve (Sep 08 2016 at 11:18):

code A [relatinoship] code B

view this post on Zulip Peter Jordan (Sep 08 2016 at 11:20):

Cool - are you tackling $infer. I can see a possible issue with the SNOMED Composition example in the spec. The response returns a primitive concept which does not have a severity defining relationship.

view this post on Zulip Grahame Grieve (Sep 08 2016 at 21:09):

$infer is completely up in the air - interpret the documentation as a draft to make you think

view this post on Zulip Grahame Grieve (Sep 08 2016 at 21:09):

I'm going to tackle $infer on the plane on the way over to USA

view this post on Zulip Grahame Grieve (Sep 08 2016 at 22:02):

server is actually upgraded now

view this post on Zulip Rob Hausam (Sep 08 2016 at 23:07):

great - good to catch and fix that
I don't see a tracker item for it yet?

view this post on Zulip Peter Jordan (Sep 09 2016 at 01:00):

'Up in the air'...'on the plane' - pun intended? Looking at $subsumes - your server is returning an outcome of type string, whereas the spec states that it is of type code. Are you flying ahead of the spec?

view this post on Zulip David Hay (Sep 12 2016 at 03:06):

too many puns! You sound quite flighty...

view this post on Zulip Grahame Grieve (Sep 12 2016 at 17:59):

oops. Error in my code generator

view this post on Zulip Grahame Grieve (Sep 12 2016 at 18:05):

fixed next update

view this post on Zulip Grahame Grieve (Sep 17 2016 at 14:14):

Just upgraded my server

view this post on Zulip Peter Jordan (Sep 17 2016 at 14:52):

...and $subsumes now returns an outcome of type code, as per the spec. Good news!

view this post on Zulip Grahame Grieve (Sep 17 2016 at 15:02):

yep!


Last updated: Apr 12 2022 at 19:14 UTC