34b55aae4b2538b3a51b87a125bba93f667dc5ddf67aec95d0cb6da6b953993e. Copy this ID to the clipboard. Now we're ready to get Bash shell inside running container. Do following command and paste ID from the clipboard instead of ID placeholder:
CREATE DABATASE fb;statement into the prompt and press Enter. Do not forget to put semicolon at the end of the statement.
fbhere is the name of new database, you can change it to anything you want, but don't forget to change it in all command examples in this tutorial as well.
CREATE DATABASE, your new database is created and now you can quit
\qand pressing Enter.
-d fbspecifies name of the database (don't forget to change it if you named database differently in previous step).
--fhir=3.0.1sets a FHIR version you're going to use.
fhirbase loadcommand. Fhirbade Docker image comes with sample NDJSON file containing 127454 Synthea-generated FHIR resources. This bundle is located at
/bundle.ndjson.gzip. Invoke following command to load it:
psqlproviding database name:
fb=#prompt. Copy-and-paste examples below to see some trivial SQL magic.