<?xml version="1.0" encoding="UTF-8"?>

<PlanDefinition xmlns="http://hl7.org/fhir">
  <id value="BgZ2017"/>
  <text>
    <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b style="color: maroon">Exception generating Narrative: unexpected non-end of element null::a  at line 103 column 50</b></p></div>
  </text>
  <url value="http://fhir.hl7.nl/zorgviewer/PlanDefinition/BgZ2017"/>
  <version value="1.22.0"/>
  <name value="BgZ2017"/>
  <title value="BgZ 2017"/>
  <status value="draft"/>
  <date value="2026-01-12T14:21:48+00:00"/>
  <publisher value="RIVO-NN HL7NL"/>
  <usage value="Deze PlanDefinition bevat de (data) definitie van de BgZ 2017. Dit is de basis view voor alle zorgverleners."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="NL"/>
    </coding>
  </jurisdiction>
  <contact>
    <name value="RIVO-NN"/>
    <telecom>
      <system value="url"/>
      <value value="https://rivo-noord.nl"/>
    </telecom>
  </contact>
  <contact>
    <name value="HL7NL"/>
    <telecom>
      <system value="url"/>
      <value value="https://hl7.nl"/>
    </telecom>
  </contact>
  <relatedArtifact>
    <type value="documentation"/>
    <url value="https://informatiestandaarden.nictiz.nl/wiki/MedMij:V2020.01/FHIR_BGZ_2017"/>
    <document>
      <url value="https://informatiestandaarden.nictiz.nl/wiki/MedMij:V2020.01/FHIR_BGZ_2017"/>
    </document>
  </relatedArtifact>
  <action>
    <label value="Raadplegen BgZ zibs en Correspondentie"/>
    <triggerDefinition>
      <type value="named-event"/>
      <eventName value="Raadplegen BgZ zibs"/>
    </triggerDefinition>
    <output>
      <type value="Patient"/>
      <profile value="http://fhir.hl7.nl/zorgviewer/StructureDefinition/Patient"/>
      <profile value="http://fhir.nl/fhir/StructureDefinition/nl-core-patient"/>
    </output>
    <output>
      <type value="DocumentReference"/>
      <profile value="http://fhir.hl7.nl/zorgviewer/StructureDefinition/DocumentReference"/>
      <profile value="http://nictiz.nl/fhir/StructureDefinition/IHE.MHD.Minimal.DocumentReference"/>
    </output>
    <output>
      <type value="Condition"/>
      <profile value="http://fhir.hl7.nl/zorgviewer/StructureDefinition/Condition"/>
      <profile value="http://nictiz.nl/fhir/StructureDefinition/zib-Problem"/>
      <codeFilter>
        <path value="clinicalStatus"/>
        <valueCoding>
          <code value="active"/>
        </valueCoding>
        <valueCoding>
          <code value="resolved"/>
        </valueCoding>
      </codeFilter>
    </output>
    <output>
      <type value="Procedure"/>
      <profile value="http://fhir.hl7.nl/zorgviewer/StructureDefinition/Procedure"/>
      <profile value="http://nictiz.nl/fhir/StructureDefinition/zib-Verrichting"/>
    </output>
    <output>
      <type value="Consent"/>
      <profile value="http://fhir.hl7.nl/zorgviewer/StructureDefinition/AdvanceDirective"/>
      <profile value="http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective"/>
    </output>
    <output>
      <type value="Consent"/>
      <profile value="http://fhir.hl7.nl/zorgviewer/StructureDefinition/TreatmentDirective"/>
      <profile value="http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective"/>
    </output>
    <output>
      <type value="Flag"/>
      <profile value="http://fhir.hl7.nl/zorgviewer/StructureDefinition/Flag"/>
      <profile value="http://nictiz.nl/fhir/StructureDefinition/zib-Alert"/>
    </output>
    <output>
      <type value="AllergyIntolerance"/>
      <profile value="http://fhir.hl7.nl/zorgviewer/StructureDefinition/AllergyIntolerance"/>
      <profile value="http://nictiz.nl/fhir/StructureDefinition/zib-AllergyIntolerance"/>
    </output>
    <output>
      <type value="Observation"/>
      <profile value="http://fhir.hl7.nl/zorgviewer/StructureDefinition/LaboratoryTestResult"/>
      <profile value="http://nictiz.nl/fhir/StructureDefinition/zib-LaboratoryTestResult"/>
    </output>
  </action>
</PlanDefinition>