title: How to do Fhir?
body: <p>I'm trying to learn the basics of fhir and want to implement in node js. 
  I have come across the following code <a href="https://github.com/FHIR/fhir.js" rel="noreferrer">https://github.com/FHIR/fhir.js</a></p>
  
  <p>In that it says that i have to create a instance of FHIR client?
  I know my question is dumb, so can i get any clarifications on the topic.
  I have started learning node a few days back. 
  Thanks in advance!</p>
  
  <pre><code>var config = {
    // FHIR server base url
    baseUrl: 'http://myfhirserver.com',
    auth: {
       bearer: 'token',
       // OR for basic auth
       user: 'user',
       pass: 'secret'
    },
    // Valid Options are 'same-origin', 'include'
    credentials: 'same-origin',
    headers: {
      'X-Custom-Header': 'Custom Value',
      'X-Another-Custom': 'Another Value',
    }
  }
  
  myClient = fhir(config, adapter)
  </code></pre>
  
  <p>Above is the code for creating an instance of Fhir client, I want to know where should i implement this code and access a fhir server.</p>