Prescription

Hint

For each request on this page you need to add identication data. More information about this can be found in Identification / access chapter.

Get list of all medication

Get a list of all chronical medication for the logged in patient.

Request

Patient user session required

{
  "Name": "{{name}}",
  "Key": "{{key}}",
  "Target": "{{target}}",
  "Session": "{{session}}",
  "Method": "GetMedicatieAfspraken"
}

Parameters

  • ookNietChronisch: Add this key and set it to true to retrieve all medication.

<His_GetMedicatieProfiel_Verzoek xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Id="-1000">
  <Identificatie xsi:type="OZB_Communicatie_Identificatie_GebruikerSessie" Id="-1001">
    <Sessie>[session token]</Sessie>
  </Identificatie>
  <OntvangerEntiteit>[practice code]</OntvangerEntiteit>
</His_GetMedicatieProfiel_Verzoek>

Response

Warning

The patient should not be able to renew medication then the Herhaalbaar key has the value false.

This medication is visible because it is active medication, but isn’t available anymore based on the Z-index/GStandaard. The patient should see the medication, but should not be able to renew the medication.

Overview of medication that can be renewed:

{
  "regels": [
    {
      "Id": 212876,
      "StartDatum": "2020-06-28T09:00:03",
      "EindDatum": "2023-06-24T15:53:50",
      "AfspraakType": "Chronisch",
      "AantalEenheden": 30,
      "BasisEenheidProduct": "Stuk",
      "Omschrijving": "IBUPROFEN 400MG TABLET",
      "Dosering": "3D1T ZN",
      "DoseringOmschrijving": "3 maal per dag 1 tablet, zo nodig",
      "Herhaalbaar": true
    },
    {
      "Id": 249948,
      "StartDatum": "2022-12-14T13:55:37",
      "EindDatum": "2023-04-02T11:51:58",
      "AfspraakType": "Chronisch",
      "AantalEenheden": 20,
      "BasisEenheidProduct": "Milliliter",
      "Omschrijving": "DENOSUMAB 70MG/ML INJVLST",
      "Dosering": "1d1ij",
      "DoseringOmschrijving": "1 maal per dag 1 injectie",
      "Herhaalbaar": false
    },
  ],
  "ReturnValue": {
    "ResponseCode": 200,
    "ResponseText": "OK",
    "Melding": "OK",
    "Gelukt": true
  }
}

Data

  • StartDatum: Prescription start date

  • EindDatum: Prescript end date

  • AfspraakType: Medication type, possible options:

    • Chronisch: Chronisch (Chronic)

    • KurenEnTijdelijk: Kuren/tijdelijk (Cures/temporary)

    • ZoNodig: Zo nodig (If necessary)

    • NietGeclassificeerd: Niet geclassificeerd (Not classified)

    • Overig: Overig (Other)

  • AantalEenheden: Number of units

  • BasisEenheidProduct: Unit description

  • OmschrijvingGeneriek: Generic name of medication

  • OmschrijvingSpecialite: Specialite name of medication

  • Dosering: WCIA25 representation of dosage.

  • DoseringOmschrijving: Human readable dosage description,

  • Herhaalbaar: Patient is allowed (true) to renew medication or not (false)

