Hi Davis,
thank you for your input.
SendChagres
Reference -
https://fhir.cerner.com/millennium/r4/financial/general/charge-item/#operation-charge-item-createhttps://www.hl7.org/fhir/chargeitem.htmlThis call is supposed to ping this endpoint - POST /ChargeItem/:id/$create
But according to the CERNER documents, the resourceType must be Parameters
The Create call in FHIR - TResource Create<TResource>(TResource resource) where TResource : Resource - TResource must be of the same type as ResourceType.
If this call needs to succeed, the resourceType needs to change from Parameters to
ChargeItem.
The FHIR Client follows FHIR standards, so I cannot force the FHIR Client to create a ChargeItem using a Parameter body. When attempting to do so, the FHIR Client will view this as a request to create a Parameter object and not a ChargeItem and the FHIR Client will change the request URL accordingly.
When I do that, the request hits this endpoint -
Request
POST
https://fhir-ehr.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/ChargeItem HTTP/1.1
User-Agent: .NET FhirClient for FHIR 4.0.1
Accept: application/fhir+json; charset=utf-8; fhirVersion=4.0
Authorization: Bearer eyJraWQiOiIyMDIyLTEyLTIwVDIxOjQ0OjMzLjU1OC5lYyIsInR5cCI6IkpXVCIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwczpcL1wvYXV0aG9yaXphdGlvbi5jZXJuZXIuY29tXC8iLCJleHAiOjE2NzE3MjQzODgsImlhdCI6MTY3MTcyMzc4OCwianRpIjoiNWI0YzdjMzYtMGVkOC00NTMzLTllNGEtY2EwODFmZTU5N2IxIiwidXJuOmNlcm5lcjphdXRob3JpemF0aW9uOmNsYWltczp2ZXJzaW9uOjEiOnsidmVyIjoiMS4wIiwicHJvZmlsZXMiOnsic21hcnQtdjEiOnsiYXpzIjoic3lzdGVtXC9BcHBvaW50bWVudC5yZWFkIHN5c3RlbVwvQmluYXJ5LnJlYWQgc3lzdGVtXC9Eb2N1bWVudFJlZmVyZW5jZS5yZWFkIHN5c3RlbVwvRW5jb3VudGVyLnJlYWQgc3lzdGVtXC9Mb2NhdGlvbi5yZWFkIHN5c3RlbVwvUGF0aWVudC5yZWFkIHN5c3RlbVwvUHJhY3RpdGlvbmVyLnJlYWQifX0sImNsaWVudCI6eyJuYW1lIjoiRUxMS0FZIERhdGEgZXhjaGFuZ2UgQXBwIiwiaWQiOiJmMTMwNWMzZS05MWE0LTRhOTgtODRiMS01M2U5MmIxZTNlYWIifSwidGVuYW50IjoiZWMyNDU4ZjItMWUyNC00MWM4LWI3MWItMGU3MDFhZjc1ODNkIn19.ys0irH9mJkakkXmJqdNjaAGeyyh-8RReXV0KgTjwHVTI5bENv3-riD3QOaBblO-Ms42OCO757co4yW_Ill_CwA
Content-Type: application/fhir+json; charset=utf-8; fhirVersion=4.0
Host:
fhir-ehr.cerner.comContent-Length: 441
Expect: 100-continue
{"resourceType":"ChargeItem","status":"unknown","code":{"coding":[{"extension":[{"url":"
https://fhir-ehr.cerner.com/r4/StructureDefinition/bill-code-schedule","valueCoding":{"system":"
https://fhir.ehr.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/CodeSystem/BillCodes-CPT","code":"44960"}}]}]},"subject":{"reference":"Patient/12745096"},"context":{"reference":"Encounter/97955431"},"occurrenceDateTime":"2011-10-10","quantity":{"value":1}}
Response
HTTP/1.1 404 Not Found
Content-Type: application/fhir+json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Date: Thu, 22 Dec 2022 15:43:10 GMT
Cache-Control: no-cache
Server-Response-Time: 5.146673
Vary: Origin
X-Request-Id: 2828f906-781b-4997-bdfc-71c22cdb722c+yhHL_d8Nc
X-Runtime: 0.005048
X-Cache: Error from cloudfront
Via: 1.1
e2b6596be074ad87bd3300d4df7735b4.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: SFO5-P2
X-Amz-Cf-Id: cBNMPvvuOJLnrhJka7Ipebm8qxM8Yx2-H-ksEypqePcZjQPGBPWb5w==
74
{"resourceType":"OperationOutcome","issue":[{"severity":"error","code":"not-found","details":{"text":"Not Found"}}]}
0
Am I supposed to create a custom HTTPS request to call this endpoint? If so, can you direct me a little on how to create that in order to make sure we are still ensuring the CERNER FHIR standards?
Thank you,
Anushree