Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Navitabs
rootMinSpærring Samtykkeservicen - Leverancebeskrivelse
includeroottrue


...

De attributter, der kan og skal bruges i HSUID-header i kald til de enkelte sundhedstjenester, skal specificeres af snitfladebeskrivelsen for tjenesten. Nedenfor er listen over etablerede attributter.

Attributten nsi:UserType

...

Attributten nsi:UserType angiver, om brugeren er statsborger eller sundhedsprofessionel.

XMl-attribut Name

nsi:UserType

XML-attribut NameFormat

Ikke brugt

Påkrævet

Ja

Værdisæt

nsi:Citizen betyder borger, nsi:HealthcareProfessional betyder sundhedsfaglig

Eksempel

<hsuid:Attribute Name="nsi:UserType">

<hsuid:AttributeValue>nsi:Citizen</hsuid:AttributeValue>

</hsuid:Attribute>

...

Attributten nsi:ActingUserCivilRegistrationNumber

The attribute Attributten nsi:ActingUserCivilRegistrationNumber identifies the user by social security numberidentificerer brugeren udfra personnummer.

XMl-attribut Name

nsi:ActingUserCivilRegistrationNumber

XML-attribut NameFormat

Not usedIkke brugt

Påkrævet

RequiredJa

VærdisætSocial security number

CPR-nummer

Eksempel

<hsuid:Attribute Name="nsi:ActingUserCivilRegistrationNumber">

<hsuid:AttributeValue>1212124321</hsuid:AttributeValue>

</hsuid:Attribute>

...

Attributten nsi:OrgUsingID

The attribute nsi:OrgUsingID describes the identification of the organization for which a user who is a health professional is affiliated at the time of usageAttributten nsi:OrgUsingID beskriver identifikationen af den organisation, som en bruger, der er sundhedsfaglig er tilknyttet på brugstidspunktet.

XMl-attribut Name

nsi:OrgUsingID

XML-attribut NameFormat

nsi:sor indicates organization identification by SOR-code,indikerer at organisationen er identificeret via en SOR-kode.

nsi:skskode indicates organization identification by SHAK-code,indikerer at organisationen er identificeret via en SHAK-kode.

nsi:ynumber indicates organization identification by Healthcare Provider Number (Danish: ydernummer)

Påkrævet

Only if user is health professional

indikerer at organisationen er identificeret via ydernummer.

Påkrævet

Kun hvis bruger er sundhedsfaglig.

Værdisæt

Afhænger af klassifikationssystemet anvendt i NameFormat attributten.

Værdisæt

Depends on classifications system provided in the NameFormat-attribute

Eksempel

<hsuid:Attribute Name="nsi:OrgUsingID" NameFormat="nsi:sor">

<hsuid:AttributeValue>440081000016006</hsuid:AttributeValue>

</hsuid:Attribute>

...

Attributten nsi:ResponsibleUserCivilRegistrationNumber

...

Attributten nsi:ResponsibleUserCivilRegistrationNumber

...

If the user acts under the responsibility of another health professional, the latter must possess a Danish authorization in Health Authority’s authorization register. This health professional’s authorization number has to be provided in the attribute nsi:ResponsibleUserAuthorizationCode.

...

identificerer den sundhedsfagligeperson under hvis ansvar brugeren handler.

Hvis brugeren handler under en anden sundhedsfagligs ansvar, skal sidstnævnte have en dansk autorisation i sundhedsmyndighedens autorisationsregister. Dette  autorisationsnummer skal angives i attributten nsi: ResponsibleUserAuthorizationCode.

Hvis brugeren ikke handler under en anden sundhedsprofessionals ansvar, skal den samme værdi angives i attributterne nsi: ActingUserCivilRegistrationNumber og nsi:ResponsibleUserCivilRegistrationNumber.

XMl-attribut Name

nsi:ResponsibleUserCivilRegistrationNumber

XML-attribut NameFormat

Not usedIkke brugt

PåkrævetOnly if user is health professional

Kun hvis bruger er sundhedsfaglig.

