Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"-no-extensible-binding-warnings" not working properly #181

Open
sebastianhelbig opened this issue Jun 20, 2024 · 0 comments
Open

"-no-extensible-binding-warnings" not working properly #181

sebastianhelbig opened this issue Jun 20, 2024 · 0 comments

Comments

@sebastianhelbig
Copy link

Verion: 6.3.11

I am getting the warning code-invalid for an extensible binding although "-no-extensible-binding-warnings" is used.

java -jar validator_cli.jar Device_MIO_Bundle.xml -no-extensible-binding-warnings -recurse -verbose -version 4.0.1 -output va
lidation.json
<Device xmlns="http:https://hl7.org/fhir">
   <id value="1"/>
   <meta>
      <versionId value="1.1.0"/>
      <lastUpdated value="2023-10-02T18:52:47.000+02:00"/>
      <profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Device_DIGA|1.1.0"/>
   </meta>
   <identifier>
      <type>
         <text value="DiGA-VE-ID"/>
      </type>
      <value value="1"/>
   </identifier>
 </Device>
{
  "resourceType" : "OperationOutcome",
  "issue" : [
  …
  {
    "extension" : [{
      "url" : "http:https://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line",
      "valueInteger" : 9
    },
    {
      "url" : "http:https://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col",
      "valueInteger" : 14
    },
    {
      "url" : "http:https://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source",
      "valueString" : "InstanceValidator"
    },
    {
      "url" : "http:https://hl7.org/fhir/StructureDefinition/operationoutcome-message-id",
      "valueCode" : "Terminology_TX_Code_ValueSet_Ext"
    }],
    "severity" : "warning",
    "code" : "code-invalid",
    "details" : {
      "text" : "Kein Code gesetzt, und es sollte ein Code aus ValueSet'IdentifierType' (http:https://hl7.org/fhir/ValueSet/identifier-type|4.0.1) ({1}) gesetzt werden"
    },
    "expression" : ["Device.identifier[0].type"]
  }]
} 
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

No branches or pull requests

1 participant