PackagesCanonicalsLogsProblems
    Packages
    synapxe.hsar.hsg@5.0.0-v1
    http://ihis.sg/OperationDefinition/get-enrolled-resident-to-pcp
{
  "description": "Check if a patient is enrolled to a PCP during the specific time",
  "_filename": "operation-Patient-get-enrolled-resident-to-pcp.json",
  "package_name": "synapxe.hsar.hsg",
  "date": null,
  "system": false,
  "publisher": null,
  "instance": false,
  "name": "operation-Patient-get-enrolled-resident-to-pcp",
  "type": "true",
  "experimental": null,
  "resourceType": "OperationDefinition",
  "title": null,
  "package_version": "5.0.0-v1",
  "status": "active",
  "id": "7870601a-d5d9-4d3a-98e5-ccc811626a68",
  "affectsState": false,
  "kind": "operation",
  "url": "http://ihis.sg/OperationDefinition/get-enrolled-resident-to-pcp",
  "code": "get-enrolled-resident-to-pcp",
  "version": "5.0.0-v1",
  "parameter": [ {
    "max": "1",
    "min": 1,
    "use": "in",
    "name": "patient-nric",
    "type": "string",
    "documentation": "Patient NRIC"
  }, {
    "max": "1",
    "min": 1,
    "use": "in",
    "name": "hci-code",
    "type": "string",
    "documentation": "Healthcare Institution Code"
  }, {
    "max": "1",
    "min": 0,
    "use": "in",
    "name": "validate-date",
    "type": "date",
    "documentation": "Provide a back date to validate relationship between patient and PCP on the date (Optional). Format: yyyy-MM-dd"
  }, {
    "max": "1",
    "min": 1,
    "use": "out",
    "name": "enrollment-matches-pcp",
    "type": "boolean",
    "documentation": "Indicate if patient enrolled to the instituion"
  }, {
    "max": "1",
    "min": 0,
    "use": "out",
    "name": "enrollment-status",
    "type": "code",
    "documentation": "Patient's enrollment status"
  }, {
    "max": "1",
    "min": 0,
    "use": "out",
    "name": "programme",
    "type": "string",
    "documentation": "Comma-separated programme keys of the resident (e.g. comlink). Returned only for CMS-related API keys when the resident has an active HSG enrolment with the programme tag; omitted otherwise."
  } ]
}