|
| 1 | +class docs: |
| 2 | + # Centralized namespace for all NPD API documentation content |
| 3 | + |
| 4 | + class constants: |
| 5 | + # Constant strings that appear throughout content building |
| 6 | + |
| 7 | + sort_order_text = "Default sort order: " |
| 8 | + |
| 9 | + class filters: |
| 10 | + # Help text for filter parameters, organized by FHIR resource |
| 11 | + |
| 12 | + class practitioner: |
| 13 | + name = ( |
| 14 | + "Filter by practitioner name (first, middle, last, or full name). " |
| 15 | + "Name filter accepts websearch syntax." |
| 16 | + ) |
| 17 | + gender = "Filter by practitioner gender" |
| 18 | + identifier = ( |
| 19 | + "Filter by practitioner identifier (NPI or other). Format: value or system|value" |
| 20 | + ) |
| 21 | + type = ( |
| 22 | + "Filter by practitioner type/taxonomy. " |
| 23 | + "Practitioner type filter accepts websearch syntax." |
| 24 | + ) |
| 25 | + |
| 26 | + class organization: |
| 27 | + name = "Filter by organization name" |
| 28 | + identifier = ( |
| 29 | + "Filter by organization identifier (NPI, EIN, or other). " |
| 30 | + "Format: value or system|value" |
| 31 | + ) |
| 32 | + type = "Filter by organization type/taxonomy" |
| 33 | + |
| 34 | + class location: |
| 35 | + name = "Filter by location name" |
| 36 | + near = ( |
| 37 | + "Filter by distance from a point expressed as " |
| 38 | + "[latitude]|[longitude]|[distance]|[units]. " |
| 39 | + "If no units are provided, km is assumed." |
| 40 | + ) |
| 41 | + |
| 42 | + class endpoint: |
| 43 | + name = "Filter by endpoint name" |
| 44 | + connection_type = "Filter by endpoint connection type" |
| 45 | + payload_type = "Filter by endpoint payload type" |
| 46 | + status = "Filter by endpoint status" |
| 47 | + |
| 48 | + class practitioner_role: |
| 49 | + active = "Filter by active status" |
| 50 | + role = "Filter by provider role code" |
| 51 | + specialty = "Filter by Nucc/Snomed specialty code" |
| 52 | + |
| 53 | + class address: |
| 54 | + full = "Filter by any part of address. Address filter accepts websearch syntax." |
| 55 | + city = "Filter by city name" |
| 56 | + state = "Filter by state (2-letter abbreviation)" |
| 57 | + postalcode = "Filter by postal code/zip code" |
| 58 | + use = "Filter by address use type" |
| 59 | + |
| 60 | + class endpoints: |
| 61 | + # Descriptions for API endpoints |
| 62 | + |
| 63 | + class practitioner: |
| 64 | + viewset = "ViewSet for FHIR Practitioner resources" |
| 65 | + list_description = ( |
| 66 | + "Query a list of healthcare providers, represented as a " |
| 67 | + "bundle of FHIR Practitioner resources" |
| 68 | + ) |
| 69 | + default_sort = "ascending last name, first name" |
| 70 | + retrieve_description = "Query a specific provider as a FHIR Practitioner resource" |
| 71 | + list_response = ( |
| 72 | + "Successfully retrieved FHIR Bundle resource of FHIR Practitioner resources" |
| 73 | + ) |
| 74 | + retrieve_response = "Successfully retrieved FHIR Practitioner resource" |
| 75 | + |
| 76 | + class practitioner_role: |
| 77 | + viewset = "ViewSet for FHIR PractitionerRole resources" |
| 78 | + list_description = ( |
| 79 | + "Query a list of relationships between providers, healthcare " |
| 80 | + "organizations, and practice locations, represented as a " |
| 81 | + "bundle of FHIR PractitionerRole resources" |
| 82 | + ) |
| 83 | + default_sort = "ascending by location name" |
| 84 | + retrieve_description = ( |
| 85 | + "Query a specific relationship between providers, healthcare " |
| 86 | + "organizations, and practice locations, represented as a " |
| 87 | + "FHIR PractitionerRole resource" |
| 88 | + ) |
| 89 | + list_response = ( |
| 90 | + "Successfully retrieved FHIR Bundle resource of FHIR PractitionerRole resources" |
| 91 | + ) |
| 92 | + retrieve_response = "Successfully retrieved FHIR PractitionerRole resource" |
| 93 | + |
| 94 | + class organization: |
| 95 | + viewset = "ViewSet for FHIR Organization resources" |
| 96 | + list_description = ( |
| 97 | + "Query a list of organizations, represented as a bundle " |
| 98 | + "of FHIR Organization resources" |
| 99 | + ) |
| 100 | + default_sort = "ascending by organization name" |
| 101 | + retrieve_description = ( |
| 102 | + "Query a specific organization, represented as a FHIR Organization resource" |
| 103 | + ) |
| 104 | + list_response = ( |
| 105 | + "Successfully retrieved FHIR Bundle resource of FHIR Organization resources" |
| 106 | + ) |
| 107 | + retrieve_response = "Successfully retrieved FHIR Organization resource" |
| 108 | + |
| 109 | + class organization_affiliation: |
| 110 | + viewset = "ViewSet for FHIR EHR Vendor to Organization relationships" |
| 111 | + list_description = ( |
| 112 | + "Query a list of EHR vendor to organization relationships, " |
| 113 | + "represented as a bundle of FHIR OrganizationAffiliation " |
| 114 | + "resources" |
| 115 | + ) |
| 116 | + default_sort = "ascending by organization name" |
| 117 | + retrieve_description = ( |
| 118 | + "Query a specific EHR vendor to organization relationship, " |
| 119 | + "represented as a FHIR OrganizationAffiliation resource" |
| 120 | + ) |
| 121 | + list_response = ( |
| 122 | + "Successfully retrieved FHIR Bundle resource of " |
| 123 | + "FHIR OrganizationAffiliation resources" |
| 124 | + ) |
| 125 | + retrieve_response = "Successfully retrieved FHIR OrganizationAffiliation resource" |
| 126 | + |
| 127 | + class location: |
| 128 | + viewset = "ViewSet for FHIR Location resources" |
| 129 | + list_description = ( |
| 130 | + "Query a list of healthcare practice locations, represented " |
| 131 | + "as a bundle of FHIR Location resources" |
| 132 | + ) |
| 133 | + default_sort = "ascending by location name" |
| 134 | + retrieve_description = ( |
| 135 | + "Query a specific healthcare practice location as a FHIR Location resource" |
| 136 | + ) |
| 137 | + list_response = "Successfully retrieved FHIR Bundle resource of FHIR Location resources" |
| 138 | + retrieve_response = "Successfully retrieved FHIR Location resource" |
| 139 | + |
| 140 | + class endpoint: |
| 141 | + viewset = "ViewSet for FHIR Endpoint resources" |
| 142 | + list_description = ( |
| 143 | + "Query a list of interoperability endpoints, represented " |
| 144 | + "as a bundle of FHIR Endpoint resources" |
| 145 | + ) |
| 146 | + default_sort = "ascending by endpoint instance name" |
| 147 | + retrieve_description = "Query a specific endpoint as a FHIR Endpoint resource" |
| 148 | + list_response = "Successfully retrieved FHIR Bundle resource of FHIR Endpoint resources" |
| 149 | + retrieve_response = "Successfully retrieved FHIR Endpoint resource" |
| 150 | + |
| 151 | + class capability_statement: |
| 152 | + viewset = "ViewSet for FHIR CapabilityStatement resource" |
| 153 | + get_description = ( |
| 154 | + "Query metadata about this FHIR instance, represented as " |
| 155 | + "FHIR CapabilityStatement resource" |
| 156 | + ) |
| 157 | + get_response = "Successfully retrieved FHIR CapabilityStatement resource" |
0 commit comments