{
"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",
"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": "1.0.0",
"status": "active",
"id": "32c3a139-9827-4091-a095-9c2481727157",
"affectsState": false,
"kind": "operation",
"url": "http://ihis.sg/OperationDefinition/get-enrolled-resident-to-pcp",
"code": "get-enrolled-resident-to-pcp",
"version": null,
"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"
} ]
}