The EOB.careTeam.provider will be limited to remove the option to reference a PractitionerRole Resource. It will only allow reference to a Practitioner Resource that conforms to the CARIN BB Practitioner profile or an Organization Resource that conforms to the CARIN BB Organization profile.
We will add invariants to the various EOB profiles based on the following business rules:
For the institutional EOB profiles, when the EOB.careTeam.role element is attending, pcp, referring, or supervising then EOB.careTeam.provider will reference a Practitioner Resource that conforms to the CARIN BB Practitioner profile. When the EOB.careTeam.role element is performing, the EOB.careTeam.provider will reference an Organization Resource that conforms to the CARIN BB Organization profile.
For the professional and non-clinician EOB profiles, when the EOB.careTeam.role element is performing, pcp, or referring then EOB.careteam.provider will reference a Practitioner Resource that conforms to the CARIN BB Practitioner profile. When the EOB.careTeam.role element is site, the EOB.careTeam.provider will reference an Organization Resource that conforms to the CARIN BB Organization profile.
For the pharmacy EOB profile, when the EOB.careTeam.role element is pcp, or prescribing then will reference a Practitioner Resource that conforms to the CARIN BB Practitioner profile. When the EOB.careTeam.role element is performing, the EOB.careTeam.provider will reference an Organization Resource that conforms to the CARIN BB Organization profile.