FHIR Chat · Validation · australia/primary-care

Stream: australia/primary-care

Topic: Validation


view this post on Zulip Grahame Grieve (Nov 11 2019 at 00:36):

@Brett Esler I'm running the validator with the following parameters:

java -jar [validator] http://demo.oridashi.com.au:8297/Patient/4BA4B29974331B56E7B2DA67C457688D.2 -version 4.0.1 -ig hl7.fhir.au.primarycare#current -profile https://aehrc.com/fhir/StructureDefinition/AUPrimaryCarePatient

view this post on Zulip Grahame Grieve (Nov 11 2019 at 00:36):

this is what I get:

view this post on Zulip Grahame Grieve (Nov 11 2019 at 00:37):

  • Error @ Patient.identifier[3].type.text (line 1, col1854) : Value is 'Health Fund Number' but must be 'Private Health Insurance Member Number'
  • Error @ Patient.contact[0].relationship[0].coding[0] (line 1, col2634) : Unknown Code System http://hl7.org/fhir/patient-contact-relationship
  • Error @ Patient.identifier[0].type.coding[0] (line 1, col554) : Unknown Code System http://hl7.org/fhir/v2/0203
  • Error @ Patient.identifier[1].type.coding[0] (line 1, col792) : Unknown Code System http://hl7.org/fhir/v2/0203
  • Error @ Patient.identifier[2].type.coding[0] (line 1, col1462) : Unknown Code System http://hl7.org/fhir/v2/0203
  • Error @ Patient.identifier[3].type.coding[0] (line 1, col1747) : Unknown Code System http://hl7.org/fhir/v2/0203
  • Error @ Patient.maritalStatus.coding[0] (line 1, col2495) : Unknown Code System http://hl7.org/fhir/v3/MaritalStatus
  • Error @ Patient.contact[0].relationship[0].coding[0].system (line 1, col2694) : URL value 'http://hl7.org/fhir/patient-contact-relationship' does not resolve
  • Error @ Patient.identifier[0].type.coding[0].system (line 1, col593) : URL value 'http://hl7.org/fhir/v2/0203' does not resolve
  • Error @ Patient.identifier[1].type.coding[0].system (line 1, col831) : URL value 'http://hl7.org/fhir/v2/0203' does not resolve
  • Error @ Patient.identifier[2].type.coding[0].system (line 1, col1501) : URL value 'http://hl7.org/fhir/v2/0203' does not resolve
  • Error @ Patient.identifier[3].type.coding[0].system (line 1, col1786) : URL value 'http://hl7.org/fhir/v2/0203' does not resolve
  • Error @ Patient.maritalStatus.coding[0].system (line 1, col2543) : URL value 'http://hl7.org/fhir/v3/MaritalStatus' does not resolve
  • Error @ Patient.extension[0] (line 1, col253) : Problem with use of resolve() - profile '[CanonicalType[http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration]]' on Patient.extension:closingTheGapRegistration could not be resolved
  • Error @ Patient.identifier[2].extension[0] (line 1, col1031) : Problem with use of resolve() - profile '[CanonicalType[http://hl7.org.au/fhir/StructureDefinition/ihi-record-status]]' on Patient.identifier:ihiNumber.extension:ihiRecordStatus could not be resolved
  • Error @ Patient.identifier[2].extension[1] (line 1, col1221) : Problem with use of resolve() - profile '[CanonicalType[http://hl7.org.au/fhir/StructureDefinition/ihi-record-status]]' on Patient.identifier:ihiNumber.extension:ihiRecordStatus could not be resolved
  • Error @ Patient.identifier[2].extension[0] (line 1, col1031) : Problem with use of resolve() - profile '[CanonicalType[http://hl7.org.au/fhir/StructureDefinition/ihi-status]]' on Patient.identifier:ihiNumber.extension:ihiStatus could not be resolved
  • Error @ Patient.identifier[2].extension[1] (line 1, col1221) : Problem with use of resolve() - profile '[CanonicalType[http://hl7.org.au/fhir/StructureDefinition/ihi-status]]' on Patient.identifier:ihiNumber.extension:ihiStatus could not be resolved
  • Error @ Patient.extension[0] (line 1, col253) : Problem with use of resolve() - profile '[CanonicalType[http://hl7.org/fhir/StructureDefinition/birthPlace]]' on Patient.extension:birthPlace could not be resolved
  • Error @ Patient.extension[0] (line 1, col253) : Unable to resolve profile CanonicalType[http://hl7.org.au/fhir/StructureDefinition/indigenous-status]
  • Error @ Patient.identifier[0] (line 1, col521) : Profile https://aehrc.com/fhir/StructureDefinition/AUPrimaryCarePatient, Element 'Patient.identifier[0].period': minimum required = 1, but only found 0

view this post on Zulip Grahame Grieve (Nov 11 2019 at 00:38):

the v2 code systems - you need to use http://terminology.hl7.org/CodeSystem/v2-[id]

view this post on Zulip Deanne Ukovich (Nov 11 2019 at 02:01):

I've been migrating some of Brett's examples to R4 already .. Sample Patient 1 and Sample Patient 2 .. not fully there yet but Sample Patient 2 is in the best condition .. would be good to understand why some of the validation errors are happening with Sample Patient 2

view this post on Zulip Deanne Ukovich (Nov 11 2019 at 02:02):

http://build.fhir.org/ig/aehrc/primary-care-data-technical/StructureDefinition-au-primarycarepatient.html

view this post on Zulip Grahame Grieve (Nov 11 2019 at 02:05):

what are the errors?

view this post on Zulip Deanne Ukovich (Nov 11 2019 at 02:10):

Patient/B0E0A3ADB59E2F77D6D51ADCA7DAD6B2.35: Patient.contact[0] information This element does not match any known slice for the profile https://aehrc.com/fhir/StructureDefinition/AUPrimaryCarePatient .. there is a slice for an emergency contact but the slicing rules are open so shouldn't anything be permitted?

view this post on Zulip Grahame Grieve (Nov 11 2019 at 06:37):

Exception in thread "main" java.lang.Exception: Unable to find/resolve/read -ig http://demo.oridashi.com.au:8297/Patient/B0E0A3ADB59E2F77D6D51ADCA7DAD6B2.35
?


Last updated: Apr 12 2022 at 19:14 UTC