{"action":"created","comment":{"url":"https://api.github.com/repos/NextechSystems/selectapidocspub/pulls/comments/167740381","pull_request_review_id":96003487,"id":167740381,"diff_hunk":"@@ -1379,8 +1379,216 @@ GET https://select.nextech-api.com/api/Patient/ad2085b5-b974-401d-bfcb-3b865109f\n \n ## Payment Reconciliation\n \n-_Coming soon..._\n+### Overview\n+The PaymentReconciliation resource is used in a POST command to post a single payment to an existing patient.\n+\n+### Fields\n+| Name | Description | Type | Initial Version |\n+| ---- | ----------- | ---- | --------------- |\n+| requestProvider | The responsible practitioner | [Reference(Practitioner)](https://www.hl7.org/fhir/references.html#Reference) | _12.8_ |\n+| total | The payment amount | [Money](https://www.hl7.org/fhir/datatypes.html#Money) | _12.8_ |\n+| processNote | The payment description. If multiple processNotes are supplied, they will be joined together and separated by spaces. The description will be truncated to 255 characters. | [string](https://www.hl7.org/fhir/datatypes.html#string) | _12.8_ |\n+| extension: payment-method | The payment method. This may be one of the following values: Cash, Check, Charge | [string](https://www.hl7.org/fhir/datatypes.html#string)  | _12.8_ |\n+| extension: payment-date | The payment date (in UTC). This is a formatted date string in the form yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss.fffZ  | [string](https://www.hl7.org/fhir/datatypes.html#string)  | _12.8_ |\n+| extension: effective-date | The payment input date (in UTC). This is a formatted date string in the form yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss.fffZ  | [string](https://www.hl7.org/fhir/datatypes.html#string)  | _12.8_ |\n+| extension: deposited-date | The payment deposit date (in UTC). This is a formatted date string in the form yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss.fffZ  | [string](https://www.hl7.org/fhir/datatypes.html#string)  | _12.8_ |\n+| extension: payment-category | The payment category. This must match an option in the Category dropdown of the Payment window in Nextech Practice | [string](https://www.hl7.org/fhir/datatypes.html#string)  | _12.8_ |\n+| extension: creditcard-type | The payment credit card type. This must match an option in the Credit Card dropdown of the Payment window in Nextech Practice | [string](https://www.hl7.org/fhir/datatypes.html#string) | _12.8_ |\n+| extension: check-number | The payment check number. The check number will be truncated to 50 characters. | [string](https://www.hl7.org/fhir/datatypes.html#string) | _12.8_ |\n+| extension: location | The payment location reference | [Reference(Location)](https://www.hl7.org/fhir/references.html#Reference) | _12.8_ |\n+| extension: apply-payment | Apply the payment to the patient's resposibility charges with a balance from oldest charge date to newest  | [boolean](https://www.hl7.org/fhir/datatypes.html#boolean) | _12.8_ |\n+\n+### Example","path":"source/includes/_patient.md","position":24,"original_position":24,"commit_id":"c06527c5d6f8aac3c282c54a231e30c8c8f8723a","original_commit_id":"c06527c5d6f8aac3c282c54a231e30c8c8f8723a","user":{"login":"dustinlange","id":6344762,"avatar_url":"https://avatars2.githubusercontent.com/u/6344762?v=4","gravatar_id":"","url":"https://api.github.com/users/dustinlange","html_url":"https://github.com/dustinlange","followers_url":"https://api.github.com/users/dustinlange/followers","following_url":"https://api.github.com/users/dustinlange/following{/other_user}","gists_url":"https://api.github.com/users/dustinlange/gists{/gist_id}","starred_url":"https://api.github.com/users/dustinlange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dustinlange/subscriptions","organizations_url":"https://api.github.com/users/dustinlange/orgs","repos_url":"https://api.github.com/users/dustinlange/repos","events_url":"https://api.github.com/users/dustinlange/events{/privacy}","received_events_url":"https://api.github.com/users/dustinlange/received_events","type":"User","site_admin":false},"body":"This example doesn't match the response I'm getting back from a POST.  See my example below:\r\n\r\n```{\r\n    \"resourceType\": \"PaymentReconciliation\",\r\n    \"extension\": [\r\n        {\r\n            \"url\": \"http://hl7.org/fhir/StructureDefinition/Patient\",\r\n            \"valueResourceReference\": {\r\n                \"reference\": \"Patient/d916ecde-51e9-4681-8e8c-fe255ff82144\",\r\n                \"display\": \"Arnold, Colm M\"\r\n            }\r\n        },\r\n        {\r\n            \"url\": \"http://hl7.org/fhir/StructureDefinition/Location\",\r\n            \"valueResourceReference\": {\r\n                \"reference\": \"Location/1\",\r\n                \"display\": \"NexTech Dermatology\"\r\n            }\r\n        },\r\n        {\r\n            \"url\": \"https://select.nextech-api.com/api/structuredefinition/payment-date\",\r\n            \"valueDateTime\": \"2018-02-01T13:36:25.150Z\"\r\n        },\r\n        {\r\n            \"url\": \"https://select.nextech-api.com/api/structuredefinition/effective-date\",\r\n            \"valueDateTime\": \"2018-02-02T05:00:00.000Z\"\r\n        },\r\n        {\r\n            \"url\": \"https://select.nextech-api.com/api/structuredefinition/deposited-date\",\r\n            \"valueDateTime\": \"2018-02-08T05:00:00.000Z\"\r\n        },\r\n        {\r\n            \"url\": \"https://select.nextech-api.com/api/structuredefinition/payment-method\",\r\n            \"valueString\": \"Charge\"\r\n        },\r\n        {\r\n            \"url\": \"https://select.nextech-api.com/api/structuredefinition/payment-category\",\r\n            \"valueString\": \"PP - Patient Payment\"\r\n        },\r\n        {\r\n            \"url\": \"https://select.nextech-api.com/api/structuredefinition/creditcard-type\",\r\n            \"valueString\": \"Visa\"\r\n        }\r\n    ],\r\n    \"requestProvider\": {\r\n        \"reference\": \"Practitioner/9323\",\r\n        \"display\": \"Walters, Sherri\"\r\n    },\r\n    \"total\": {\r\n        \"value\": 50\r\n    },\r\n    \"processNote\": [\r\n        {\r\n            \"type\": {\r\n                \"coding\": [\r\n                    {\r\n                        \"system\": \"NoteType\",\r\n                        \"code\": \"display\"\r\n                    }\r\n                ]\r\n            },\r\n            \"text\": \"Patient payment via check - Thank You\"\r\n        }\r\n    ]\r\n}\r\n```","created_at":"2018-02-13T01:42:00Z","updated_at":"2018-02-13T01:42:55Z","html_url":"https://github.com/NextechSystems/selectapidocspub/pull/31#discussion_r167740381","pull_request_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/pulls/31","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/NextechSystems/selectapidocspub/pulls/comments/167740381"},"html":{"href":"https://github.com/NextechSystems/selectapidocspub/pull/31#discussion_r167740381"},"pull_request":{"href":"https://api.github.com/repos/NextechSystems/selectapidocspub/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/NextechSystems/selectapidocspub/pulls/31","id":167491696,"html_url":"https://github.com/NextechSystems/selectapidocspub/pull/31","diff_url":"https://github.com/NextechSystems/selectapidocspub/pull/31.diff","patch_url":"https://github.com/NextechSystems/selectapidocspub/pull/31.patch","issue_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/issues/31","number":31,"state":"open","locked":false,"title":"NX-112229-Payment Extension Rework","user":{"login":"stullis","id":6405719,"avatar_url":"https://avatars0.githubusercontent.com/u/6405719?v=4","gravatar_id":"","url":"https://api.github.com/users/stullis","html_url":"https://github.com/stullis","followers_url":"https://api.github.com/users/stullis/followers","following_url":"https://api.github.com/users/stullis/following{/other_user}","gists_url":"https://api.github.com/users/stullis/gists{/gist_id}","starred_url":"https://api.github.com/users/stullis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stullis/subscriptions","organizations_url":"https://api.github.com/users/stullis/orgs","repos_url":"https://api.github.com/users/stullis/repos","events_url":"https://api.github.com/users/stullis/events{/privacy}","received_events_url":"https://api.github.com/users/stullis/received_events","type":"User","site_admin":false},"body":"@dustinlange ","created_at":"2018-02-06T18:19:48Z","updated_at":"2018-02-13T01:42:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ebb9f726cd8a311608e4e4eb2400e20b2d8a5749","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/pulls/31/commits","review_comments_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/pulls/31/comments","review_comment_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/issues/31/comments","statuses_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/statuses/c06527c5d6f8aac3c282c54a231e30c8c8f8723a","head":{"label":"stullis:Nx-112229-PaymentExtensionRework","ref":"Nx-112229-PaymentExtensionRework","sha":"c06527c5d6f8aac3c282c54a231e30c8c8f8723a","user":{"login":"stullis","id":6405719,"avatar_url":"https://avatars0.githubusercontent.com/u/6405719?v=4","gravatar_id":"","url":"https://api.github.com/users/stullis","html_url":"https://github.com/stullis","followers_url":"https://api.github.com/users/stullis/followers","following_url":"https://api.github.com/users/stullis/following{/other_user}","gists_url":"https://api.github.com/users/stullis/gists{/gist_id}","starred_url":"https://api.github.com/users/stullis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stullis/subscriptions","organizations_url":"https://api.github.com/users/stullis/orgs","repos_url":"https://api.github.com/users/stullis/repos","events_url":"https://api.github.com/users/stullis/events{/privacy}","received_events_url":"https://api.github.com/users/stullis/received_events","type":"User","site_admin":false},"repo":{"id":112249200,"name":"selectapidocspub","full_name":"stullis/selectapidocspub","owner":{"login":"stullis","id":6405719,"avatar_url":"https://avatars0.githubusercontent.com/u/6405719?v=4","gravatar_id":"","url":"https://api.github.com/users/stullis","html_url":"https://github.com/stullis","followers_url":"https://api.github.com/users/stullis/followers","following_url":"https://api.github.com/users/stullis/following{/other_user}","gists_url":"https://api.github.com/users/stullis/gists{/gist_id}","starred_url":"https://api.github.com/users/stullis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stullis/subscriptions","organizations_url":"https://api.github.com/users/stullis/orgs","repos_url":"https://api.github.com/users/stullis/repos","events_url":"https://api.github.com/users/stullis/events{/privacy}","received_events_url":"https://api.github.com/users/stullis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stullis/selectapidocspub","description":null,"fork":true,"url":"https://api.github.com/repos/stullis/selectapidocspub","forks_url":"https://api.github.com/repos/stullis/selectapidocspub/forks","keys_url":"https://api.github.com/repos/stullis/selectapidocspub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stullis/selectapidocspub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stullis/selectapidocspub/teams","hooks_url":"https://api.github.com/repos/stullis/selectapidocspub/hooks","issue_events_url":"https://api.github.com/repos/stullis/selectapidocspub/issues/events{/number}","events_url":"https://api.github.com/repos/stullis/selectapidocspub/events","assignees_url":"https://api.github.com/repos/stullis/selectapidocspub/assignees{/user}","branches_url":"https://api.github.com/repos/stullis/selectapidocspub/branches{/branch}","tags_url":"https://api.github.com/repos/stullis/selectapidocspub/tags","blobs_url":"https://api.github.com/repos/stullis/selectapidocspub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stullis/selectapidocspub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stullis/selectapidocspub/git/refs{/sha}","trees_url":"https://api.github.com/repos/stullis/selectapidocspub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stullis/selectapidocspub/statuses/{sha}","languages_url":"https://api.github.com/repos/stullis/selectapidocspub/languages","stargazers_url":"https://api.github.com/repos/stullis/selectapidocspub/stargazers","contributors_url":"https://api.github.com/repos/stullis/selectapidocspub/contributors","subscribers_url":"https://api.github.com/repos/stullis/selectapidocspub/subscribers","subscription_url":"https://api.github.com/repos/stullis/selectapidocspub/subscription","commits_url":"https://api.github.com/repos/stullis/selectapidocspub/commits{/sha}","git_commits_url":"https://api.github.com/repos/stullis/selectapidocspub/git/commits{/sha}","comments_url":"https://api.github.com/repos/stullis/selectapidocspub/comments{/number}","issue_comment_url":"https://api.github.com/repos/stullis/selectapidocspub/issues/comments{/number}","contents_url":"https://api.github.com/repos/stullis/selectapidocspub/contents/{+path}","compare_url":"https://api.github.com/repos/stullis/selectapidocspub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stullis/selectapidocspub/merges","archive_url":"https://api.github.com/repos/stullis/selectapidocspub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stullis/selectapidocspub/downloads","issues_url":"https://api.github.com/repos/stullis/selectapidocspub/issues{/number}","pulls_url":"https://api.github.com/repos/stullis/selectapidocspub/pulls{/number}","milestones_url":"https://api.github.com/repos/stullis/selectapidocspub/milestones{/number}","notifications_url":"https://api.github.com/repos/stullis/selectapidocspub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stullis/selectapidocspub/labels{/name}","releases_url":"https://api.github.com/repos/stullis/selectapidocspub/releases{/id}","deployments_url":"https://api.github.com/repos/stullis/selectapidocspub/deployments","created_at":"2017-11-27T21:11:58Z","updated_at":"2017-11-27T21:11:59Z","pushed_at":"2018-02-12T17:53:02Z","git_url":"git://github.com/stullis/selectapidocspub.git","ssh_url":"git@github.com:stullis/selectapidocspub.git","clone_url":"https://github.com/stullis/selectapidocspub.git","svn_url":"https://github.com/stullis/selectapidocspub","homepage":null,"size":345,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NextechSystems:master","ref":"master","sha":"6022d43a8694c920c89470c7725d5cc844e3b299","user":{"login":"NextechSystems","id":31670490,"avatar_url":"https://avatars1.githubusercontent.com/u/31670490?v=4","gravatar_id":"","url":"https://api.github.com/users/NextechSystems","html_url":"https://github.com/NextechSystems","followers_url":"https://api.github.com/users/NextechSystems/followers","following_url":"https://api.github.com/users/NextechSystems/following{/other_user}","gists_url":"https://api.github.com/users/NextechSystems/gists{/gist_id}","starred_url":"https://api.github.com/users/NextechSystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NextechSystems/subscriptions","organizations_url":"https://api.github.com/users/NextechSystems/orgs","repos_url":"https://api.github.com/users/NextechSystems/repos","events_url":"https://api.github.com/users/NextechSystems/events{/privacy}","received_events_url":"https://api.github.com/users/NextechSystems/received_events","type":"Organization","site_admin":false},"repo":{"id":102738571,"name":"selectapidocspub","full_name":"NextechSystems/selectapidocspub","owner":{"login":"NextechSystems","id":31670490,"avatar_url":"https://avatars1.githubusercontent.com/u/31670490?v=4","gravatar_id":"","url":"https://api.github.com/users/NextechSystems","html_url":"https://github.com/NextechSystems","followers_url":"https://api.github.com/users/NextechSystems/followers","following_url":"https://api.github.com/users/NextechSystems/following{/other_user}","gists_url":"https://api.github.com/users/NextechSystems/gists{/gist_id}","starred_url":"https://api.github.com/users/NextechSystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NextechSystems/subscriptions","organizations_url":"https://api.github.com/users/NextechSystems/orgs","repos_url":"https://api.github.com/users/NextechSystems/repos","events_url":"https://api.github.com/users/NextechSystems/events{/privacy}","received_events_url":"https://api.github.com/users/NextechSystems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NextechSystems/selectapidocspub","description":null,"fork":false,"url":"https://api.github.com/repos/NextechSystems/selectapidocspub","forks_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/forks","keys_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/teams","hooks_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/hooks","issue_events_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/issues/events{/number}","events_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/events","assignees_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/assignees{/user}","branches_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/branches{/branch}","tags_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/tags","blobs_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/git/refs{/sha}","trees_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/statuses/{sha}","languages_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/languages","stargazers_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/stargazers","contributors_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/contributors","subscribers_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/subscribers","subscription_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/subscription","commits_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/commits{/sha}","git_commits_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/git/commits{/sha}","comments_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/comments{/number}","issue_comment_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/issues/comments{/number}","contents_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/contents/{+path}","compare_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/merges","archive_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/downloads","issues_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/issues{/number}","pulls_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/pulls{/number}","milestones_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/milestones{/number}","notifications_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/labels{/name}","releases_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/releases{/id}","deployments_url":"https://api.github.com/repos/NextechSystems/selectapidocspub/deployments","created_at":"2017-09-07T13:12:34Z","updated_at":"2017-09-20T16:10:45Z","pushed_at":"2018-02-12T17:53:03Z","git_url":"git://github.com/NextechSystems/selectapidocspub.git","ssh_url":"git@github.com:NextechSystems/selectapidocspub.git","clone_url":"https://github.com/NextechSystems/selectapidocspub.git","svn_url":"https://github.com/NextechSystems/selectapidocspub","homepage":null,"size":364,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":6,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NextechSystems/selectapidocspub/pulls/31"},"html":{"href":"https://github.com/NextechSystems/selectapidocspub/pull/31"},"issue":{"href":"https://api.github.com/repos/NextechSystems/selectapidocspub/issues/31"},"comments":{"href":"https://api.github.com/repos/NextechSystems/selectapidocspub/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/NextechSystems/selectapidocspub/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/NextechSystems/selectapidocspub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NextechSystems/selectapidocspub/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/NextechSystems/selectapidocspub/statuses/c06527c5d6f8aac3c282c54a231e30c8c8f8723a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dustinlange"}}