{
  "resourceType": "StructureDefinition",
  "id": "pcm-verificationresult-service-approval",
  "url": "http://pcm.fhir.health.gov.il/StructureDefinition/pcm-verificationresult-service-approval",
  "version": "0.1.6",
  "name": "PCMVerificationResultServiceApproval",
  "title": "PCM VerificationResult - Service Approval",
  "status": "active",
  "description": "Used by organizations to approve a PCM HealthcareService instance (organization-to-service association). Posted by each approving organization.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "VerificationResult",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/VerificationResult",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "VerificationResult.target",
        "path": "VerificationResult.target",
        "comment": "The HealthcareService instance being approved.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://pcm.fhir.health.gov.il/StructureDefinition/pcm-healthcareservice-instance"
            ]
          }
        ]
      },
      {
        "id": "VerificationResult.targetLocation",
        "path": "VerificationResult.targetLocation",
        "max": "0"
      },
      {
        "id": "VerificationResult.need",
        "path": "VerificationResult.need",
        "max": "0"
      },
      {
        "id": "VerificationResult.status",
        "path": "VerificationResult.status",
        "comment": "Always 'validated' for a successful approval record.",
        "fixedCode": "validated"
      },
      {
        "id": "VerificationResult.statusDate",
        "path": "VerificationResult.statusDate",
        "max": "0"
      },
      {
        "id": "VerificationResult.validationType",
        "path": "VerificationResult.validationType",
        "max": "0"
      },
      {
        "id": "VerificationResult.validationProcess",
        "path": "VerificationResult.validationProcess",
        "max": "0"
      },
      {
        "id": "VerificationResult.frequency",
        "path": "VerificationResult.frequency",
        "max": "0"
      },
      {
        "id": "VerificationResult.lastPerformed",
        "path": "VerificationResult.lastPerformed",
        "max": "0"
      },
      {
        "id": "VerificationResult.nextScheduled",
        "path": "VerificationResult.nextScheduled",
        "max": "0"
      },
      {
        "id": "VerificationResult.failureAction",
        "path": "VerificationResult.failureAction",
        "max": "0"
      },
      {
        "id": "VerificationResult.primarySource",
        "path": "VerificationResult.primarySource",
        "max": "0"
      },
      {
        "id": "VerificationResult.attestation",
        "path": "VerificationResult.attestation",
        "max": "0"
      },
      {
        "id": "VerificationResult.validator",
        "path": "VerificationResult.validator",
        "max": "1"
      },
      {
        "id": "VerificationResult.validator.organization",
        "path": "VerificationResult.validator.organization",
        "comment": "Always filled by the server based on access token/certificate (the approving organization).",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://pcm.fhir.health.gov.il/StructureDefinition/pcm-organization-parent"
            ]
          }
        ]
      }
    ]
  }
}