{
"description": "Inactivates an organizational unit and the units below it at a given date by setting an end date in their period elements.",
"_filename": "OperationDefinition-SetEndDateForOrganizationHierarchy.json",
"package_name": "se.electronichealth.fhir.hvo.r5",
"date": null,
"system": false,
"publisher": null,
"instance": true,
"name": "SetEndDateForOrganizationHierarchy",
"type": "false",
"experimental": null,
"resourceType": "OperationDefinition",
"title": null,
"package_version": "0.1.3-alpha",
"status": "draft",
"id": "02b35e0a-9980-4c3f-993d-bc9f5ea5a717",
"resource": [ "Organization" ],
"affectsState": true,
"kind": "operation",
"comment": "Can be invoked using a HTTP POST request.",
"url": "http://electronichealth.se/fhir/hvo/OperationDefinition/SetEndDateForOrganizationHierarchy",
"code": "set-end-date-for-organization-hierachy",
"version": "0.1.0",
"parameter": [ {
"max": "1",
"min": 1,
"use": "in",
"name": "endDate",
"type": "dateTime",
"documentation": "When an organizational unit and the units below it becomes inactive"
}, {
"max": "1",
"min": 1,
"use": "out",
"name": "return",
"type": "OperationOutcome",
"documentation": "An OperationOutcome detailing if the operation succeeded or failed"
} ]
}