FHIR Chat · python indexing · fhirpath

Stream: fhirpath

Topic: python indexing


view this post on Zulip nicola (RIO/SS) (Aug 28 2018 at 21:02):

How about to use python-like negative indexing to get elements from end of collection?
collection[-1] means last element, collection[-2] one before last

view this post on Zulip Grahame Grieve (Aug 29 2018 at 03:58):

@nicola (RIO/SS) interesting idea


Last updated: Apr 12 2022 at 19:14 UTC