<?xml version="1.0" encoding="utf-16"?>
<His_GetMedicatieProfiel_Antwoord xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Id="-1001">
  <CommunicatieStatus>OZB_Communicatie_Status_Verzoek_is_geslaagd</CommunicatieStatus>
  <StatusTekst>OK.</StatusTekst>
  <Profiel Id="-1001">
    <Regels>
      <His_MedicatieProfiel_Regel Id="310704">
        <Voorschrift Id="310704">
          <Product Id="-1001">
            <MedicatieOmschrijving>JODIUM/NATRIUMJODIDE OPL CUTAAN 10/12,5MG/G</MedicatieOmschrijving>
            <Voorschrijfniveau>ZIndex_Voorschrijfniveau_VoorschrijfProduct</Voorschrijfniveau>
            <ATC>D08AG03</ATC>
            <ATCOmschrijving>JODIUM</ATCOmschrijving>
            <GPK>108758</GPK>
            <GPKOmschrijving>JODIUM/NATRIUMJODIDE OPL CUTAAN 10/12,5MG/G</GPKOmschrijving>
            <PRK>13579</PRK>
            <PRKOmschrijving>JODIUM/NATRIUMJODIDE OPL CUTAAN 10/12,5MG/G</PRKOmschrijving>
            <PRKAlsHPK>261858</PRKAlsHPK>
            <PRKAlsHPKOmschrijving>JODIUM 1% ALC OPL FNA</PRKAlsHPKOmschrijving>
          </Product>
          <Dosering Id="-1001">
            <Aantal1000>100000</Aantal1000>
            <Code>10D10GR</Code>
            <DoseringOmschrijving>10 maal per dag 10 gram</DoseringOmschrijving>
            <VoorschriftType>His_VoorschriftType_Onbekend</VoorschriftType>
            <AantalHerhalingen>0</AantalHerhalingen>
            <StartDatum>2010-10-10T00:00:00</StartDatum>
            <VerwachteEinddatum>2010-10-10T00:00:00</VerwachteEinddatum>
            <BasiseenheidProduct>OZB_NietGevuld</BasiseenheidProduct>
            <EenheidGebruiksadvies>OZB_NietGevuld</EenheidGebruiksadvies>
          </Dosering>
          <RedenVoorschrijven>OZB_NietGevuld</RedenVoorschrijven>
          <Opmerking />
          <BlijvendBewaken>false</BlijvendBewaken>
          <SpecialistMedicatie>OZB_NietGevuld</SpecialistMedicatie>
          <RegelMutatie>OZB_NietGevuld</RegelMutatie>
          <RegelNummer />
        </Voorschrift>
        <RegelType>Chronisch</RegelType>
      </His_MedicatieProfiel_Regel>
    </Regels>
  </Profiel>
</His_GetMedicatieProfiel_Antwoord>

Renew medication

Renew medication for the logged in patient.

Request

Patient user session required

Warning

When the Herhaalbaar key has the false it is not allowed to pass Id of the medication in the afspraakIds array.

{
  "Name": "{{name}}",
  "Key": "{{key}}",
  "Target": "{{target}}",
  "Session": "{{session}}",
  "Method": "ReceptAanvraag",
  "afspraakIds": [12345, 67890, 111213]
}

Parameters

  • afspraakIds: A list of prescripion ID’s that the patient wants to renew.

Warning

When the XML response (old situation) has a HPK and PRK both have the value -1 it isn’t possible to renew the prescription. Most of the times this is due to the fact that the medication is not available anymore according to the Z-index.

First get a list of medication that can be renewed (see above). After that you can copy the full “Voorschrift” from the response to renew the medication.

