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

Invariant opd-3 for OperationDefinition needs fixing

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive with Modification
    • Icon: Medium Medium
    • FHIR Core (FHIR)
    • R4
    • FHIR Infrastructure
    • OperationDefinition
    • Hide

      1. Fix "allowed reosurce types" to be "allowed resource types"
      2. Adjust the opd-3 to say "A targetProfile can only be specified for parameters of type Reference, Canonical, or a Resource" and adjust the expression to be "targetProfile.exists() implies (type = 'Reference' or type = 'canonical' or type.memberOf('http://hl7.org/fhir/ValueSet/resource-types'))"

      Show
      1. Fix "allowed reosurce types" to be "allowed resource types" 2. Adjust the opd-3 to say "A targetProfile can only be specified for parameters of type Reference, Canonical, or a Resource" and adjust the expression to be "targetProfile.exists() implies (type = 'Reference' or type = 'canonical' or type.memberOf('http://hl7.org/fhir/ValueSet/resource-types'))"
    • Paul Denning/Josh Mandel: 12-0-0
    • Correction
    • Non-substantive
    • R5

    Description

      opd-3 restricts using OperationDefinition.parameter.targetProfile only when OperationDefinition.parameter.type is a reference or canonical.  https://jira.hl7.org/browse/FHIR-26411 suggests that OperationDefinition.parameter.type can be a resource and still use  OperationDefinition.parameter.targetProfile.  R5 updated the short description, but opd-3 has not changed.  OperationDefinition is Normative, so its not clear what is needed to correct opd-3.  Also, for IG profiles based on R4, IG Publisher may flag an error if used with a resource for OperationDefinition.parameter.type and using OperationDefinition.parameter.targetProfile.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mitrep9g Paul Denning
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: