description: Base definition for a document reference with the CH Core profiles. package_name: ch.fhir.ig.ch derivation: constraint name: CHCoreDocumentReference type: DocumentReference elements: status: {index: 0} type: binding: {strength: preferred, valueSet: 'http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.typeCode'} index: 1 category: binding: {strength: preferred, valueSet: 'http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.classCode'} index: 2 securityLabel: binding: {strength: preferred, valueSet: 'http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.confidentialityCode'} index: 3 content: index: 4 elements: attachment: index: 5 elements: contentType: constraint: ch-docref-1: {human: 'The following ValueSet is preferred: http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.mimeType', severity: warning, expression: exists()} index: 6 language: binding: {strength: preferred, valueSet: 'http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.languageCode'} index: 7 format: binding: {strength: preferred, valueSet: 'http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.formatCode'} index: 8 context: index: 9 elements: facilityType: binding: {strength: preferred, valueSet: 'http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.healthcareFacilityTypeCode'} index: 10 practiceSetting: binding: {strength: preferred, valueSet: 'http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.practiceSettingCode'} index: 11 package_version: core-1.0.0 class: profile kind: resource url: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-documentreference base: http://hl7.org/fhir/StructureDefinition/DocumentReference version: 1.0.0