getBopzFullStatus

Let op: Ondersteuning voor deze methode wordt op termijn beëindigd. Zie de nieuwe methode getBopz
Deze methode geeft de huidige juridische informatie van de patient terug. Dit bevat de wilsbekwaamheid, Juridische status, en 1 of meer VBM’s (vrijheidsbeperkende maatregel)
Zie de WSDL voor details
WSDL: https://acceptatie1-webservice.ysis.nl/wsdl/medicalrecord.wsdl
Endpoints:
Acceptatie1: https://acceptatie1-webservice.ysis.nl/webservice
Acceptatie2: https://acceptatie2-webservice.ysis.nl/webservice
Productie: https://webservice.ysis.nl/webservice
Opmerkingen:

  • De evaluatiedatum is alleen gevuld als al een evaluatie heeft plaatsgevonden.
  • Deze methode maakt gebruik van een aantal vaste selectielijsten (enums). Zie hier voor een lijst van sleutels en visuele weergave in Ysis


Voorbeeld Requests:
“Geef de juridische gegevens van patient 123456782”

<soapenv:Body>
   <med:getBopzFullStatusRequest>
      <med:bsn>123456782</med:bsn>
   </med:getBopzFullStatusRequest>
</soapenv:Body>

Voorbeeld Responses
correcte response

<SOAP-ENV:Body>
   <record:getBopzFullStatusResponse etc...">
      <record:status>OK</record:status>
      <record:bopzFullStatus>
         <bopz:mentalCapacity>
            <bopz:mentalCapacityDeterminedDate>2015-06-17</bopz:mentalCapacityDeterminedDate>
            <bopz:mentalCapacity>NO_MENTAL_CAPACITY</bopz:mentalCapacity>
            <bopz:mentalCapacityComment>niet meer mentaal capabel</bopz:mentalCapacityComment>
         </bopz:mentalCapacity>
         <bopz:legalStatus>
            <bopz:dateAdmitted>2017-05-23</bopz:dateAdmitted>
            <bopz:legalStatus>INVOLUNTARY_VM</bopz:legalStatus>
            <bopz:legalStatusExpireDate>2017-07-01</bopz:legalStatusExpireDate>
         </bopz:legalStatus>
         <bopz:currentRestrictiveMeasures>
            <bopz:restrictiveMeasure>
               <bopz:problem>Het probleem</bopz:problem>
               <bopz:goal>Het doel</bopz:goal>
               <bopz:action>De actie om het doel te bereiken</bopz:action>
               <bopz:usage>USAGE_FIXED_TIMES</bopz:usage>
               <bopz:usageComment/>
               <bopz:name>Extra laag bed</bopz:name>
               <bopz:description>Een extra laag bed is niet zo hoog</bopz:description>
               <bopz:opinionPatient>Patient vindt het maar niks</bopz:opinionPatient>
               <bopz:opinionRepresentative>Vertegenwoordiger vindt het prima</bopz:opinionRepresentative>
               <bopz:legalRequirementsComment>Geen commentaar op wettelijke regels</bopz:legalRequirementsComment>
               <bopz:treatmentPlanAvailable>true</bopz:treatmentPlanAvailable>
               <bopz:mentionedInTreatmentPlan>true</bopz:mentionedInTreatmentPlan>
               <bopz:agreedUpon>true</bopz:agreedUpon>
               <bopz:patientRefusingRestrictiveMeasure>false</bopz:patientRefusingRestrictiveMeasure>
               <bopz:restrictiveMeasureStatus>VBM_AKKOORD</bopz:restrictiveMeasureStatus>
               <bopz:startDate>2015-05-14</bopz:startDate>
               <bopz:evaluationDate>2017-05-23</bopz:evaluationDate>
            </bopz:restrictiveMeasure>
            <bopz:restrictiveMeasure>
               <bopz:problem>Overig probleem</bopz:problem>
               <bopz:goal>Het overige doel</bopz:goal>
               <bopz:action>De overige actie</bopz:action>
               <bopz:usage>USAGE_FIXED_TIMES</bopz:usage>
               <bopz:usageComment/>
               <bopz:name>Overig</bopz:name>
               <bopz:description>Een overige VBM</bopz:description>
               <bopz:opinionPatient>Patient heeft een overige mening</bopz:opinionPatient>
               <bopz:opinionRepresentative>Vertegenwoordiger heeft een overige mening</bopz:opinionRepresentative>
               <bopz:legalRequirementsComment>Geen overig commentaar</bopz:legalRequirementsComment>
               <bopz:treatmentPlanAvailable>true</bopz:treatmentPlanAvailable>
               <bopz:mentionedInTreatmentPlan>true</bopz:mentionedInTreatmentPlan>
               <bopz:agreedUpon>true</bopz:agreedUpon>
               <bopz:patientRefusingRestrictiveMeasure>false</bopz:patientRefusingRestrictiveMeasure>
               <bopz:restrictiveMeasureStatus>VBM_AKKOORD</bopz:restrictiveMeasureStatus>
               <bopz:startDate>2013-05-14</bopz:startDate>
            </bopz:restrictiveMeasure>
         </bopz:currentRestrictiveMeasures>
         <bopz:leaveAgreement>verlofafspraken</bopz:leaveAgreement>
      </record:bopzFullStatus>
   </record:getBopzFullStatusResponse>
</SOAP-ENV:Body>

Functionele fout, moet onderzocht worden door de aanroepende partij, herhalen van de aanroep is niet zinvol

<SOAP-ENV:Body>
   <SOAP-ENV:Fault>
      <faultcode>SOAP-ENV:Server</faultcode>
      <faultstring xml:lang="en">Not a valid bsn</faultstring>
   </SOAP-ENV:Fault>
</SOAP-ENV:Body>

Technische fout

<SOAP-ENV:Body>
    <SOAP-ENV:Fault>
        <faultcode>SOAP-ENV:Server</faultcode>
        <faultstring xml:lang="en">een technische onvoorziene foutsituatie</faultstring>
    </SOAP-ENV:Fault>
</SOAP-ENV:Body>