eHealth Infrastructure
2022.2 - release

eHealth Infrastructure - Local Development build (v2022.2). See the Directory of published versions

OperationDefinition: Create a clone of a Questionnaire

Official URL: https://questionnaire.devtest.systematic-ehealth.com/fhir/OperationDefinition/Questionnaire-i-create-clone Version: 2022.2
Active as of 2022-06-20 Computable Name: create-clone

Input

  • resourceId: reference to the Questionnaire resource that should be cloned
  • clone-operation: minor-version/major-version/copy Coding from codesystem: http://ehealth.sundhed.dk/cs/ehealth-clone-operation

Output

Bundle containing all resources that were created during the operation.

Validation

  • New business versions require that the user has modifier-role: owner or co-author for the resource
  • New business version can be made only when no draft resource exists (having identical base identifier).
  • Read/search/create privileges are required for the resource types affected by $create-clone

create-clone

OPERATION: create-clone

The official URL for this operation definition is:

https://questionnaire.devtest.systematic-ehealth.com/fhir/OperationDefinition/Questionnaire-i-create-clone

Input

  • resourceId: reference to the Questionnaire resource that should be cloned
  • clone-operation: minor-version/major-version/copy Coding from codesystem: http://ehealth.sundhed.dk/cs/ehealth-clone-operation

Output

Bundle containing all resources that were created during the operation.

Validation

  • New business versions require that the user has modifier-role: owner or co-author for the resource
  • New business version can be made only when no draft resource exists (having identical base identifier).
  • Read/search/create privileges are required for the resource types affected by $create-clone

URL: [base]/Questionnaire/[id]/$create-clone

Parameters

UseNameCardinalityTypeBindingDocumentation
INclone-operation0..1Coding