{"version":"https:\/\/jsonfeed.org\/version\/1","title":"Inbound Document Specification > Docman Help","home_page_url":"https:\/\/help.docman.com\/knowledge-base\/inbound-document-specification\/","feed_url":"https:\/\/help.docman.com\/knowledge-base\/inbound-document-specification\/feed\/json","author":{"name":"nextSTL","url":"https:\/\/help.docman.com"},"items":[{"title":"Inbound Document Specification","date_published":"2018-06-21T14:27:02Z","date_modified":"2020-07-01T17:34:12Z","id":"https:\/\/help.docman.com\/knowledge-base\/inbound-document-specification\/","url":"https:\/\/help.docman.com\/knowledge-base\/inbound-document-specification\/","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:paragraph -->\n<p><a href=\"https:\/\/help.docman.com\/wp-content\/uploads\/2019\/10\/Docman10_InboundDocumentModel_Example-3.zip\">Docman10_InboundDocumentModel_Example<\/a><\/p>\n<!-- \/wp:paragraph -->\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><strong>Docman 10: Yes<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>The API capture source for Docman 10 is \u2018100\u2019\n<p>&nbsp;<\/p>\n<p>The API capture source for Docman Connect is \u20182\u2019<\/p>\n<\/td><\/tr><tr><td>Sender<\/td><td>Sender Object<\/td><td><strong>Docman 10: Yes<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>Object which holds details of the Sender<\/td><\/tr><tr><td>RecipientOdsCode<\/td><td>String<\/td><td><strong>Docman 10: Yes<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>ODS Code of the recipient organisation\n<p>&nbsp;<\/p>\n<p>Max length 10<\/p>\n<\/td><\/tr><tr><td>Patient<\/td><td>Patient Object<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>Object which holds details of the patient<\/td><\/tr><tr><td>Document<\/td><td>Document Object<\/td><td><strong>Docman 10: Yes<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>Object which holds the document details and content<\/td><\/tr><tr><td>ActionRequired<\/td><td>Boolean<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: No<\/strong><\/p>\n<\/td><td>Flag which denotes the Sender deems an action is required<\/td><\/tr><tr><td>MedicationChanged<\/td><td>Boolean<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: No<\/strong><\/p>\n<\/td><td>Flag which denotes that the sender has changed the patient\u2019s medication<\/td><\/tr><tr><td>Urgent<\/td><td>Boolean<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: No<\/strong><\/p>\n<\/td><td>Flag which denotes the document is urgent<\/td><\/tr><tr><td>ClinicalCodes<\/td><td>List \u2013 ClinicalCode Object<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: No<\/strong><\/p>\n<\/td><td>List of ClinicalCode objects which are to be sent into the clinical system<\/td><\/tr><tr><td>Notes<\/td><td>String<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: No<\/strong><\/p>\n<\/td><td>Notes from Sender\n<p>&nbsp;<\/p>\n<p>Max Length 255<\/p>\n<\/td><\/tr><tr><td>Revision<\/td><td>Boolean<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Not used<\/strong><\/p>\n<\/td><td>\n<p>Flag to denote the Document is a revision - the Document.Guid property should hold the Document to be revised GUID<\/p>\n<\/td><\/tr><tr><td>OverrideSpineCheck<\/td><td>Boolean<\/td><td> <strong>Docman 10: No<\/strong> &nbsp;<br><br> <strong>Docman Connect: Yes<\/strong><\/td><td>Value True overrides the Spine Check. False or excluding the line uses the Spine Check<\/td><\/tr><\/tbody><\/table><\/figure>\n<!-- \/wp:table -->\n\n<!-- wp:paragraph -->\n<p><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:heading -->\n<h2>Document Object<\/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>Guid<\/td><td>Guid<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Not Used<\/strong><\/p>\n<\/td><td>Document GUID, leave blank for new documents. For revisions enter GUID of document to be revised and enable Revision property.<\/td><\/tr><tr><td>Description<\/td><td>String<\/td><td><strong>&nbsp;<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman 10: Yes<\/strong><\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>Document Description\n<p>&nbsp;<\/p>\n<p>Max length 255<\/p>\n<\/td><\/tr><tr><td>EventDate<\/td><td>Date\/Time<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>Date and Time of the related event.\n<p>&nbsp;<\/p>\n<p>Date must NOT be in the future<\/p>\n<\/td><\/tr><tr><td>Folder<\/td><td>String<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: No<\/strong><\/p>\n<\/td><td>Folder description which will be mapped to DM10 folder Id using a case insensitive lookup if a mapping exists\n<p>&nbsp;<\/p>\n<p>Max length 50<\/p>\n<\/td><\/tr><tr><td>FilingSectionFolder<\/td><td>String<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: No<\/strong><\/p>\n<\/td><td>Filing folder description which will be mapped to DM10 filing folder Id using a case insensitive lookup if a mapping exists\n<p>&nbsp;<\/p>\n<p>Max length 50<\/p>\n<\/td><\/tr><tr><td>FileContent<\/td><td>Byte array<\/td><td><strong>Docman 10: Yes<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>Physical file content as Bytes<\/td><\/tr><tr><td>FileExtension<\/td><td>String<\/td><td><strong>Docman 10: Yes<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>File extension of the Physical File \u2013 the full stop should be omitted but will be removed if present.\n<p>&nbsp;<\/p>\n<p>Max length 10<\/p>\n<\/td><\/tr><tr><td>FileHash<\/td><td>String<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: No<\/strong><\/p>\n<\/td><td>SHA1 file has derived from the file content bytes\n<p>&nbsp;<\/p>\n<p>Max length 40<\/p>\n<p>Optional and will be allocated if omitted<\/p>\n<\/td><\/tr><tr><td>LocalHubId<\/td><td>Integer<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: No<\/strong><\/p>\n<\/td><td>Id from Local Hub Document Table<\/td><\/tr><tr><td>ExternalSystemId<\/td><td>String<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: No<\/strong><\/p>\n<\/td><td>System ID from sending system<\/td><\/tr><\/tbody><\/table><\/figure>\n<!-- \/wp:table -->\n\n<!-- wp:heading -->\n<h2>Patient Object<\/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>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: No<\/strong><\/p>\n<\/td><td>Patients national identifier \u2013 used as part of patient lookup\n<p>&nbsp;<\/p>\n<p>Either NHS or CHI Number<\/p>\n<p>Validated with MOD11<\/p>\n<p>Max length 10<\/p>\n<\/td><\/tr><tr><td>FamilyName<\/td><td>String<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>Surname of patient \u2013 used as part of patient lookup\n<p>&nbsp;<\/p>\n<p>Max length 255<\/p>\n<\/td><\/tr><tr><td>GivenNames<\/td><td>String<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>Patient\u2019s forenames \u2013 used as part of patient lookup\n<p>&nbsp;<\/p>\n<p>Max length 255<\/p>\n<\/td><\/tr><tr><td>Gender<\/td><td>Enum \u2013 ePatientGender<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>Patient\u2019s gender\u2013 used as part of patient lookup\n<p>&nbsp;<\/p>\n<p>Validated against the range of enum values if supplied \u2013 defaults to unknown<\/p>\n<p>Valid Values:<\/p>\n<p>0 \u2013 Unspecified<\/p>\n<p>10 \u2013 Male<\/p>\n<p>20 \u2013 Female<\/p>\n<\/td><\/tr><tr><td>BirthDate<\/td><td>Date<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>DOB of the patient \u2013 used as part of patient lookup\n<p>&nbsp;<\/p>\n<p>No future dates<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n<!-- \/wp:table -->\n\n<!-- wp:heading -->\n<h2>Sender Object<\/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><strong>Docman 10: Yes<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>ODS code of sending organisation\n<p>&nbsp;<\/p>\n<p>Max length 10<\/p>\n<\/td><\/tr><tr><td>Organisation<\/td><td>String<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>Description of Organisation\n<p>&nbsp;<\/p>\n<p>Max length 255<\/p>\n<\/td><\/tr><tr><td>Department<\/td><td>String<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>Sending department name\n<p>&nbsp;<\/p>\n<p>Max length 255<\/p>\n<\/td><\/tr><tr><td>Person<\/td><td>String<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>Person clinically responsible for the document\n<p>&nbsp;<\/p>\n<p>Max length 255<\/p>\n<\/td><\/tr><tr><td>Group<\/td><td>String<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: No<\/strong><\/p>\n<\/td><td>Name of Sender Group to associate the document with in the Connect Console.<br>Group must already exist.\n<p>&nbsp;<\/p>\n<p>Max length 50<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n<!-- \/wp:table -->\n\n<!-- wp:heading -->\n<h2>Clinical Code Object<\/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>Scheme<\/td><td>Enum \u2013 eCodeScheme<\/td><td><strong>Docman 10: Yes<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>Type of coding system.&nbsp; Read 2 or Snomed\n<p>&nbsp;<\/p>\n<p>Validated against the range of enum values<br>Read = 0<br>Snomed = 2<\/p>\n<\/td><\/tr><tr><td>Code<\/td><td>String<\/td><td><strong>Docman 10: Yes<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: 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><strong>Docman 10: Yes<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>Either Read Term or Snomed Description<\/td><\/tr><tr><td>DescriptionId<\/td><td>String<\/td><td><strong>Docman 10: Yes<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: Yes<\/strong><\/p>\n<\/td><td>Either Read TermId or Snomed Description Id<\/td><\/tr><tr><td>Value<\/td><td>String<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: No<\/strong><\/p>\n<\/td><td>Associated clinical value\n<p>&nbsp;<\/p>\n<p>REQUIRED if ValueUnit set<\/p>\n<\/td><\/tr><tr><td>ValueUnit<\/td><td>String<\/td><td><strong>Docman 10: No<\/strong>\n<p>&nbsp;<\/p>\n<p><strong>Docman Connect: No<\/strong><\/p>\n<\/td><td>Associated clinical value unit of measure\n<p>&nbsp;<\/p>\n<p>REQUIRED if Value set<\/p>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n<!-- \/wp:table -->\n\n<!-- wp:paragraph -->\n<p><\/p>\n<!-- \/wp:paragraph -->","tags":[]}]}