Skip to content

Fixing Validation Issues in BARS#588

Open
KazeemHamzat wants to merge 24 commits into
developfrom
Updating-Version-and-Dependency-Packages
Open

Fixing Validation Issues in BARS#588
KazeemHamzat wants to merge 24 commits into
developfrom
Updating-Version-and-Dependency-Packages

Conversation

@KazeemHamzat

@KazeemHamzat KazeemHamzat commented Apr 28, 2026

Copy link
Copy Markdown

BARS is currently using older version of UKCore package as dependency which has some invalid assets in it. This is causing issues when BARS package is used as dependency in Frameworks repo.

Issues resolved:

  1. Updated UKCore and NHSDigital packages to recent package

  2. Update BARS CS to conform to the requirements of Profile: https://fhir.nhs.uk/StructureDefinition/NHSDigital-CapabilityStatement

  3. Updated MessageDefinition instances to conform to requirements of IOPS Validation.

826 | for (let focus of messageDefinition.focus) {
827 | // Having a messageHeader be the focus of a MessageHeader makes no sense - potential loop
> 828 | expect(focus.code !== 'MessageHeader').toBeTruthy()

  1. Fixed differential element issues in BARS Profiles

  2. Removed the definition of R5 ExtensionEndpoint_EnvironmentType

  • Added Cross-version package and instance using the extension(Conforming to IOPS guidance on Xver package)
  1. Added Options.json and gitignore files.

Updating to recent UKCore and NHSDigital Package
Update Options.json
Using NHSDigital 2.5.0
Using 2.11.0
Added UKCore Profiles in rest.resource
Update CodeSystem\rejected-reasons-barrs
Updated CS
Corrected XML version to 1.0
Update CS
Added Description
   826 |                     for (let focus of messageDefinition.focus) {
      827 |                         // Having a messageHeader be the focus of a MessageHeader makes no sense - potential loop
    > 828 |                         expect(focus.code !== 'MessageHeader').toBeTruthy()
          |                                                                ^
      829 |                         expect(focus.code.endsWith('Definition')).toBeFalsy()
      830 |                     }
      831 |
Using UKCore Stu 2 balloted
1, BARSMessageHeaderBooking-Request.
2. BARSMessageHeaderServiceRequestRequest
3. BARSMessageHeaderServiceRequestResponse
Update to latest UKCore & NHSDigital
Added "hl7.fhir.uv.xver-r5.r4": "0.1.0",
BARS-EndPoint-Environmenttype-Example
Add Meta.profile
Create ARS-EndPoint-EnvironmenttypewithIdentifiers-Example.
ryma2fhir
ryma2fhir previously approved these changes Apr 28, 2026
Fix SearchParameter element names
@KazeemHamzat

Copy link
Copy Markdown
Author

@omarisgreat here is the BARS PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants