No this is not as good as meeting with an attorney and getting a proper document made up. However, if you are in a pinch and need a document fast this should work. Here is the link to the UCSF Medical Center Advanced Health Care Directive. It would work anywhere in California and probably anywhere in the country. Make your wishes known!
https://www.ucsfhealth.org/pdf/advance_health_care_directive.pdf