description: null package_name: tigacorehub.patient derivation: constraint name: DocumentReferenceResourceProfile type: DocumentReference elements: description: {mustSupport: true, index: 11} category: {index: 6} date: {mustSupport: true, index: 8} docStatus: {mustSupport: true, index: 4} content: elements: attachment: constraint: DCR-1: {human: The MIME type must be 'application/pdf' or ''image/png' or 'image/jpeg' or 'text/plain' or 'image/jpeg', severity: error, expression: content.attachment.contentType='image/png' or content.attachment.contentType='application/pdf' or content.attachment.contentType='image/jpeg' or content.attachment.contentType='text/plain'} DCR-2: {human: The size of the attachment exceeds the maximum allowable file size.(~5Mb), severity: error, expression: attachment.data.length > 7340032} DCR-3: {human: The attachment size is insufficiently small., severity: error, expression: attachment.data.length < 2} index: 13 elements: contentType: {index: 14} required: [contentType] format: {mustSupport: true, index: 15} type: {index: 5} author: {mustSupport: true, index: 9} identifier: index: 0 elements: type: {mustSupport: true, index: 1} system: {index: 2} value: {index: 3} required: [value, system] relatesTo: {index: 10} context: mustSupport: true index: 16 elements: encounter: {mustSupport: true, index: 17} securityLabel: {mustSupport: true, index: 12} subject: {index: 7} package_version: 1.1.30 class: profile kind: resource url: https://fhir.moph.gov.qa/StructureDefinition/DocumentReferenceProfile base: http://hl7.org/fhir/StructureDefinition/DocumentReference version: null required: [identifier, subject, type, category]