Skip to content

NHSDigital/NHSDigital-FHIR-ImplementationGuide-STU3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clone this repo

Get the HL7 Validator

https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validator

Single Resource

java -jar validator_cli.jar Composition/Composition-RichardSmith.xml -ig https://packages.simplifier.net/uk.nhsdigital.stu3.test/-/uk.nhsdigital.stu3.test-0.0.1-prerelease.tgz -version 3.0 -tx n/a

Full Bundle

Inpatient

java -jar validator_cli.jar Bundle/TOC-InpatientDischarge-RichardSmith.xml -ig https://packages.simplifier.net/uk.nhsdigital.stu3.test/-/uk.nhsdigital.stu3.test-0.0.1-prerelease.tgz -version 3.0 -tx n/a

Emergency

java -jar validator_cli.jar Bundle/TOC-EmergencyDischarge-RichardSmith.xml -ig https://packages.simplifier.net/uk.nhsdigital.stu3.test/-/uk.nhsdigital.stu3.test-0.0.1-prerelease.tgz -version 3.0 -tx n/a

Outpatient

java -jar validator_cli.jar Bundle/TOC-OutpatientLetter-ThomasLinacre.xml -ig https://packages.simplifier.net/uk.nhsdigital.stu3.test/-/uk.nhsdigital.stu3.test-0.0.1-prerelease.tgz -version 3.0 -tx n/a

MentalHealth

java -jar validator_cli.jar Bundle/TOC-MentalHealthDischarge-JonBurrows.xml -ig https://packages.simplifier.net/uk.nhsdigital.stu3.test/-/uk.nhsdigital.stu3.test-0.0.1-prerelease.tgz -version 3.0 -tx n/a

Issues

  • HL7 Validator does not currently support UK SNOMED CT. Workaround is to disable terminology validation
  • Official StructureDefinitions contain snapshot. Workaround is to remove snapshots
  • no IG Package. For latest package see https://simplifier.net/NHS-Digital-IG-for-FHIR-STU3/~packages
  • Extension https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-AdmissionMethod-1 is not allowed to be used in Encounters. Removed from examples.
  • The bundle is difficult to navigate. E.g. an error like Error @ Bundle.entry[17].resource.ofType(List).entry[0].item (line 1589, col12): Invalid Resource target type. Found Procedure, but expected one of ([]) Need to find the 17th resource and see what it is.
  • Examples generate numerous warnings. Most should be corrected.
  • Simplifier Validation does not pick up resources from other IG's (i.e. CareConnect)
  • Both CareConnect and Transfer of Care work with the HL7 Command Line validator

Old versions of HL7 CLI

java -jar validator_cli.jar Composition/Composition-RichardSmith.xml -ig https://packages.simplifier.net/CareConnect.STU3.02.00.00/-/CareConnect.STU3.02.00.00-2.0.0.tgz -ig StructureDefinition/ -version 3.0 -tx n/a

java -jar validator_cli.jar Encounter/Encounter-RichardSmith.xml -ig https://packages.simplifier.net/CareConnect.STU3.02.00.00/-/CareConnect.STU3.02.00.00-2.0.0.tgz -ig StructureDefinition/ -version 3.0 -tx n/a

java -jar validator_cli.jar Bundle/TOC-MentalHealthDischarge-JonBurrows.xml -ig StructureDefinition/ -ig https://packages.simplifier.net/CareConnect.STU3.02.00.00/-/CareConnect.STU3.02.00.00-2.0.0.tgz -version 3.0 -tx n/a

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published