Skip to content

CH EMED 4.0.1 validation fails with internal terminology server #7

@oliveregger

Description

@oliveregger

The value provided ('1681000175101') was not found in the value set 'UnitCode' (http://fhir.ch/ig/ch-emed/ValueSet/UnitCode|4.0.1), and a code is required from this value set (error message = The code '1681000175101' is not in the value set 'http://fhir.ch/ig/ch-emed/ValueSet/UnitCode' (expansion contains 91 codes))

<OperationOutcome xmlns="http://hl7.org/fhir"><id value="1c7eb5fc5673b029a5ad853a4b780eb641517acb638b5dc12975a1f5f94877da"/><issue><extension url="http://matchbox.health/validation"><extension url="profile"><valueUri value="http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-document-medicationprescription"/></extension><extension url="profileVersion"><valueUri value="4.0.1"/></extension><extension url="profileDate"><valueDateTime value="2023-12-28T10:07:10+01:00"/></extension><extension url="total"><valueDuration><value value="228"/><unit value="ms"/></valueDuration></extension><extension url="validatorVersion"><valueString value="powered by matchbox 3.8.0, hapi-fhir 7.0.1 and org.hl7.fhir.core 6.3.2"/></extension><extension url="ig"><valueString value="ch.fhir.ig.ch-emed#4.0.1"/></extension><extension url="hintAboutNonMustSupport"><valueBoolean value="false"/></extension><extension url="recursive"><valueBoolean value="false"/></extension><extension url="showMessagesFromReferences"><valueBoolean value="false"/></extension><extension url="doDebug"><valueBoolean value="false"/></extension><extension url="assumeValidRestReferences"><valueBoolean value="false"/></extension><extension url="canDoNative"><valueBoolean value="false"/></extension><extension url="noExtensibleBindingMessages"><valueBoolean value="false"/></extension><extension url="noUnicodeBiDiControlChars"><valueBoolean value="false"/></extension><extension url="noInvariants"><valueBoolean value="false"/></extension><extension url="displayIssuesAreWarnings"><valueBoolean value="true"/></extension><extension url="wantInvariantsInMessages"><valueBoolean value="false"/></extension><extension url="doImplicitFHIRPathStringConversion"><valueBoolean value="false"/></extension><extension url="securityChecks"><valueBoolean value="false"/></extension><extension url="crumbTrails"><valueBoolean value="false"/></extension><extension url="forPublication"><valueBoolean value="false"/></extension><extension url="httpReadOnly"><valueBoolean value="false"/></extension><extension url="allowExampleUrls"><valueBoolean value="false"/></extension><extension url="txServer"><valueUri value="http://localhost:8082/matchboxv3/fhir"/></extension><extension url="fhirVersion"><valueString value="4.0.1"/></extension><extension url="ig"><valueString value="ch.fhir.ig.ch-emed#4.0.1"/></extension><extension url="locale"><valueString value="English"/></extension><extension url="jurisdiction"><valueString value="urn:iso:std:iso:3166#CH"/></extension><extension url="sessionId"><valueString value="-1974225632"/></extension><extension url="package"><valueString value="hl7.fhir.xver-extensions#4.0"/></extension><extension url="package"><valueString value="hl7.fhir.r4.core#4.0.1"/></extension><extension url="package"><valueString value="hl7.fhir.uv.extensions.r4#1.0.0"/></extension><extension url="package"><valueString value="hl7.terminology#5.4.0"/></extension><extension url="package"><valueString value="ihe.formatcode.fhir#1.1.0"/></extension><extension url="package"><valueString value="ch.fhir.ig.ch-epr-term#2.0.10"/></extension><extension url="package"><valueString value="ch.fhir.ig.ch-core#4.0.1"/></extension><extension url="package"><valueString value="ch.fhir.ig.ch-emed#4.0.1"/></extension></extension><severity value="information"/><code value="informational"/><diagnostics value="Validation for profile http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-document-medicationprescription|4.0.1 (2023-12-28T10:07:10+01:00). Loaded packages: hl7.fhir.xver-extensions#4.0, hl7.fhir.r4.core#4.0.1, hl7.fhir.uv.extensions.r4#1.0.0, hl7.terminology#5.4.0, ihe.formatcode.fhir#1.1.0, ch.fhir.ig.ch-epr-term#2.0.10, ch.fhir.ig.ch-core#4.0.1, ch.fhir.ig.ch-emed#4.0.1. Duration: 0.228s. powered by matchbox 3.8.0, hapi-fhir 7.0.1 and org.hl7.fhir.core 6.3.2. Validation parameters: CliContext{doNative=false, hintAboutNonMustSupport=false, recursive=false, showMessagesFromReferences=false, doDebug=false, assumeValidRestReferences=false, canDoNative=false, noExtensibleBindingMessages=false, noUnicodeBiDiControlChars=false, noInvariants=false, displayIssuesAreWarnings=true, wantInvariantsInMessages=false, doImplicitFHIRPathStringConversion=false, htmlInMarkdownCheck=WARNING, txServer='http://localhost:8082/matchboxv3/fhir', lang='null', snomedCT='null', fhirVersion='4.0.1', ig='ch.fhir.ig.ch-emed#4.0.1', questionnaireMode=CHECK, level=HINTS, mode=VALIDATION, securityChecks=false, crumbTrails=false, forPublication=false, allowExampleUrls=false, locale='English', locations={}, jurisdiction='urn:iso:std:iso:3166#CH', igsPreloaded=null, onlyOneEngine=false, httpReadOnly=false}"/></issue><issue><extension url="http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line"><valueInteger value="1"/></extension><extension url="http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col"><valueInteger value="2263"/></extension><extension url="http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source"><valueString value="InstanceValidator"/></extension><severity value="information"/><code value="informational"/><diagnostics value="This element does not match any known slice defined in the profile http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-document-medicationprescription|4.0.1 (this may not be a problem, but you should check that it's not intended to match a slice) Slice info: 1.) Bundle.entry[0]: Does not match slice 'Composition' (discriminator: resource.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationprescription')) 2.) Bundle.entry[0]: Bundle.entry[0].resource.section[2].entry[0]: Unable to find a match for profile MedicationRequest/2-6-MedReqNorvasc among choices: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationrequest 3.) Bundle.entry[0]: Bundle.entry[0].resource.section[2].entry[0]: Bundle.entry[0].resource.entry[5].resource/*MedicationRequest/2-6-MedReqNorvasc*/.dosageInstruction[0]: This element does not match any known slice  defined in the profile http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationrequest|4.0.1 and slicing is CLOSED: Bundle.entry[0].resource.entry[5].resource/*MedicationRequest/2-6-MedReqNorvasc*/.dosageInstruction[0]: Does not match slice 'baseEntry' (discriminator: $this.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage-medicationrequest')), Bundle.entry[0].resource.entry[5].resource/*MedicationRequest/2-6-MedReqNorvasc*/.dosageInstruction[0]: Details for Bundle.entry[0].resource.entry[5].resource/*MedicationRequest/2-6-MedReqNorvasc*/ matching against profile http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage-medicationrequest|4.0.1, Bundle.entry[0].resource.entry[5].resource/*MedicationRequest/2-6-MedReqNorvasc*/.dosageInstruction[0]: Does not match slice 'additionalEntry' (discriminator: $this.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage-split')), Bundle.entry[0].resource.entry[5].resource/*MedicationRequest/2-6-MedReqNorvasc*/.dosageInstruction[0]: Details for Bundle.entry[0].resource.entry[5].resource/*MedicationRequest/2-6-MedReqNorvasc*/ matching against profile http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage-split|4.0.1 4.) Bundle.entry[0]: Bundle.entry[0].resource.section[2].entry[0]: Bundle.entry[0].resource.entry[5].resource/*MedicationRequest/2-6-MedReqNorvasc*/: Slice 'MedicationRequest.dosageInstruction:baseEntry': minimum required = 1, but only found 0 (from http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-medicationrequest|4.0.1) 5.) Bundle.entry[0]: Bundle.entry[0].resource.section[2].entry[0]: Bundle.entry[0].resource.entry[5].resource/*MedicationRequest/2-6-MedReqNorvasc*/.contained[0]/*Medication/Norvasc*/.amount.numerator.code: The value provided ('732936001') was not found in the value set 'UnitCode' (http://fhir.ch/ig/ch-emed/ValueSet/UnitCode|4.0.1), and a code is required from this value set  (error message = The code '732936001' is not in the value set 'http://fhir.ch/ig/ch-emed/ValueSet/UnitCode' (expansion contains 91 codes)) 6.) Bundle.entry[0]: Bundle.entry[0].resource.section[2].entry[0]: Bundle.entry[0].resource.entry[5].resource/*MedicationRequest/2-6-MedReqNorvasc*/.contained[0]/*Medication/Norvasc*/.amount.denominator.code: The value provided ('1681000175101') was not found in the value set 'UnitCode' (http://fhir.ch/ig/ch-emed/ValueSet/UnitCode|4.0.1), and a code is required from this value set  (error message = The code '1681000175101' is not in the value set 'http://fhir.ch/ig/ch-emed/ValueSet/UnitCode' (expansion contains 91 codes))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions