HL7 / fhir-shorthand

FHIR Shorthand
44 stars 8 forks source link

$this is missing in language reference doc #185

Open samanvp opened 3 weeks ago

samanvp commented 3 weeks ago

There are two instances of using $this in the language reference doc without explaining it. Similarly $total is used without any explanation.

jafeltra commented 3 weeks ago

Hi @samanvp. I believe the instances of $this and $total that you're seeing are not part of the actual FSH spec, but are used in a FSH example as example of a FHIRPath expression. The places where I see them being used are as an example value of the TestScript.variable.expression element. Since these are just examples of FHIRPath and not part of the FSH specification, I don't believe they need separate explanation here. The FHIRPath documentation has information about $this and $total. If you find that the examples here are confusing and you have ideas for how to improve them, please let us know.