<?xml version="1.0" encoding="utf-16"?>
<His_ReceptAanvraag_Verzoek xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Id="-1000">
  <Identificatie xsi:type="OZB_Communicatie_Identificatie_GebruikerSessie" Id="-1001">
    <Sessie>[session token]</Sessie>
  </Identificatie>
  <OntvangerEntiteit>[practice code]</OntvangerEntiteit>
  <Recept Id="-1000">
    <Datum>0001-01-01T00:00:00</Datum>
    <PatientAdministratief Id="-1000">
      <Geslacht>OZB_NietGevuld</Geslacht>
      <Geboortedatum>0001-01-01T00:00:00</Geboortedatum>
      <Praktijk Id="-1000">
        <Adres Id="-1000">
          <Landcode>OZB_NietGevuld</Landcode>
        </Adres>
        <Telefoonnummers />
      </Praktijk>
      <Telefoonnummers />
      <Naam Id="-1000">
        <NaamGebruik>OZB_NietGevuld</NaamGebruik>
      </Naam>
      <Woonadres Id="-1001">
        <Landcode>OZB_NietGevuld</Landcode>
      </Woonadres>
      <RedenInschrijving>OZB_NietGevuld</RedenInschrijving>
      <RedenUitschrijving>OZB_NietGevuld</RedenUitschrijving>
      <Inschrijfdatum>0001-01-01T00:00:00</Inschrijfdatum>
      <Uitschrijfdatum>0001-01-01T00:00:00</Uitschrijfdatum>
      <StandaardBezorgen>false</StandaardBezorgen>
      <Zorgverleners />
      <HoofdbehandelaarId>0</HoofdbehandelaarId>
      <Woonverbandnummer>0</Woonverbandnummer>
      <IsOverleden>false</IsOverleden>
      <Overlijdensdatum>0001-01-01T00:00:00</Overlijdensdatum>
      <IsIngeschreven>false</IsIngeschreven>
      <SoortPatient>OZB_NietGevuld</SoortPatient>
      <Categorieen />
      <Metagegevens />
      <OokBekendAls />
      <Memos />
    </PatientAdministratief>
    <Recepttype>OZB_NietGevuld</Recepttype>
    <Apotheek Id="-1000">
      <Adres Id="-1002">
        <Landcode>OZB_NietGevuld</Landcode>
      </Adres>
      <Telefoonnummers />
    </Apotheek>
    <AutorisatieNodig>false</AutorisatieNodig>
    <Voorschrijver Id="-1000" />
    <Voorschriften>
      <ZIndex_Voorschrift Id="698964">
        <Product Id="-1057">
          <MedicatieOmschrijving>OXAZEPAM TABLET 50MG</MedicatieOmschrijving>
          <Voorschrijfniveau>ZIndex_Voorschrijfniveau_VoorschrijfProduct</Voorschrijfniveau>
          <ATC>N05BA04</ATC>
          <ATCOmschrijving>OXAZEPAM</ATCOmschrijving>
          <GPK>20257</GPK>
          <GPKOmschrijving>OXAZEPAM TABLET 50MG</GPKOmschrijving>
          <PRK>7285</PRK>
          <PRKOmschrijving>OXAZEPAM TABLET 50MG</PRKOmschrijving>
          <PRKAlsHPK>1517295</PRKAlsHPK>
          <PRKAlsHPKOmschrijving>OXAZEPAM ACCORD 50MG TABLET</PRKAlsHPKOmschrijving>
        </Product>
        <Dosering Id="-1057">
          <Aantal1000>10000</Aantal1000>
          <Code>1d1t</Code>
          <DoseringOmschrijving>1 maal per dag 1 tablet</DoseringOmschrijving>
          <VoorschriftType>His_VoorschriftType_Chronisch</VoorschriftType>
          <AantalHerhalingen>0</AantalHerhalingen>
          <StartDatum>2014-04-02T14:30:16</StartDatum>
          <VerwachteEinddatum>2014-04-12T14:30:16</VerwachteEinddatum>
          <BasiseenheidProduct>ZIndex_BasiseenheidProduct_Stuk</BasiseenheidProduct>
          <EenheidGebruiksadvies>OZB_NietGevuld</EenheidGebruiksadvies>
        </Dosering>
        <RedenVoorschrijven>NHG_ICPC_Angststoornis_angsttoestand</RedenVoorschrijven>
        <Opmerking />
        <BlijvendBewaken>false</BlijvendBewaken>
        <SpecialistMedicatie>OZB_NietGevuld</SpecialistMedicatie>
        <RegelMutatie>OZB_NietGevuld</RegelMutatie>
        <RegelNummer />
      </ZIndex_Voorschrift>
    </Voorschriften>
    <Afhandeling>OZB_NietGevuld</Afhandeling>
    <Commentaar>Extra comments</Commentaar>
  </Recept>
</His_ReceptAanvraag_Verzoek>

Response (success)

{
   "ReturnValue": {
       "ResponseCode": 200,
       "ResponseText": "OK",
       "Melding": "OK",
       "Gelukt": true
   }
}
<?xml version="1.0" encoding="utf-16"?>
<His_ReceptAanvraag_Antwoord xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Id="-1005">
  <CommunicatieStatus>OZB_Communicatie_Status_Verzoek_is_geslaagd</CommunicatieStatus>
  <UitgebreideStatus />
  <NieuwReceptNummer>499406</NieuwReceptNummer>
</His_ReceptAanvraag_Antwoord>

Response (failed)

Medication ID not found

{
   "ReturnValue": {
      "ResponseCode": 404,
      "ResponseText": "Not Found",
      "Melding": "Niet gevonden",
      "Gelukt": false
   }
}

Medication that cannot be renewed