Page Status: updated 2022-06-08 (Work in progress)

NLLAccessConsent (Consent)

Page index

Introduction

The Consent resource, shown in the profile NLLAccessConsent (sv: registrerat åtkomstsamtycke) represents a consent for a health care professional to access a patient's medication list.

Overview

idS Σ0..1System.String
versionIdS Σ0..1id
lastUpdatedΣ0..1instant
sourceΣ0..1uri
profileΣ0..*canonical(StructureDefinition)
securityΣ0..*CodingBinding
tagΣ0..*Coding
url1..1System.StringFixed Value
startS Σ I1..1dateTime
endS Σ I1..1dateTime
identifierΣ0..*Identifier
statusS Σ ?!1..1codeBinding
systemS Σ0..1uriFixed Value
versionS Σ0..1string
codeS Σ0..1codeFixed Value
displayΣ0..1string
userSelectedΣ0..1boolean
textΣ0..1string
systemS Σ0..1uriFixed Value
versionS Σ0..1string
codeS Σ0..1codeFixed Value
displayΣ0..1string
userSelectedΣ0..1boolean
textΣ0..1string
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
dateTimeΣ0..1dateTime
performerΣ I0..*Reference(Organization | Patient | Practitioner | RelatedPerson | PractitionerRole)
organizationΣ I0..*Reference(Organization)
sourceAttachmentAttachment
sourceReferenceReference(Consent | DocumentReference | Contract | QuestionnaireResponse)
authorityI0..1uri
uriS I0..1uriFixed Value
policyRuleΣ I0..1CodeableConceptBinding
verifiedΣ1..1boolean
verifiedWithI0..1Reference(Patient | RelatedPerson)
verificationDate0..1dateTime
typeΣ0..1codeBinding
startS Σ I1..1dateTime
endS Σ I1..1dateTime
systemS Σ0..1uriFixed Value
versionS Σ0..1string
codeS Σ0..1codeFixed Value
displayΣ0..1string
userSelectedΣ0..1boolean
textΣ0..1string
referenceS Σ I0..1string
typeS Σ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
actionΣ0..*CodeableConcept
systemS Σ0..1uriFixed Value
versionS Σ0..1string
codeS Σ0..1codeFixed Value
displayΣ0..1string
userSelectedΣ0..1boolean
purposeΣ0..*CodingBinding
classΣ0..*CodingBinding
codeΣ0..*CodeableConcept
dataPeriodΣ I0..1Period
meaningΣ1..1codeBinding
referenceΣ I1..1Reference(Resource)
provision0..*see (provision)

Details

Description of all elements can be found here, Element descriptions.

Mapping of FHIR element names to Swedish National Medication List names can be found here, Element language mappings.

Statuses

Status Description
proposed The consent is requested by a health care professional
active The consent is accepted by the patient or created directly by the patient
inactive The consent is canceled by the patient or automatically discontinued

Inactive consents are usually not visible.

Category

Status Description
consent-dose-disp The consent is a multi dose dispense consent, i.e. based on NLLMultiDoseDispConsent
INFA The consent is an access consent, i.e. based on NLLAccessConsent

Supported operations

HTTP methods

Operation Supported Comment
Search (GET, POST) yes See below for supported search options.
Insert (POST) yes Create a new access consent. Currently only as a request by a health care professional.
Update (PUT) yes Accept (patient) or terminate (patient, practitioner) a request.
Delete (DEL) no
Operation (GET, POST) no

When interacting with this resource a set of HTTP-headers must be included in the request, see HTTP Header and Authorization.

Query operations

Supported queries

The following query alternatives are available for this resource.

  1. ../Consent/[id]
  2. ../Consent/[id]/_history{/[vid]}
  3. ../Consent?[parameters]
    Parameter chain:
    patient._id=[id]
    &category=INFA
    {&actor.type=[string]}
    {&practitioner.identifier=[string]}
    {&status=[string]}

Compartment searches

Supported searches on a compartment. This kind of search returns a bundle with the related resources.

  1. ../Consent/[id]/Provenances returns all Provenances related to a specific Consent.

NB! ../Patient/[id]/Consent returns only multi dose dispense Consents.

Include & reverse includes

Include and revinclude are not supported by this resource.

For generic information about how to search in FHIR look here.

Search parameters

The table below shows all supported search parameters.

Parameter Description Comment
Consent/[id] A read based on the logical ID (UUID) of a consent
../Consent/<uuid>
_history A vread to get all versions of a consent
../Consent/<uuid>/_history
_history/[vid] A vread to get a specific version of a consent
../Consent/<uuid>/_history/3
patient._id ..&patient._id=<uuid>
category ..&category=INFA Access consent is INFA
Multi dose disp consent is consent-dose-disp
actor.type ..&actor.type=Practitioner Currently only Practitioner is available as a type
practitioner.identifier ..&practitioner.identifier=urn:oid:1.2.752.116.3.1.2|9000027 This field is mandatory for a practitioner and must match the person requesting the info.
Förskrivarkod is identified by urn:oid:1.2.752.116.3.1.2
Legitimationskod is identified by urn:oid:1.2.752.116.3.1.1
status ..&status=Active Active or Proposed