Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI Navigation page -> Patients tab : Update patient fails if any attribute with "required" or "multi" in patient.iod.json is being added/updated #2331

Closed
vrindanayak opened this issue Dec 18, 2019 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@vrindanayak
Copy link
Member

  • For Internal archive (DCM4CHEE_ARC_AET Web Service Class) and external archive (PAM Web Service Class) : Any attribute with multi in patient.iod.json fails to be added/updated
    Request Payload
{
   "77770010":{
      "vr":"LO",
      "Value":[
         "DCM4CHEE Archive 5"
      ]
   },
   "77771010":{
      "vr":"DT",
      "Value":[
         "20191218163422.701"
      ]
   },
   "77771011":{
      "vr":"DT",
      "Value":[
         "20191218165213.649"
      ]
   },
   "00081190":{
      "vr":"UR",
      "Value":[
         "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs"
      ]
   },
   "00100010":{
      "vr":"PN",
      "Value":[
         {
            "Alphabetic":"PRITCHET^LAURIE"
         }
      ]
   },
   "00100020":{
      "vr":"LO",
      "Value":[
         "ALGO00003"
      ]
   },
   "00100030":{
      "vr":"DA",
      "Value":[
         "19140527"
      ]
   },
   "00100040":{
      "vr":"CS",
      "Value":[
         "F"
      ]
   },
   "00201200":{
      "vr":"IS",
      "Value":[
         2
      ]
   },
   "00101001":{
      "vr":"PN",
      "multi":true,
      "Value":[
         {
            "Alphabetic":"testOther"
         }
      ]
   }
}

Response

{"errorMessage":"Unexpected "multi", expected "Value" or "InlineBinary" or "BulkDataURI" or  "DataFragment" at location : (line no=1, column no=507, offset=506)"}
  • For external archive (PAM Web Service Class) ; Any attribute with required in patient.iod.json fails to be added/updated
    Request Payload
{
   "77770010":{
      "vr":"LO",
      "Value":[
         "DCM4CHEE Archive 5"
      ]
   },
   "77771010":{
      "vr":"DT",
      "Value":[
         "20191218170840.515"
      ]
   },
   "77771011":{
      "vr":"DT",
      "Value":[
         "20191218170840.515"
      ]
   },
   "00080005":{
      "vr":"CS",
      "Value":[
         "ISO_IR 100"
      ]
   },
   "00081190":{
      "vr":"UR",
      "Value":[
         "http://localhost:8880/dcm4chee-arc/aets/DCM4CHEE_CLONE/rs"
      ]
   },
   "00100020":{
      "vr":"LO",
      "Value":[
         "PID893444"
      ]
   },
   "00201200":{
      "vr":"IS",
      "Value":[
         0
      ]
   },
   "00100040":{
      "vr":"CS",
      "required":2,
      "Value":[
         "F"
      ]
   }
}

Response

{"errorMessage":"Unexpected "required", expected "Value" or "InlineBinary" or "BulkDataURI" or  "DataFragment" at location : (line no=1, column no=415, offset=414)"}
@vrindanayak vrindanayak added the bug Something isn't working label Dec 18, 2019
@vrindanayak vrindanayak added this to the 5.20.0 milestone Dec 18, 2019
@gunterze gunterze modified the milestones: 5.20.0, 5.20.1 Dec 20, 2019
shral added a commit that referenced this issue Jan 21, 2020
…ibute with required or multi in patient.iod.json is being added/updated #2331
@shral shral closed this as completed Jan 21, 2020
@vrindanayak vrindanayak reopened this Jul 5, 2021
@vrindanayak
Copy link
Member Author

Issue still exists on :

  • Create new patient : Add Issuer of Patient ID Qualifiers Sequence attributes
  • Update existing patient : Add Issuer of Patient ID Qualifiers Sequence attributes

@vrindanayak vrindanayak modified the milestones: 5.21.0, 5.24.0 Jul 5, 2021
@gunterze gunterze modified the milestones: 5.24.0, 5.24.1 Aug 6, 2021
@gunterze gunterze modified the milestones: 5.24.1, 5.24.2 Sep 15, 2021
shral added a commit that referenced this issue Sep 16, 2021
…ibute with required or multi in patient.iod.json is being added/updated #2331
@shral shral closed this as completed Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants