Skip to content

How to use randomCode Functions with Flexporter #1424

Closed Answered by dehall
Sharath314e asked this question in Q&A
Discussion options

You must be logged in to vote

Ah ok thanks, that all looks like it should work but as I debug this I see some ways we need to improve our documentation and could potentially make some things simpler.

The short version is, you will need to make sure the generate.terminology_service_url setting is set, either by uncommenting it in src/main/resources/synthea.properties or by providing the argument on the command line --generate.terminology_service_url "https://r4.ontoserver.csiro.au/fhir", and then use the following mapping:

 - name: DenominatorExclusion1
   set_values:
     - applicability: Encounter
       fields:
         - location: Encounter.type.coding
           value: $randomCode([http://cts.nlm.nih.gov/fhir/Valu…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Sharath314e
Comment options

@dehall
Comment options

Answer selected by Sharath314e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants