Invariants should be on MedicationStatement

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive
    • Priority: Very High
    • FHIR Core (FHIR)
    • DSTU1 [deprecated]
    • Pharmacy
    • STU
    • MedicationStatement
    • Hide

      Technical correction - Will fix

      Show
      Technical correction - Will fix
    • Jean/John: 5-0-0
    • Correction
    • Compatible, substantive
    • DSTU1 [deprecated]

      Invariants have to be declared with a base of the context node on which the xpaths are to be evaluated. And in the case of these xpaths, that's MedicationStatement, not MedicationStatement.reasonNotGiven or MedicationStatement.reasonForUse[x]. Also, you can't do an exists on reasonForUse[x]. You need to say exists(*[starts-with(local-name(.), 'reasonForUse')])

            Assignee:
            Unassigned
            Reporter:
            Lloyd McKenzie
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: