code: def proc_file(infile: str, outfile: str, opts: Namespace) -> bool:
      
      g = fhir_json_to_rdf(infile, opts.uribase, opts.graph, add_ontology_header=not opts.noontology,
                           do_continuations=not opts.nocontinuation, replace_narrative_text=bool(opts.nonarrative),
                           metavoc=opts.fhir_metavoc)
  
      # If we aren't carrying graph in opts, we're doing a file by file transformation
      if g:
          if not opts.graph:
              serialize_graph(g, outfile, opts)
          return True
      else:
          print("{} : Not a FHIR collection or resource".format(infile))
          return False
docs: Process infile.
      :param infile: input file to be processed
      :param outfile: target output file.
      :param opts:
      :return: