Skip to content

Instantly share code, notes, and snippets.

@litlfred
Created September 21, 2016 15:47
Show Gist options
  • Save litlfred/7512b7e12d1ef3109ef813db0ab82737 to your computer and use it in GitHub Desktop.
Save litlfred/7512b7e12d1ef3109ef813db0ab82737 to your computer and use it in GitHub Desktop.
participant Electronic\nClinical Register as SS
participant Interoperability\nLayer as IL
participant Client Registry as CR
participant Shared Health\nRecord as SHR
SS->SS: Case report generated
opt
SS->IL: Search for or create client\nUse Case #5
IL->IL: ensure access controls
IL->CR: Search for or create client
CR->IL: Return ECID
IL->SS: Return ECID
end
SS->IL: generate record of clinical encounter\nHL7 FHIR resource CREATE
IL->IL: ensure access control\nrewrite local client identifiers to ECID
IL->SHR: generate record of clinical encounter
loop monthly
IL->SHR: query for particular clinical encounters\nHL7 FHIR resource search
SHR->IL: return matching resources
IL->IL: aggregate clinical encounters
IL->HMIS: report public health indicator\nADX
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment