FHIR Chat · Validator issues (medication and medication statement) · dental

Stream: dental

Topic: Validator issues (medication and medication statement)


view this post on Zulip Michael Honeycutt (May 15 2020 at 15:26):

C:\temp>java -jar org.hl7.fhir.validator.jar c:\temp\medication.statement.1.example.json -version 4.0.1 -ig http://build.fhir.org/ig/HL7/dental-data-exchange
.. validate [c:\temp\medication.statement.1.example.json]
Terminology server: Check for supported code systems for http://www.nlm.nih.gov/research/umls/rxnorm
Success...validating c:\temp\medication.statement.1.example.json: error:0 warn:1 info:0
Warning @ MedicationRequest.medication.ofType(CodeableConcept) (line 19, col17) : None of the codes provided are in the value set http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes (http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes), and a code should come from this value set unless it has no suitable code) (codes = http://www.nlm.nih.gov/research/umls/rxnorm#993836)

C:\temp>java -jar org.hl7.fhir.validator.jar c:\temp\medication.statement.2.example.json -version 4.0.1 -ig http://build.fhir.org/ig/HL7/dental-data-exchange
.. validate [c:\temp\medication.statement.2.example.json]
Success...validating c:\temp\medication.statement.2.example.json: error:0 warn:0 info:0

C:\temp>java -jar org.hl7.fhir.validator.jar c:\temp\medication.statement.3.example.json -version 4.0.1 -ig http://build.fhir.org/ig/HL7/dental-data-exchange
.. validate [c:\temp\medication.statement.3.example.json]
Success...validating c:\temp\medication.statement.3.example.json: error:0 warn:0 info:0

C:\temp>java -jar org.hl7.fhir.validator.jar c:\temp\medication.statement.4.example.json -version 4.0.1 -ig http://build.fhir.org/ig/HL7/dental-data-exchange
.. validate [c:\temp\medication.statement.4.example.json]
Success...validating c:\temp\medication.statement.4.example.json: error:0 warn:0 info:0

C:\temp>java -jar org.hl7.fhir.validator.jar c:\temp\medication.1.example.json -version 4.0.1 -ig http://build.fhir.org/ig/HL7/dental-data-exchange
.. validate [c:\temp\medication.1.example.json]
Terminology server: Check for supported code systems for http://www.nlm.nih.gov/research/umls/rxnorm
Success...validating c:\temp\medication.1.example.json: error:0 warn:1 info:0
Warning @ Medication.code (line 17, col17) : None of the codes provided are in the value set http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes (http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes), and a code should come from this value set unless it has no suitable code) (codes = http://www.nlm.nih.gov/research/umls/rxnorm#993836)

C:\temp>java -jar org.hl7.fhir.validator.jar c:\temp\medication.2.example.json -version 4.0.1 -ig http://build.fhir.org/ig/HL7/dental-data-exchange
.. validate [c:\temp\medication.2.example.json]
Terminology server: Check for supported code systems for http://www.nlm.nih.gov/research/umls/rxnorm
Success...validating c:\temp\medication.2.example.json: error:0 warn:2 info:0
Warning @ Medication.code (line 17, col17) : None of the codes provided are in the value set http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes (http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes), and a code should come from this value set unless it has no suitable code) (codes = http://www.nlm.nih.gov/research/umls/rxnorm#316074)
Warning @ Medication.code.coding[0] (line 18, col8) : The display "Ibuprofen 200 mg tab" is not a valid display for the code {http://www.nlm.nih.gov/research/umls/rxnorm}316074 - should be one of ["Ibuprofen 200 MG"]

C:\temp>java -jar org.hl7.fhir.validator.jar c:\temp\medication.3.example.json -version 4.0.1 -ig http://build.fhir.org/ig/HL7/dental-data-exchange
.. validate [c:\temp\medication.3.example.json]
Terminology server: Check for supported code systems for http://www.nlm.nih.gov/research/umls/rxnorm
FAILURE validating c:\temp\medication.3.example.json: error:1 warn:2 info:0
Error @ Medication.code.coding[0].code (line 20, col28) : The code "315877 " is not valid (whitespace rules)
Warning @ Medication.code (line 17, col17) : None of the codes provided are in the value set http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes (http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes), and a code should come from this value set unless it has no suitable code) (codes = http://www.nlm.nih.gov/research/umls/rxnorm#315877 )
Warning @ Medication.code.coding[0] (line 18, col8) : The display "Erythromycin 500 mg tab" is not a valid display for the code {http://www.nlm.nih.gov/research/umls/rxnorm}315877 - should be one of ["Erythromycin 500 MG"]

C:\temp>java -jar org.hl7.fhir.validator.jar c:\temp\medication.4.example.json -version 4.0.1 -ig http://build.fhir.org/ig/HL7/dental-data-exchange
.. validate [c:\temp\medication.4.example.json]
Terminology server: Check for supported code systems for http://www.nlm.nih.gov/research/umls/rxnorm
Success...validating c:\temp\medication.4.example.json: error:0 warn:2 info:0
Warning @ Medication.code (line 17, col17) : None of the codes provided are in the value set http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes (http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes), and a code should come from this value set unless it has no suitable code) (codes = http://www.nlm.nih.gov/research/umls/rxnorm#315253)
Warning @ Medication.code.coding[0] (line 18, col8) : The display "Acetaminophen 325 mg tab" is not a valid display for the code {http://www.nlm.nih.gov/research/umls/rxnorm}315253 - should be one of ["Acetaminophen 160 MG"]


Last updated: Apr 12 2022 at 19:14 UTC