{"openapi":"3.0.1","info":{"title":"API for 'UniGate'","description":"This is a Swagger Spec for UniGate API.","version":"4"},"servers":[{"url":"http://bs.services.ru/unigate/api"}],"paths":{"/orders":{"get":{"tags":["order"],"summary":"Get all ready order list","parameters":[{"name":"icmid","in":"header","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"count","in":"query","description":"optional query parameter, default value is 10","schema":{"type":"integer"}},{"name":"order","in":"query","description":"optional query parameter, default value is asc","schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"*/*":{"schema":{"type":"array","items":{"type":"object","properties":{"lcnUuid":{"type":"string"},"originalOrderIdentification":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"orderid":{"type":"string"},"extId":{"type":"string"},"materialId":{"type":"integer","format":"int64"}}},"ids":{"type":"integer","description":"Material container code","format":"int64"},"regDate":{"type":"string","format":"date-time"},"visitID":{"type":"integer","format":"int32"},"status":{"type":"string"},"observationDates":{"type":"object","properties":{"report":{"type":"string","format":"date-time"},"finish":{"type":"string","format":"date-time"}}},"order":{"type":"object","properties":{"id":{"type":"string"},"date":{"type":"string","format":"date-time"},"hisId":{"type":"string"},"medHistory":{"type":"string"},"commentSpecimen":{"type":"string"}}},"specimenTypes":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"specimenSites":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"cito":{"type":"boolean","default":false},"representative":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"purposes":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"diagnosis":{"type":"string"},"collectInfo":{"type":"object","properties":{"collectDate":{"type":"string","format":"date-time"},"collectorID":{"type":"string"},"collector":{"type":"string"},"collectorFrmrCode":{"type":"string"},"collectorNameGiven":{"type":"string"},"collectorNamePatronymic":{"type":"string"},"collectorNameFamily":{"type":"string"},"collectorTelecom":{"type":"string"}}},"narrative":{"type":"string"},"giveResult":{"type":"object","properties":{"toOrderingInstitution":{"type":"boolean"},"toPatient":{"type":"boolean"},"toReceiverInstitution":{"type":"boolean"}}},"customerType":{"type":"integer","format":"int32"},"patient":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"orderingInstitution":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"},"department":{"type":"string"},"departmentCode":{"type":"string"},"icmid":{"type":"string"},"physician":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}}}},"orderInfo":{"type":"array","items":{"type":"object","properties":{"service":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"method":{"type":"string"},"completed":{"type":"boolean"},"category":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"workplaceID":{"type":"string"}}}},"reports":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"reportSeq":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"results":{"type":"array","items":{"type":"object","properties":{"seqNo":{"type":"integer","format":"int32"},"resTable":{"type":"object","properties":{"id":{"type":"string"},"alias":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"equipment":{"type":"object","properties":{"serialNumber":{"type":"string"},"inventoryNumber":{"type":"string"},"workplaceId":{"type":"integer"}}},"measurement":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"},"code":{"type":"string"}}},"pathology":{"type":"string"},"headerMark":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"codesetID":{"type":"string"},"unit":{"type":"string"},"norm":{"type":"object","properties":{"min":{"type":"number","format":"double"},"max":{"type":"number","format":"double"},"text":{"type":"string"}}},"repLevel":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"resCount":{"type":"integer","format":"int32"},"resCode":{"type":"string"},"requested":{"type":"boolean"},"reportFormat":{"type":"string"},"srvdepCode":{"type":"string"},"verifier":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"operator":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"description":{"type":"string"},"notes":{"type":"string"},"bacteria":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"resultValue":{"type":"string"},"unit":{"type":"string"},"sortCode":{"type":"integer","format":"int32"},"notes":{"type":"string"},"antibiotics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"sir":{"type":"integer","format":"int32"},"dia":{"type":"integer","format":"int32"},"mic":{"type":"string"},"sortCode":{"type":"integer","format":"int32"}}}}}}},"protocol":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"measurName":{"type":"string"}}}},"mbioType":{"type":"string"},"unitCode":{"type":"string"},"operatorRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"verifierRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"reagentRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}}}}}}}},"icmid":{"type":"string"},"domain":{"type":"string"},"reportUuid":{"type":"string"},"physicians":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}},"resourceType":{"type":"string","description":"When type equals Physician set PhysicianType"},"uri":{"type":"string","description":"Link to the doctor who approved the result"}}}},"reagents":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"lot":{"type":"string"},"expirationDate":{"type":"string"}}}}}}}}}}},"security":[{"apiKey":[]}]},"post":{"tags":["order"],"summary":"Add a new order","operationId":"addOrder","requestBody":{"description":"Order object that needs to be added to the orders","content":{"application/json":{"schema":{"type":"object","properties":{"lcnUuid":{"type":"string"},"originalOrderIdentification":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"orderid":{"type":"string"},"extId":{"type":"string"},"materialId":{"type":"integer","format":"int64"}}},"ids":{"type":"integer","description":"Material container code","format":"int64"},"regDate":{"type":"string","format":"date-time"},"visitID":{"type":"integer","format":"int32"},"status":{"type":"string"},"observationDates":{"type":"object","properties":{"report":{"type":"string","format":"date-time"},"finish":{"type":"string","format":"date-time"}}},"order":{"type":"object","properties":{"id":{"type":"string"},"date":{"type":"string","format":"date-time"},"hisId":{"type":"string"},"medHistory":{"type":"string"},"commentSpecimen":{"type":"string"}}},"specimenTypes":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"specimenSites":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"cito":{"type":"boolean","default":false},"representative":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"purposes":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"diagnosis":{"type":"string"},"collectInfo":{"type":"object","properties":{"collectDate":{"type":"string","format":"date-time"},"collectorID":{"type":"string"},"collector":{"type":"string"},"collectorFrmrCode":{"type":"string"},"collectorNameGiven":{"type":"string"},"collectorNamePatronymic":{"type":"string"},"collectorNameFamily":{"type":"string"},"collectorTelecom":{"type":"string"}}},"narrative":{"type":"string"},"giveResult":{"type":"object","properties":{"toOrderingInstitution":{"type":"boolean"},"toPatient":{"type":"boolean"},"toReceiverInstitution":{"type":"boolean"}}},"customerType":{"type":"integer","format":"int32"},"patient":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"orderingInstitution":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"},"department":{"type":"string"},"departmentCode":{"type":"string"},"icmid":{"type":"string"},"physician":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}}}},"orderInfo":{"type":"array","items":{"type":"object","properties":{"service":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"method":{"type":"string"},"completed":{"type":"boolean"},"category":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"workplaceID":{"type":"string"}}}},"reports":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"reportSeq":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"results":{"type":"array","items":{"type":"object","properties":{"seqNo":{"type":"integer","format":"int32"},"resTable":{"type":"object","properties":{"id":{"type":"string"},"alias":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"equipment":{"type":"object","properties":{"serialNumber":{"type":"string"},"inventoryNumber":{"type":"string"},"workplaceId":{"type":"integer"}}},"measurement":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"},"code":{"type":"string"}}},"pathology":{"type":"string"},"headerMark":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"codesetID":{"type":"string"},"unit":{"type":"string"},"norm":{"type":"object","properties":{"min":{"type":"number","format":"double"},"max":{"type":"number","format":"double"},"text":{"type":"string"}}},"repLevel":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"resCount":{"type":"integer","format":"int32"},"resCode":{"type":"string"},"requested":{"type":"boolean"},"reportFormat":{"type":"string"},"srvdepCode":{"type":"string"},"verifier":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"operator":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"description":{"type":"string"},"notes":{"type":"string"},"bacteria":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"resultValue":{"type":"string"},"unit":{"type":"string"},"sortCode":{"type":"integer","format":"int32"},"notes":{"type":"string"},"antibiotics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"sir":{"type":"integer","format":"int32"},"dia":{"type":"integer","format":"int32"},"mic":{"type":"string"},"sortCode":{"type":"integer","format":"int32"}}}}}}},"protocol":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"measurName":{"type":"string"}}}},"mbioType":{"type":"string"},"unitCode":{"type":"string"},"operatorRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"verifierRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"reagentRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}}}}}}}},"icmid":{"type":"string"},"domain":{"type":"string"},"reportUuid":{"type":"string"},"physicians":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}},"resourceType":{"type":"string","description":"When type equals Physician set PhysicianType"},"uri":{"type":"string","description":"Link to the doctor who approved the result"}}}},"reagents":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"lot":{"type":"string"},"expirationDate":{"type":"string"}}}}}}}},"required":true},"responses":{"405":{"description":"Invalid input","content":{}}},"security":[{"apiKey":[]}],"x-codegen-request-body-name":"body"}},"/order/{id}":{"get":{"tags":["order"],"summary":"Returns order by id","operationId":"getOrder","parameters":[{"name":"id","in":"path","description":"The id of the order","required":true,"schema":{"type":"number"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"lcnUuid":{"type":"string"},"originalOrderIdentification":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"orderid":{"type":"string"},"extId":{"type":"string"},"materialId":{"type":"integer","format":"int64"}}},"ids":{"type":"integer","description":"Material container code","format":"int64"},"regDate":{"type":"string","format":"date-time"},"visitID":{"type":"integer","format":"int32"},"status":{"type":"string"},"observationDates":{"type":"object","properties":{"report":{"type":"string","format":"date-time"},"finish":{"type":"string","format":"date-time"}}},"order":{"type":"object","properties":{"id":{"type":"string"},"date":{"type":"string","format":"date-time"},"hisId":{"type":"string"},"medHistory":{"type":"string"},"commentSpecimen":{"type":"string"}}},"specimenTypes":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"specimenSites":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"cito":{"type":"boolean","default":false},"representative":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"purposes":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"diagnosis":{"type":"string"},"collectInfo":{"type":"object","properties":{"collectDate":{"type":"string","format":"date-time"},"collectorID":{"type":"string"},"collector":{"type":"string"},"collectorFrmrCode":{"type":"string"},"collectorNameGiven":{"type":"string"},"collectorNamePatronymic":{"type":"string"},"collectorNameFamily":{"type":"string"},"collectorTelecom":{"type":"string"}}},"narrative":{"type":"string"},"giveResult":{"type":"object","properties":{"toOrderingInstitution":{"type":"boolean"},"toPatient":{"type":"boolean"},"toReceiverInstitution":{"type":"boolean"}}},"customerType":{"type":"integer","format":"int32"},"patient":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"orderingInstitution":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"},"department":{"type":"string"},"departmentCode":{"type":"string"},"icmid":{"type":"string"},"physician":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}}}},"orderInfo":{"type":"array","items":{"type":"object","properties":{"service":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"method":{"type":"string"},"completed":{"type":"boolean"},"category":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"workplaceID":{"type":"string"}}}},"reports":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"reportSeq":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"results":{"type":"array","items":{"type":"object","properties":{"seqNo":{"type":"integer","format":"int32"},"resTable":{"type":"object","properties":{"id":{"type":"string"},"alias":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"equipment":{"type":"object","properties":{"serialNumber":{"type":"string"},"inventoryNumber":{"type":"string"},"workplaceId":{"type":"integer"}}},"measurement":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"},"code":{"type":"string"}}},"pathology":{"type":"string"},"headerMark":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"codesetID":{"type":"string"},"unit":{"type":"string"},"norm":{"type":"object","properties":{"min":{"type":"number","format":"double"},"max":{"type":"number","format":"double"},"text":{"type":"string"}}},"repLevel":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"resCount":{"type":"integer","format":"int32"},"resCode":{"type":"string"},"requested":{"type":"boolean"},"reportFormat":{"type":"string"},"srvdepCode":{"type":"string"},"verifier":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"operator":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"description":{"type":"string"},"notes":{"type":"string"},"bacteria":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"resultValue":{"type":"string"},"unit":{"type":"string"},"sortCode":{"type":"integer","format":"int32"},"notes":{"type":"string"},"antibiotics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"sir":{"type":"integer","format":"int32"},"dia":{"type":"integer","format":"int32"},"mic":{"type":"string"},"sortCode":{"type":"integer","format":"int32"}}}}}}},"protocol":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"measurName":{"type":"string"}}}},"mbioType":{"type":"string"},"unitCode":{"type":"string"},"operatorRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"verifierRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"reagentRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}}}}}}}},"icmid":{"type":"string"},"domain":{"type":"string"},"reportUuid":{"type":"string"},"physicians":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}},"resourceType":{"type":"string","description":"When type equals Physician set PhysicianType"},"uri":{"type":"string","description":"Link to the doctor who approved the result"}}}},"reagents":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"lot":{"type":"string"},"expirationDate":{"type":"string"}}}}}}}}},"400":{"description":"Invalid ID supplied","content":{}},"404":{"description":"Order not found","content":{}}},"security":[{"apiKey":[]}]}},"/results":{"get":{"tags":["result"],"summary":"Returns all ready result lits","parameters":[{"name":"icmid","in":"header","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"count","in":"query","description":"optional query parameter, default value is 10","schema":{"type":"integer"}},{"name":"order","in":"query","description":"optional query parameter, default value is asc","schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"*/*":{"schema":{"type":"array","items":{"type":"object","properties":{"lcnUuid":{"type":"string"},"originalOrderIdentification":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"orderid":{"type":"string"},"extId":{"type":"string"},"materialId":{"type":"integer","format":"int64"}}},"ids":{"type":"integer","description":"Material container code","format":"int64"},"regDate":{"type":"string","format":"date-time"},"visitID":{"type":"integer","format":"int32"},"status":{"type":"string"},"observationDates":{"type":"object","properties":{"report":{"type":"string","format":"date-time"},"finish":{"type":"string","format":"date-time"}}},"order":{"type":"object","properties":{"id":{"type":"string"},"date":{"type":"string","format":"date-time"},"hisId":{"type":"string"},"medHistory":{"type":"string"},"commentSpecimen":{"type":"string"}}},"specimenTypes":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"specimenSites":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"cito":{"type":"boolean","default":false},"representative":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"purposes":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"diagnosis":{"type":"string"},"collectInfo":{"type":"object","properties":{"collectDate":{"type":"string","format":"date-time"},"collectorID":{"type":"string"},"collector":{"type":"string"},"collectorFrmrCode":{"type":"string"},"collectorNameGiven":{"type":"string"},"collectorNamePatronymic":{"type":"string"},"collectorNameFamily":{"type":"string"},"collectorTelecom":{"type":"string"}}},"narrative":{"type":"string"},"giveResult":{"type":"object","properties":{"toOrderingInstitution":{"type":"boolean"},"toPatient":{"type":"boolean"},"toReceiverInstitution":{"type":"boolean"}}},"customerType":{"type":"integer","format":"int32"},"patient":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"orderingInstitution":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"},"department":{"type":"string"},"departmentCode":{"type":"string"},"icmid":{"type":"string"},"physician":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}}}},"orderInfo":{"type":"array","items":{"type":"object","properties":{"service":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"method":{"type":"string"},"completed":{"type":"boolean"},"category":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"workplaceID":{"type":"string"}}}},"reports":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"reportSeq":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"results":{"type":"array","items":{"type":"object","properties":{"seqNo":{"type":"integer","format":"int32"},"resTable":{"type":"object","properties":{"id":{"type":"string"},"alias":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"equipment":{"type":"object","properties":{"serialNumber":{"type":"string"},"inventoryNumber":{"type":"string"},"workplaceId":{"type":"integer"}}},"measurement":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"},"code":{"type":"string"}}},"pathology":{"type":"string"},"headerMark":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"codesetID":{"type":"string"},"unit":{"type":"string"},"norm":{"type":"object","properties":{"min":{"type":"number","format":"double"},"max":{"type":"number","format":"double"},"text":{"type":"string"}}},"repLevel":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"resCount":{"type":"integer","format":"int32"},"resCode":{"type":"string"},"requested":{"type":"boolean"},"reportFormat":{"type":"string"},"srvdepCode":{"type":"string"},"verifier":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"operator":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"description":{"type":"string"},"notes":{"type":"string"},"bacteria":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"resultValue":{"type":"string"},"unit":{"type":"string"},"sortCode":{"type":"integer","format":"int32"},"notes":{"type":"string"},"antibiotics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"sir":{"type":"integer","format":"int32"},"dia":{"type":"integer","format":"int32"},"mic":{"type":"string"},"sortCode":{"type":"integer","format":"int32"}}}}}}},"protocol":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"measurName":{"type":"string"}}}},"mbioType":{"type":"string"},"unitCode":{"type":"string"},"operatorRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"verifierRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"reagentRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}}}}}}}},"icmid":{"type":"string"},"domain":{"type":"string"},"reportUuid":{"type":"string"},"physicians":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}},"resourceType":{"type":"string","description":"When type equals Physician set PhysicianType"},"uri":{"type":"string","description":"Link to the doctor who approved the result"}}}},"reagents":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"lot":{"type":"string"},"expirationDate":{"type":"string"}}}}}}}}}}},"security":[{"apiKey":[]}]}},"/results/{id}":{"get":{"tags":["result"],"summary":"Returns result by id","operationId":"getResult","parameters":[{"name":"id","in":"path","description":"The id of the order","required":true,"schema":{"type":"number"}},{"name":"icmid","in":"header","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"lcnUuid":{"type":"string"},"originalOrderIdentification":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"orderid":{"type":"string"},"extId":{"type":"string"},"materialId":{"type":"integer","format":"int64"}}},"ids":{"type":"integer","description":"Material container code","format":"int64"},"regDate":{"type":"string","format":"date-time"},"visitID":{"type":"integer","format":"int32"},"status":{"type":"string"},"observationDates":{"type":"object","properties":{"report":{"type":"string","format":"date-time"},"finish":{"type":"string","format":"date-time"}}},"order":{"type":"object","properties":{"id":{"type":"string"},"date":{"type":"string","format":"date-time"},"hisId":{"type":"string"},"medHistory":{"type":"string"},"commentSpecimen":{"type":"string"}}},"specimenTypes":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"specimenSites":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"cito":{"type":"boolean","default":false},"representative":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"purposes":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"diagnosis":{"type":"string"},"collectInfo":{"type":"object","properties":{"collectDate":{"type":"string","format":"date-time"},"collectorID":{"type":"string"},"collector":{"type":"string"},"collectorFrmrCode":{"type":"string"},"collectorNameGiven":{"type":"string"},"collectorNamePatronymic":{"type":"string"},"collectorNameFamily":{"type":"string"},"collectorTelecom":{"type":"string"}}},"narrative":{"type":"string"},"giveResult":{"type":"object","properties":{"toOrderingInstitution":{"type":"boolean"},"toPatient":{"type":"boolean"},"toReceiverInstitution":{"type":"boolean"}}},"customerType":{"type":"integer","format":"int32"},"patient":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"orderingInstitution":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"},"department":{"type":"string"},"departmentCode":{"type":"string"},"icmid":{"type":"string"},"physician":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}}}},"orderInfo":{"type":"array","items":{"type":"object","properties":{"service":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"method":{"type":"string"},"completed":{"type":"boolean"},"category":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"workplaceID":{"type":"string"}}}},"reports":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"reportSeq":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"results":{"type":"array","items":{"type":"object","properties":{"seqNo":{"type":"integer","format":"int32"},"resTable":{"type":"object","properties":{"id":{"type":"string"},"alias":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"equipment":{"type":"object","properties":{"serialNumber":{"type":"string"},"inventoryNumber":{"type":"string"},"workplaceId":{"type":"integer"}}},"measurement":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"},"code":{"type":"string"}}},"pathology":{"type":"string"},"headerMark":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"codesetID":{"type":"string"},"unit":{"type":"string"},"norm":{"type":"object","properties":{"min":{"type":"number","format":"double"},"max":{"type":"number","format":"double"},"text":{"type":"string"}}},"repLevel":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"resCount":{"type":"integer","format":"int32"},"resCode":{"type":"string"},"requested":{"type":"boolean"},"reportFormat":{"type":"string"},"srvdepCode":{"type":"string"},"verifier":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"operator":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"description":{"type":"string"},"notes":{"type":"string"},"bacteria":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"resultValue":{"type":"string"},"unit":{"type":"string"},"sortCode":{"type":"integer","format":"int32"},"notes":{"type":"string"},"antibiotics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"sir":{"type":"integer","format":"int32"},"dia":{"type":"integer","format":"int32"},"mic":{"type":"string"},"sortCode":{"type":"integer","format":"int32"}}}}}}},"protocol":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"measurName":{"type":"string"}}}},"mbioType":{"type":"string"},"unitCode":{"type":"string"},"operatorRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"verifierRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"reagentRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}}}}}}}},"icmid":{"type":"string"},"domain":{"type":"string"},"reportUuid":{"type":"string"},"physicians":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}},"resourceType":{"type":"string","description":"When type equals Physician set PhysicianType"},"uri":{"type":"string","description":"Link to the doctor who approved the result"}}}},"reagents":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"lot":{"type":"string"},"expirationDate":{"type":"string"}}}}}}}}},"400":{"description":"Invalid ID supplied","content":{}},"404":{"description":"Order not found","content":{}}},"security":[{"apiKey":[]}]}},"/results/report/save":{"post":{"tags":["result"],"summary":"Add report from result","operationId":"saveReport","parameters":[{"name":"icmid","in":"header","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"description":"Add report pdf, semd, and all info from practitioner","content":{"application/json":{"schema":{"type":"object","properties":{"reportUuid":{"type":"string"},"lcnUuid":{"type":"string"},"icmid":{"type":"string"},"sender":{"$ref":"#/components/schemas/ReportSender"},"ids":{"type":"integer","format":"int64"},"orderId":{"type":"string"},"pdf":{"type":"string"},"practitioner":{"type":"string"},"organization":{"type":"string"},"birthDate":{"type":"string"},"name":{"type":"string"},"middleName":{"type":"string"},"surname":{"type":"string"},"role":{"type":"string"},"speciality":{"type":"string"},"position":{"type":"string"},"snils":{"type":"string"},"semd":{"$ref":"#/components/schemas/SemdData"},"creationDate":{"type":"string","format":"date-time"}}}}},"required":true},"responses":{"405":{"description":"Invalid input","content":{}}},"security":[{"apiKey":[]}],"x-codegen-request-body-name":"body"}},"/results/delivered":{"post":{"tags":["delivered"],"summary":"Сonfirmation of receipt of the result","operationId":"deliveredResult","parameters":[{"name":"icmid","in":"header","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"description":"Confirm the received result with orderId","content":{"application/json":{"schema":{"type":"object","properties":{"orderId":{"type":"string"},"message":{"type":"string"},"lcnUuid":{"type":"string"},"delivered":{"type":"boolean"}}}}},"required":true},"responses":{"405":{"description":"Invalid input","content":{}}},"security":[{"apiKey":[]}],"x-codegen-request-body-name":"body"}},"/orders/delivered":{"post":{"tags":["delivered"],"summary":"Confirmation of receipt of the order","operationId":"deliveredOrder","parameters":[{"name":"icmid","in":"header","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"description":"Confirm the received result with orderId","content":{"application/json":{"schema":{"type":"object","properties":{"orderId":{"type":"string"},"message":{"type":"string"},"lcnUuid":{"type":"string"},"delivered":{"type":"boolean"}}}}},"required":true},"responses":{"405":{"description":"Invalid input","content":{}}},"security":[{"apiKey":[]}],"x-codegen-request-body-name":"body"}},"/results/save/":{"post":{"tags":["result"],"summary":"Add a new result","operationId":"saveResult","parameters":[{"name":"icmid","in":"header","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"description":"Observations object that needs to be added to the result","content":{"application/json":{"schema":{"type":"object","properties":{"lcnUuid":{"type":"string"},"originalOrderIdentification":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"orderid":{"type":"string"},"extId":{"type":"string"},"materialId":{"type":"integer","format":"int64"}}},"ids":{"type":"integer","description":"Material container code","format":"int64"},"regDate":{"type":"string","format":"date-time"},"visitID":{"type":"integer","format":"int32"},"status":{"type":"string"},"observationDates":{"type":"object","properties":{"report":{"type":"string","format":"date-time"},"finish":{"type":"string","format":"date-time"}}},"order":{"type":"object","properties":{"id":{"type":"string"},"date":{"type":"string","format":"date-time"},"hisId":{"type":"string"},"medHistory":{"type":"string"},"commentSpecimen":{"type":"string"}}},"specimenTypes":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"specimenSites":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"cito":{"type":"boolean","default":false},"representative":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"purposes":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"diagnosis":{"type":"string"},"collectInfo":{"type":"object","properties":{"collectDate":{"type":"string","format":"date-time"},"collectorID":{"type":"string"},"collector":{"type":"string"},"collectorFrmrCode":{"type":"string"},"collectorNameGiven":{"type":"string"},"collectorNamePatronymic":{"type":"string"},"collectorNameFamily":{"type":"string"},"collectorTelecom":{"type":"string"}}},"narrative":{"type":"string"},"giveResult":{"type":"object","properties":{"toOrderingInstitution":{"type":"boolean"},"toPatient":{"type":"boolean"},"toReceiverInstitution":{"type":"boolean"}}},"customerType":{"type":"integer","format":"int32"},"patient":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"orderingInstitution":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"},"department":{"type":"string"},"departmentCode":{"type":"string"},"icmid":{"type":"string"},"physician":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}}}},"orderInfo":{"type":"array","items":{"type":"object","properties":{"service":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"method":{"type":"string"},"completed":{"type":"boolean"},"category":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"workplaceID":{"type":"string"}}}},"reports":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"reportSeq":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"results":{"type":"array","items":{"type":"object","properties":{"seqNo":{"type":"integer","format":"int32"},"resTable":{"type":"object","properties":{"id":{"type":"string"},"alias":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"equipment":{"type":"object","properties":{"serialNumber":{"type":"string"},"inventoryNumber":{"type":"string"},"workplaceId":{"type":"integer"}}},"measurement":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"},"code":{"type":"string"}}},"pathology":{"type":"string"},"headerMark":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"codesetID":{"type":"string"},"unit":{"type":"string"},"norm":{"type":"object","properties":{"min":{"type":"number","format":"double"},"max":{"type":"number","format":"double"},"text":{"type":"string"}}},"repLevel":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"resCount":{"type":"integer","format":"int32"},"resCode":{"type":"string"},"requested":{"type":"boolean"},"reportFormat":{"type":"string"},"srvdepCode":{"type":"string"},"verifier":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"operator":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"description":{"type":"string"},"notes":{"type":"string"},"bacteria":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"resultValue":{"type":"string"},"unit":{"type":"string"},"sortCode":{"type":"integer","format":"int32"},"notes":{"type":"string"},"antibiotics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"sir":{"type":"integer","format":"int32"},"dia":{"type":"integer","format":"int32"},"mic":{"type":"string"},"sortCode":{"type":"integer","format":"int32"}}}}}}},"protocol":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"measurName":{"type":"string"}}}},"mbioType":{"type":"string"},"unitCode":{"type":"string"},"operatorRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"verifierRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"reagentRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}}}}}}}},"icmid":{"type":"string"},"domain":{"type":"string"},"reportUuid":{"type":"string"},"physicians":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}},"resourceType":{"type":"string","description":"When type equals Physician set PhysicianType"},"uri":{"type":"string","description":"Link to the doctor who approved the result"}}}},"reagents":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"lot":{"type":"string"},"expirationDate":{"type":"string"}}}}}}}},"required":true},"responses":{"405":{"description":"Invalid input","content":{}}},"security":[{"apiKey":[]}],"x-codegen-request-body-name":"body"}},"/reports/pdf":{"get":{"tags":["report"],"summary":"Get a list of observations with captions and pdf","parameters":[{"name":"icmid","in":"header","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"successful operation","content":{"*/*":{"schema":{"type":"array","items":{"type":"object","properties":{"lcnUuid":{"type":"string"},"originalOrderIdentification":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"orderid":{"type":"string"},"extId":{"type":"string"},"materialId":{"type":"integer","format":"int64"}}},"ids":{"type":"integer","description":"Material container code","format":"int64"},"regDate":{"type":"string","format":"date-time"},"visitID":{"type":"integer","format":"int32"},"status":{"type":"string"},"observationDates":{"type":"object","properties":{"report":{"type":"string","format":"date-time"},"finish":{"type":"string","format":"date-time"}}},"order":{"type":"object","properties":{"id":{"type":"string"},"date":{"type":"string","format":"date-time"},"hisId":{"type":"string"},"medHistory":{"type":"string"},"commentSpecimen":{"type":"string"}}},"specimenTypes":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"specimenSites":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"cito":{"type":"boolean","default":false},"representative":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"purposes":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"diagnosis":{"type":"string"},"collectInfo":{"type":"object","properties":{"collectDate":{"type":"string","format":"date-time"},"collectorID":{"type":"string"},"collector":{"type":"string"},"collectorFrmrCode":{"type":"string"},"collectorNameGiven":{"type":"string"},"collectorNamePatronymic":{"type":"string"},"collectorNameFamily":{"type":"string"},"collectorTelecom":{"type":"string"}}},"narrative":{"type":"string"},"giveResult":{"type":"object","properties":{"toOrderingInstitution":{"type":"boolean"},"toPatient":{"type":"boolean"},"toReceiverInstitution":{"type":"boolean"}}},"customerType":{"type":"integer","format":"int32"},"patient":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"orderingInstitution":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"},"department":{"type":"string"},"departmentCode":{"type":"string"},"icmid":{"type":"string"},"physician":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}}}},"orderInfo":{"type":"array","items":{"type":"object","properties":{"service":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"method":{"type":"string"},"completed":{"type":"boolean"},"category":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"workplaceID":{"type":"string"}}}},"reports":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"reportSeq":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"results":{"type":"array","items":{"type":"object","properties":{"seqNo":{"type":"integer","format":"int32"},"resTable":{"type":"object","properties":{"id":{"type":"string"},"alias":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"equipment":{"type":"object","properties":{"serialNumber":{"type":"string"},"inventoryNumber":{"type":"string"},"workplaceId":{"type":"integer"}}},"measurement":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"},"code":{"type":"string"}}},"pathology":{"type":"string"},"headerMark":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"codesetID":{"type":"string"},"unit":{"type":"string"},"norm":{"type":"object","properties":{"min":{"type":"number","format":"double"},"max":{"type":"number","format":"double"},"text":{"type":"string"}}},"repLevel":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"resCount":{"type":"integer","format":"int32"},"resCode":{"type":"string"},"requested":{"type":"boolean"},"reportFormat":{"type":"string"},"srvdepCode":{"type":"string"},"verifier":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"operator":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"description":{"type":"string"},"notes":{"type":"string"},"bacteria":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"resultValue":{"type":"string"},"unit":{"type":"string"},"sortCode":{"type":"integer","format":"int32"},"notes":{"type":"string"},"antibiotics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"sir":{"type":"integer","format":"int32"},"dia":{"type":"integer","format":"int32"},"mic":{"type":"string"},"sortCode":{"type":"integer","format":"int32"}}}}}}},"protocol":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"measurName":{"type":"string"}}}},"mbioType":{"type":"string"},"unitCode":{"type":"string"},"operatorRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"verifierRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"reagentRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}}}}}}}},"icmid":{"type":"string"},"domain":{"type":"string"},"reportUuid":{"type":"string"},"binary":{"type":"object","properties":{"signedDoctor":{"type":"object","properties":{"birthDate":{"type":"string","description":"Doctor's birth date"},"name":{"type":"string","description":"Doctor's first name"},"middleName":{"type":"string","description":"Doctor's middle name"},"surname":{"type":"string","description":"Doctor's surnameF"},"role":{"type":"string","description":"Doctor's role"},"speciality":{"type":"string","description":"Doctor's speciality"},"position":{"type":"string","description":"Doctor's position"},"snils":{"type":"string","description":"Doctor's snils"}}},"practitioner":{"type":"string","description":"Doctor's signature in Base64 format for PDF"},"organization":{"type":"string","description":"Organization's signature in Base64 format for PDF"},"pdf":{"type":"string","description":"pdf file of the result in the Base64 format for PDF"}}},"semd":{"type":"object","properties":{"signedDoctor":{"type":"object","properties":{"birthDate":{"type":"string","description":"Doctor's birth date"},"name":{"type":"string","description":"Doctor's first name"},"middleName":{"type":"string","description":"Doctor's middle name"},"surname":{"type":"string","description":"Doctor's surnameF"},"role":{"type":"string","description":"Doctor's role"},"speciality":{"type":"string","description":"Doctor's speciality"},"position":{"type":"string","description":"Doctor's position"},"snils":{"type":"string","description":"Doctor's snils"}}},"practitionerSig":{"type":"string","description":"Doctor's signature in Base64 format for SEMD"},"organizationSig":{"type":"string","description":"Organization's signature in Base64 format for SEMD"},"docData":{"type":"string","description":"SEMD file of the result in the Base64 format for SEMD"}}},"physicians":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}},"resourceType":{"type":"string","description":"When type equals Physician set PhysicianType"},"uri":{"type":"string","description":"Link to the doctor who approved the result"}}}},"reagents":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"lot":{"type":"string"},"expirationDate":{"type":"string"}}}}}}}}}}},"security":[{"apiKey":[]}]}},"/reports/semd":{"get":{"tags":["report"],"summary":"Get a list of observations with captions and semd","parameters":[{"name":"icmid","in":"header","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"successful operation","content":{"*/*":{"schema":{"type":"array","items":{"type":"object","properties":{"lcnUuid":{"type":"string"},"originalOrderIdentification":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"orderid":{"type":"string"},"extId":{"type":"string"},"materialId":{"type":"integer","format":"int64"}}},"ids":{"type":"integer","description":"Material container code","format":"int64"},"regDate":{"type":"string","format":"date-time"},"visitID":{"type":"integer","format":"int32"},"status":{"type":"string"},"observationDates":{"type":"object","properties":{"report":{"type":"string","format":"date-time"},"finish":{"type":"string","format":"date-time"}}},"order":{"type":"object","properties":{"id":{"type":"string"},"date":{"type":"string","format":"date-time"},"hisId":{"type":"string"},"medHistory":{"type":"string"},"commentSpecimen":{"type":"string"}}},"specimenTypes":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"specimenSites":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"cito":{"type":"boolean","default":false},"representative":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"purposes":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"diagnosis":{"type":"string"},"collectInfo":{"type":"object","properties":{"collectDate":{"type":"string","format":"date-time"},"collectorID":{"type":"string"},"collector":{"type":"string"},"collectorFrmrCode":{"type":"string"},"collectorNameGiven":{"type":"string"},"collectorNamePatronymic":{"type":"string"},"collectorNameFamily":{"type":"string"},"collectorTelecom":{"type":"string"}}},"narrative":{"type":"string"},"giveResult":{"type":"object","properties":{"toOrderingInstitution":{"type":"boolean"},"toPatient":{"type":"boolean"},"toReceiverInstitution":{"type":"boolean"}}},"customerType":{"type":"integer","format":"int32"},"patient":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"orderingInstitution":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"},"department":{"type":"string"},"departmentCode":{"type":"string"},"icmid":{"type":"string"},"physician":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}}}},"orderInfo":{"type":"array","items":{"type":"object","properties":{"service":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"method":{"type":"string"},"completed":{"type":"boolean"},"category":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"workplaceID":{"type":"string"}}}},"reports":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"reportSeq":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"results":{"type":"array","items":{"type":"object","properties":{"seqNo":{"type":"integer","format":"int32"},"resTable":{"type":"object","properties":{"id":{"type":"string"},"alias":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"equipment":{"type":"object","properties":{"serialNumber":{"type":"string"},"inventoryNumber":{"type":"string"},"workplaceId":{"type":"integer"}}},"measurement":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"},"code":{"type":"string"}}},"pathology":{"type":"string"},"headerMark":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"codesetID":{"type":"string"},"unit":{"type":"string"},"norm":{"type":"object","properties":{"min":{"type":"number","format":"double"},"max":{"type":"number","format":"double"},"text":{"type":"string"}}},"repLevel":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"resCount":{"type":"integer","format":"int32"},"resCode":{"type":"string"},"requested":{"type":"boolean"},"reportFormat":{"type":"string"},"srvdepCode":{"type":"string"},"verifier":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"operator":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"description":{"type":"string"},"notes":{"type":"string"},"bacteria":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"resultValue":{"type":"string"},"unit":{"type":"string"},"sortCode":{"type":"integer","format":"int32"},"notes":{"type":"string"},"antibiotics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"sir":{"type":"integer","format":"int32"},"dia":{"type":"integer","format":"int32"},"mic":{"type":"string"},"sortCode":{"type":"integer","format":"int32"}}}}}}},"protocol":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"measurName":{"type":"string"}}}},"mbioType":{"type":"string"},"unitCode":{"type":"string"},"operatorRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"verifierRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"reagentRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}}}}}}}},"icmid":{"type":"string"},"domain":{"type":"string"},"reportUuid":{"type":"string"},"binary":{"type":"object","properties":{"signedDoctor":{"type":"object","properties":{"birthDate":{"type":"string","description":"Doctor's birth date"},"name":{"type":"string","description":"Doctor's first name"},"middleName":{"type":"string","description":"Doctor's middle name"},"surname":{"type":"string","description":"Doctor's surnameF"},"role":{"type":"string","description":"Doctor's role"},"speciality":{"type":"string","description":"Doctor's speciality"},"position":{"type":"string","description":"Doctor's position"},"snils":{"type":"string","description":"Doctor's snils"}}},"practitioner":{"type":"string","description":"Doctor's signature in Base64 format for PDF"},"organization":{"type":"string","description":"Organization's signature in Base64 format for PDF"},"pdf":{"type":"string","description":"pdf file of the result in the Base64 format for PDF"}}},"semd":{"type":"object","properties":{"signedDoctor":{"type":"object","properties":{"birthDate":{"type":"string","description":"Doctor's birth date"},"name":{"type":"string","description":"Doctor's first name"},"middleName":{"type":"string","description":"Doctor's middle name"},"surname":{"type":"string","description":"Doctor's surnameF"},"role":{"type":"string","description":"Doctor's role"},"speciality":{"type":"string","description":"Doctor's speciality"},"position":{"type":"string","description":"Doctor's position"},"snils":{"type":"string","description":"Doctor's snils"}}},"practitionerSig":{"type":"string","description":"Doctor's signature in Base64 format for SEMD"},"organizationSig":{"type":"string","description":"Organization's signature in Base64 format for SEMD"},"docData":{"type":"string","description":"SEMD file of the result in the Base64 format for SEMD"}}},"physicians":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}},"resourceType":{"type":"string","description":"When type equals Physician set PhysicianType"},"uri":{"type":"string","description":"Link to the doctor who approved the result"}}}},"reagents":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"lot":{"type":"string"},"expirationDate":{"type":"string"}}}}}}}}}}},"security":[{"apiKey":[]}]}},"/term/meta":{"get":{"tags":["term"],"summary":"Get a list term meta","parameters":[{"name":"icmid","in":"header","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"successful operation","content":{"*/*":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"term":{"type":"string"},"termId":{"type":"string"},"name":{"type":"string"},"source":{"type":"string"},"type":{"type":"string"},"version":{"type":"string"},"prevVersion":{"type":"object","properties":{"term":{"type":"string"},"termId":{"type":"string"},"name":{"type":"string"},"source":{"type":"string"},"type":{"type":"string"},"version":{"type":"string"},"modificationTime":{"type":"string","format":"date-time"}}}}}}}}}},"security":[{"apiKey":[]}]}},"/term/linear":{"get":{"tags":["term"],"summary":"Get a list linear term","parameters":[{"name":"icmid","in":"header","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"term","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"*/*":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"source":{"type":"string"},"type":{"type":"string"},"version":{"type":"string"},"modificationTime":{"type":"string","format":"date-time"},"content":{"type":"object","properties":{"term":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"code":{"type":"string"},"text":{"type":"string"}}}}}}}}}}}}},"security":[{"apiKey":[]}]}},"/term/link":{"get":{"tags":["term"],"summary":"Get a list link term","parameters":[{"name":"icmid","in":"header","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"term","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"*/*":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"version":{"type":"string"},"modificationTime":{"type":"string","format":"date-time"},"source":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"mainId":{"type":"string"},"mainCode":{"type":"string"},"mainText":{"type":"string"},"dependentId":{"type":"string"},"dependentCode":{"type":"string"},"dependentText":{"type":"string"}}}}}}}}}}},"security":[{"apiKey":[]}]}},"/content/image":{"get":{"tags":["content"],"summary":"Get a image content","parameters":[{"name":"icmid","in":"header","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"term","in":"header","required":true,"schema":{"type":"string"}},{"name":"reportUuid","in":"query","required":true,"schema":{"type":"string"}},{"name":"imageId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"*/*":{"schema":{"type":"object","properties":{"reportUuid":{"type":"string"},"id":{"type":"integer"},"fileName":{"type":"string"},"content":{"type":"string"}}}}}}},"security":[{"apiKey":[]}]}},"/content/document":{"get":{"tags":["content"],"summary":"Get a document content","parameters":[{"name":"icmid","in":"header","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"term","in":"header","required":true,"schema":{"type":"string"}},{"name":"reportUuid","in":"query","required":true,"schema":{"type":"string"}},{"name":"imageId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"*/*":{"schema":{"type":"object","properties":{"reportUuid":{"type":"string"},"id":{"type":"integer"},"fileName":{"type":"string"},"content":{"type":"string"}}}}}}},"security":[{"apiKey":[]}]}}},"components":{"schemas":{"Term":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"source":{"type":"string"},"term":{"type":"string"},"version":{"type":"string"},"modificationTime":{"type":"string","format":"date-time"},"data":{"type":"array","items":{"type":"object","properties":{"main":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"text":{"type":"string"}}},"dependent":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"text":{"type":"string"}}}}}}}},"TermMeta":{"type":"object","properties":{"id":{"type":"string"},"term":{"type":"string"},"termId":{"type":"string"},"name":{"type":"string"},"source":{"type":"string"},"type":{"type":"string"},"version":{"type":"string"},"prevVersion":{"type":"object","properties":{"term":{"type":"string"},"termId":{"type":"string"},"name":{"type":"string"},"source":{"type":"string"},"type":{"type":"string"},"version":{"type":"string"},"modificationTime":{"type":"string","format":"date-time"}}}}},"OriginalOrderIdentification":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"orderid":{"type":"string"},"extId":{"type":"string"},"materialId":{"type":"integer","format":"int64"}}},"ObservationDates":{"type":"object","properties":{"report":{"type":"string","format":"date-time"},"finish":{"type":"string","format":"date-time"}}},"Order":{"type":"object","properties":{"id":{"type":"string"},"date":{"type":"string","format":"date-time"},"hisId":{"type":"string"},"medHistory":{"type":"string"},"commentSpecimen":{"type":"string"},"narrative":{"type":"string"},"note1":{"type":"string"},"note2":{"type":"string"}}},"AdditionalForm":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}},"SpecimenType":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"SpecimenSite":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"Purpose":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"CollectInfo":{"type":"object","properties":{"collectDate":{"type":"string","format":"date-time"},"collectorID":{"type":"string"},"collector":{"type":"string"},"collectorFrmrCode":{"type":"string"},"collectorNameGiven":{"type":"string"},"collectorNamePatronymic":{"type":"string"},"collectorNameFamily":{"type":"string"},"collectorTelecom":{"type":"string"}}},"GiveResult":{"type":"object","properties":{"toOrderingInstitution":{"type":"boolean"},"toPatient":{"type":"boolean"},"toReceiverInstitution":{"type":"boolean"}}},"Province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"Company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}},"Insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"Condition":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}},"Passport":{"type":"object","properties":{"documentType":{"type":"string"},"series":{"type":"string"},"number":{"type":"string"},"issueDate":{"type":"string","format":"date-time"},"issuer":{"type":"string"}}},"InternationalPassport":{"type":"object","properties":{"documentType":{"type":"string"},"series":{"type":"string"},"number":{"type":"string"},"issueDate":{"type":"string","format":"date-time"},"issuer":{"type":"string"}}},"BirthCertificate":{"type":"object","properties":{"documentType":{"type":"string"},"series":{"type":"string"},"number":{"type":"string"},"birthPlace":{"type":"string"},"issueDate":{"type":"string","format":"date-time"},"issuer":{"type":"string"}}},"Certificate":{"type":"object","properties":{"documentType":{"type":"string"},"series":{"type":"string"},"number":{"type":"string"},"issueDate":{"type":"string","format":"date-time"},"expirationDate":{"type":"string","format":"date-time"},"issuer":{"type":"string"}}},"Snils":{"type":"object","properties":{"documentType":{"type":"string"},"number":{"type":"string"},"issueDate":{"type":"string","format":"date-time"}}},"KzIin":{"type":"object","properties":{"documentType":{"type":"string"},"number":{"type":"string"}}},"Identification":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]},"Email":{"type":"object","properties":{"contactType":{"type":"string"},"email":{"type":"string"}}},"AddressField":{"type":"object","properties":{"code":{"type":"string"},"display":{"type":"string"},"system":{"type":"string"},"version":{"type":"string"}}},"Address":{"type":"object","properties":{"use":{"type":"string","description":"home | work | temp | old | billing"},"addressType":{"type":"string","description":"postal | physical | both | noop"},"postCode":{"type":"string"},"country":{"type":"string"},"region":{"type":"object","properties":{"code":{"type":"string"},"display":{"type":"string"},"system":{"type":"string"},"version":{"type":"string"}}},"area":{"type":"object","properties":{"code":{"type":"string"},"display":{"type":"string"},"system":{"type":"string"},"version":{"type":"string"}}},"settlement":{"type":"object","properties":{"code":{"type":"string"},"display":{"type":"string"},"system":{"type":"string"},"version":{"type":"string"}}},"place":{"type":"object","properties":{"code":{"type":"string"},"display":{"type":"string"},"system":{"type":"string"},"version":{"type":"string"}}},"planItem":{"type":"object","properties":{"code":{"type":"string"},"display":{"type":"string"},"system":{"type":"string"},"version":{"type":"string"}}},"street":{"type":"object","properties":{"code":{"type":"string"},"display":{"type":"string"},"system":{"type":"string"},"version":{"type":"string"}}},"plotNumber":{"type":"object","properties":{"code":{"type":"string"},"display":{"type":"string"},"system":{"type":"string"},"version":{"type":"string"}}},"objectNumber":{"type":"string"},"line":{"type":"string"}}},"AddressFias":{"type":"object","properties":{"`type`":{"type":"string","description":"When initialized field use without ``"},"country_code":{"type":"string"},"country":{"type":"string"},"region_code":{"type":"string"},"region":{"type":"string"},"area_code":{"type":"string"},"area":{"type":"string"},"city_code":{"type":"string"},"city":{"type":"string"},"area_city_code":{"type":"string"},"area_city":{"type":"string"},"slave_city_code":{"type":"string"},"slave_city":{"type":"string"},"street":{"type":"string"},"house":{"type":"string"},"korp":{"type":"string"},"flat":{"type":"string"},"`string`":{"type":"string","description":"When initialized field use without ``"},"aoGuid":{"type":"string"},"houseGuid":{"type":"string"}}},"Phone":{"type":"object","properties":{"contactType":{"type":"string"},"phone":{"type":"string"}}},"Cellular":{"type":"object","properties":{"contactType":{"type":"string"},"cellular":{"type":"string"}}},"CodeableConcept":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"ContactPoint":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]},"BirthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}},"Born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"Patient":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"addresses":{"type":"array","items":null,"$ref":"#/components/schemas/Address"},"addressFias":{"type":"array","items":null,"$ref":"#/components/schemas/AddressFias"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"Physician":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}},"OrderingInstitution":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"},"department":{"type":"string"},"departmentCode":{"type":"string"},"icmid":{"type":"string"},"physician":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}}}},"Service":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"Category":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"OrderInfo":{"type":"object","properties":{"service":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"method":{"type":"string"},"completed":{"type":"boolean"},"category":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"workplaceID":{"type":"string"}}},"ResearchTable":{"type":"object","properties":{"id":{"type":"string"},"alias":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"Equipment":{"type":"object","properties":{"serialNumber":{"type":"string"},"inventoryNumber":{"type":"string"},"workplaceId":{"type":"integer"}}},"Measurement":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"},"code":{"type":"string"}}},"Norm":{"type":"object","properties":{"min":{"type":"number","format":"double"},"max":{"type":"number","format":"double"},"text":{"type":"string"}}},"Verifier":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"Operator":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"Antibiotic":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"sir":{"type":"integer","format":"int32"},"dia":{"type":"integer","format":"int32"},"mic":{"type":"string"},"sortCode":{"type":"integer","format":"int32"}}},"Bacterium":{"type":"object","properties":{"resCode":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"resultValue":{"type":"string"},"unit":{"type":"string"},"sortCode":{"type":"integer","format":"int32"},"notes":{"type":"string"},"antibiotics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"sir":{"type":"integer","format":"int32"},"dia":{"type":"integer","format":"int32"},"mic":{"type":"string"},"sortCode":{"type":"integer","format":"int32"}}}}}},"Protocol":{"type":"object","properties":{"resCode":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"measurName":{"type":"string"}}},"Result":{"type":"object","properties":{"seqNo":{"type":"integer","format":"int32"},"resTable":{"type":"object","properties":{"id":{"type":"string"},"alias":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"equipment":{"type":"object","properties":{"serialNumber":{"type":"string"},"inventoryNumber":{"type":"string"},"workplaceId":{"type":"integer"}}},"measurement":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"},"code":{"type":"string"}}},"pathology":{"type":"string"},"headerMark":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"codesetID":{"type":"string"},"unit":{"type":"string"},"norm":{"type":"object","properties":{"min":{"type":"number","format":"double"},"max":{"type":"number","format":"double"},"text":{"type":"string"}}},"repLevel":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"resCount":{"type":"integer","format":"int32"},"resCode":{"type":"string"},"requested":{"type":"boolean"},"reportFormat":{"type":"string"},"srvdepCode":{"type":"string"},"verifier":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"operator":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"description":{"type":"string"},"notes":{"type":"string"},"bacteria":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"resultValue":{"type":"string"},"unit":{"type":"string"},"sortCode":{"type":"integer","format":"int32"},"notes":{"type":"string"},"antibiotics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"sir":{"type":"integer","format":"int32"},"dia":{"type":"integer","format":"int32"},"mic":{"type":"string"},"sortCode":{"type":"integer","format":"int32"}}}}}}},"protocol":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"measurName":{"type":"string"}}}},"mbioType":{"type":"string"},"unitCode":{"type":"string"},"operatorRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"verifierRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"reagentRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}}}},"ResourceRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"ReportGroup":{"type":"object","properties":{"title":{"type":"string"},"reportSeq":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"results":{"type":"array","items":{"type":"object","properties":{"seqNo":{"type":"integer","format":"int32"},"resTable":{"type":"object","properties":{"id":{"type":"string"},"alias":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"equipment":{"type":"object","properties":{"serialNumber":{"type":"string"},"inventoryNumber":{"type":"string"},"workplaceId":{"type":"integer"}}},"measurement":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"},"code":{"type":"string"}}},"pathology":{"type":"string"},"headerMark":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"codesetID":{"type":"string"},"unit":{"type":"string"},"norm":{"type":"object","properties":{"min":{"type":"number","format":"double"},"max":{"type":"number","format":"double"},"text":{"type":"string"}}},"repLevel":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"resCount":{"type":"integer","format":"int32"},"resCode":{"type":"string"},"requested":{"type":"boolean"},"reportFormat":{"type":"string"},"srvdepCode":{"type":"string"},"verifier":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"operator":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"description":{"type":"string"},"notes":{"type":"string"},"bacteria":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"resultValue":{"type":"string"},"unit":{"type":"string"},"sortCode":{"type":"integer","format":"int32"},"notes":{"type":"string"},"antibiotics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"sir":{"type":"integer","format":"int32"},"dia":{"type":"integer","format":"int32"},"mic":{"type":"string"},"sortCode":{"type":"integer","format":"int32"}}}}}}},"protocol":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"measurName":{"type":"string"}}}},"mbioType":{"type":"string"},"unitCode":{"type":"string"},"operatorRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"verifierRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"reagentRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}}}}}}},"SignedDoctor":{"type":"object","properties":{"birthDate":{"type":"string","description":"Doctor's birth date"},"name":{"type":"string","description":"Doctor's first name"},"middleName":{"type":"string","description":"Doctor's middle name"},"surname":{"type":"string","description":"Doctor's surnameF"},"role":{"type":"string","description":"Doctor's role"},"speciality":{"type":"string","description":"Doctor's speciality"},"position":{"type":"string","description":"Doctor's position"},"snils":{"type":"string","description":"Doctor's snils"}}},"Binary":{"type":"object","properties":{"signedDoctor":{"type":"object","properties":{"birthDate":{"type":"string","description":"Doctor's birth date"},"name":{"type":"string","description":"Doctor's first name"},"middleName":{"type":"string","description":"Doctor's middle name"},"surname":{"type":"string","description":"Doctor's surnameF"},"role":{"type":"string","description":"Doctor's role"},"speciality":{"type":"string","description":"Doctor's speciality"},"position":{"type":"string","description":"Doctor's position"},"snils":{"type":"string","description":"Doctor's snils"}}},"practitioner":{"type":"string","description":"Doctor's signature in Base64 format for PDF"},"organization":{"type":"string","description":"Organization's signature in Base64 format for PDF"},"pdf":{"type":"string","description":"pdf file of the result in the Base64 format for PDF"}}},"Semd":{"type":"object","properties":{"signedDoctor":{"type":"object","properties":{"birthDate":{"type":"string","description":"Doctor's birth date"},"name":{"type":"string","description":"Doctor's first name"},"middleName":{"type":"string","description":"Doctor's middle name"},"surname":{"type":"string","description":"Doctor's surnameF"},"role":{"type":"string","description":"Doctor's role"},"speciality":{"type":"string","description":"Doctor's speciality"},"position":{"type":"string","description":"Doctor's position"},"snils":{"type":"string","description":"Doctor's snils"}}},"practitionerSig":{"type":"string","description":"Doctor's signature in Base64 format for SEMD"},"organizationSig":{"type":"string","description":"Organization's signature in Base64 format for SEMD"},"docData":{"type":"string","description":"SEMD file of the result in the Base64 format for SEMD"}}},"ResourcePhysician":{"type":"object","properties":{"resource":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}},"resourceType":{"type":"string","description":"When type equals Physician set PhysicianType"},"uri":{"type":"string","description":"Link to the doctor who approved the result"}}},"Observation":{"type":"object","properties":{"lcnUuid":{"type":"string"},"originalOrderIdentification":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"orderid":{"type":"string"},"extId":{"type":"string"},"materialId":{"type":"integer","format":"int64"}}},"ids":{"type":"integer","description":"Material container code","format":"int64"},"regDate":{"type":"string","format":"date-time"},"visitID":{"type":"integer","format":"int32"},"status":{"type":"string"},"observationDates":{"type":"object","properties":{"report":{"type":"string","format":"date-time"},"finish":{"type":"string","format":"date-time"}}},"order":{"type":"object","properties":{"id":{"type":"string"},"date":{"type":"string","format":"date-time"},"hisId":{"type":"string"},"medHistory":{"type":"string"},"commentSpecimen":{"type":"string"}}},"specimenTypes":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"specimenSites":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"cito":{"type":"boolean","default":false},"representative":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"purposes":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"diagnosis":{"type":"string"},"collectInfo":{"type":"object","properties":{"collectDate":{"type":"string","format":"date-time"},"collectorID":{"type":"string"},"collector":{"type":"string"},"collectorFrmrCode":{"type":"string"},"collectorNameGiven":{"type":"string"},"collectorNamePatronymic":{"type":"string"},"collectorNameFamily":{"type":"string"},"collectorTelecom":{"type":"string"}}},"narrative":{"type":"string"},"giveResult":{"type":"object","properties":{"toOrderingInstitution":{"type":"boolean"},"toPatient":{"type":"boolean"},"toReceiverInstitution":{"type":"boolean"}}},"customerType":{"type":"integer","format":"int32"},"patient":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"orderingInstitution":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"},"department":{"type":"string"},"departmentCode":{"type":"string"},"icmid":{"type":"string"},"physician":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}}}},"orderInfo":{"type":"array","items":{"type":"object","properties":{"service":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"method":{"type":"string"},"completed":{"type":"boolean"},"category":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"workplaceID":{"type":"string"}}}},"reports":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"reportSeq":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"results":{"type":"array","items":{"type":"object","properties":{"seqNo":{"type":"integer","format":"int32"},"resTable":{"type":"object","properties":{"id":{"type":"string"},"alias":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"equipment":{"type":"object","properties":{"serialNumber":{"type":"string"},"inventoryNumber":{"type":"string"},"workplaceId":{"type":"integer"}}},"measurement":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"},"code":{"type":"string"}}},"pathology":{"type":"string"},"headerMark":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"codesetID":{"type":"string"},"unit":{"type":"string"},"norm":{"type":"object","properties":{"min":{"type":"number","format":"double"},"max":{"type":"number","format":"double"},"text":{"type":"string"}}},"repLevel":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"resCount":{"type":"integer","format":"int32"},"resCode":{"type":"string"},"requested":{"type":"boolean"},"reportFormat":{"type":"string"},"srvdepCode":{"type":"string"},"verifier":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"operator":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"description":{"type":"string"},"notes":{"type":"string"},"bacteria":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"resultValue":{"type":"string"},"unit":{"type":"string"},"sortCode":{"type":"integer","format":"int32"},"notes":{"type":"string"},"antibiotics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"sir":{"type":"integer","format":"int32"},"dia":{"type":"integer","format":"int32"},"mic":{"type":"string"},"sortCode":{"type":"integer","format":"int32"}}}}}}},"protocol":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"measurName":{"type":"string"}}}},"mbioType":{"type":"string"},"unitCode":{"type":"string"},"operatorRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"verifierRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"reagentRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}}}}}}}},"icmid":{"type":"string"},"domain":{"type":"string"},"reportUuid":{"type":"string"},"physicians":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}},"resourceType":{"type":"string","description":"When type equals Physician set PhysicianType"},"uri":{"type":"string","description":"Link to the doctor who approved the result"}}}},"reagents":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"lot":{"type":"string"},"expirationDate":{"type":"string"}}}}}},"Reagent":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"lot":{"type":"string"},"expirationDate":{"type":"string"}}},"Observations":{"type":"array","items":{"type":"object","properties":{"lcnUuid":{"type":"string"},"originalOrderIdentification":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"orderid":{"type":"string"},"extId":{"type":"string"},"materialId":{"type":"integer","format":"int64"}}},"ids":{"type":"integer","description":"Material container code","format":"int64"},"regDate":{"type":"string","format":"date-time"},"visitID":{"type":"integer","format":"int32"},"status":{"type":"string"},"observationDates":{"type":"object","properties":{"report":{"type":"string","format":"date-time"},"finish":{"type":"string","format":"date-time"}}},"order":{"type":"object","properties":{"id":{"type":"string"},"date":{"type":"string","format":"date-time"},"hisId":{"type":"string"},"medHistory":{"type":"string"},"commentSpecimen":{"type":"string"}}},"specimenTypes":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"specimenSites":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"cito":{"type":"boolean","default":false},"representative":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"purposes":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"diagnosis":{"type":"string"},"collectInfo":{"type":"object","properties":{"collectDate":{"type":"string","format":"date-time"},"collectorID":{"type":"string"},"collector":{"type":"string"},"collectorFrmrCode":{"type":"string"},"collectorNameGiven":{"type":"string"},"collectorNamePatronymic":{"type":"string"},"collectorNameFamily":{"type":"string"},"collectorTelecom":{"type":"string"}}},"narrative":{"type":"string"},"giveResult":{"type":"object","properties":{"toOrderingInstitution":{"type":"boolean"},"toPatient":{"type":"boolean"},"toReceiverInstitution":{"type":"boolean"}}},"customerType":{"type":"integer","format":"int32"},"patient":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"orderingInstitution":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"},"department":{"type":"string"},"departmentCode":{"type":"string"},"icmid":{"type":"string"},"physician":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}}}},"orderInfo":{"type":"array","items":{"type":"object","properties":{"service":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"method":{"type":"string"},"completed":{"type":"boolean"},"category":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"workplaceID":{"type":"string"}}}},"reports":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"reportSeq":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"results":{"type":"array","items":{"type":"object","properties":{"seqNo":{"type":"integer","format":"int32"},"resTable":{"type":"object","properties":{"id":{"type":"string"},"alias":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"equipment":{"type":"object","properties":{"serialNumber":{"type":"string"},"inventoryNumber":{"type":"string"},"workplaceId":{"type":"integer"}}},"measurement":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"},"code":{"type":"string"}}},"pathology":{"type":"string"},"headerMark":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"codesetID":{"type":"string"},"unit":{"type":"string"},"norm":{"type":"object","properties":{"min":{"type":"number","format":"double"},"max":{"type":"number","format":"double"},"text":{"type":"string"}}},"repLevel":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"resCount":{"type":"integer","format":"int32"},"resCode":{"type":"string"},"requested":{"type":"boolean"},"reportFormat":{"type":"string"},"srvdepCode":{"type":"string"},"verifier":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"operator":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"description":{"type":"string"},"notes":{"type":"string"},"bacteria":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"resultValue":{"type":"string"},"unit":{"type":"string"},"sortCode":{"type":"integer","format":"int32"},"notes":{"type":"string"},"antibiotics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"sir":{"type":"integer","format":"int32"},"dia":{"type":"integer","format":"int32"},"mic":{"type":"string"},"sortCode":{"type":"integer","format":"int32"}}}}}}},"protocol":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"measurName":{"type":"string"}}}},"mbioType":{"type":"string"},"unitCode":{"type":"string"},"operatorRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"verifierRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"reagentRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}}}}}}}},"icmid":{"type":"string"},"domain":{"type":"string"},"reportUuid":{"type":"string"},"physicians":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}},"resourceType":{"type":"string","description":"When type equals Physician set PhysicianType"},"uri":{"type":"string","description":"Link to the doctor who approved the result"}}}},"reagents":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"lot":{"type":"string"},"expirationDate":{"type":"string"}}}}}}},"SemdData":{"type":"object","description":"В json при передачи этого объект ключ ДОЛЖЕН иметь название 'semd'","properties":{"practitionerSig":{"type":"string"},"organizationSig":{"type":"string"},"docData":{"type":"string"}}},"ReportSender":{"type":"object","description":"В json при передачи этого объект ключ ДОЛЖЕН иметь название 'sender'","properties":{"icmid":{"type":"string"}}},"ReportBase64":{"type":"object","properties":{"reportUuid":{"type":"string"},"lcnUuid":{"type":"string"},"icmid":{"type":"string"},"sender":{"$ref":"#/components/schemas/ReportSender"},"ids":{"type":"integer","format":"int64"},"orderId":{"type":"string"},"pdf":{"type":"string"},"practitioner":{"type":"string"},"organization":{"type":"string"},"birthDate":{"type":"string"},"name":{"type":"string"},"middleName":{"type":"string"},"surname":{"type":"string"},"role":{"type":"string"},"speciality":{"type":"string"},"position":{"type":"string"},"snils":{"type":"string"},"semd":{"$ref":"#/components/schemas/SemdData"},"creationDate":{"type":"string","format":"date-time"}}},"Document":{"type":"object","properties":{"reportUuid":{"type":"string"},"id":{"type":"integer"},"fileName":{"type":"string"},"content":{"type":"string"}}},"ObservationUnigate":{"type":"object","properties":{"lcnUuid":{"type":"string"},"originalOrderIdentification":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"orderid":{"type":"string"},"extId":{"type":"string"},"materialId":{"type":"integer","format":"int64"}}},"ids":{"type":"integer","description":"Material container code","format":"int64"},"regDate":{"type":"string","format":"date-time"},"visitID":{"type":"integer","format":"int32"},"status":{"type":"string"},"observationDates":{"type":"object","properties":{"report":{"type":"string","format":"date-time"},"finish":{"type":"string","format":"date-time"}}},"order":{"type":"object","properties":{"id":{"type":"string"},"date":{"type":"string","format":"date-time"},"hisId":{"type":"string"},"medHistory":{"type":"string"},"commentSpecimen":{"type":"string"}}},"specimenTypes":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"specimenSites":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"cito":{"type":"boolean","default":false},"representative":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"purposes":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"diagnosis":{"type":"string"},"collectInfo":{"type":"object","properties":{"collectDate":{"type":"string","format":"date-time"},"collectorID":{"type":"string"},"collector":{"type":"string"},"collectorFrmrCode":{"type":"string"},"collectorNameGiven":{"type":"string"},"collectorNamePatronymic":{"type":"string"},"collectorNameFamily":{"type":"string"},"collectorTelecom":{"type":"string"}}},"narrative":{"type":"string"},"giveResult":{"type":"object","properties":{"toOrderingInstitution":{"type":"boolean"},"toPatient":{"type":"boolean"},"toReceiverInstitution":{"type":"boolean"}}},"customerType":{"type":"integer","format":"int32"},"patient":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"orderingInstitution":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"},"department":{"type":"string"},"departmentCode":{"type":"string"},"icmid":{"type":"string"},"physician":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}}}},"orderInfo":{"type":"array","items":{"type":"object","properties":{"service":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"method":{"type":"string"},"completed":{"type":"boolean"},"category":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"workplaceID":{"type":"string"}}}},"reports":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"reportSeq":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"results":{"type":"array","items":{"type":"object","properties":{"seqNo":{"type":"integer","format":"int32"},"resTable":{"type":"object","properties":{"id":{"type":"string"},"alias":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"equipment":{"type":"object","properties":{"serialNumber":{"type":"string"},"inventoryNumber":{"type":"string"},"workplaceId":{"type":"integer"}}},"measurement":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"},"code":{"type":"string"}}},"pathology":{"type":"string"},"headerMark":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"codesetID":{"type":"string"},"unit":{"type":"string"},"norm":{"type":"object","properties":{"min":{"type":"number","format":"double"},"max":{"type":"number","format":"double"},"text":{"type":"string"}}},"repLevel":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"resCount":{"type":"integer","format":"int32"},"resCode":{"type":"string"},"requested":{"type":"boolean"},"reportFormat":{"type":"string"},"srvdepCode":{"type":"string"},"verifier":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"operator":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"description":{"type":"string"},"notes":{"type":"string"},"bacteria":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"resultValue":{"type":"string"},"unit":{"type":"string"},"sortCode":{"type":"integer","format":"int32"},"notes":{"type":"string"},"antibiotics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"sir":{"type":"integer","format":"int32"},"dia":{"type":"integer","format":"int32"},"mic":{"type":"string"},"sortCode":{"type":"integer","format":"int32"}}}}}}},"protocol":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"measurName":{"type":"string"}}}},"mbioType":{"type":"string"},"unitCode":{"type":"string"},"operatorRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"verifierRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"reagentRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}}}}}}}},"icmid":{"type":"string"},"domain":{"type":"string"},"reportUuid":{"type":"string"},"binary":{"type":"object","properties":{"signedDoctor":{"type":"object","properties":{"birthDate":{"type":"string","description":"Doctor's birth date"},"name":{"type":"string","description":"Doctor's first name"},"middleName":{"type":"string","description":"Doctor's middle name"},"surname":{"type":"string","description":"Doctor's surnameF"},"role":{"type":"string","description":"Doctor's role"},"speciality":{"type":"string","description":"Doctor's speciality"},"position":{"type":"string","description":"Doctor's position"},"snils":{"type":"string","description":"Doctor's snils"}}},"practitioner":{"type":"string","description":"Doctor's signature in Base64 format for PDF"},"organization":{"type":"string","description":"Organization's signature in Base64 format for PDF"},"pdf":{"type":"string","description":"pdf file of the result in the Base64 format for PDF"}}},"semd":{"type":"object","properties":{"signedDoctor":{"type":"object","properties":{"birthDate":{"type":"string","description":"Doctor's birth date"},"name":{"type":"string","description":"Doctor's first name"},"middleName":{"type":"string","description":"Doctor's middle name"},"surname":{"type":"string","description":"Doctor's surnameF"},"role":{"type":"string","description":"Doctor's role"},"speciality":{"type":"string","description":"Doctor's speciality"},"position":{"type":"string","description":"Doctor's position"},"snils":{"type":"string","description":"Doctor's snils"}}},"practitionerSig":{"type":"string","description":"Doctor's signature in Base64 format for SEMD"},"organizationSig":{"type":"string","description":"Organization's signature in Base64 format for SEMD"},"docData":{"type":"string","description":"SEMD file of the result in the Base64 format for SEMD"}}},"physicians":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}},"resourceType":{"type":"string","description":"When type equals Physician set PhysicianType"},"uri":{"type":"string","description":"Link to the doctor who approved the result"}}}},"reagents":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"lot":{"type":"string"},"expirationDate":{"type":"string"}}}}}},"ObservationsUnigate":{"type":"array","items":{"type":"object","properties":{"lcnUuid":{"type":"string"},"originalOrderIdentification":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"orderid":{"type":"string"},"extId":{"type":"string"},"materialId":{"type":"integer","format":"int64"}}},"ids":{"type":"integer","description":"Material container code","format":"int64"},"regDate":{"type":"string","format":"date-time"},"visitID":{"type":"integer","format":"int32"},"status":{"type":"string"},"observationDates":{"type":"object","properties":{"report":{"type":"string","format":"date-time"},"finish":{"type":"string","format":"date-time"}}},"order":{"type":"object","properties":{"id":{"type":"string"},"date":{"type":"string","format":"date-time"},"hisId":{"type":"string"},"medHistory":{"type":"string"},"commentSpecimen":{"type":"string"}}},"specimenTypes":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"specimenSites":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"cito":{"type":"boolean","default":false},"representative":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"purposes":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"diagnosis":{"type":"string"},"collectInfo":{"type":"object","properties":{"collectDate":{"type":"string","format":"date-time"},"collectorID":{"type":"string"},"collector":{"type":"string"},"collectorFrmrCode":{"type":"string"},"collectorNameGiven":{"type":"string"},"collectorNamePatronymic":{"type":"string"},"collectorNameFamily":{"type":"string"},"collectorTelecom":{"type":"string"}}},"narrative":{"type":"string"},"giveResult":{"type":"object","properties":{"toOrderingInstitution":{"type":"boolean"},"toPatient":{"type":"boolean"},"toReceiverInstitution":{"type":"boolean"}}},"customerType":{"type":"integer","format":"int32"},"patient":{"type":"object","properties":{"id":{"type":"string"},"snils":{"type":"string"},"additionalForm":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"type":{"type":"string"},"valueId":{"type":"string"},"value":{"type":"string"}}}},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"address":{"type":"string"},"province":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"email":{"type":"string"},"phoneNumber":{"type":"string"},"telecom":{"type":"array","items":{"type":"object","description":"\nContactPoint is optional object\n\n* `EMAIL` - \"object in Email\"\n\n* `PHONE` - \"object in Phone\"\n\n* `CELLULAR` - \"object in Cellular\"\n\n","enum":["Email","Phone","Cellular"]}},"gender":{"type":"string","description":"\nGender:\n\n* `M` - \"Male\"\n\n* `F` - \"Female\"\n\n* `O` - \"Other\"\n\n* `U` - \"Unknown\"\n","enum":["M","F","O","U"]},"birthDate":{"type":"string","format":"date-time"},"born":{"type":"object","properties":{"birthDate":{"type":"object","properties":{"bDate":{"type":"string"},"bTime":{"type":"string"}}}}},"workPlace":{"type":"string"},"externalID":{"type":"string"},"markID":{"type":"string"},"mark":{"type":"string"},"notes":{"type":"string"},"regDate":{"type":"string","format":"date-time"},"insurance":{"type":"object","properties":{"policyID":{"type":"string"},"policyCode":{"type":"string"},"policyIssueDate":{"type":"string","format":"date-time"},"statusID":{"type":"string"},"statusCode":{"type":"string"},"status":{"type":"string"},"typCode":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"}}}}},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"code":{"type":"string"},"lcode":{"type":"string"},"groupCode":{"type":"string"}}}}}},"orderingInstitution":{"type":"object","properties":{"id":{"type":"string"},"localName":{"type":"string"},"fullName":{"type":"string"},"code":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"email":{"type":"string"},"department":{"type":"string"},"departmentCode":{"type":"string"},"icmid":{"type":"string"},"physician":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}}}},"orderInfo":{"type":"array","items":{"type":"object","properties":{"service":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"method":{"type":"string"},"completed":{"type":"boolean"},"category":{"type":"object","properties":{"id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"}}},"workplaceID":{"type":"string"}}}},"reports":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"reportSeq":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"results":{"type":"array","items":{"type":"object","properties":{"seqNo":{"type":"integer","format":"int32"},"resTable":{"type":"object","properties":{"id":{"type":"string"},"alias":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}}},"equipment":{"type":"object","properties":{"serialNumber":{"type":"string"},"inventoryNumber":{"type":"string"},"workplaceId":{"type":"integer"}}},"measurement":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"},"code":{"type":"string"}}},"pathology":{"type":"string"},"headerMark":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"codesetID":{"type":"string"},"unit":{"type":"string"},"norm":{"type":"object","properties":{"min":{"type":"number","format":"double"},"max":{"type":"number","format":"double"},"text":{"type":"string"}}},"repLevel":{"type":"integer","format":"int32"},"finishDate":{"type":"string","format":"date-time"},"resCount":{"type":"integer","format":"int32"},"resCode":{"type":"string"},"requested":{"type":"boolean"},"reportFormat":{"type":"string"},"srvdepCode":{"type":"string"},"verifier":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"operator":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"name":{"type":"string"},"code":{"type":"string"}}},"description":{"type":"string"},"notes":{"type":"string"},"bacteria":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"resultValue":{"type":"string"},"unit":{"type":"string"},"sortCode":{"type":"integer","format":"int32"},"notes":{"type":"string"},"antibiotics":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"sir":{"type":"integer","format":"int32"},"dia":{"type":"integer","format":"int32"},"mic":{"type":"string"},"sortCode":{"type":"integer","format":"int32"}}}}}}},"protocol":{"type":"array","items":{"type":"object","properties":{"resCode":{"type":"string"},"resultText":{"type":"string"},"resultValue":{"type":"string"},"measurName":{"type":"string"}}}},"mbioType":{"type":"string"},"unitCode":{"type":"string"},"operatorRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"verifierRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}},"reagentRef":{"type":"object","properties":{"ref":{"type":"string","description":"UUID reference from resource"}}}}}}}}},"icmid":{"type":"string"},"domain":{"type":"string"},"reportUuid":{"type":"string"},"binary":{"type":"object","properties":{"signedDoctor":{"type":"object","properties":{"birthDate":{"type":"string","description":"Doctor's birth date"},"name":{"type":"string","description":"Doctor's first name"},"middleName":{"type":"string","description":"Doctor's middle name"},"surname":{"type":"string","description":"Doctor's surnameF"},"role":{"type":"string","description":"Doctor's role"},"speciality":{"type":"string","description":"Doctor's speciality"},"position":{"type":"string","description":"Doctor's position"},"snils":{"type":"string","description":"Doctor's snils"}}},"practitioner":{"type":"string","description":"Doctor's signature in Base64 format for PDF"},"organization":{"type":"string","description":"Organization's signature in Base64 format for PDF"},"pdf":{"type":"string","description":"pdf file of the result in the Base64 format for PDF"}}},"semd":{"type":"object","properties":{"signedDoctor":{"type":"object","properties":{"birthDate":{"type":"string","description":"Doctor's birth date"},"name":{"type":"string","description":"Doctor's first name"},"middleName":{"type":"string","description":"Doctor's middle name"},"surname":{"type":"string","description":"Doctor's surnameF"},"role":{"type":"string","description":"Doctor's role"},"speciality":{"type":"string","description":"Doctor's speciality"},"position":{"type":"string","description":"Doctor's position"},"snils":{"type":"string","description":"Doctor's snils"}}},"practitionerSig":{"type":"string","description":"Doctor's signature in Base64 format for SEMD"},"organizationSig":{"type":"string","description":"Organization's signature in Base64 format for SEMD"},"docData":{"type":"string","description":"SEMD file of the result in the Base64 format for SEMD"}}},"physicians":{"type":"array","items":{"type":"object","properties":{"resource":{"type":"object","properties":{"id":{"type":"string"},"regCode":{"type":"string"},"givenName":{"type":"string"},"familyName":{"type":"string"},"middleName":{"type":"string"},"adress":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"cellPhone":{"type":"string"},"identifications":{"type":"array","items":{"type":"object","description":"\nIdentification is optional object\n\n* `PASSPORT` - \"object in Passport\"\n\n* `KZ_IIN` - \"object in KzIin\"\n\n* `INTERNATIONAL_PASSPORT` - \"object in InternationalPassport\"\n\n* `BIRTH_CERTIFICATE` - \"object in BirthCertificate\"\n\n* `CERTIFICATE` - \"object in Certificate\"\n\n* `SNILS` - \"object in Snils\"\n","enum":["Passport","KzIin","InternationalPassport","BirthCertificate","Certificate","Snils"]}},"role":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}},"speciality":{"type":"array","items":{"type":"object","properties":{"system":{"type":"string"},"code":{"type":"string"},"display":{"type":"string"},"version":{"type":"string"}}}}}},"resourceType":{"type":"string","description":"When type equals Physician set PhysicianType"},"uri":{"type":"string","description":"Link to the doctor who approved the result"}}}},"reagents":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"lot":{"type":"string"},"expirationDate":{"type":"string"}}}}}}}},"securitySchemes":{"apiKey":{"type":"apiKey","name":"apiKey","in":"header"}}},"x-original-swagger-version":"3.0"}