SOP-18: Submit Clinic Claim Request

API SOP

Request ownership of a clinic listing, pending admin verification.

3 nodes · 2 edgesmedirank
apisopmedirankclaim-requests
ex-sop-18-claim-clinic.osop.yaml
# 原始:SOP-18: 申請認領診所
osop_version: '1.0'
id: sop-18-claim-clinic
name: 'SOP-18: Submit Clinic Claim Request'
description: Request ownership of a clinic listing, pending admin verification.
version: 1.0.0
tags:
- api
- sop
- medirank
- claim-requests
nodes:
- id: step_1
  type: api
  subtype: rest
  name: POST /claim-requests
  description: Request ownership of a clinic listing.
  runtime:
    method: POST
    url: https://medi-rank.com/api/v1
    endpoint: /claim-requests
    headers:
      Authorization: Bearer ${secrets.TOKEN}
    body:
      clinic_id: 1
      name: Dr. Lin
      email: lin@clinic.com
      phone: 02-12345678
      message: I am the owner of this clinic
- id: step_2
  type: human
  subtype: review
  name: Admin reviews claim
  description: Administrator verifies the claimant's identity.
- id: step_3
  type: api
  subtype: rest
  name: POST /claim-requests/{claim_id}/review
  description: Admin approves or rejects the claim. Approval auto-assigns clinic ownership.
  runtime:
    method: POST
    url: https://medi-rank.com/api/v1
    endpoint: /claim-requests/{claim_id}/review
    headers:
      Authorization: Bearer ${secrets.TOKEN}
    body:
      status: approved
      review_notes: Identity verified
edges:
- from: step_1
  to: step_2
  mode: sequential
- from: step_2
  to: step_3
  mode: sequential