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

Add means to create a Coding via FHIRPath

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Not Persuasive
    • Icon: Very High Very High
    • FHIR Core (FHIR)
    • R4
    • FHIR Infrastructure
    • FHIRPath (fluentpath)
    • Hide

      The base FHIRPath specification will introduce a mechanism for doing this and there's no need to do anything in the fhir/FHIRPath spec.

       

      Show
      The base FHIRPath specification will introduce a mechanism for doing this and there's no need to do anything in the fhir/FHIRPath spec.  
    • Grahame Grieve/Gino Canessa: 17-0-0

    Description

      See https://chat.fhir.org/#narrow/stream/179266-fhirpath/topic/data.20extraction.20for.20Questionnaires/near/212740081
      and https://chat.fhir.org/#narrow/stream/179266-fhirpath/topic/data.20extraction.20for.20Questionnaires/near/212205755

      After a long discussion, what seems to have been settled on is the introduction into the FHIR profile of FHIRPath (not the core FHIRPath) of a %factory object (same syntax as %terminologies), that would have functions for creating various types, including Coding, like:

      %factory.coding(system, code, display)

      This could be used like (per Bryn Rhodes, in that same topic):

      ValueSet.expansion.contains.select(Factory.coding(system, code, display))

      which would convert the entries under "contains" into Codings.

      Also in that thread Grahame Grieve mentioned Quantity, Identifier and Period also other candidates for %factory functions.

      Attachments

        Activity

          People

            Unassigned Unassigned
            plynch Paul Lynch
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: