Uploaded image for project: 'FHIR Specification Feedback'
  1. FHIR Specification Feedback
  2. FHIR-23937

Document parameters of dateOp

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive with Modification
    • Icon: Very High Very High
    • FHIR Core (FHIR)
    • STU3
    • FHIR Infrastructure
    • Mapping Language
    • 7.7.0.7.2
    • Hide

      Discussing some of the changes via Zulip.  However, at minimum want to change this sentence: "In this case, there is no context for the FHIRPath expression, and it must start with a reference to one of the defined variables" to

      "In this case, there is no explicit context for the FHIRPath expression, and any context is implicit through references to existing variables. E.g." with a couple of examples added on

      Will raise a new R6 tracker to actually define parameters for dateOp once we have consensus on what they should be.

      Show
      Discussing some of the changes via Zulip.  However, at minimum want to change this sentence: "In this case, there is no context for the FHIRPath expression, and it must start with a reference to one of the defined variables" to "In this case, there is no explicit context for the FHIRPath expression, and any context is implicit through references to existing variables. E.g." with a couple of examples added on Will raise a new R6 tracker to actually define parameters for dateOp once we have consensus on what they should be.
    • Grahame Grieve/Josh Mandel: 10-0-0
    • Enhancement
    • Non-substantive
    • R5

    Description

      Currently, the parameters of the "dateOp" target transform functions are undocumented. Proposal to add two parameters:

      1. "source" - contains a string which represents a dateTime in some format (e.g. "MM/dd/yyyy H:mm", or "DD.MM.YYYY")

      2. "type" - either "time", "dateTime", "date", or "instant"

      The dateOp function should attempt to parse the source parameter and convert it into the specified type. If this cast fails, an error is thrown.

      Attachments

        Activity

          People

            Unassigned Unassigned
            alexanderzautke Alexander Zautke
            Lloyd McKenzie
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: