This is an appeal from the district court’s denial of postconviction relief, ch. 663A, The Code 1979. The facts are undisputed. The petitioner pled guilty to manslaughter, § 690.10, The Code 1975, arising out of a motor vehicle death. Although he was sentenced to five years imprisonment, sentence was suspended and the petitioner was placed on probation for a two-yеar period. During this period the petitioner violated the conditions of his probation and, after requesting and recеiving a psychiatric examination at Oakdale, from January 24 to March 28, 1979, his probation was revoked. See 908.11, The Code. Hе was then incar *595 cerated at the Men’s Reformatory in Ana-mosa until the district court ordered reinstatement of the probationary period. See § 902.4, The Code. The petitioner again violated the terms of his probation and again it was revoked. This time the district court reinstated the petitioner’s original sentence and ordered that credit was to be given only for the time spent in Anamosa and in the county jail.
This application was subsequently made by the petitioner, who contends he should have been granted credit on his sentence under sections 907.3(2) and 907.11, The Code 1979, for time spent on probation and in confinement for psychiatric examination. The district court did not agree with the petitioner, nor do we.
I. Credit for time served on probation.
In
Mills
v.
State,
Unlike revocations fоr parole violations, § 906.16, The Code, there is no statute expressly providing that time spent on probation is to be crеdited to a sentence upon revocation. Section 907.3(2) only provides:
By record entry at the time of or after sеntencing, the court may suspend the sentence and place the defendant on probation upon such terms and conditions as it may require including commitment to an alternate jail facility or a community correctional residential trеatment facility for a specific number of days to be followed by a term of probation as specified in sectiоn 907.7. A person so committed who has probation revoked shall be given credit for such time served.
(Emphasis added.) And section 907.11 provides: “In no case shall the total time served in confinement and in any locally administered correctional program exceed the maximum period of confinement authorized for the public offense of which the defendant stаnds convicted.”
The general rule is that, absent a specific provision allowing for it, a court does not err by denying crеdit for time served on probation.
See
A. Campbell,
The Law of Sentencing
§ 82, at 265 (1978). Denial of credit is appropriate under circumstances where the restrictions imposed cannot be equated with incarceration.
See Lock v. State,
The district court did not err in refusing to give the defendant credit for time spent on probаtion.
II. Credit for time served at Oakdale for psychiatric examination.
Section 907.3(2) provides that a probationer may receive credit on his sentence for time served at an “alternate jail facility.” The question is whether Oakdale falls within that phrase.
Under analogous circumstances credit for pretrial detention has been allowed for time spent in hospitals or diagnostic centers.
See e.g., People v. Cowsar,
We believe the language of section 907.-3(2) is quite specific: A defendant shall be given credit for time served in an “alternate jail facility” or a “community correctionаl residential treatment facility.” Neither of these facilities may be construed to mean merely the equivalent of a jail, or a place where the defendant is confined. An alternate jail facility is specifically defined, and its implemеntation procedure prescribed, by chapter 356A, The Code. Section 356A.1 requires action by a county board of supervisors to designate a facility as an alternative jail and to maintain it as such. The security medical facility at Oak-dale, a state hospital, is simply not such a facility. No claim is made that Oakdale is a community correctional facility. The district court did not err in refusing to give the defendant credit for the time spent there.
We find no error.
AFFIRMED.
