{ "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 (Basic or cqf-artifactComment extensions in R4) resources in the repository.", "_filename": "OperationDefinition-crmi-approve.json", "package_name": "hl7.fhir.uv.crmi", "date": "2024-05-31T16:42:56+00:00", "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", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "cds" } ], "status": "active", "id": "29a9cd52-6d59-4c84-bdd5-0d13c435b47d", "resource": [ "ActivityDefinition", "CapabilityStatement", "CodeSystem", "CompartmentDefinition", "ConceptMap", "ExampleScenario", "GraphDefinition", "ImplementationGuide", "Library", "Measure", "Medication", "MedicationKnowledge", "MessageDefinition", "NamingSystem", "OperationDefinition", "PlanDefinition", "Questionnaire", "SearchParameter", "StructureDefinition", "StructureMap", "Substance", "TerminologyCapabilities", "TestScript", "ValueSet" ], "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 (Basic or cqf-artifactComment extension in R4) resource by applying an approval. The artifact assessments 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", "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 (Basic in R4) resource containing the Approval metadata" } ] }