1818 - [DR - V1.0 ]()
1919
2020 Code directory links:
21- - [DisabilityAreaEnum]()
22- - [DisabilityTypeEnum]()
23- - [Functional Limitation Type](https://standards.spdci.org/standards/standards-for-interoperability-interfaces/common-standards-for-interoperability-interfaces/data/code-directory/cd.com.11-functional_limitation_type)
24- - [Functional Severity](https://standards.spdci.org/standards/standards-for-interoperability-interfaces/common-standards-for-interoperability-interfaces/data/code-directory/cd.com.12-functional_severity)
25- - [Occupation](https://standards.spdci.org/standards/v/wip-social-registry-v1.0.0/social-registry/1.-crvs/data/code-directory/cd.sr.04-occupation)
26-
27- Data Objects:
28- - [Member](https://standards.spdci.org/standards/v/wip-social-registry-v1.0.0/social-registry/1.-crvs/data/data-objects/do.sr.03-member)
29- - [DisabilityInfo]()
30- - [TreatingHospital]()
21+ -
3122
3223 Each request is build up of three parts
3324 - signature
@@ -501,11 +492,11 @@ paths:
501492 security :
502493 - Authorization : []
503494 deprecated : false
504- /registry/sync/get-disability-info :
495+ /registry/sync/get-disability-support :
505496 post :
506- summary : /registry/sync/get-disability-info
497+ summary : /registry/sync/get-disability-support
507498 description : check if member is registered as disabled
508- operationId : post_reg_get_disability_info
499+ operationId : post_reg_get_disability_support
509500 tags :
510501 - Sync
511502 requestBody :
@@ -529,7 +520,7 @@ paths:
529520 type : object
530521 description : The search data using which registry search to be performed
531522 oneOf :
532- - $ref : ' #/components/schemas/GetDisabilityInfoRequest '
523+ - $ref : ' #/components/schemas/GetDisabilitySupportRequest '
533524 - $ref : ' #/components/schemas/EncryptedMessage'
534525 required :
535526 - header
@@ -550,7 +541,28 @@ paths:
550541 ' 500 ' :
551542 $ref : ' #/components/responses/HttpErrorResponse'
552543 default :
553- $ref : ' #/components/schemas/GetDisabilityInfoResponse'
544+ description : support response
545+ content :
546+ application/json :
547+ schema :
548+ type : object
549+ properties :
550+ signature :
551+ $ref : ' #/components/schemas/MsgSignature'
552+ header :
553+ allOf :
554+ - $ref : ' #/components/schemas/MsgCallbackHeader_V1.0.0'
555+ - properties :
556+ action :
557+ enum :
558+ - on-search
559+ message :
560+ type : object
561+ oneOf :
562+ - $ref : ' #/components/schemas/GetDisabilitySupportResponse'
563+ - $ref : ' #/components/schemas/EncryptedMessage'
564+ required :
565+ - header
554566 deprecated : false
555567 /registry/sync/disabled :
556568 post :
@@ -601,7 +613,28 @@ paths:
601613 ' 500 ' :
602614 $ref : ' #/components/responses/HttpErrorResponse'
603615 default :
604- $ref : ' #/components/schemas/DisabledResponse'
616+ description : support response
617+ content :
618+ application/json :
619+ schema :
620+ type : object
621+ properties :
622+ signature :
623+ $ref : ' #/components/schemas/MsgSignature'
624+ header :
625+ allOf :
626+ - $ref : ' #/components/schemas/MsgCallbackHeader_V1.0.0'
627+ - properties :
628+ action :
629+ enum :
630+ - on-search
631+ message :
632+ type : object
633+ oneOf :
634+ - $ref : ' #/components/schemas/DisabledResponse'
635+ - $ref : ' #/components/schemas/EncryptedMessage'
636+ required :
637+ - header
605638 deprecated : false
606639components :
607640 schemas :
@@ -914,36 +947,7 @@ components:
914947 1. Implementing systems can define schemas.
915948 2. Based on context, pre defined named queries can also help as part of ExpTemplate construct.
916949 oneOf :
917- - type : object
918- description : Identifier type and value object
919- properties :
920- type :
921- type : string
922- description : |
923- @context: https://schema.spdci.org/common/v1/QueryTypeEnum.jsonld <br>
924- @type: "QueryType" <br>
925-
926- **Notes:**
927- 1. Query types that helps decode query expressions
928- 2. Sample query type enums: "GraphQl", "Sql", "NoSql"
929- example : ' ns:org:QueryType:NoSql'
930- value :
931- type : object
932- description : |
933- @context: https://schema.spdci.org/common/v1/QueryExpression.jsonld <br>
934- @type: "QueryExpression" <br>
935-
936- **Notes:**
937- 1. Query expression's syntax / format is determined based on query-type.
938- 2. Query expression as a template with placeholder to pass conditional search parameters
939- example :
940- expression :
941- query :
942- $and :
943- - member.disabled :
944- $eq : true
945- - location :
946- $eq : central_region
950+ - $ref : ' #/components/schemas/ExpTemplate'
947951 - $ref : ' #/components/schemas/IdentifierTypeValue'
948952 - $ref : ' #/components/schemas/ExpPredicateWithConditionList'
949953 NotifyEventRequest :
@@ -1345,63 +1349,27 @@ components:
13451349 @context: https://schema.spdci.org/extensions/dr/v1/DisabledPerson.jsonld <br>
13461350 @type: "@context" <br>
13471351 example :
1348- ' @context ' :
1349- spdci : ' https://schema.spdci.org/extensions/dr/v1/'
1350- social : ' https://schema.spdci.org/extensions/social/v1/'
1351- rdfs : ' http://www.w3.org/2000/01/rdf-schema#'
1352- xsd : ' http://www.w3.org/2001/XMLSchema#'
1353- owl : ' http://www.w3.org/2002/07/owl#'
1354- common : ' https://schema.spdci.org/common/v1/'
1355- ' @id ' : ' https://example.org/disabled/123456789'
1356- ' @type ' : ' spdci:disabled'
1357- ' spdci:member ' :
1358- ' @type ' : ' social:Member'
1359- ' spdci:member_identifier ' : M123456789
1360- ' spdci:name ' :
1361- - ' @type ' : ' common:Name'
1362- surname : Doe
1363- given_name : John
1364- prefix : Mr.
1365- ' spdci:sex ' : male
1366- ' spdci:birth_date ' : ' 1990-04-12T00:00'
1367- ' spdci:is_disabled ' : true
1368- ' spdci:disability_info ' :
1369- - disability_classification : D
1370- disability_by_birth : false
1371- disabled_since : ' 2010-05-12'
1372- disability_area : D4
1373- treatment :
1374- treating_doctor :
1375- identifier_type : NID
1376- identifier_value : ' 0205202401'
1377- name :
1378- first_name : Jhon
1379- second_name : ' '
1380- surname : Doe
1381- sex : M
1382- birth_date : ' 1980-04-12T00:00'
1383- death_date : ' '
1384- address : {}
1385- phone_number : ' '
1386- email : ' '
1387- treatment_status : ongoing
1388- treatment_start_date : Sangamon
1389- treating_hospital_in_other_state : false
1390- disability_due_to : Accident
1391- disability_limitation_type : d450
1392- functional_severity : Moderate
1393- ' spdci:care_giver ' :
1394- ' @type ' : ' social:Person'
1395- ' spdci:identifier ' :
1396- - ' @type ' : ' common:Identifier'
1397- identifier_type : NationalID
1398- identifier_value : ' 987654321'
1399- ' spdci:name ' :
1400- - ' @type ' : ' common:Name'
1401- surname : Smith
1402- given_name : Alice
1403- prefix : Ms.
1404- ' spdci:relationship_type ' : parent
1352+ personal_details :
1353+ identifier : ' 123456'
1354+ name :
1355+ first_name : John
1356+ last_name : Doe
1357+ date_of_birth : ' 1990-05-15'
1358+ gender : Male
1359+ disability_status : Approved
1360+ disability_details :
1361+ - impairment_type : Physical
1362+ impairment_level : Severe
1363+ impairment_cause : Accident
1364+ age_on_set : Working age
1365+ disability_support :
1366+ - support_needed : Needed
1367+ support_type : Personal Assistant
1368+ support_intensity : High
1369+ transport_requirement : Adaptable vehical
1370+ housing_type : Social housing
1371+ registration_date : ' 2023-01-10T00:00:00Z'
1372+ last_updated : ' 2023-09-20T00:00:00Z'
14051373 required :
14061374 - reg_record_type
14071375 - reg_records
@@ -1731,7 +1699,7 @@ components:
17311699 - rjct.subscription_code.invalid
17321700 - rjct.requester.invalid
17331701 - rjct.event.already_unsubscribed
1734- GetDisabilityInfoRequest :
1702+ GetDisabilitySupportRequest :
17351703 type : object
17361704 description : gets all disabilities information about a member
17371705 properties :
@@ -1742,7 +1710,7 @@ components:
17421710 required :
17431711 - transaction_id
17441712 - disabled_criteria
1745- GetDisabilityInfoResponse :
1713+ GetDisabilitySupportResponse :
17461714 type : object
17471715 description : Response to search request. Multiple repsonses for each page can be pushed to the caller as an implementation!
17481716 properties :
@@ -1789,19 +1757,28 @@ components:
17891757 @context: https://schema.spdci.org/extensions/dr/v1/DisabledPerson.jsonld <br>
17901758 @type: "@context" <br>
17911759 example :
1792- - disability_type : Visual
1793- disability_by_birth : false
1794- disabled_since : ' 2010-05-12'
1795- disability_area : Vision
1796- hospital :
1797- name : Central Eye Hospital
1798- state : Illinois
1799- district : Sangamon
1800- department : Ophthalmology
1801- treating_hospital_in_other_state : false
1802- disability_due_to : Accident
1803- disability_limitation_type : Partial
1804- functional_severity : Moderate
1760+ - id : DisabilitySupport_001
1761+ type : DisabilitySupport
1762+ label : DR_Person
1763+ human_assistance :
1764+ - id : HumanAssistance_001
1765+ type : HumanAssistance
1766+ assistance_type : Basic Activity
1767+ intensity : Daily
1768+ support_status : Needed
1769+ caregiver :
1770+ id : Person_001
1771+ name : John Doe
1772+ identifier : ' 12345'
1773+ relationship : Parent
1774+ registration_date : ' 2024-01-15T10:00:00Z'
1775+ last_updated : ' 2024-09-20T12:30:00Z'
1776+ assistive_technology : []
1777+ housing_support : []
1778+ medical_care : []
1779+ animal_assistance : []
1780+ registration_date : ' 2023-05-20T09:00:00Z'
1781+ last_updated : ' 2024-10-01T11:15:00Z'
18051782 required :
18061783 - reg_records
18071784 pagination :
@@ -2150,8 +2127,8 @@ components:
21502127 expression :
21512128 query :
21522129 $and :
2153- - member.disabled :
2154- $eq : true
2130+ - disability_status :
2131+ $eq : Approved
21552132 - location :
21562133 $eq : central_region
21572134 FileInfo :
0 commit comments