This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

FHIR Ontology Requirements

From HL7Wiki
Revision as of 16:03, 29 December 2014 by Dbooth (talk | contribs)
Jump to navigation Jump to search

DRAFT

Priorities are indicated using MoSCoW terms (MUST, SHOULD, COULD, WON'T).

1. (MUST?) Define FHIR instance data mappings to and from RDF and define an OWL/RDFS FHIR ontology for the structure and semantics of that instance data.

Was: [[
We want to be able to represent instances as RDF and Profiles and schemas as OWL/RDFS
* LM: My leaning is to drop "schemas" from this. Schemas are derived from profiles and schemas only exist for the root resources, whereas profiles will exist for all sorts of things that profiles won't.
]]

2. (MUST) It must be possible to round-trip instance data from XML/JSON through the RDF representation. This means that FHIR instance data in RDF, in combination with the FHIR ontology, must capture all of the standard semantics of the corresponding FHIR XML or JSON data that are independent of the choice of serialization.

  • This includes retaining information about order of repeating elements
QUESTION: Is the order of repeating elements semantically significant in FHIR? I.e., would it affect or use of the interpretation of the information?
ANSWER(LM): Yes. Or more specifically, it's allowed to be. Order of medications in a list, order of names, etc. is required to be retained and, depending on the definition of the element, can have meaning. As well, retaining order is essential to allow digital signature validation after round-tripping
  • Needs to allow for extensions where-ever they can appear, including simple types (date, boolean, etc.)

3. (MUST?) FHIR data with modifier extensions must be "safe" for RDF reasoning, i.e., the semantics of the RDF must be monotonic even in the presence of modifier extensions.

Was: [[
Syntax needs to be "safe" when dealing with modifier extensions
QUESTION: What is meant by "syntax"? RDF has several serializations. What syntax do you mean?
]]

4. (SHOULD?) OWL representation must support vocabulary bindings to code, Coding and CodeableConcept - including dealing with extensible value sets and multi-code system value sets

QUESTION: I've reworded this to say "RDF and/or OWL representations" instead of "Syntax". Was this a correct interpretation? If not, what was meant by "Syntax"?
(LM) I'd say this is a SHALL. And changed it to just OWL. Instances won't declare vocabulary bindings

5. (SHOULD?) Syntax should enforce constraints that are representable in RDF (e.g. schema constraints, regular expressions, etc.)

QUESTION: Does this mean that the RDF and/or OWL representations should take advantage of available native RDF or OWL ways of expressing constraints??
ANSWER: Yes

6. (SHOULD? COULD?) In the RDFS/OWL, should expose at least minimal annotation information for display

QUESTION: Please clarify: What kinds of annotation information do you have in mind?

7. To support inference it would help if datatypes (date, dateTime, value, etc.) were represented as IRIs (xsd) rather than as string literals.

QUESTION: Some of the types (e.g. date) are the union of multiple xsd types (xs:date, xs:gYearMonth, xs:gYear). Can OWL/RDFS handle that?

8. Clearly articulate the value of the new RDF/RDFS/OWL representation over the current XML/JSON representation

  • Objective here isn't "you should do RDF/etc. instead of JSON/XML", but rather "these are the circumstances in which RDF/etc. would provide value-add"
(DBooth) This seems like a helpful thing to do, but it does not sound like a requirement of the FHIR ontology itself.
(LM) Agree

9. Enablement of OWL/RDFS inference – so we could identify use cases that cannot be easily done based on the XML/JSON representation

QUESTION: What kinds of inference do you have in mind?
ANSWER: See some of the use cases below

10. A common OWL/RDFS representation for information model elements and medical terminology concepts.

  • (LM)I'm not sure what this means. I think the scope of this project is limited solely to FHIR models and value sets?

11. (OBSOLETE -- Merged into #1)

12. (SHOULD? COULD?) RDF/OWL expressions should be (business, clinical) user friendly and understandable

13. Transformations into FHIR must validate against Schemas and Profile

  • (LM) Not sure what this means The RDF syntax will *be* FHIR - it won't be a translation into FHIR. It'll just be one of the permitted syntaxes. If this means that data that is converted from RDF into the other syntaxes needs to be valid, I think that's covered by #1

14. Transformations into RDF must meet software quality checks including closure.

QUESTION: What kinds of quality checks? What is meant by "closure"?

15. (MUST?) The RDF and RDFS/OWL expressions must be capable of expressing all legal FHIR instances and profiles. I.e. A syntax which is limited to only a subset of possible instances is not acceptable

USE CASES

Real world use cases that require and demonstrate the value of an RDF/OWL representation - TBD

  • Identify (through extension profile properties) inheritance relationships to abstract concepts and properties that hold across resources. E.g. "All orders", "All interventions", "All medications"
  • Allow easy testing of subsumption relationships between profiles - "Profile A is a proper constraint on Profile B"
  • Allow validation of mappings between FHIR elements and RIM, v2 and other models to:
    • Ensure that mapped to elements and paths actually exist
    • Allow identification of overlapping or unclear semantics in FHIR (as well as poorly expressed/imprecise mappings)
  • Allow FHIR-based data to be linked to other RDF data and queried via technologies such as SPARQL
  • Provide a recommended syntax for persisting FHIR data as triple-stores, allowing reasoning capabilities to be exercised (e.g. subsumption testing of codes when querying)