FHIR Chat · FHIR path on single line: · implementers

Stream: implementers

Topic: FHIR path on single line:


view this post on Zulip Eric Haas (Feb 16 2019 at 09:52):

I taking this FHIR path from here http://build.fhir.org/questionnaire.html#search where is displayed on three lines as:

On Questionnaire.useContext:
  context-type: code
  context: value.as(CodeableConcept)

is this how its represent in a single line (e.g. ,spaces after useContext: and code)?

On Questionnaire.useContext: context-type: code context: value.as(CodeableConcept)

view this post on Zulip Grahame Grieve (Feb 17 2019 at 04:23):

well, it's not just FHIRPath being represented there

view this post on Zulip Eric Haas (Feb 18 2019 at 17:41):

Can you explain what the 'expression' is then? I thought it was a FHIR path for a composite SP?

view this post on Zulip Eric Haas (Feb 18 2019 at 17:52):

is the ":" a FHIR Path operator or a display notation?

view this post on Zulip Eric Haas (Feb 18 2019 at 18:03):

OK nm ... I answered my own question (RTFS): here is the expression for a composite SP:

      "expression" : "Questionnaire.useContext",
      "xpathUsage" : "normal",
      "multipleOr" : false,
      "multipleAnd" : true,
      "modifier" : ["missing"],
      "component" : [{
        "definition" : "http://hl7.org/fhir/SearchParameter/Questionnaire-context-type",
        "expression" : "code"
      },
      {
        "definition" : "http://hl7.org/fhir/SearchParameter/Questionnaire-context",
        "expression" : "value.as(CodeableConcept)"
      }]
    }
  },
....

... and that is what the until-now-I-ignored component is for


Last updated: Apr 12 2022 at 19:14 UTC