You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified the problem exists in the available content
I have searched open and closed issues to make sure it isn't already reported
I have written a descriptive issue title
The bug
The invariants
inv-dh-eob-01: A PBS or RPBS claim SHALL include a prescription. (: (item.category.coding.code='pbs' or item.category.coding.code='rpbs') implies prescription.exists())
inv-dh-eob-02: A MBS or DVABS claim SHALL NOT include a prescription. (: (item.category.coding.code='mbs' or item.category.coding.code='dva') implies prescription.exists().not())
inv-dh-eob-04: A PBS claim (subType='pbs') SHALL be of type 'Pharmacy' (type='pharmacy'). (: subType.coding.code='pbs' implies type.coding.code='pharmacy')
fail for valid examples. In the FHIRPath expressions the antecedents are always true, so e.g.
a PBS claim with item.category.coding.code of 'pbs' with a prescription and no type, fails against invariant inv-dh-eob-04
a PBS claim with subType of 'pbs' and no item.category fails against invariant inv-dh-eob-02
an MBS claim with subType of 'mbs' and no item.category fails against invariant inv-dh-eob-01
What I expected to happen
Correct the FHIRPath for all invariants.
Workarounds
Do not validate against the profile.
The text was updated successfully, but these errors were encountered:
RichardTON
changed the title
In Explanation of Benefit Medicare inv-dh-eob-01 and -2 have incorrect FHIRPath expressions
Incorrect FHIRPath in Explanation of Benefit Medicare inv-dh-eob-01 and -2
Mar 23, 2021
RichardTON
changed the title
Incorrect FHIRPath in Explanation of Benefit Medicare inv-dh-eob-01 and -2
Incorrect FHIRPath in Explanation of Benefit Medicare inv-dh-eob-01, -02 and -04
Mar 25, 2021
I think we need to tighten up not loosen - the claim content comes solely from one system and the metadata for type, category, subType needs to be made consistent.
I don't think the examples should be considered valid.
At least one of two optional elements (subType or item.category) are required to be present to indicate the type of claim, i.e. MBS/DVA or PBS/RPBS. This design control is enforced by inv-dh-eob-03.
The other invariants that drive behaviour from claim type have only included one element. The existing invariants need to be refactored to include the use of both elements.
Prerequisites
The bug
The invariants
fail for valid examples. In the FHIRPath expressions the antecedents are always true, so e.g.
What I expected to happen
Correct the FHIRPath for all invariants.
Workarounds
Do not validate against the profile.
The text was updated successfully, but these errors were encountered: