Package | poc.bonsai.current |
Resource Type | OperationDefinition |
Id | NLLEnd.OperationDefinition |
FHIR Version | R4 |
Source | https://simplifier.net/resolve?scope=poc.bonsai.current@1.1.0&canonical=http://electronichealth.se/fhir/OperationDefinition/NLLEnd |
URL | http://electronichealth.se/fhir/OperationDefinition/NLLEnd |
Version | 1.0.0 |
Status | active |
Date | 2024-04-16 |
Name | NLLEnd |
Title | end |
Description | This operation is used for stopping (sv Avsluta) or cancelling (sv Makulera) one or several prescriptions using their logical ids or their legacy NEF-ids. |
Type | true |
Kind | operation |
No resources found
No resources found
No narrative content found in resource
{ "resourceType": "OperationDefinition", "url": "http://electronichealth.se/fhir/OperationDefinition/NLLEnd", "version": "1.0.0", "name": "NLLEnd", "title": "end", "status": "active", "kind": "operation", "date": "2024-04-16", "publisher": "The Swedish eHealth Agency", "description": "This operation is used for stopping (sv Avsluta) or cancelling (sv Makulera) one or several prescriptions using their logical ids or their legacy NEF-ids.", "affectsState": true, "code": "end", "comment": "Can be invoked with a HTTP POST.\r\nThis operation is used for stopping (sv Avsluta) or cancelling (sv Makulera) one or several prescriptions using their logical ids.\r\nIn the case of an unsuccessfull transaction, an OperationOutcom is returned.", "resource": [ "MedicationRequest" ], "system": false, "type": true, "instance": false, "parameter": [ { "name": "entry", "use": "in", "min": 1, "max": "*", "documentation": "Data about the MedicationRequest(s) that shall be stopped (sv Avsluta) or cancelled (sv Makulera).", "part": [ { "name": "resource", "use": "in", "min": 0, "max": "1", "documentation": "NB! Either a reference OR a NEF-id (PrescriptionSetId, RowId and ProductRowId) must be provided.\r\nReference to a MedicationRequest that shall be stopped (sv Avsluta) or cancelled (sv Makulera) on either of the following formats MedicationRequest/[id] OR MedicationRequest/[id]/_history/[vid]. In the case that the reference contains a specific version (/_history/[vid]) the version-information will be ignored.", "type": "Reference", "targetProfile": [ "http://electronichealth.se/fhir/StructureDefinition/NLLReference" ] }, { "name": "PrescriptionSetId", "use": "in", "min": 0, "max": "1", "documentation": "NB! Either a reference OR a NEF-id (PrescriptionSetId, RowId and ProductRowId) must be provided. \r\nThe PrescriptionSetId used in the NEF-id. Can be in combination with RowId and ProductRowId. The provided combination of NEF-id-parts must resolve to a uniqe prescription. (sv Originalordinations-id)", "type": "string" }, { "name": "RowId", "use": "in", "min": 0, "max": "1", "documentation": "The RowId used in the NEF-id. Used in combination with PrescriptionSetId and ProductRowId. (sv Radnummer)", "type": "positiveInt" }, { "name": "ProductRowId", "use": "in", "min": 0, "max": "1", "documentation": "The ProductRowId used in the NEF-id. Used in combination with PrescriptionSetId and RowId. (sv Produktradnummer)", "type": "positiveInt" }, { "name": "reason", "use": "in", "min": 1, "max": "1", "documentation": "Reason the activity is occurring. Will be used in the linked Provenance. (sv Händelseorsak)", "type": "CodeableConcept", "targetProfile": [ "https://electronichealth.se/fhir/StructureDefinition/NLLProvenanceReason" ] }, { "name": "activity", "use": "in", "min": 1, "max": "1", "documentation": "Activity that occurred. Will be used in the linked Provenance. (sv Händelsetyp)", "type": "CodeableConcept", "targetProfile": [ "https://electronichealth.se/fhir/StructureDefinition/NLLProvenvanceActivity" ] }, { "name": "nllUsageEndDate", "use": "in", "min": 0, "max": "1", "documentation": "End date for dosage usage (sv: Sista doseringsdag)", "part": [ { "name": "operationType", "use": "in", "min": 1, "max": "1", "documentation": "replace | delete\r\nThe operation that should be applied on the UsageEndDate. It can be replaced with a new date, or it can be deleted.", "type": "code", "binding": { "strength": "required", "valueSet": "http://electronichealth.se/fhir/ValueSet/end-operation-types" } }, { "name": "date", "use": "in", "min": 0, "max": "1", "documentation": "The date value that UsageEndDate shall get. Used in combination with the OperationType \"replace\".", "type": "date" } ] }, { "name": "nllTreatmentEndDate", "use": "in", "min": 0, "max": "1", "documentation": "Last date for ending this treatment (sv: Senaste datum för avslut)", "part": [ { "name": "operationType", "use": "in", "min": 1, "max": "1", "documentation": "replace | delete\r\nThe operation that should be applied on the TreatmentEndDate. It can be replaced with a new date, or it can be deleted.", "type": "code", "binding": { "strength": "required", "valueSet": "http://electronichealth.se/fhir/ValueSet/end-operation-types" } }, { "name": "date", "use": "in", "min": 0, "max": "1", "documentation": "The date value that TreatmentEndDate shall get. Used in combination with the OperationType \"replace\".", "type": "date" } ] } ] }, { "name": "result", "use": "out", "min": 0, "max": "1", "documentation": "In the case of a successfull call, the result is set to \"true\"", "type": "boolean" } ] }