VærdisætSocial security number

CPR-nummer

Eksempel

<hsuid:Attribute Name="nsi:ResponsibleUserCivilRegistrationNumber">

<hsuid:AttributeValue>1111112222</hsuid:AttributeValue>

</hsuid:Attribute>

Examples of usage are provided in the table belowEksempler på brug er vidst i nedenstående tabel:


nsi:

ActingUserCivilRegistration

ActingUserCivilRegistrationNumber

Number

nsi:

ResponsibleUser

ResponsibleUserCivilRegistrationNumber

CivilRegistration

Number

nsi:

ResponsibleUser

ResponsibleUserAuthorizationCode

AuthorizationCode

Sekretær

Secretary

(Health professional without Danish authorization)

The secretary’s own social security number

Social security number for the health professional under whose responsibility action is taken

Authorization number for the health professional under whose responsibility action is taken

Physician

(Health professional with Danish authorization under own responsibility)

The physician’s own social security number

The physician’s own social security number

The physician’s authorization number

Health professional with authority given by the administration (c.f. §42a subsection 4 in Health law)

The health professional’s own social security number

The health professional’s own social security number

-

The attribute nsi:ResponsibleUserAuthorizationCode

(Sundhedsfaglig uden dansk autorisation)

Sekretærens eget CPR-nummer

CPR-nummer på sundhedsfaglig der arbejdes på vegne af.

Autorisationsnummer på sundhedsfaglig der arbejdes på vegne af.

Læge

(Sundhedsfaglig med eget autorsiationsnummer der ikke arbejder på vegne af anden)

Læges eget CPR-nummerr

Læges eget CPR-nummer

Læges eget autorisansnummer

Sundhedsfaglig uden autorisationsnummer

Sundhedsfagligs eget CPR-nummer

Sundhedsfagligs eget CPR-nummer

-

Attributten nsi:ResponsibleUserAuthorizationCode

Attributten nsi:ResponsibleUserAuthorizationCode angiver autorisationsnummeret registreret i Sundhedsstyrelsens autorisationsregister for den sundhedsperson, under hvis ansvar brugeren handlerThe attribute nsi:ResponsibleUserAuthorizationCode indicates the authorization number recorded in Danish Health and Medicines Authority’s authorization register for the health professional under whose responsibility the user acts.

XMl-attribut Name

nsi:ResponsibleUserAuthorizationCode

XML-attribut NameFormat

Not usedIkke brugt

Påkrævet

Only if user is health professional

Kun hvis bruger er sundhedsfaglig.

Værdisæt

Autorisationsnummer registreret i Sundhedsstyrelsens autorisationsregister.

