Admission

About

An admission supervisor for study programs / study program options started by a click on a button that merges different textual "fellestekst" sources from document program / program-option and user parameters that comes from a Nettskjema as a GET-request:

"S?kergruppe"

Based on the answers in Nettskjema, the user is placed in one of three "s?kergrupper":

The ground truth for which countries are in the different groups is retrieved from these "fellestekst": /vrtx/fellestekst/hvordan-soke-tilpasset/land/?vrtx=admin

(these can be exported to the Nettskjemas with the help of this tool; /vrtx/fellestekst/hvordan-soke-tilpasset/land/eksporter-land-til-nettskjema.html, not sure if it works anymore, but has only happened one time yet for one country (brexit) so probably can update the Nettskjemas manually)

Countries and country-codes

Sort JSON with e.g. countries

"Fellestekster*

Is retrieved from different files under: /vrtx/fellestekst/hvordan-soke-tilpasset/

(some are selected in document, and some are retrieved based on "s?kergruppe" + some exceptions that uses FS programCode / programOptionCode retrieved from study context folder)

Framebuster

Nettskjema (no/en) that is used in first step, sends the answers as parameters to framebuster/index.html. It busts out of the iframe so that the top frame has the correct parameters. If restricted study program, index.html sends the response to index-int.html that is a restricted file because of CORS (otherwise does the same as index.html).