{"version":"https:\/\/jsonfeed.org\/version\/1","title":"Docman Connect Inbound Document Model > Docman Help","home_page_url":"https:\/\/help.docman.com\/knowledge-base\/docman-connect-inbound-document-model\/","feed_url":"https:\/\/help.docman.com\/knowledge-base\/docman-connect-inbound-document-model\/feed\/json","author":{"name":"nextSTL","url":"https:\/\/help.docman.com"},"items":[{"title":"Docman Connect Inbound Document Model","date_published":"2020-07-01T15:26:13Z","date_modified":"2022-05-04T14:03:34Z","id":"https:\/\/help.docman.com\/knowledge-base\/docman-connect-inbound-document-model\/","url":"https:\/\/help.docman.com\/knowledge-base\/docman-connect-inbound-document-model\/","author":{"name":"Oliver Edwards","url":"","avatar":"https:\/\/secure.gravatar.com\/avatar\/916760a3861c94b0f12d9658070815ac6150c9ba5291c9b5304733d70e0fdb9e?s=96&d=mm&r=g"},"summary":"\nIntroduction\n\n\n\nThis article describes the Docman API Inbound Document Model and should be used with the \"Post Document\" method in either the Docman 10 or Docman Connect services in Docman API. The table below explains each field, data type, if the \u2026","content_html":"<!-- wp:heading {\"level\":1} -->\n<h1>Introduction<\/h1>\n<!-- \/wp:heading -->\n\n<!-- wp:paragraph -->\n<p>This article describes the Docman API Inbound Document Model and should be used with the \"Post Document\" method in either the Docman 10 or Docman Connect services in Docman API. The table below explains each field, data type, if the field is mandatory in either Docman 10 or Docman Connect it also has a small description .<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>The model should be built and formatted in a JSON string and included in the body of the \"Post Document\" method. The model is built up with numerous different objects. If the Data type in the inbound document model&nbsp; is \" X Object\" then \"X Object\" will be described further down the article.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:heading {\"level\":1} -->\n<h1>Inbound Document Model<\/h1>\n<!-- \/wp:heading -->\n\n<!-- wp:table -->\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Field<\/td><td>Type<\/td><td>Mandatory<\/td><td>Description<\/td><\/tr><tr><td>CaptureSource<\/td><td>Enum<\/td><td><p><strong>Yes<\/strong><\/p><\/td><td><p>The API capture source for Docman Connect must always be \u20182\u2019<\/p><\/td><\/tr><tr><td>Sender<\/td><td>Sender Object<\/td><td><p><strong>Yes<\/strong><\/p> <\/td><td>Object which holds details of the Sender<br><strong>See<em> <a href=\"#SenderObject\">Sender Object<\/a><\/em><\/strong><\/td><\/tr><tr><td>RecipientOdsCode<\/td><td>String<\/td><td><strong><strong style=\"font-size: inherit; font-family: inherit; background-color: rgb(255, 255, 255);\">Yes<\/strong><\/strong> <\/td><td>Connect Endpoint ODS Code <p>&nbsp;<span style=\"font-family: inherit; font-size: inherit; font-weight: inherit;\">Max length 10 <\/span><\/p><\/td><\/tr><tr><td>Patient<\/td><td>Patient Object<\/td><td><p><strong>Yes<\/strong><\/p> <\/td><td>Object which holds details of the patient<br><strong>See<em> <a href=\"#PatientObject\">Patient Object<\/a><\/em><\/strong><\/td><\/tr><tr><td>Document<\/td><td>Document Object<\/td><td><p><strong> Yes<\/strong><\/p> <\/td><td>Object which holds the document details and content<br><strong>See <a href=\"#DocumentObject\"><em>Document Object<\/em><\/a><\/strong><\/td><\/tr><tr><td>ActionRequired<\/td><td>Boolean<\/td><td><p><strong>No<\/strong><\/p> <\/td><td>Flag which denotes if the sender deems an action is required or not<br><strong>Value: <\/strong>True\/False<\/td><\/tr><tr><td>MedicationChanged<\/td><td>Boolean<\/td><td><p><strong>No<\/strong><\/p> <\/td><td>Flag which denotes if the medication has changed or not<br><strong>Value: <\/strong>True\/False<\/td><\/tr><tr><td>Urgent<\/td><td>Boolean<\/td><td><p><strong>No<\/strong><\/p> <\/td><td>Flag which denotes if the document is urgent or not<br><strong>Value: <\/strong>True\/False<\/td><\/tr><tr><td>ClinicalCodes<\/td><td>List \u2013 ClinicalCode Object<\/td><td><p><strong>No<\/strong><\/p> <\/td><td>List of ClinicalCode objects which are to be sent into the clinical system<br><strong>See <a href=\"#ClinicalCodeObject\"><em>Clinical Code Object<\/em><\/a><\/strong><\/td><\/tr><tr><td>Notes<\/td><td>String<\/td><td><p><strong>No<\/strong><\/p> <\/td><td>Notes from Sender <p><span style=\"font-family: inherit; font-size: inherit; font-weight: inherit;\"><strong>Max Length: <\/strong>255 <\/span><\/p><\/td><\/tr><tr><td>Revision<\/td><td>Boolean<\/td><td>No<\/td><td>Flag which denotes if the document is a revision or not.<br><strong>Value: <\/strong>True\/False<\/td><\/tr><tr><td>MRNNumber<\/td><td>String<\/td><td>No<\/td><td>Medical Record Number (Secondary Patient Identifier\/Hospital Number).<br><strong>Max length: <\/strong>255<\/td><\/tr><tr><td>Inpatient<\/td><td>Boolean<\/td><td>No<\/td><td> Flag which denotes if the document is an inpatient document or not.  This is for sending reporting purposes only and this data is not passed to the destination organisation. <br><strong>Value: <\/strong>True\/False <\/td><\/tr><tr><td>Outpatient<\/td><td>Boolean<\/td><td>No<\/td><td> Flag which denotes if the document is an outpatient or not. This is for sending reporting purposes only and this data is not passed to the destination organisation.<br><strong>Value: <\/strong>True\/False <\/td><\/tr><tr><td>OverrideSpineCheck<\/td><td>Boolean<\/td><td>No<\/td><td>Value True overrides the Spine Check. False or excluding the line uses the Spine Check<br><strong>Value: <\/strong>True\/False<\/td><\/tr><\/tbody><\/table><\/figure>\n<!-- \/wp:table -->\n\n<!-- wp:paragraph -->\n<p><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:heading -->\n<h2><a id=\"DocumentObject\"><span class=\"has-inline-color has-very-dark-gray-color\">Document Object<\/span><\/a><\/h2>\n<!-- \/wp:heading -->\n\n<!-- wp:table -->\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Field<\/td><td>Type<\/td><td>Mandatory<\/td><td>Description<\/td><\/tr><tr><td>Description<\/td><td>String<\/td><td><strong>&nbsp;<\/strong> <strong style=\"font-size: inherit; font-family: inherit;\">Yes<\/strong> <\/td><td>Document Description <p><strong>Max length:<\/strong> 255<\/p><\/td><\/tr><tr><td>EventDate<\/td><td>Date\/Time<\/td><td><p><strong>Yes<\/strong><\/p> <\/td><td>Date and Time of the related event. <p>Date must NOT be in the future<\/p><strong>Format:<\/strong> DateTime ISO 8601 UTC <br><strong>Example:<\/strong> 2017-11-16T08:53:41.8653032+00:00<\/td><\/tr><tr><td>Folder<\/td><td>String<\/td><td><p><strong>No<\/strong><\/p> <\/td><td>Folder description which will be mapped to DM10 folder Id using a case insensitive lookup if a mapping exists <p><strong>Max length<\/strong>: 50<\/p><\/td><\/tr><tr><td>FilingSectionFolder<\/td><td>String<\/td><td>No <\/td><td>Filing folder description which will be mapped to DM10 filing folder Id using a case insensitive lookup if a mapping exists <p><strong>Max length<\/strong>: 50<\/p><\/td><\/tr><tr><td>FileContent<\/td><td>Byte array<\/td><td><p><strong>Yes<\/strong><\/p> <\/td><td>Read the document as Byte array, then convert to Base64 String <\/td><\/tr><tr><td>FileExtension<\/td><td>String<\/td><td><p><strong>Yes<\/strong><\/p> <\/td><td>File extension of the Physical File \u2013 the full stop should be omitted but will be removed if present. <p><strong>Max length:<\/strong> 10<\/p><strong>Allowed formats<\/strong>: html, htm, pdf, rtf, doc, docx, tif, tiff, txt, jpeg, jpg, xps, png<\/td><\/tr><tr><td>FileHash<\/td><td>String<\/td><td><p><strong>No<\/strong><\/p> <\/td><td>SHA1 file hash derived from the file content bytes <br><strong style=\"font-size: inherit; font-family: inherit;\">Max length:<\/strong><span style=\"font-size: inherit; font-family: inherit; font-weight: inherit;\"> 40<\/span> <p>Optional and will be allocated if omitted<\/p><\/td><\/tr><tr><td>ExternalSystemId<\/td><td>String<\/td><td> <p><strong>No<\/strong><\/p> <\/td><td>System ID from sending system<\/td><\/tr><\/tbody><\/table><\/figure>\n<!-- \/wp:table -->\n\n<!-- wp:heading -->\n<h2><a id=\"PatientObject\"><span class=\"has-inline-color has-very-dark-gray-color\">Patient Object<\/span><\/a><\/h2>\n<!-- \/wp:heading -->\n\n<!-- wp:table -->\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Field<\/td><td>Type<\/td><td>Mandatory<\/td><td>Description<\/td><\/tr><tr><td>Identifier<\/td><td>String<\/td><td><strong>Yes<\/strong> <\/td><td>Patients national identifier \u2013 used as part of patient lookup <p><strong style=\"font-family: inherit; font-size: inherit;\">Formats:<\/strong><span style=\"font-family: inherit; font-size: inherit; font-weight: inherit;\"> NHS or CHI Number<\/span><\/p><p><strong style=\"font-family: inherit; font-size: inherit;\">Validation:<\/strong><span style=\"font-family: inherit; font-size: inherit; font-weight: inherit;\">  MOD11<\/span><\/p><p><strong>Max length:<\/strong> 10<\/p><\/td><\/tr><tr><td>FamilyName<\/td><td>String<\/td><td><p><strong>Yes<\/strong><\/p> <\/td><td>Surname of patient \u2013 used as part of patient lookup <p><strong>Max length:<\/strong> 255<\/p> <\/td><\/tr><tr><td>GivenNames<\/td><td>String<\/td><td><p><strong>Yes<\/strong><\/p> <\/td><td>Patient\u2019s forenames \u2013 used as part of patient lookup <p>&nbsp;<strong>Max length:<\/strong> 255<\/p> <\/td><\/tr><tr><td>Gender<\/td><td>Enum \u2013 ePatientGender<\/td><td><br><br><br><p><strong>Yes<\/strong><\/p> <\/td><td>Patient\u2019s gender\u2013 used as part of patient lookup <br><strong>Validation<\/strong>: Against the range of enum values if supplied \u2013 defaults to unknown <p>Valid Values:<\/p>0 \u2013 Unspecified <p>10 \u2013 Male<\/p> 20 \u2013 Female <\/td><\/tr><tr><td>BirthDate<\/td><td>Date<\/td><td><p><strong>Yes<\/strong><\/p> <\/td><td>DOB of the patient \u2013 used as part of patient lookup <br><strong>Validation:<\/strong> No future dates <br><strong>Format:<\/strong> DateTime ISO 8601 UTC<br><strong>Example:<\/strong> 2017-11-16T08:53:41.8653032+00:00<\/td><\/tr><\/tbody><\/table><\/figure>\n<!-- \/wp:table -->\n\n<!-- wp:heading -->\n<h2><a id=\"SenderObject\"><span class=\"has-inline-color has-very-dark-gray-color\">Sender Object<\/span><\/a><\/h2>\n<!-- \/wp:heading -->\n\n<!-- wp:table -->\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Field<\/td><td>Type<\/td><td>Mandatory<\/td><td>Description<\/td><\/tr><tr><td>OdsCode<\/td><td>String<\/td><td><p><strong>Yes<\/strong><\/p> <\/td><td>ODS code of sending organisation <p><strong>&nbsp;Max length:<\/strong> 10<\/p><\/td><\/tr><tr><td>Organisation<\/td><td>String<\/td><td><p><strong>Yes<\/strong><\/p> <\/td><td>Description of Organisation <p><span style=\"font-size: inherit; font-family: inherit; font-weight: inherit; background-color: rgb(255, 255, 255);\"><strong>Max length:<\/strong> 255<\/span><\/p> <\/td><\/tr><tr><td>Department<\/td><td>String<\/td><td><p><strong>Yes<\/strong><\/p><\/td><td>Sending department name <p><span style=\"font-size: inherit; font-family: inherit; font-weight: inherit; background-color: rgb(255, 255, 255);\"><strong>Max length:<\/strong> 255<\/span><\/p><\/td><\/tr><tr><td>Person<\/td><td>String<\/td><td><p><strong>Yes<\/strong><\/p> <\/td><td>Person clinically responsible for the document <br><strong>Max length:<\/strong> 255<\/td><\/tr><tr><td>Group<\/td><td>String<\/td><td><p><strong>No<\/strong><\/p> <\/td><td>Name of Sender Group to associate the document with in the Connect Console.<br>Group must already exist, or it will not be linked to a group. <br><strong style=\"font-size: inherit; font-family: inherit;\">Max length:<\/strong><span style=\"font-size: inherit; font-family: inherit; font-weight: inherit;\"> <\/span>100<\/td><\/tr><\/tbody><\/table><\/figure>\n<!-- \/wp:table -->\n\n<!-- wp:heading -->\n<h2><a id=\"ClinicalCodeObject\"><span class=\"has-inline-color has-very-dark-gray-color\">Clinical Code Object<\/span><\/a><\/h2>\n<!-- \/wp:heading -->\n\n<!-- wp:group -->\n<div class=\"wp-block-group\"><\/div>\n<!-- \/wp:group -->\n\n<!-- wp:table -->\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Field<\/td><td>Type<\/td><td>Mandatory<\/td><td>Description<\/td><\/tr><tr><td>Scheme<\/td><td>Enum \u2013 eCodeScheme<\/td><td><p><strong>Yes<\/strong><\/p><\/td><td><p>Type of coding system. Read 2 or Snomed<br> <br>Validated against the range of enum values<br> <strong>Accepted Values:<\/strong><br>Read = 0<br>Snomed = 2<\/p><\/td><\/tr><tr><td>Code<\/td><td>String<\/td><td>\n                    <p><strong>Yes<\/strong><\/p>\n                <\/td><td>Clinical code \u2013 either Read code or Snomed Concept Id<\/td><\/tr><tr><td>Description<\/td><td>String<\/td><td>\n                    <p><strong>Yes<\/strong><\/p>\n                <\/td><td>Either Read Term or Snomed Description<\/td><\/tr><tr><td>DescriptionId<\/td><td>String<\/td><td>\n                    <p><strong>Yes<\/strong><\/p>\n                <\/td><td>Either Read TermId or Snomed Description Id<\/td><\/tr><tr><td>Value<\/td><td>String<\/td><td>\n                    <strong>Conditional<\/strong> <br>\n                    (REQUIRED if ValueUnit set)\n                <\/td><td>Associated clinical value<\/td><\/tr><tr><td>ValueUnit<\/td><td>String<\/td><td>\n                    <strong>Conditional<\/strong> <br>\n                    (REQUIRED if Value set)\n                <\/td><td>Associated clinical value unit of measure<\/td><\/tr><\/tbody><\/table><\/figure>\n<!-- \/wp:table -->","tags":[]}]}