{
"description": "The approve operation supports applying an approval to an existing artifact, regardless of status. The operation sets the _date_ and _approvalDate_ elements of the approved artifact, and is otherwise only allowed to create ArtifactAssessment resources in the repository.",
"_filename": "OperationDefinition-crmi-approve.json",
"package_name": "hl7.fhir.uv.crmi.r4",
"date": "2023-03-12",
"system": false,
"publisher": "HL7 International / Clinical Decision Support",
"instance": true,
"jurisdiction": [ {
"coding": [ {
"code": "001",
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"display": "World"
} ]
} ],
"name": "CRMIApprove",
"type": "true",
"experimental": "false",
"resourceType": "OperationDefinition",
"title": "CRMI Approve",
"package_version": "1.0.0-ballot2",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "cds"
} ],
"status": "draft",
"id": "e1248c86-fac9-4088-9f74-8949013fcd99",
"resource": [ "Resource" ],
"kind": "operation",
"comment": "The approve operation supports the ability of a repository to record commentary on a specific state of an artifact in an ArtifactAssessment resource by applying an approval. The ArtifactAssessments which are added by the operation must reference a version of the artifact.",
"url": "http://hl7.org/fhir/uv/crmi/OperationDefinition/crmi-approve",
"code": "approve",
"version": "1.0.0-ballot2",
"contact": [ {
"telecom": [ {
"value": "http://www.hl7.org/Special/committees/dss",
"system": "url"
} ]
} ],
"parameter": [ {
"max": "1",
"min": 1,
"use": "in",
"name": "id",
"type": "string",
"documentation": "The logical id of the artifact to approved. The server must know the artifact (e.g. it is defined explicitly in the server's artifacts)"
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "approvalDate",
"type": "date",
"documentation": "The date on which the artifact was approved. If one is not provided the system date will be used."
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "artifactAssessmentType",
"type": "code",
"documentation": "If a comment is submitted as part of the approval, this parameter denotes the type of artifact comment."
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "artifactAssessmentSummary",
"type": "string",
"documentation": "The body of the comment."
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "artifactAssessmentTarget",
"type": "canonical",
"documentation": "The canonical url for the artifact being approved. The format is: [system]|[version] - e.g. http://loinc.org|2.56"
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "artifactAssessmentRelatedArtifact",
"type": "uri",
"documentation": "Optional supporting canonical URL / Reference for the comment."
}, {
"max": "1",
"min": 0,
"use": "in",
"name": "artifactAssessmentAuthor",
"type": "Reference",
"documentation": "A Reference to a resource containing information about the entity applying the approval."
}, {
"max": "1",
"min": 1,
"use": "out",
"name": "return",
"type": "Bundle",
"documentation": "The Bundle result containing both the updated artifact and the ArtifactAssessment resource containing the Approval metadata"
} ]
}