Hvis brugeren handler under eget ansvar, og brugeren ikke har et autorisationsnummer, angives ”-” (uden anførselstegn

Værdisæt

Authorization number recorded in Danish Health and Medicines Authority’s authorization register.

If the user acts under own responsibility and the user does not have an authorization number, then ”-” is indicated (without quotation marks

).

Eksempel

<hsuid:Attribute Name="nsi:ResponsibleUserAuthorizationCode">

<hsuid:AttributeValue>12345</hsuid:AttributeValue>

</hsuid:Attribute>

If the user acts under another health professional’s responsibility, then the other health professional must possess an authorization number registered in Danish Health and Medicines Authority’s authorization register.

...

Hvis brugeren handler under en anden sundhedsfagligs ansvar, skal den anden sundhedsfaglige have et autorisationsnummer registreret i Sundhedsstyrelsens autorisationsregister.

Attributten nsi:ConsentOverride

The attribute Attributten nsi:ConsentOverride indicates whether safeguarding is used or not. If the attribute is omitted, it means that safeguarding has not been performedangiver, om værdispring bruges eller ej. Hvis attributten udelades, betyder det, at værdispring ikke er udført.

XMl-attribut Name

nsi:ConsentOverride

XML-attribut NameFormat

Not usedIkke brugt

Påkrævet

Only if user is health professional. OptionalNej

Værdisæt

True indicates use of safe guarding, false indicates that safeguarding is not usedindikerer at der er anvendt værdispring og false indikerer at der ikke er anvendt værdispring.

Eksempel

<hsuid:Attribute Name="nsi:ConsentOverride">

<hsuid:AttributeValue>true</hsuid:AttributeValue>

</hsuid:Attribute>

...

Attributten nsi:SystemOwnerName

The attribute Attributten nsi:SystemOwnerName indicates name of the system owner of the user systemangiver navnet på systemejeren af anvendersystemet.

XMl-attribut Name

nsi:SystemOwnerName

XML-attribut NameFormat

Not usedIkke brugt

Påkrævet

RequiredJa

VærdisætSample space is dictated by system owner

Angives af systemejer

Eksempel

<hsuid:Attribute Name="nsi:SystemOwnerName">

<hsuid:AttributeValue>Region Midt</hsuid:AttributeValue>

</hsuid:Attribute>

...

Attributten nsi:SystemName

The attribute nsi:SystemName indicates name of the user system.Attributten nsi:Systemnavn angiver navnet på anvendersystemet

XMl-attribut Name

nsi:SystemName

XML-attribut NameFormat

Not usedIkke brugt

Påkrævet

RequiredJa

VærdisætSample space is dictated by system owner/provider of user system

Angives af systemejer

Eksempel

<hsuid:Attribute Name="nsi:SystemName">

<hsuid:AttributeValue>MidtEPJ</hsuid:AttributeValue>

</hsuid:Attribute>

...

Attributten nsi:SystemVersion

The attribute Attrbutten nsi:SystemVersion indicates version of the user systemangiver navnet på anvendersystemet.

XMl-attribut Name

nsi:SystemVersion

XML-attribut NameFormat

Not usedIkke brugt

Påkrævet

RequiredJa

VærdisætSample space is dictated by system owner/provider of user system

Angives af systemejer

Eksempel

<hsuid:Attribute Name="nsi:SystemVersion">

<hsuid:AttributeValue>9</hsuid:AttributeValue>

</hsuid:Attribute>

...

Attributten nsi:OrgResponsibleName

The attribute Attributen nsi:OrgResponsibleName indicates name of the organization responsible for operation of the IT-systemangiver organisationen ansvarlig for anvendersystemet.

XMl-attribut Name

nsi:OrgResponsibleName

XML-attribut NameFormat

Not usedIkke brugt

Påkrævet

RequiredJa

VærdisætSample space is dictated by the responsible organization

Angives af den ansvarlige organisation

Eksempel

<hsuid:Attribute Name="nsi:OrgResponsibleName">

<hsuid:AttributeValue>Driftsafdeling Vest</hsuid:AttributeValue>

</hsuid:Attribute>

...

Attributten nsi:CitizenCivilRegistrationNumber

The attribute Attributten nsi:CitizenCivilRegistrationNumber indicates the social security number of the angiver CPR-nummer på patient.

XMl-attribut Name

nsi:CitizenCivilRegistrationNumber

XML-attribut NameFormat

Not usedIkke brugt

Påkrævet

OptionalNej

VærdisætSocial security number

CPR-nummer

Eksempel

<hsuid:Attribute Name="nsi:CitizenCivilRegistrationNumber">

<hsuid:AttributeValue>1212124321</hsuid:AttributeValue>

</hsuid:Attribute>

...

Attributten nsi:CitizenUserRelation

The attribute Attributten nsi:CitizenCivilUserRelation indicates the relation between the user and the patient. Presence of this attribute does not mandate presence of the attribute indikerer forholdet mellem brugeren og patienten. Tilstedeværelsen af denne attribut kræver ikke tilstedeværelsen af attributten nsi:CitizenCivilRegistrationNumber.

XMl-attribut Name

nsi:CitizenUserRelation

XML-attribut NameFormat

Not usedIkke brugt

PåkrævetOptional

Nej

Værdisæt

nsi:Citizen indicates user is the patient,indikerer at bruger er patient

nsi:ChildCustodyHolder indicates the user has custody of the patient (in Danish: forældremyndighedsindehaver),indikerer bruger er forældremyndighedsindehaver.

nsi:Guardian indicates the user is legal guardian of the patient (in Danish: indikerer bruger er værge for patienten),.

nsi:ProxyHolder indicates the user has been granted the right to act on behalf of the patient (in Danish: fuldmagtshaver)indikerer patient har givet bruger fuldmagt.

Eksempel

<hsuid:Attribute Name="nsi:CitizenUserRelation">

<hsuid:AttributeValue>nsi:ChildCustodyHolder</hsuid:AttributeValue>

</hsuid:Attribute>

Example

The following is an example of a HSUID header for a user that:

...

is a health professional

...

has social security number 2202222222

...

is affiliated with hospital ward with SHAK-code 6620151 (corresponding to SOR-code 440081000016006)

...

Eksempel

Følgende er et eksempel på et HSUID-header for en bruger, der:

  • er sundhedspersonale
  • har personnummer 2202222222
  • er tilknyttet hospitalafdelingen med SHAK-kode 6620151 (svarende til SOR-kode 440081000016006)
  • arbejder på vegne af en sundhedsperson med CPR-nummer 1404444444 og autorisationsnummer 12345


Code Block
languagexml
<?xml version="1.0" encoding="UTF-8" ?>
<hsuid:HsuidHeader xmlns:hsuid="http://www.nsi.dk/hsuid/2016/08/hsuid-1.1.xsd">
	<hsuid:Assertion IssueInstant="2016-08-24T08:26:17.183Z"
		Version="2.0" id="HSUID">
		<hsuid:Issuer>my-issuer</hsuid:Issuer>
		<hsuid:AttributeStatement id="HSUIDdata">
			<hsuid:Attribute Name="nsi:UserType">
				<hsuid:AttributeValue>nsi:HealthcareProfessional</hsuid:AttributeValue>
			</hsuid:Attribute>
			<hsuid:Attribute Name="nsi:ActingUserCivilRegistrationNumber">
				<hsuid:AttributeValue>2202222222</hsuid:AttributeValue>
			</hsuid:Attribute>
			<hsuid:Attribute Name="nsi:OrgUsingID"
				NameFormat="nsi:sor">
				<hsuid:AttributeValue>440081000016006</hsuid:AttributeValue>
			</hsuid:Attribute>
			<hsuid:Attribute Name="nsi:OrgUsingID"
				NameFormat="nsi:skskode">
				<hsuid:AttributeValue>6620151</hsuid:AttributeValue>
			</hsuid:Attribute>
			<hsuid:Attribute Name="nsi:ResponsibleUserCivilRegistrationNumber">
				<hsuid:AttributeValue>1404444444</hsuid:AttributeValue>
			</hsuid:Attribute>
			<hsuid:Attribute Name="nsi:ResponsibleUserAuthorizationCode">
				<hsuid:AttributeValue>12345</hsuid:AttributeValue>
			</hsuid:Attribute>
			<hsuid:Attribute Name="nsi:SystemOwnerName">
				<hsuid:AttributeValue>Region Midt</hsuid:AttributeValue>
			</hsuid:Attribute>
			<hsuid:Attribute Name="nsi:SystemName">
				<hsuid:AttributeValue>MidtEPJ</hsuid:AttributeValue>
			</hsuid:Attribute>
			<hsuid:Attribute Name="nsi:SystemVersion">
				<hsuid:AttributeValue>9</hsuid:AttributeValue>
			</hsuid:Attribute>
			<hsuid:Attribute Name="nsi:OrgResponsibleName">
				<hsuid:AttributeValue>Driftsafdeling Vest</hsuid:AttributeValue>
			</hsuid:Attribute>
			<hsuid:Attribute Name="nsi:CitizenCivilRegistrationNumber">
				<hsuid:AttributeValue>1212124321</hsuid:AttributeValue>
			</hsuid:Attribute>
		</hsuid:AttributeStatement>
	</hsuid:Assertion>
</hsuid:HsuidHeader>

...