Bem

APIDescription
GET api/bem/Get/{user}

Get fmk bemyndigelser from current user

MockFmk

APIDescription
POST api/mockfmk/Versions

Get mock medicine card versions with the given student ids and cprs

POST api/mockfmk/Update

Update mock medicine card with the given student ids and cprs

GET api/mockfmk/Get/{cpr}

Get an medicine card from the mock data with the given cpr number

GET api/mockfmk/Query

Get all the mock data in an array

Sdm

APIDescription
GET api/sdm/GetAuthorization/{cpr}/{user}

Get authorization for the given cpr number

Eo

APIDescription
GET api/eo/Get/{cpr}/{student}/{user}?consentOverridden={consentOverridden}

Get prescription requests from "Recept- og udleveringsanmodninger" with the given cpr number, student id and user id

Fmk

APIDescription
GET api/fmk/Versions/{user}

Get medicine card versions from fmk with the given student ids and cprs and user id

POST api/fmk/Update/{user}

Update medicine card if new version from fmk with the given student ids and cprs and user id

POST api/fmk/UpdateStudent/{cpr}/{student}/{user}?consentOverridden={consentOverridden}

Update medicine card from fmk with the given cpr number, student id and user id

GET api/fmk/Get/{cpr}/{student}/{user}?consentOverridden={consentOverridden}

Get an medicine card from fmk with the given cpr number, student id and user id

GET api/fmk/Effectuations/{cpr}/{student}/{user}?consentOverridden={consentOverridden}

Get effectuations from fmk with the given cpr number, student id and user id

GET api/fmk/PrescriptionsResidualAmount/{cpr}/{student}/{user}?ids[0]={ids[0]}&ids[1]={ids[1]}&consentOverridden={consentOverridden}

Get prescriptions residual amount from fmk with the given cpr number, student id and user id and prescription ids

GET api/fmk/PDF/{cpr}/{student}/{user}?type={type}&consentOverridden={consentOverridden}

Get an medicine card as pdf from fmk with the given cpr number, student id and user id

Por

APIDescription
GET api/por/Get/{cpr}/{student}/{user}

Get patient organisation relation from "Registrering af patientdata" with the given cpr number, student id and user id

POST api/por/Register/{cpr}/{student}/{user}/{institution}

Register patient organisation relation to "Registrering af patientdata" with the given cpr number, student id and user id

DELETE api/por/Remove/{cpr}/{student}/{user}

Remove patient organisation relation from "Registrering af patientdata" with the given patient organisation relation, cpr number, student id and user id