description: Reference to advance directives and emergency medical package_name: ch.fhir.ig.ch-emr derivation: constraint name: ChEmrDocumentReferenceAdvanceDirective type: DocumentReference elements: type: binding: {strength: extensible, valueSet: 'http://fhir.ch/ig/ch-emr/ValueSet/ch-emr-advance-directive-type-vs'} mustSupport: true index: 0 category: {mustSupport: true, index: 1} subject: type: Reference refers: ['http://fhir.ch/ig/ch-ips/StructureDefinition/ch-ips-patient'] index: 2 date: {mustSupport: true, index: 3} author: type: Reference refers: ['http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-relatedperson', 'http://fhir.ch/ig/ch-ips/StructureDefinition/ch-ips-organization', 'http://fhir.ch/ig/ch-ips/StructureDefinition/ch-ips-patient', 'http://fhir.ch/ig/ch-ips/StructureDefinition/ch-ips-practitioner', 'http://fhir.ch/ig/ch-ips/StructureDefinition/ch-ips-practitionerrole'] index: 4 custodian: type: Reference mustSupport: true refers: ['http://fhir.ch/ig/ch-ips/StructureDefinition/ch-ips-organization'] index: 5 description: {mustSupport: true, index: 6} content: elements: attachment: elements: data: {index: 7} url: {mustSupport: true, index: 8} title: {mustSupport: true, index: 9} package_version: 1.0.0-ballot class: profile kind: resource url: http://fhir.ch/ig/ch-emr/StructureDefinition/ch-emr-documentreference-advance-directive base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-documentreference|7.0.0-ballot version: 1.0.0-ballot required: [type, date, category]