{ "description": "The approve operation supports applying an approval to an existing artifact, all its children, regardless of status. The operation sets the _date_ and _approvalDate_ elements of the approved artifact and child artifacts, 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": "2025-08-01T18:39:13+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": null, "resourceType": "OperationDefinition", "title": "CRMI Approve", "package_version": "2.0.0-ballot", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "cds" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 4, "_valueInteger": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", "valueCanonical": "http://hl7.org/fhir/uv/crmi/ImplementationGuide/hl7.fhir.uv.crmi" } ] } }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "trial-use", "_valueCode": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", "valueCanonical": "http://hl7.org/fhir/uv/crmi/ImplementationGuide/hl7.fhir.uv.crmi" } ] } } ], "status": "active", "id": "ef7a901b-32a1-460e-a7b1-271281026ad3", "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": "2.0.0-ballot", "contact": [ { "telecom": [ { "value": "http://www.hl7.org/Special/committees/dss", "system": "url" } ] } ], "parameter": [ { "max": "1", "min": 0, "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 all updated artifacts and the ArtifactAssessment (Basic in R4) resource containing the Approval metadata" } ] }