Advertisement
Guest User

search encounter

a guest
Jun 25th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 40.99 KB | None | 0 0
  1. {
  2.    "operationExitCode":"OK",
  3.    "operationOutcome":null,
  4.    "encounterSessions":[
  5.       {
  6.          "metadata":{
  7.             "entityClassName":"com.noemalife.platform.dm.cim.encounter.EncounterSession",
  8.             "embeddable":false
  9.          },
  10.          "id":40000,
  11.          "version":1,
  12.          "creationDate":1523880669104,
  13.          "valid":true,
  14.          "encounter":{
  15.             "metadata":{
  16.                "entityClassName":"com.noemalife.platform.dm.cim.encounter.Encounter",
  17.                "embeddable":false
  18.             },
  19.             "id":40000,
  20.             "version":0,
  21.             "creationDate":1523880667739,
  22.             "valid":true,
  23.             "encounterType":"INP",
  24.             "status":{
  25.                "codedElement":{
  26.                   "id":40031,
  27.                   "version":0,
  28.                   "creationDate":1523880667739,
  29.                   "lastModification":1523880667739,
  30.                   "uuid":null,
  31.                   "valid":true,
  32.                   "invalidationDate":null,
  33.                   "code":"ACTIVE",
  34.                   "codeSystem":"DM_EncounterStatus",
  35.                   "codeSystemVersionTag":"201503",
  36.                   "language":"en-US",
  37.                   "valueSet":null,
  38.                   "valueSetVersionTag":null,
  39.                   "preferredText":"The encounter has been activated, but the admission is\n\t\t\t\t\tneither happened nor scheduled.",
  40.                   "pickText":null,
  41.                   "terminologyID":"3fb99d6aff044d679e6492091f974709"
  42.                },
  43.                "terminologySource":false,
  44.                "code":"ACTIVE",
  45.                "language":"en-US",
  46.                "pickText":null,
  47.                "preferredText":"The encounter has been activated, but the admission is\n\t\t\t\t\tneither happened nor scheduled.",
  48.                "valueSetVersionTag":null,
  49.                "valueSet":null,
  50.                "codeSystemVersionTag":"201503",
  51.                "codeSystem":"DM_EncounterStatus",
  52.                "terminologyID":"3fb99d6aff044d679e6492091f974709"
  53.             },
  54.             "priority":null,
  55.             "confidentiality":null,
  56.             "ids":[
  57.                {
  58.                   "metadata":{
  59.                      "entityClassName":"com.noemalife.platform.dm.cim.encounter.EncounterIdentifier",
  60.                      "embeddable":false
  61.                   },
  62.                   "id":40000,
  63.                   "version":0,
  64.                   "creationDate":1523880668023,
  65.                   "valid":true,
  66.                   "root":"VISIT_HOSP",
  67.                   "extension":"ITA@9000000001",
  68.                   "status":{
  69.                      "metadata":{
  70.                         "entityClassName":"com.noemalife.platform.dm.cim.datatypes.CodedSimpleValue",
  71.                         "embeddable":true
  72.                      },
  73.                      "code":"ACTIVE",
  74.                      "codeSystem":"DM_IdentifierStatus",
  75.                      "language":"it-IT",
  76.                      "preferredText":"L'uso dell'identificatore è attivo e valido.\n\t\t\t\t",
  77.                      "codeSystemVersionTag":null,
  78.                      "valueSet":null,
  79.                      "valueSetVersionTag":null
  80.                   },
  81.                   "validityFrom":"1999-01-01",
  82.                   "validityTo":"2999-12-31"
  83.                }
  84.             ],
  85.             "properties":null,
  86.             "patient":{
  87.                "metadata":{
  88.                   "entityClassName":"com.noemalife.platform.dm.cim.person.Patient",
  89.                   "embeddable":false
  90.                },
  91.                "id":40000,
  92.                "version":0,
  93.                "creationDate":1523880666654,
  94.                "valid":true,
  95.                "person":{
  96.                   "metadata":{
  97.                      "entityClassName":"com.noemalife.platform.dm.cim.person.Person",
  98.                      "embeddable":false
  99.                   },
  100.                   "id":40004,
  101.                   "version":1,
  102.                   "creationDate":1523880663471,
  103.                   "valid":true,
  104.                   "names":[
  105.                      {
  106.                         "id":40013,
  107.                         "version":0,
  108.                         "valid":true,
  109.                         "invalidationDate":null,
  110.                         "creationDate":1523880663725,
  111.                         "title":null,
  112.                         "surname":"KIRK",
  113.                         "name":"JAMES TIBERIUS",
  114.                         "second":null,
  115.                         "marital":null,
  116.                         "maiden":null,
  117.                         "father":null,
  118.                         "pre":null,
  119.                         "middle":null,
  120.                         "post":null,
  121.                         "position":0,
  122.                         "qualifier":{
  123.                            "code":"L",
  124.                            "codeSystem":"DM_EntityNameQualifier",
  125.                            "codeSystemVersionTag":null,
  126.                            "language":"it-IT",
  127.                            "valueSet":null,
  128.                            "valueSetVersionTag":null,
  129.                            "preferredText":"Nome legale",
  130.                            "pickText":null
  131.                         }
  132.                      }
  133.                   ],
  134.                   "ids":[
  135.                      {
  136.                         "id":40008,
  137.                         "version":0,
  138.                         "valid":true,
  139.                         "invalidationDate":null,
  140.                         "creationDate":1523880663775,
  141.                         "root":"PK",
  142.                         "extension":"jtkirk",
  143.                         "status":{
  144.                            "code":"ACTIVE",
  145.                            "codeSystem":"DM_IdentifierStatus",
  146.                            "codeSystemVersionTag":null,
  147.                            "language":"it-IT",
  148.                            "valueSet":null,
  149.                            "valueSetVersionTag":null,
  150.                            "preferredText":"L'uso dell'identificatore è attivo e valido.\n\t\t\t\t",
  151.                            "pickText":null
  152.                         },
  153.                         "interval":{
  154.                            "lower":{
  155.                               "value":"1999-01-01"
  156.                            },
  157.                            "upper":{
  158.                               "value":"2999-12-31"
  159.                            }
  160.                         },
  161.                         "facility":null
  162.                      },
  163.                      {
  164.                         "id":40009,
  165.                         "version":0,
  166.                         "valid":true,
  167.                         "invalidationDate":null,
  168.                         "creationDate":1523880663791,
  169.                         "root":"BAC",
  170.                         "extension":"ITA@000000000001",
  171.                         "status":{
  172.                            "code":"ACTIVE",
  173.                            "codeSystem":"DM_IdentifierStatus",
  174.                            "codeSystemVersionTag":null,
  175.                            "language":"it-IT",
  176.                            "valueSet":null,
  177.                            "valueSetVersionTag":null,
  178.                            "preferredText":"L'uso dell'identificatore è attivo e valido.\n\t\t\t\t",
  179.                            "pickText":null
  180.                         },
  181.                         "interval":{
  182.                            "lower":{
  183.                               "value":"1999-01-01"
  184.                            },
  185.                            "upper":{
  186.                               "value":"2999-12-31"
  187.                            }
  188.                         },
  189.                         "facility":null
  190.                      },
  191.                      {
  192.                         "id":40010,
  193.                         "version":0,
  194.                         "valid":true,
  195.                         "invalidationDate":null,
  196.                         "creationDate":1523880663805,
  197.                         "root":"CF",
  198.                         "extension":"KRKJST80A01H501X",
  199.                         "status":{
  200.                            "code":"ACTIVE",
  201.                            "codeSystem":"DM_IdentifierStatus",
  202.                            "codeSystemVersionTag":null,
  203.                            "language":"it-IT",
  204.                            "valueSet":null,
  205.                            "valueSetVersionTag":null,
  206.                            "preferredText":"L'uso dell'identificatore è attivo e valido.\n\t\t\t\t",
  207.                            "pickText":null
  208.                         },
  209.                         "interval":{
  210.                            "lower":{
  211.                               "value":"1999-01-01"
  212.                            },
  213.                            "upper":{
  214.                               "value":"2999-12-31"
  215.                            }
  216.                         },
  217.                         "facility":null
  218.                      }
  219.                   ],
  220.                   "currentDemographic":{
  221.                      "metadata":{
  222.                         "entityClassName":"com.noemalife.platform.dm.cim.person.PersonDemographic",
  223.                         "embeddable":false
  224.                      },
  225.                      "id":40004,
  226.                      "version":0,
  227.                      "creationDate":1523880663477,
  228.                      "valid":true,
  229.                      "gender":{
  230.                         "code":"M",
  231.                         "codeSystem":"DM_PersonGender",
  232.                         "codeSystemVersionTag":null,
  233.                         "language":"it-IT",
  234.                         "valueSet":null,
  235.                         "valueSetVersionTag":null,
  236.                         "preferredText":"Maschile",
  237.                         "pickText":"Maschio"
  238.                      },
  239.                      "progress":0,
  240.                      "interval":{
  241.                         "lower":{
  242.                            "value":"1999-01-01T00:00"
  243.                         },
  244.                         "upper":{
  245.                            "value":"2999-12-31T00:00"
  246.                         }
  247.                      },
  248.                      "birthDateISO8601":{
  249.                         "value":"1980-01-01"
  250.                      },
  251.                      "birthTimeISO8601":null,
  252.                      "deathInd":false,
  253.                      "deathDateISO8601":null,
  254.                      "deathTimeISO8601":null,
  255.                      "anonymousInd":false,
  256.                      "unidentifiedInd":false,
  257.                      "taxCode":null,
  258.                      "taxCodeReliability":null,
  259.                      "nationality":null,
  260.                      "nationalityText":null,
  261.                      "citizenship":null,
  262.                      "citizenshipText":null,
  263.                      "degree":null,
  264.                      "degreeText":null,
  265.                      "maritalStatus":null,
  266.                      "maritalStatusText":null,
  267.                      "workingStatus":null,
  268.                      "workingStatusText":null,
  269.                      "profession":{
  270.                         "code":"1",
  271.                         "codeSystem":"PROFESSION",
  272.                         "codeSystemVersionTag":null,
  273.                         "language":"it-IT",
  274.                         "valueSet":null,
  275.                         "valueSetVersionTag":null,
  276.                         "preferredText":"Dirigente",
  277.                         "pickText":"DIRIGENTE"
  278.                      },
  279.                      "professionText":null,
  280.                      "workingBranch":null,
  281.                      "workingBranchText":null,
  282.                      "workingPosition":null,
  283.                      "workingPositionText":null,
  284.                      "religion":null,
  285.                      "birthPlace":{
  286.                         "id":40005,
  287.                         "version":0,
  288.                         "valid":true,
  289.                         "invalidationDate":null,
  290.                         "creationDate":1523880663481,
  291.                         "use":{
  292.                            "code":"BIRTHPL",
  293.                            "codeSystem":"DM_BirthPlaceUse",
  294.                            "codeSystemVersionTag":null,
  295.                            "language":"it-IT",
  296.                            "valueSet":null,
  297.                            "valueSetVersionTag":null,
  298.                            "preferredText":"Comune di nascita, per uso amministrativo",
  299.                            "pickText":null
  300.                         },
  301.                         "text":null,
  302.                         "streetName":null,
  303.                         "streetNameText":null,
  304.                         "streetNumber":null,
  305.                         "building":null,
  306.                         "locator":null,
  307.                         "city":{
  308.                            "code":"000000",
  309.                            "codeSystem":"PARISH",
  310.                            "codeSystemVersionTag":null,
  311.                            "language":"it-IT",
  312.                            "valueSet":null,
  313.                            "valueSetVersionTag":null,
  314.                            "preferredText":"IGNOTO",
  315.                            "pickText":"IGNOTO"
  316.                         },
  317.                         "cityText":null,
  318.                         "area":null,
  319.                         "areaText":null,
  320.                         "zone":null,
  321.                         "zoneText":null,
  322.                         "parish":null,
  323.                         "parishText":null,
  324.                         "country":null,
  325.                         "countryText":null,
  326.                         "state":null,
  327.                         "stateText":null,
  328.                         "province":null,
  329.                         "provinceText":null,
  330.                         "zipCode":null,
  331.                         "healthTrust":null,
  332.                         "healthTrustText":null,
  333.                         "healthZone":null,
  334.                         "healthZoneText":null,
  335.                         "healthDistrict":null,
  336.                         "healthDistrictText":null,
  337.                         "note":null,
  338.                         "useablePeriod":null
  339.                      },
  340.                      "religionText":null,
  341.                      "language":{
  342.                         "code":"1",
  343.                         "codeSystem":"LANGUAGE",
  344.                         "codeSystemVersionTag":null,
  345.                         "language":"it-IT",
  346.                         "valueSet":null,
  347.                         "valueSetVersionTag":null,
  348.                         "preferredText":"Italiano",
  349.                         "pickText":"Italiano"
  350.                      },
  351.                      "languageText":null,
  352.                      "vipStatus":null,
  353.                      "vipStatusText":null,
  354.                      "archivedLegalName":null,
  355.                      "note":null
  356.                   },
  357.                   "verificationStatus":"VERIFIED",
  358.                   "status":{
  359.                      "code":"NEW",
  360.                      "codeSystem":"DM_PersonStatus",
  361.                      "codeSystemVersionTag":null,
  362.                      "language":"it-IT",
  363.                      "valueSet":null,
  364.                      "valueSetVersionTag":null,
  365.                      "preferredText":"Nuova persona, non ancora attivata.",
  366.                      "pickText":null
  367.                   }
  368.                }
  369.             },
  370.             "activationDate":null,
  371.             "admissionDate":1515020400000,
  372.             "completionDate":null,
  373.             "dischargeDate":null,
  374.             "scheduledAdmissionDate":null,
  375.             "scheduledAdmissionTime":null,
  376.             "consultantBindings":null,
  377.             "transferFrom":null
  378.          },
  379.          "position":1,
  380.          "serviceUnit":{
  381.             "metadata":{
  382.                "entityClassName":"com.noemalife.platform.dm.cim.organization.ServiceUnit",
  383.                "embeddable":false
  384.             },
  385.             "id":40002,
  386.             "version":0,
  387.             "creationDate":1523872773167,
  388.             "valid":true,
  389.             "names":[
  390.                {
  391.                   "id":40002,
  392.                   "version":0,
  393.                   "valid":true,
  394.                   "invalidationDate":null,
  395.                   "creationDate":1523872773361,
  396.                   "name":"Reparto Dev",
  397.                   "qualifier":{
  398.                      "code":"L",
  399.                      "codeSystem":"DM_EntityNameQualifier",
  400.                      "codeSystemVersionTag":"201503",
  401.                      "language":"it-IT",
  402.                      "valueSet":null,
  403.                      "valueSetVersionTag":null,
  404.                      "preferredText":"Nome legale",
  405.                      "pickText":null
  406.                   },
  407.                   "language":"it-IT",
  408.                   "position":0,
  409.                   "slogan":"null",
  410.                   "suffix":"null",
  411.                   "acronym":null
  412.                }
  413.             ],
  414.             "holder":{
  415.                "@type":"BusinessOrganization",
  416.                "id":40000,
  417.                "version":0,
  418.                "valid":true,
  419.                "invalidationDate":null,
  420.                "creationDate":1523872771195,
  421.                "qualifier":{
  422.                   "code":"Q",
  423.                   "codeSystem":"ATECO_SUBJECT",
  424.                   "codeSystemVersionTag":"1.0.0",
  425.                   "language":"it-IT",
  426.                   "valueSet":null,
  427.                   "valueSetVersionTag":null,
  428.                   "preferredText":"SANITA' E ASSISTENZA SOCIALE",
  429.                   "pickText":null
  430.                },
  431.                "status":{
  432.                   "code":"ACTIVE",
  433.                   "codeSystem":"DM_OrgStatus",
  434.                   "codeSystemVersionTag":"201503",
  435.                   "language":"it-IT",
  436.                   "valueSet":null,
  437.                   "valueSetVersionTag":null,
  438.                   "preferredText":"L'organizzazione è valida e attiva.",
  439.                   "pickText":null
  440.                },
  441.                "activityPeriod":{
  442.                   "lower":{
  443.                      "value":"1999-01-01"
  444.                   },
  445.                   "upper":{
  446.                      "value":"2999-12-31"
  447.                   }
  448.                },
  449.                "suspensionPeriod":null,
  450.                "ids":[
  451.                   {
  452.                      "id":40000,
  453.                      "version":0,
  454.                      "valid":true,
  455.                      "invalidationDate":null,
  456.                      "creationDate":1523872771448,
  457.                      "root":"ID_ROOT_ORG",
  458.                      "extension":"C4C-BU",
  459.                      "status":{
  460.                         "code":"ACTIVE",
  461.                         "codeSystem":"DM_IdentifierStatus",
  462.                         "codeSystemVersionTag":"201503",
  463.                         "language":"it-IT",
  464.                         "valueSet":null,
  465.                         "valueSetVersionTag":null,
  466.                         "preferredText":"L'uso dell'identificatore è attivo e valido.\n\t\t\t\t",
  467.                         "pickText":null
  468.                      },
  469.                      "interval":{
  470.                         "lower":{
  471.                            "value":"1999-01-01"
  472.                         },
  473.                         "upper":{
  474.                            "value":"2999-12-31"
  475.                         }
  476.                      },
  477.                      "facility":null
  478.                   }
  479.                ],
  480.                "addresses":null,
  481.                "phones":null,
  482.                "faxs":null,
  483.                "webSites":null,
  484.                "emails":null,
  485.                "legalName":{
  486.                   "id":40000,
  487.                   "version":0,
  488.                   "valid":true,
  489.                   "invalidationDate":null,
  490.                   "creationDate":1523872771616,
  491.                   "name":"Bu C4C",
  492.                   "suffix":null,
  493.                   "slogan":"Bu C4C",
  494.                   "acronym":null
  495.                },
  496.                "code":null,
  497.                "note":null,
  498.                "category":null,
  499.                "administrativeType":null,
  500.                "vatNumber":null
  501.             }
  502.          },
  503.          "activityPeriodFrom":"1999-01-01T00:00",
  504.          "activityPeriodTo":"2999-12-31T00:00",
  505.          "locations":null,
  506.          "actions":[
  507.  
  508.          ]
  509.       },
  510.       {
  511.          "metadata":{
  512.             "entityClassName":"com.noemalife.platform.dm.cim.encounter.EncounterSession",
  513.             "embeddable":false
  514.          },
  515.          "id":40001,
  516.          "version":1,
  517.          "creationDate":1523880672830,
  518.          "valid":true,
  519.          "encounter":{
  520.             "metadata":{
  521.                "entityClassName":"com.noemalife.platform.dm.cim.encounter.Encounter",
  522.                "embeddable":false
  523.             },
  524.             "id":40001,
  525.             "version":0,
  526.             "creationDate":1523880671916,
  527.             "valid":true,
  528.             "encounterType":"INP",
  529.             "status":{
  530.                "codedElement":{
  531.                   "id":40031,
  532.                   "version":0,
  533.                   "creationDate":1523880667739,
  534.                   "lastModification":1523880667739,
  535.                   "uuid":null,
  536.                   "valid":true,
  537.                   "invalidationDate":null,
  538.                   "code":"ACTIVE",
  539.                   "codeSystem":"DM_EncounterStatus",
  540.                   "codeSystemVersionTag":"201503",
  541.                   "language":"en-US",
  542.                   "valueSet":null,
  543.                   "valueSetVersionTag":null,
  544.                   "preferredText":"The encounter has been activated, but the admission is\n\t\t\t\t\tneither happened nor scheduled.",
  545.                   "pickText":null,
  546.                   "terminologyID":"3fb99d6aff044d679e6492091f974709"
  547.                },
  548.                "terminologySource":false,
  549.                "code":"ACTIVE",
  550.                "language":"en-US",
  551.                "pickText":null,
  552.                "preferredText":"The encounter has been activated, but the admission is\n\t\t\t\t\tneither happened nor scheduled.",
  553.                "valueSetVersionTag":null,
  554.                "valueSet":null,
  555.                "codeSystemVersionTag":"201503",
  556.                "codeSystem":"DM_EncounterStatus",
  557.                "terminologyID":"3fb99d6aff044d679e6492091f974709"
  558.             },
  559.             "priority":null,
  560.             "confidentiality":null,
  561.             "ids":[
  562.                {
  563.                   "metadata":{
  564.                      "entityClassName":"com.noemalife.platform.dm.cim.encounter.EncounterIdentifier",
  565.                      "embeddable":false
  566.                   },
  567.                   "id":40001,
  568.                   "version":0,
  569.                   "creationDate":1523880671948,
  570.                   "valid":true,
  571.                   "root":"VISIT_HOSP",
  572.                   "extension":"ITA@9000000002",
  573.                   "status":{
  574.                      "metadata":{
  575.                         "entityClassName":"com.noemalife.platform.dm.cim.datatypes.CodedSimpleValue",
  576.                         "embeddable":true
  577.                      },
  578.                      "code":"ACTIVE",
  579.                      "codeSystem":"DM_IdentifierStatus",
  580.                      "language":"it-IT",
  581.                      "preferredText":"L'uso dell'identificatore è attivo e valido.\n\t\t\t\t",
  582.                      "codeSystemVersionTag":null,
  583.                      "valueSet":null,
  584.                      "valueSetVersionTag":null
  585.                   },
  586.                   "validityFrom":"1999-01-01",
  587.                   "validityTo":"2999-12-31"
  588.                }
  589.             ],
  590.             "properties":null,
  591.             "patient":{
  592.                "metadata":{
  593.                   "entityClassName":"com.noemalife.platform.dm.cim.person.Patient",
  594.                   "embeddable":false
  595.                },
  596.                "id":40001,
  597.                "version":0,
  598.                "creationDate":1523880671139,
  599.                "valid":true,
  600.                "person":{
  601.                   "metadata":{
  602.                      "entityClassName":"com.noemalife.platform.dm.cim.person.Person",
  603.                      "embeddable":false
  604.                   },
  605.                   "id":40005,
  606.                   "version":1,
  607.                   "creationDate":1523880664297,
  608.                   "valid":true,
  609.                   "names":[
  610.                      {
  611.                         "id":40015,
  612.                         "version":0,
  613.                         "valid":true,
  614.                         "invalidationDate":null,
  615.                         "creationDate":1523880664321,
  616.                         "title":null,
  617.                         "surname":"CHEKOV",
  618.                         "name":"PAVEL ANDREIVICH",
  619.                         "second":null,
  620.                         "marital":null,
  621.                         "maiden":null,
  622.                         "father":null,
  623.                         "pre":null,
  624.                         "middle":null,
  625.                         "post":null,
  626.                         "position":0,
  627.                         "qualifier":{
  628.                            "code":"L",
  629.                            "codeSystem":"DM_EntityNameQualifier",
  630.                            "codeSystemVersionTag":null,
  631.                            "language":"it-IT",
  632.                            "valueSet":null,
  633.                            "valueSetVersionTag":null,
  634.                            "preferredText":"Nome legale",
  635.                            "pickText":null
  636.                         }
  637.                      }
  638.                   ],
  639.                   "ids":[
  640.                      {
  641.                         "id":40012,
  642.                         "version":0,
  643.                         "valid":true,
  644.                         "invalidationDate":null,
  645.                         "creationDate":1523880664379,
  646.                         "root":"BAC",
  647.                         "extension":"ITA@000000000002",
  648.                         "status":{
  649.                            "code":"ACTIVE",
  650.                            "codeSystem":"DM_IdentifierStatus",
  651.                            "codeSystemVersionTag":null,
  652.                            "language":"it-IT",
  653.                            "valueSet":null,
  654.                            "valueSetVersionTag":null,
  655.                            "preferredText":"L'uso dell'identificatore è attivo e valido.\n\t\t\t\t",
  656.                            "pickText":null
  657.                         },
  658.                         "interval":{
  659.                            "lower":{
  660.                               "value":"1999-01-01"
  661.                            },
  662.                            "upper":{
  663.                               "value":"2999-12-31"
  664.                            }
  665.                         },
  666.                         "facility":null
  667.                      },
  668.                      {
  669.                         "id":40013,
  670.                         "version":0,
  671.                         "valid":true,
  672.                         "invalidationDate":null,
  673.                         "creationDate":1523880664392,
  674.                         "root":"CF",
  675.                         "extension":"CHKPLN80A01H501I",
  676.                         "status":{
  677.                            "code":"ACTIVE",
  678.                            "codeSystem":"DM_IdentifierStatus",
  679.                            "codeSystemVersionTag":null,
  680.                            "language":"it-IT",
  681.                            "valueSet":null,
  682.                            "valueSetVersionTag":null,
  683.                            "preferredText":"L'uso dell'identificatore è attivo e valido.\n\t\t\t\t",
  684.                            "pickText":null
  685.                         },
  686.                         "interval":{
  687.                            "lower":{
  688.                               "value":"1999-01-01"
  689.                            },
  690.                            "upper":{
  691.                               "value":"2999-12-31"
  692.                            }
  693.                         },
  694.                         "facility":null
  695.                      },
  696.                      {
  697.                         "id":40011,
  698.                         "version":0,
  699.                         "valid":true,
  700.                         "invalidationDate":null,
  701.                         "creationDate":1523880664363,
  702.                         "root":"PK",
  703.                         "extension":"pachekov",
  704.                         "status":{
  705.                            "code":"ACTIVE",
  706.                            "codeSystem":"DM_IdentifierStatus",
  707.                            "codeSystemVersionTag":null,
  708.                            "language":"it-IT",
  709.                            "valueSet":null,
  710.                            "valueSetVersionTag":null,
  711.                            "preferredText":"L'uso dell'identificatore è attivo e valido.\n\t\t\t\t",
  712.                            "pickText":null
  713.                         },
  714.                         "interval":{
  715.                            "lower":{
  716.                               "value":"1999-01-01"
  717.                            },
  718.                            "upper":{
  719.                               "value":"2999-12-31"
  720.                            }
  721.                         },
  722.                         "facility":null
  723.                      }
  724.                   ],
  725.                   "currentDemographic":{
  726.                      "metadata":{
  727.                         "entityClassName":"com.noemalife.platform.dm.cim.person.PersonDemographic",
  728.                         "embeddable":false
  729.                      },
  730.                      "id":40005,
  731.                      "version":0,
  732.                      "creationDate":1523880664303,
  733.                      "valid":true,
  734.                      "gender":{
  735.                         "code":"M",
  736.                         "codeSystem":"DM_PersonGender",
  737.                         "codeSystemVersionTag":null,
  738.                         "language":"it-IT",
  739.                         "valueSet":null,
  740.                         "valueSetVersionTag":null,
  741.                         "preferredText":"Maschile",
  742.                         "pickText":"Maschio"
  743.                      },
  744.                      "progress":0,
  745.                      "interval":{
  746.                         "lower":{
  747.                            "value":"1999-01-01T00:00"
  748.                         },
  749.                         "upper":{
  750.                            "value":"2999-12-31T00:00"
  751.                         }
  752.                      },
  753.                      "birthDateISO8601":{
  754.                         "value":"1980-01-01"
  755.                      },
  756.                      "birthTimeISO8601":null,
  757.                      "deathInd":false,
  758.                      "deathDateISO8601":null,
  759.                      "deathTimeISO8601":null,
  760.                      "anonymousInd":false,
  761.                      "unidentifiedInd":false,
  762.                      "taxCode":null,
  763.                      "taxCodeReliability":null,
  764.                      "nationality":null,
  765.                      "nationalityText":null,
  766.                      "citizenship":null,
  767.                      "citizenshipText":null,
  768.                      "degree":null,
  769.                      "degreeText":null,
  770.                      "maritalStatus":null,
  771.                      "maritalStatusText":null,
  772.                      "workingStatus":null,
  773.                      "workingStatusText":null,
  774.                      "profession":{
  775.                         "code":"1",
  776.                         "codeSystem":"PROFESSION",
  777.                         "codeSystemVersionTag":null,
  778.                         "language":"it-IT",
  779.                         "valueSet":null,
  780.                         "valueSetVersionTag":null,
  781.                         "preferredText":"Dirigente",
  782.                         "pickText":"DIRIGENTE"
  783.                      },
  784.                      "professionText":null,
  785.                      "workingBranch":null,
  786.                      "workingBranchText":null,
  787.                      "workingPosition":null,
  788.                      "workingPositionText":null,
  789.                      "religion":null,
  790.                      "birthPlace":{
  791.                         "id":40007,
  792.                         "version":0,
  793.                         "valid":true,
  794.                         "invalidationDate":null,
  795.                         "creationDate":1523880664307,
  796.                         "use":{
  797.                            "code":"BIRTHPL",
  798.                            "codeSystem":"DM_BirthPlaceUse",
  799.                            "codeSystemVersionTag":null,
  800.                            "language":"it-IT",
  801.                            "valueSet":null,
  802.                            "valueSetVersionTag":null,
  803.                            "preferredText":"Comune di nascita, per uso amministrativo",
  804.                            "pickText":null
  805.                         },
  806.                         "text":null,
  807.                         "streetName":null,
  808.                         "streetNameText":null,
  809.                         "streetNumber":null,
  810.                         "building":null,
  811.                         "locator":null,
  812.                         "city":{
  813.                            "code":"000000",
  814.                            "codeSystem":"PARISH",
  815.                            "codeSystemVersionTag":null,
  816.                            "language":"it-IT",
  817.                            "valueSet":null,
  818.                            "valueSetVersionTag":null,
  819.                            "preferredText":"IGNOTO",
  820.                            "pickText":"IGNOTO"
  821.                         },
  822.                         "cityText":null,
  823.                         "area":null,
  824.                         "areaText":null,
  825.                         "zone":null,
  826.                         "zoneText":null,
  827.                         "parish":null,
  828.                         "parishText":null,
  829.                         "country":null,
  830.                         "countryText":null,
  831.                         "state":null,
  832.                         "stateText":null,
  833.                         "province":null,
  834.                         "provinceText":null,
  835.                         "zipCode":null,
  836.                         "healthTrust":null,
  837.                         "healthTrustText":null,
  838.                         "healthZone":null,
  839.                         "healthZoneText":null,
  840.                         "healthDistrict":null,
  841.                         "healthDistrictText":null,
  842.                         "note":null,
  843.                         "useablePeriod":null
  844.                      },
  845.                      "religionText":null,
  846.                      "language":{
  847.                         "code":"1",
  848.                         "codeSystem":"LANGUAGE",
  849.                         "codeSystemVersionTag":null,
  850.                         "language":"it-IT",
  851.                         "valueSet":null,
  852.                         "valueSetVersionTag":null,
  853.                         "preferredText":"Italiano",
  854.                         "pickText":"Italiano"
  855.                      },
  856.                      "languageText":null,
  857.                      "vipStatus":null,
  858.                      "vipStatusText":null,
  859.                      "archivedLegalName":null,
  860.                      "note":null
  861.                   },
  862.                   "verificationStatus":"VERIFIED",
  863.                   "status":{
  864.                      "code":"NEW",
  865.                      "codeSystem":"DM_PersonStatus",
  866.                      "codeSystemVersionTag":null,
  867.                      "language":"it-IT",
  868.                      "valueSet":null,
  869.                      "valueSetVersionTag":null,
  870.                      "preferredText":"Nuova persona, non ancora attivata.",
  871.                      "pickText":null
  872.                   }
  873.                }
  874.             },
  875.             "activationDate":null,
  876.             "admissionDate":1522879200000,
  877.             "completionDate":null,
  878.             "dischargeDate":null,
  879.             "scheduledAdmissionDate":null,
  880.             "scheduledAdmissionTime":null,
  881.             "consultantBindings":null,
  882.             "transferFrom":null
  883.          },
  884.          "position":1,
  885.          "serviceUnit":{
  886.             "metadata":{
  887.                "entityClassName":"com.noemalife.platform.dm.cim.organization.ServiceUnit",
  888.                "embeddable":false
  889.             },
  890.             "id":40002,
  891.             "version":0,
  892.             "creationDate":1523872773167,
  893.             "valid":true,
  894.             "names":[
  895.                {
  896.                   "id":40002,
  897.                   "version":0,
  898.                   "valid":true,
  899.                   "invalidationDate":null,
  900.                   "creationDate":1523872773361,
  901.                   "name":"Reparto Dev",
  902.                   "qualifier":{
  903.                      "code":"L",
  904.                      "codeSystem":"DM_EntityNameQualifier",
  905.                      "codeSystemVersionTag":"201503",
  906.                      "language":"it-IT",
  907.                      "valueSet":null,
  908.                      "valueSetVersionTag":null,
  909.                      "preferredText":"Nome legale",
  910.                      "pickText":null
  911.                   },
  912.                   "language":"it-IT",
  913.                   "position":0,
  914.                   "slogan":"null",
  915.                   "suffix":"null",
  916.                   "acronym":null
  917.                }
  918.             ],
  919.             "holder":{
  920.                "@type":"BusinessOrganization",
  921.                "id":40000,
  922.                "version":0,
  923.                "valid":true,
  924.                "invalidationDate":null,
  925.                "creationDate":1523872771195,
  926.                "qualifier":{
  927.                   "code":"Q",
  928.                   "codeSystem":"ATECO_SUBJECT",
  929.                   "codeSystemVersionTag":"1.0.0",
  930.                   "language":"it-IT",
  931.                   "valueSet":null,
  932.                   "valueSetVersionTag":null,
  933.                   "preferredText":"SANITA' E ASSISTENZA SOCIALE",
  934.                   "pickText":null
  935.                },
  936.                "status":{
  937.                   "code":"ACTIVE",
  938.                   "codeSystem":"DM_OrgStatus",
  939.                   "codeSystemVersionTag":"201503",
  940.                   "language":"it-IT",
  941.                   "valueSet":null,
  942.                   "valueSetVersionTag":null,
  943.                   "preferredText":"L'organizzazione è valida e attiva.",
  944.                   "pickText":null
  945.                },
  946.                "activityPeriod":{
  947.                   "lower":{
  948.                      "value":"1999-01-01"
  949.                   },
  950.                   "upper":{
  951.                      "value":"2999-12-31"
  952.                   }
  953.                },
  954.                "suspensionPeriod":null,
  955.                "ids":[
  956.                   {
  957.                      "id":40000,
  958.                      "version":0,
  959.                      "valid":true,
  960.                      "invalidationDate":null,
  961.                      "creationDate":1523872771448,
  962.                      "root":"ID_ROOT_ORG",
  963.                      "extension":"C4C-BU",
  964.                      "status":{
  965.                         "code":"ACTIVE",
  966.                         "codeSystem":"DM_IdentifierStatus",
  967.                         "codeSystemVersionTag":"201503",
  968.                         "language":"it-IT",
  969.                         "valueSet":null,
  970.                         "valueSetVersionTag":null,
  971.                         "preferredText":"L'uso dell'identificatore è attivo e valido.\n\t\t\t\t",
  972.                         "pickText":null
  973.                      },
  974.                      "interval":{
  975.                         "lower":{
  976.                            "value":"1999-01-01"
  977.                         },
  978.                         "upper":{
  979.                            "value":"2999-12-31"
  980.                         }
  981.                      },
  982.                      "facility":null
  983.                   }
  984.                ],
  985.                "addresses":null,
  986.                "phones":null,
  987.                "faxs":null,
  988.                "webSites":null,
  989.                "emails":null,
  990.                "legalName":{
  991.                   "id":40000,
  992.                   "version":0,
  993.                   "valid":true,
  994.                   "invalidationDate":null,
  995.                   "creationDate":1523872771616,
  996.                   "name":"Bu C4C",
  997.                   "suffix":null,
  998.                   "slogan":"Bu C4C",
  999.                   "acronym":null
  1000.                },
  1001.                "code":null,
  1002.                "note":null,
  1003.                "category":null,
  1004.                "administrativeType":null,
  1005.                "vatNumber":null
  1006.             }
  1007.          },
  1008.          "activityPeriodFrom":"1999-01-01T00:00",
  1009.          "activityPeriodTo":"2999-12-31T00:00",
  1010.          "locations":null,
  1011.          "actions":[
  1012.  
  1013.          ]
  1014.       }
  1015.    ],
  1016.    "queryControl":{
  1017.       "firstResult":0,
  1018.       "maxResults":8,
  1019.       "sortOrder":[
  1020.          {
  1021.             "sortElement":{
  1022.                "referenceType":"ATTRIBUTE",
  1023.                "referenceTarget":"locations.treatmentPlace.names.name"
  1024.             },
  1025.             "sortDirection":"ASC"
  1026.          },
  1027.          {
  1028.             "sortElement":{
  1029.                "referenceType":"ATTRIBUTE",
  1030.                "referenceTarget":"locations.bed.name"
  1031.             },
  1032.             "sortDirection":"ASC"
  1033.          },
  1034.          {
  1035.             "sortElement":{
  1036.                "referenceType":"ATTRIBUTE",
  1037.                "referenceTarget":"encounter.patient.person.names.surname"
  1038.             },
  1039.             "sortDirection":"DESC"
  1040.          }
  1041.       ]
  1042.    },
  1043.    "totalCount":2
  1044. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement