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

SimpleQuantity cannot be constrained to Quantity in a profile

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive with Modification
    • Icon: Medium Medium
    • US Core (FHIR)
    • 7.0.0-ballot
    • Cross-Group Projects
    • STU
    • US Core MedicationDispense Profile
      US Core MedicationRequest Profile
    • Hide

      Will correct type from Quantity to SimpleQuantity

      Discuss will publishing whether validator can be updated to generate an error for this occurrance.

      Show
      Will correct type from Quantity to SimpleQuantity Discuss will publishing whether validator can be updated to generate an error for this occurrance.
    • Brett Marquard/Eric Haas: 17-0-0
    • Correction
    • Compatible, substantive

    Description

      Some US Core profiles specify elements with a Quantity type where their parent resource specifies a SimpleQuantity. This is invalid since a profile cannot widen a type (i.e., Quantity is wider than SimpleQuantity). This happens in the following places:

      US Core MedicationDispense profile:

      • quantity
      • dosageInstructions.doseAndRate.dose[x]

      US Core MedicationRequest profile:

      • dosageInstructions.doseAndRate.dose[x]

      These elements should use type SimpleQuantity instead of Quantity.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cmoesel Chris Moesel
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: